Versions in this module Expand all Collapse all v0 v0.196.2 Sep 10, 2024 Changes in this version + const ConsumersurveysReadonlyScope + const ConsumersurveysScope + const UserinfoEmailScope + type FieldMask struct + Fields []*FieldMask + ForceSendFields []string + Id int64 + NullFields []string + func (s *FieldMask) MarshalJSON() ([]byte, error) + type MobileAppPanel struct + Country string + ForceSendFields []string + IsPublicPanel bool + Language string + MobileAppPanelId string + Name string + NullFields []string + Owners []string + func (s *MobileAppPanel) MarshalJSON() ([]byte, error) + type MobileAppPanelsListResponse struct + ForceSendFields []string + NullFields []string + PageInfo *PageInfo + RequestId string + Resources []*MobileAppPanel + TokenPagination *TokenPagination + func (s *MobileAppPanelsListResponse) MarshalJSON() ([]byte, error) + type MobileapppanelsGetCall struct + func (c *MobileapppanelsGetCall) Context(ctx context.Context) *MobileapppanelsGetCall + func (c *MobileapppanelsGetCall) Do(opts ...googleapi.CallOption) (*MobileAppPanel, error) + func (c *MobileapppanelsGetCall) Fields(s ...googleapi.Field) *MobileapppanelsGetCall + func (c *MobileapppanelsGetCall) Header() http.Header + func (c *MobileapppanelsGetCall) IfNoneMatch(entityTag string) *MobileapppanelsGetCall + type MobileapppanelsListCall struct + func (c *MobileapppanelsListCall) Context(ctx context.Context) *MobileapppanelsListCall + func (c *MobileapppanelsListCall) Do(opts ...googleapi.CallOption) (*MobileAppPanelsListResponse, error) + func (c *MobileapppanelsListCall) Fields(s ...googleapi.Field) *MobileapppanelsListCall + func (c *MobileapppanelsListCall) Header() http.Header + func (c *MobileapppanelsListCall) IfNoneMatch(entityTag string) *MobileapppanelsListCall + func (c *MobileapppanelsListCall) MaxResults(maxResults int64) *MobileapppanelsListCall + func (c *MobileapppanelsListCall) StartIndex(startIndex int64) *MobileapppanelsListCall + func (c *MobileapppanelsListCall) Token(token string) *MobileapppanelsListCall + type MobileapppanelsService struct + func NewMobileapppanelsService(s *Service) *MobileapppanelsService + func (r *MobileapppanelsService) Get(panelId string) *MobileapppanelsGetCall + func (r *MobileapppanelsService) List() *MobileapppanelsListCall + func (r *MobileapppanelsService) Update(panelId string, mobileapppanel *MobileAppPanel) *MobileapppanelsUpdateCall + type MobileapppanelsUpdateCall struct + func (c *MobileapppanelsUpdateCall) Context(ctx context.Context) *MobileapppanelsUpdateCall + func (c *MobileapppanelsUpdateCall) Do(opts ...googleapi.CallOption) (*MobileAppPanel, error) + func (c *MobileapppanelsUpdateCall) Fields(s ...googleapi.Field) *MobileapppanelsUpdateCall + func (c *MobileapppanelsUpdateCall) Header() http.Header + type PageInfo struct + ForceSendFields []string + NullFields []string + ResultPerPage int64 + StartIndex int64 + TotalResults int64 + func (s *PageInfo) MarshalJSON() ([]byte, error) + type ResultsGetCall struct + func (c *ResultsGetCall) Context(ctx context.Context) *ResultsGetCall + func (c *ResultsGetCall) Do(opts ...googleapi.CallOption) (*SurveyResults, error) + func (c *ResultsGetCall) Download(opts ...googleapi.CallOption) (*http.Response, error) + func (c *ResultsGetCall) Fields(s ...googleapi.Field) *ResultsGetCall + func (c *ResultsGetCall) Header() http.Header + func (c *ResultsGetCall) IfNoneMatch(entityTag string) *ResultsGetCall + type ResultsGetRequest struct + ForceSendFields []string + NullFields []string + ResultMask *ResultsMask + func (s *ResultsGetRequest) MarshalJSON() ([]byte, error) + type ResultsMask struct + Fields []*FieldMask + ForceSendFields []string + NullFields []string + Projection string + func (s *ResultsMask) MarshalJSON() ([]byte, error) + type ResultsService struct + func NewResultsService(s *Service) *ResultsService + func (r *ResultsService) Get(surveyUrlId string, resultsgetrequest *ResultsGetRequest) *ResultsGetCall + type Service struct + BasePath string + Mobileapppanels *MobileapppanelsService + Results *ResultsService + Surveys *SurveysService + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type Survey struct + Audience *SurveyAudience + Cost *SurveyCost + CustomerData string + Description string + ForceSendFields []string + NullFields []string + Owners []string + Questions []*SurveyQuestion + RejectionReason *SurveyRejection + State string + SurveyUrlId string + Title string + WantedResponseCount int64 + func (s *Survey) MarshalJSON() ([]byte, error) + type SurveyAudience struct + Ages []string + Country string + CountrySubdivision string + ForceSendFields []string + Gender string + Languages []string + MobileAppPanelId string + NullFields []string + PopulationSource string + func (s *SurveyAudience) MarshalJSON() ([]byte, error) + type SurveyCost struct + CostPerResponseNanos int64 + CurrencyCode string + ForceSendFields []string + MaxCostPerResponseNanos int64 + Nanos int64 + NullFields []string + func (s *SurveyCost) MarshalJSON() ([]byte, error) + type SurveyQuestion struct + AnswerOrder string + Answers []string + ForceSendFields []string + HasOther bool + HighValueLabel string + Images []*SurveyQuestionImage + LastAnswerPositionPinned bool + LowValueLabel string + MustPickSuggestion bool + NullFields []string + NumStars string + OpenTextPlaceholder string + OpenTextSuggestions []string + Question string + SentimentText string + SingleLineResponse bool + ThresholdAnswers []string + Type string + UnitOfMeasurementLabel string + VideoId string + func (s *SurveyQuestion) MarshalJSON() ([]byte, error) + type SurveyQuestionImage struct + AltText string + Data string + ForceSendFields []string + NullFields []string + Url string + func (s *SurveyQuestionImage) MarshalJSON() ([]byte, error) + type SurveyRejection struct + Explanation string + ForceSendFields []string + NullFields []string + Type string + func (s *SurveyRejection) MarshalJSON() ([]byte, error) + type SurveyResults struct + ForceSendFields []string + NullFields []string + Status string + SurveyUrlId string + func (s *SurveyResults) MarshalJSON() ([]byte, error) + type SurveysDeleteCall struct + func (c *SurveysDeleteCall) Context(ctx context.Context) *SurveysDeleteCall + func (c *SurveysDeleteCall) Do(opts ...googleapi.CallOption) (*SurveysDeleteResponse, error) + func (c *SurveysDeleteCall) Fields(s ...googleapi.Field) *SurveysDeleteCall + func (c *SurveysDeleteCall) Header() http.Header + type SurveysDeleteResponse struct + ForceSendFields []string + NullFields []string + RequestId string + func (s *SurveysDeleteResponse) MarshalJSON() ([]byte, error) + type SurveysGetCall struct + func (c *SurveysGetCall) Context(ctx context.Context) *SurveysGetCall + func (c *SurveysGetCall) Do(opts ...googleapi.CallOption) (*Survey, error) + func (c *SurveysGetCall) Fields(s ...googleapi.Field) *SurveysGetCall + func (c *SurveysGetCall) Header() http.Header + func (c *SurveysGetCall) IfNoneMatch(entityTag string) *SurveysGetCall + type SurveysInsertCall struct + func (c *SurveysInsertCall) Context(ctx context.Context) *SurveysInsertCall + func (c *SurveysInsertCall) Do(opts ...googleapi.CallOption) (*Survey, error) + func (c *SurveysInsertCall) Fields(s ...googleapi.Field) *SurveysInsertCall + func (c *SurveysInsertCall) Header() http.Header + type SurveysListCall struct + func (c *SurveysListCall) Context(ctx context.Context) *SurveysListCall + func (c *SurveysListCall) Do(opts ...googleapi.CallOption) (*SurveysListResponse, error) + func (c *SurveysListCall) Fields(s ...googleapi.Field) *SurveysListCall + func (c *SurveysListCall) Header() http.Header + func (c *SurveysListCall) IfNoneMatch(entityTag string) *SurveysListCall + func (c *SurveysListCall) MaxResults(maxResults int64) *SurveysListCall + func (c *SurveysListCall) StartIndex(startIndex int64) *SurveysListCall + func (c *SurveysListCall) Token(token string) *SurveysListCall + type SurveysListResponse struct + ForceSendFields []string + NullFields []string + PageInfo *PageInfo + RequestId string + Resources []*Survey + TokenPagination *TokenPagination + func (s *SurveysListResponse) MarshalJSON() ([]byte, error) + type SurveysService struct + func NewSurveysService(s *Service) *SurveysService + func (r *SurveysService) Delete(surveyUrlId string) *SurveysDeleteCall + func (r *SurveysService) Get(surveyUrlId string) *SurveysGetCall + func (r *SurveysService) Insert(survey *Survey) *SurveysInsertCall + func (r *SurveysService) List() *SurveysListCall + func (r *SurveysService) Start(resourceId string, surveysstartrequest *SurveysStartRequest) *SurveysStartCall + func (r *SurveysService) Stop(resourceId string) *SurveysStopCall + func (r *SurveysService) Update(surveyUrlId string, survey *Survey) *SurveysUpdateCall + type SurveysStartCall struct + func (c *SurveysStartCall) Context(ctx context.Context) *SurveysStartCall + func (c *SurveysStartCall) Do(opts ...googleapi.CallOption) (*SurveysStartResponse, error) + func (c *SurveysStartCall) Fields(s ...googleapi.Field) *SurveysStartCall + func (c *SurveysStartCall) Header() http.Header + type SurveysStartRequest struct + ForceSendFields []string + MaxCostPerResponseNanos int64 + NullFields []string + func (s *SurveysStartRequest) MarshalJSON() ([]byte, error) + type SurveysStartResponse struct + ForceSendFields []string + NullFields []string + RequestId string + func (s *SurveysStartResponse) MarshalJSON() ([]byte, error) + type SurveysStopCall struct + func (c *SurveysStopCall) Context(ctx context.Context) *SurveysStopCall + func (c *SurveysStopCall) Do(opts ...googleapi.CallOption) (*SurveysStopResponse, error) + func (c *SurveysStopCall) Fields(s ...googleapi.Field) *SurveysStopCall + func (c *SurveysStopCall) Header() http.Header + type SurveysStopResponse struct + ForceSendFields []string + NullFields []string + RequestId string + func (s *SurveysStopResponse) MarshalJSON() ([]byte, error) + type SurveysUpdateCall struct + func (c *SurveysUpdateCall) Context(ctx context.Context) *SurveysUpdateCall + func (c *SurveysUpdateCall) Do(opts ...googleapi.CallOption) (*Survey, error) + func (c *SurveysUpdateCall) Fields(s ...googleapi.Field) *SurveysUpdateCall + func (c *SurveysUpdateCall) Header() http.Header + type TokenPagination struct + ForceSendFields []string + NextPageToken string + NullFields []string + PreviousPageToken string + func (s *TokenPagination) MarshalJSON() ([]byte, error)