Versions in this module Expand all Collapse all v0 v0.0.1 Dec 7, 2023 Changes in this version + type Answer struct + Author *Author + CreateTime string + ForceSendFields []string + Name string + NullFields []string + Text string + UpdateTime string + UpvoteCount int64 + func (s *Answer) MarshalJSON() ([]byte, error) + type Author struct + DisplayName string + ForceSendFields []string + NullFields []string + ProfilePhotoUri string + Type string + func (s *Author) MarshalJSON() ([]byte, error) + type Empty struct + type ListAnswersResponse struct + Answers []*Answer + ForceSendFields []string + NextPageToken string + NullFields []string + TotalSize int64 + func (s *ListAnswersResponse) MarshalJSON() ([]byte, error) + type ListQuestionsResponse struct + ForceSendFields []string + NextPageToken string + NullFields []string + Questions []*Question + TotalSize int64 + func (s *ListQuestionsResponse) MarshalJSON() ([]byte, error) + type LocationsQuestionsAnswersDeleteCall struct + func (c *LocationsQuestionsAnswersDeleteCall) Context(ctx context.Context) *LocationsQuestionsAnswersDeleteCall + func (c *LocationsQuestionsAnswersDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *LocationsQuestionsAnswersDeleteCall) Fields(s ...googleapi.Field) *LocationsQuestionsAnswersDeleteCall + func (c *LocationsQuestionsAnswersDeleteCall) Header() http.Header + type LocationsQuestionsAnswersListCall struct + func (c *LocationsQuestionsAnswersListCall) Context(ctx context.Context) *LocationsQuestionsAnswersListCall + func (c *LocationsQuestionsAnswersListCall) Do(opts ...googleapi.CallOption) (*ListAnswersResponse, error) + func (c *LocationsQuestionsAnswersListCall) Fields(s ...googleapi.Field) *LocationsQuestionsAnswersListCall + func (c *LocationsQuestionsAnswersListCall) Header() http.Header + func (c *LocationsQuestionsAnswersListCall) IfNoneMatch(entityTag string) *LocationsQuestionsAnswersListCall + func (c *LocationsQuestionsAnswersListCall) OrderBy(orderBy string) *LocationsQuestionsAnswersListCall + func (c *LocationsQuestionsAnswersListCall) PageSize(pageSize int64) *LocationsQuestionsAnswersListCall + func (c *LocationsQuestionsAnswersListCall) PageToken(pageToken string) *LocationsQuestionsAnswersListCall + func (c *LocationsQuestionsAnswersListCall) Pages(ctx context.Context, f func(*ListAnswersResponse) error) error + type LocationsQuestionsAnswersService struct + func NewLocationsQuestionsAnswersService(s *Service) *LocationsQuestionsAnswersService + func (r *LocationsQuestionsAnswersService) Delete(name string) *LocationsQuestionsAnswersDeleteCall + func (r *LocationsQuestionsAnswersService) List(parent string) *LocationsQuestionsAnswersListCall + func (r *LocationsQuestionsAnswersService) Upsert(parent string, upsertanswerrequest *UpsertAnswerRequest) *LocationsQuestionsAnswersUpsertCall + type LocationsQuestionsAnswersUpsertCall struct + func (c *LocationsQuestionsAnswersUpsertCall) Context(ctx context.Context) *LocationsQuestionsAnswersUpsertCall + func (c *LocationsQuestionsAnswersUpsertCall) Do(opts ...googleapi.CallOption) (*Answer, error) + func (c *LocationsQuestionsAnswersUpsertCall) Fields(s ...googleapi.Field) *LocationsQuestionsAnswersUpsertCall + func (c *LocationsQuestionsAnswersUpsertCall) Header() http.Header + type LocationsQuestionsCreateCall struct + func (c *LocationsQuestionsCreateCall) Context(ctx context.Context) *LocationsQuestionsCreateCall + func (c *LocationsQuestionsCreateCall) Do(opts ...googleapi.CallOption) (*Question, error) + func (c *LocationsQuestionsCreateCall) Fields(s ...googleapi.Field) *LocationsQuestionsCreateCall + func (c *LocationsQuestionsCreateCall) Header() http.Header + type LocationsQuestionsDeleteCall struct + func (c *LocationsQuestionsDeleteCall) Context(ctx context.Context) *LocationsQuestionsDeleteCall + func (c *LocationsQuestionsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *LocationsQuestionsDeleteCall) Fields(s ...googleapi.Field) *LocationsQuestionsDeleteCall + func (c *LocationsQuestionsDeleteCall) Header() http.Header + type LocationsQuestionsListCall struct + func (c *LocationsQuestionsListCall) AnswersPerQuestion(answersPerQuestion int64) *LocationsQuestionsListCall + func (c *LocationsQuestionsListCall) Context(ctx context.Context) *LocationsQuestionsListCall + func (c *LocationsQuestionsListCall) Do(opts ...googleapi.CallOption) (*ListQuestionsResponse, error) + func (c *LocationsQuestionsListCall) Fields(s ...googleapi.Field) *LocationsQuestionsListCall + func (c *LocationsQuestionsListCall) Filter(filter string) *LocationsQuestionsListCall + func (c *LocationsQuestionsListCall) Header() http.Header + func (c *LocationsQuestionsListCall) IfNoneMatch(entityTag string) *LocationsQuestionsListCall + func (c *LocationsQuestionsListCall) OrderBy(orderBy string) *LocationsQuestionsListCall + func (c *LocationsQuestionsListCall) PageSize(pageSize int64) *LocationsQuestionsListCall + func (c *LocationsQuestionsListCall) PageToken(pageToken string) *LocationsQuestionsListCall + func (c *LocationsQuestionsListCall) Pages(ctx context.Context, f func(*ListQuestionsResponse) error) error + type LocationsQuestionsPatchCall struct + func (c *LocationsQuestionsPatchCall) Context(ctx context.Context) *LocationsQuestionsPatchCall + func (c *LocationsQuestionsPatchCall) Do(opts ...googleapi.CallOption) (*Question, error) + func (c *LocationsQuestionsPatchCall) Fields(s ...googleapi.Field) *LocationsQuestionsPatchCall + func (c *LocationsQuestionsPatchCall) Header() http.Header + func (c *LocationsQuestionsPatchCall) UpdateMask(updateMask string) *LocationsQuestionsPatchCall + type LocationsQuestionsService struct + Answers *LocationsQuestionsAnswersService + func NewLocationsQuestionsService(s *Service) *LocationsQuestionsService + func (r *LocationsQuestionsService) Create(parent string, question *Question) *LocationsQuestionsCreateCall + func (r *LocationsQuestionsService) Delete(name string) *LocationsQuestionsDeleteCall + func (r *LocationsQuestionsService) List(parent string) *LocationsQuestionsListCall + func (r *LocationsQuestionsService) Patch(name string, question *Question) *LocationsQuestionsPatchCall + type LocationsService struct + Questions *LocationsQuestionsService + func NewLocationsService(s *Service) *LocationsService + type Question struct + Author *Author + CreateTime string + ForceSendFields []string + Name string + NullFields []string + Text string + TopAnswers []*Answer + TotalAnswerCount int64 + UpdateTime string + UpvoteCount int64 + func (s *Question) MarshalJSON() ([]byte, error) + type Service struct + BasePath string + Locations *LocationsService + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type UpsertAnswerRequest struct + Answer *Answer + ForceSendFields []string + NullFields []string + func (s *UpsertAnswerRequest) MarshalJSON() ([]byte, error)