remoteconfig

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RemoteConfigEventData

type RemoteConfigEventData struct {
	Description    *string       `json:"description,omitempty"`           // The user-provided description of the corresponding Remote Config template.
	RollbackSource *int64        `json:"rollbackSource,string,omitempty"` // Only present if this version is the result of a rollback, and will be the; version number of the Remote Config template that was rolled-back to.
	UpdateOrigin   *UpdateOrigin `json:"updateOrigin,omitempty"`          // Where the update action originated.
	UpdateTime     *string       `json:"updateTime,omitempty"`            // When the Remote Config template was written to the Remote Config server.
	UpdateType     *UpdateType   `json:"updateType,omitempty"`            // What type of update was made.
	UpdateUser     *UpdateUser   `json:"updateUser,omitempty"`            // Aggregation of all metadata fields about the account that performed the; update.
	VersionNumber  *int64        `json:"versionNumber,string,omitempty"`  // The version number of the version's corresponding Remote Config template.
}

RemoteConfigEventData: The data within all Firebase Remote Config events.

type UpdateOrigin

type UpdateOrigin string

Where the update action originated.

const (
	AdminSDKNode                        UpdateOrigin = "ADMIN_SDK_NODE"
	Console                             UpdateOrigin = "CONSOLE"
	RESTAPI                             UpdateOrigin = "REST_API"
	RemoteConfigUpdateOriginUnspecified UpdateOrigin = "REMOTE_CONFIG_UPDATE_ORIGIN_UNSPECIFIED"
)

type UpdateType

type UpdateType string

What type of update was made.

const (
	ForcedUpdate                      UpdateType = "FORCED_UPDATE"
	IncrementalUpdate                 UpdateType = "INCREMENTAL_UPDATE"
	RemoteConfigUpdateTypeUnspecified UpdateType = "REMOTE_CONFIG_UPDATE_TYPE_UNSPECIFIED"
	Rollback                          UpdateType = "ROLLBACK"
)

type UpdateUser

type UpdateUser struct {
	Email    *string `json:"email,omitempty"`    // Email address.
	ImageURL *string `json:"imageUrl,omitempty"` // Image URL.
	Name     *string `json:"name,omitempty"`     // Display name.
}

UpdateUser: Aggregation of all metadata fields about the account that performed the update.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL