Versions in this module Expand all Collapse all v0 v0.0.1 Dec 7, 2023 Changes in this version + const AppstateScope + type GetResponse struct + CurrentStateVersion string + Data string + ForceSendFields []string + Kind string + NullFields []string + StateKey int64 + func (s *GetResponse) MarshalJSON() ([]byte, error) + type ListResponse struct + ForceSendFields []string + Items []*GetResponse + Kind string + MaximumKeyCount int64 + NullFields []string + func (s *ListResponse) MarshalJSON() ([]byte, error) + type Service struct + BasePath string + States *StatesService + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type StatesClearCall struct + func (c *StatesClearCall) Context(ctx context.Context) *StatesClearCall + func (c *StatesClearCall) CurrentDataVersion(currentDataVersion string) *StatesClearCall + func (c *StatesClearCall) Do(opts ...googleapi.CallOption) (*WriteResult, error) + func (c *StatesClearCall) Fields(s ...googleapi.Field) *StatesClearCall + func (c *StatesClearCall) Header() http.Header + type StatesDeleteCall struct + func (c *StatesDeleteCall) Context(ctx context.Context) *StatesDeleteCall + func (c *StatesDeleteCall) Do(opts ...googleapi.CallOption) error + func (c *StatesDeleteCall) Fields(s ...googleapi.Field) *StatesDeleteCall + func (c *StatesDeleteCall) Header() http.Header + type StatesGetCall struct + func (c *StatesGetCall) Context(ctx context.Context) *StatesGetCall + func (c *StatesGetCall) Do(opts ...googleapi.CallOption) (*GetResponse, error) + func (c *StatesGetCall) Fields(s ...googleapi.Field) *StatesGetCall + func (c *StatesGetCall) Header() http.Header + func (c *StatesGetCall) IfNoneMatch(entityTag string) *StatesGetCall + type StatesListCall struct + func (c *StatesListCall) Context(ctx context.Context) *StatesListCall + func (c *StatesListCall) Do(opts ...googleapi.CallOption) (*ListResponse, error) + func (c *StatesListCall) Fields(s ...googleapi.Field) *StatesListCall + func (c *StatesListCall) Header() http.Header + func (c *StatesListCall) IfNoneMatch(entityTag string) *StatesListCall + func (c *StatesListCall) IncludeData(includeData bool) *StatesListCall + type StatesService struct + func NewStatesService(s *Service) *StatesService + func (r *StatesService) Clear(stateKey int64) *StatesClearCall + func (r *StatesService) Delete(stateKey int64) *StatesDeleteCall + func (r *StatesService) Get(stateKey int64) *StatesGetCall + func (r *StatesService) List() *StatesListCall + func (r *StatesService) Update(stateKey int64, updaterequest *UpdateRequest) *StatesUpdateCall + type StatesUpdateCall struct + func (c *StatesUpdateCall) Context(ctx context.Context) *StatesUpdateCall + func (c *StatesUpdateCall) CurrentStateVersion(currentStateVersion string) *StatesUpdateCall + func (c *StatesUpdateCall) Do(opts ...googleapi.CallOption) (*WriteResult, error) + func (c *StatesUpdateCall) Fields(s ...googleapi.Field) *StatesUpdateCall + func (c *StatesUpdateCall) Header() http.Header + type UpdateRequest struct + Data string + ForceSendFields []string + Kind string + NullFields []string + func (s *UpdateRequest) MarshalJSON() ([]byte, error) + type WriteResult struct + CurrentStateVersion string + ForceSendFields []string + Kind string + NullFields []string + StateKey int64 + func (s *WriteResult) MarshalJSON() ([]byte, error)