Versions in this module Expand all Collapse all v0 v0.196.2 Sep 10, 2024 Changes in this version + const YoutubeReadonlyScope + const YoutubeScope + const YoutubepartnerScope + const YtAnalyticsMonetaryReadonlyScope + const YtAnalyticsReadonlyScope + type Group struct + ContentDetails *GroupContentDetails + Etag string + ForceSendFields []string + Id string + Kind string + NullFields []string + Snippet *GroupSnippet + func (s *Group) MarshalJSON() ([]byte, error) + type GroupContentDetails struct + ForceSendFields []string + ItemCount uint64 + ItemType string + NullFields []string + func (s *GroupContentDetails) MarshalJSON() ([]byte, error) + type GroupItem struct + Etag string + ForceSendFields []string + GroupId string + Id string + Kind string + NullFields []string + Resource *GroupItemResource + func (s *GroupItem) MarshalJSON() ([]byte, error) + type GroupItemListResponse struct + Etag string + ForceSendFields []string + Items []*GroupItem + Kind string + NullFields []string + func (s *GroupItemListResponse) MarshalJSON() ([]byte, error) + type GroupItemResource struct + ForceSendFields []string + Id string + Kind string + NullFields []string + func (s *GroupItemResource) MarshalJSON() ([]byte, error) + type GroupItemsDeleteCall struct + func (c *GroupItemsDeleteCall) Context(ctx context.Context) *GroupItemsDeleteCall + func (c *GroupItemsDeleteCall) Do(opts ...googleapi.CallOption) error + func (c *GroupItemsDeleteCall) Fields(s ...googleapi.Field) *GroupItemsDeleteCall + func (c *GroupItemsDeleteCall) Header() http.Header + func (c *GroupItemsDeleteCall) OnBehalfOfContentOwner(onBehalfOfContentOwner string) *GroupItemsDeleteCall + type GroupItemsInsertCall struct + func (c *GroupItemsInsertCall) Context(ctx context.Context) *GroupItemsInsertCall + func (c *GroupItemsInsertCall) Do(opts ...googleapi.CallOption) (*GroupItem, error) + func (c *GroupItemsInsertCall) Fields(s ...googleapi.Field) *GroupItemsInsertCall + func (c *GroupItemsInsertCall) Header() http.Header + func (c *GroupItemsInsertCall) OnBehalfOfContentOwner(onBehalfOfContentOwner string) *GroupItemsInsertCall + type GroupItemsListCall struct + func (c *GroupItemsListCall) Context(ctx context.Context) *GroupItemsListCall + func (c *GroupItemsListCall) Do(opts ...googleapi.CallOption) (*GroupItemListResponse, error) + func (c *GroupItemsListCall) Fields(s ...googleapi.Field) *GroupItemsListCall + func (c *GroupItemsListCall) Header() http.Header + func (c *GroupItemsListCall) IfNoneMatch(entityTag string) *GroupItemsListCall + func (c *GroupItemsListCall) OnBehalfOfContentOwner(onBehalfOfContentOwner string) *GroupItemsListCall + type GroupItemsService struct + func NewGroupItemsService(s *Service) *GroupItemsService + func (r *GroupItemsService) Delete(id string) *GroupItemsDeleteCall + func (r *GroupItemsService) Insert(groupitem *GroupItem) *GroupItemsInsertCall + func (r *GroupItemsService) List(groupId string) *GroupItemsListCall + type GroupListResponse struct + Etag string + ForceSendFields []string + Items []*Group + Kind string + NextPageToken string + NullFields []string + func (s *GroupListResponse) MarshalJSON() ([]byte, error) + type GroupSnippet struct + ForceSendFields []string + NullFields []string + PublishedAt string + Title string + func (s *GroupSnippet) MarshalJSON() ([]byte, error) + type GroupsDeleteCall struct + func (c *GroupsDeleteCall) Context(ctx context.Context) *GroupsDeleteCall + func (c *GroupsDeleteCall) Do(opts ...googleapi.CallOption) error + func (c *GroupsDeleteCall) Fields(s ...googleapi.Field) *GroupsDeleteCall + func (c *GroupsDeleteCall) Header() http.Header + func (c *GroupsDeleteCall) OnBehalfOfContentOwner(onBehalfOfContentOwner string) *GroupsDeleteCall + type GroupsInsertCall struct + func (c *GroupsInsertCall) Context(ctx context.Context) *GroupsInsertCall + func (c *GroupsInsertCall) Do(opts ...googleapi.CallOption) (*Group, error) + func (c *GroupsInsertCall) Fields(s ...googleapi.Field) *GroupsInsertCall + func (c *GroupsInsertCall) Header() http.Header + func (c *GroupsInsertCall) OnBehalfOfContentOwner(onBehalfOfContentOwner string) *GroupsInsertCall + type GroupsListCall struct + func (c *GroupsListCall) Context(ctx context.Context) *GroupsListCall + func (c *GroupsListCall) Do(opts ...googleapi.CallOption) (*GroupListResponse, error) + func (c *GroupsListCall) Fields(s ...googleapi.Field) *GroupsListCall + func (c *GroupsListCall) Header() http.Header + func (c *GroupsListCall) Id(id string) *GroupsListCall + func (c *GroupsListCall) IfNoneMatch(entityTag string) *GroupsListCall + func (c *GroupsListCall) Mine(mine bool) *GroupsListCall + func (c *GroupsListCall) OnBehalfOfContentOwner(onBehalfOfContentOwner string) *GroupsListCall + func (c *GroupsListCall) PageToken(pageToken string) *GroupsListCall + func (c *GroupsListCall) Pages(ctx context.Context, f func(*GroupListResponse) error) error + type GroupsService struct + func NewGroupsService(s *Service) *GroupsService + func (r *GroupsService) Delete(id string) *GroupsDeleteCall + func (r *GroupsService) Insert(group *Group) *GroupsInsertCall + func (r *GroupsService) List() *GroupsListCall + func (r *GroupsService) Update(group *Group) *GroupsUpdateCall + type GroupsUpdateCall struct + func (c *GroupsUpdateCall) Context(ctx context.Context) *GroupsUpdateCall + func (c *GroupsUpdateCall) Do(opts ...googleapi.CallOption) (*Group, error) + func (c *GroupsUpdateCall) Fields(s ...googleapi.Field) *GroupsUpdateCall + func (c *GroupsUpdateCall) Header() http.Header + func (c *GroupsUpdateCall) OnBehalfOfContentOwner(onBehalfOfContentOwner string) *GroupsUpdateCall + type ReportsQueryCall struct + func (c *ReportsQueryCall) Context(ctx context.Context) *ReportsQueryCall + func (c *ReportsQueryCall) Currency(currency string) *ReportsQueryCall + func (c *ReportsQueryCall) Dimensions(dimensions string) *ReportsQueryCall + func (c *ReportsQueryCall) Do(opts ...googleapi.CallOption) (*ResultTable, error) + func (c *ReportsQueryCall) Fields(s ...googleapi.Field) *ReportsQueryCall + func (c *ReportsQueryCall) Filters(filters string) *ReportsQueryCall + func (c *ReportsQueryCall) Header() http.Header + func (c *ReportsQueryCall) IfNoneMatch(entityTag string) *ReportsQueryCall + func (c *ReportsQueryCall) IncludeHistoricalChannelData(includeHistoricalChannelData bool) *ReportsQueryCall + func (c *ReportsQueryCall) MaxResults(maxResults int64) *ReportsQueryCall + func (c *ReportsQueryCall) Sort(sort string) *ReportsQueryCall + func (c *ReportsQueryCall) StartIndex(startIndex int64) *ReportsQueryCall + type ReportsService struct + func NewReportsService(s *Service) *ReportsService + func (r *ReportsService) Query(ids string, startDate string, endDate string, metrics string) *ReportsQueryCall + type ResultTable struct + ColumnHeaders []*ResultTableColumnHeaders + ForceSendFields []string + Kind string + NullFields []string + Rows [][]interface{} + func (s *ResultTable) MarshalJSON() ([]byte, error) + type ResultTableColumnHeaders struct + ColumnType string + DataType string + ForceSendFields []string + Name string + NullFields []string + func (s *ResultTableColumnHeaders) MarshalJSON() ([]byte, error) + type Service struct + BasePath string + GroupItems *GroupItemsService + Groups *GroupsService + Reports *ReportsService + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error)