Versions in this module Expand all Collapse all v0 v0.6.0 Dec 10, 2016 v0.5.0 Nov 30, 2016 Changes in this version + const CloudPlatformScope + type DetectionsListCall struct + func (c *DetectionsListCall) Context(ctx context.Context) *DetectionsListCall + func (c *DetectionsListCall) Do(opts ...googleapi.CallOption) (*DetectionsListResponse, error) + func (c *DetectionsListCall) Fields(s ...googleapi.Field) *DetectionsListCall + func (c *DetectionsListCall) Header() http.Header + func (c *DetectionsListCall) IfNoneMatch(entityTag string) *DetectionsListCall + type DetectionsListResponse struct + Detections [][]*DetectionsResourceItem + ForceSendFields []string + NullFields []string + func (s *DetectionsListResponse) MarshalJSON() ([]byte, error) + type DetectionsResourceItem struct + Confidence float64 + ForceSendFields []string + IsReliable bool + Language string + NullFields []string + func (s *DetectionsResourceItem) MarshalJSON() ([]byte, error) + type DetectionsService struct + func NewDetectionsService(s *Service) *DetectionsService + func (r *DetectionsService) List(q []string) *DetectionsListCall + type LanguagesListCall struct + func (c *LanguagesListCall) Context(ctx context.Context) *LanguagesListCall + func (c *LanguagesListCall) Do(opts ...googleapi.CallOption) (*LanguagesListResponse, error) + func (c *LanguagesListCall) Fields(s ...googleapi.Field) *LanguagesListCall + func (c *LanguagesListCall) Header() http.Header + func (c *LanguagesListCall) IfNoneMatch(entityTag string) *LanguagesListCall + func (c *LanguagesListCall) Target(target string) *LanguagesListCall + type LanguagesListResponse struct + ForceSendFields []string + Languages []*LanguagesResource + NullFields []string + func (s *LanguagesListResponse) MarshalJSON() ([]byte, error) + type LanguagesResource struct + ForceSendFields []string + Language string + Name string + NullFields []string + func (s *LanguagesResource) MarshalJSON() ([]byte, error) + type LanguagesService struct + func NewLanguagesService(s *Service) *LanguagesService + func (r *LanguagesService) List() *LanguagesListCall + type Service struct + BasePath string + Detections *DetectionsService + Languages *LanguagesService + Translations *TranslationsService + UserAgent string + func New(client *http.Client) (*Service, error) + type TranslationsListCall struct + func (c *TranslationsListCall) Cid(cid ...string) *TranslationsListCall + func (c *TranslationsListCall) Context(ctx context.Context) *TranslationsListCall + func (c *TranslationsListCall) Do(opts ...googleapi.CallOption) (*TranslationsListResponse, error) + func (c *TranslationsListCall) Fields(s ...googleapi.Field) *TranslationsListCall + func (c *TranslationsListCall) Format(format string) *TranslationsListCall + func (c *TranslationsListCall) Header() http.Header + func (c *TranslationsListCall) IfNoneMatch(entityTag string) *TranslationsListCall + func (c *TranslationsListCall) Model(model string) *TranslationsListCall + func (c *TranslationsListCall) Source(source string) *TranslationsListCall + type TranslationsListResponse struct + ForceSendFields []string + NullFields []string + Translations []*TranslationsResource + func (s *TranslationsListResponse) MarshalJSON() ([]byte, error) + type TranslationsResource struct + DetectedSourceLanguage string + ForceSendFields []string + Model string + NullFields []string + TranslatedText string + func (s *TranslationsResource) MarshalJSON() ([]byte, error) + type TranslationsService struct + func NewTranslationsService(s *Service) *TranslationsService + func (r *TranslationsService) List(q []string, target string) *TranslationsListCall