Documentation ¶
Index ¶
- Variables
- type Client
- func (c *Client) AccountID() string
- func (c *Client) AccountPath() string
- func (c *Client) Client(ctx context.Context, name string) (*tagmanager.Client, error)
- func (c *Client) ContainerID() string
- func (c *Client) ContainerPath() string
- func (c *Client) Folder(ctx context.Context, name string) (*tagmanager.Folder, error)
- func (c *Client) FolderName() string
- func (c *Client) MeasurementID() string
- func (c *Client) Notes() string
- func (c *Client) Service(ctx context.Context) (*tagmanager.Service, error)
- func (c *Client) Tag(ctx context.Context, name string) (*tagmanager.Tag, error)
- func (c *Client) Trigger(ctx context.Context, name string) (*tagmanager.Trigger, error)
- func (c *Client) UpsertClientTrigger(ctx context.Context, name, clientName string) (*tagmanager.Trigger, error)
- func (c *Client) UpsertConstantVariable(ctx context.Context, name, value string) (*tagmanager.Variable, error)
- func (c *Client) UpsertCustomEventTrigger(ctx context.Context, name string) (*tagmanager.Trigger, error)
- func (c *Client) UpsertEventModelVariable(ctx context.Context, name string) (*tagmanager.Variable, error)
- func (c *Client) UpsertFolder(ctx context.Context, name string) (*tagmanager.Folder, error)
- func (c *Client) UpsertGA4Client(ctx context.Context, name string) (*tagmanager.Client, error)
- func (c *Client) UpsertGA4ServerTag(ctx context.Context, name string, measurementID *tagmanager.Variable, ...) (*tagmanager.Tag, error)
- func (c *Client) UpsertGA4WebTag(ctx context.Context, name string, parameters []string, ...) (*tagmanager.Tag, error)
- func (c *Client) UpsertGTMClient(ctx context.Context, name, webContainerMeasurementID string) (*tagmanager.Client, error)
- func (c *Client) UpsertVariable(ctx context.Context, obj *tagmanager.Variable) (*tagmanager.Variable, error)
- func (c *Client) Variable(ctx context.Context, name string) (*tagmanager.Variable, error)
- func (c *Client) WorkspaceID() string
- func (c *Client) WorkspacePath() string
- type ClientOption
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotFound = errors.New("not found")
)
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(accountID, containerID, workspaceID, measurementID string, opts ...ClientOption) (*Client, error)
func (*Client) AccountPath ¶
func (*Client) ContainerID ¶
func (*Client) ContainerPath ¶
func (*Client) FolderName ¶
func (*Client) MeasurementID ¶
func (*Client) UpsertClientTrigger ¶
func (*Client) UpsertConstantVariable ¶
func (*Client) UpsertCustomEventTrigger ¶
func (*Client) UpsertEventModelVariable ¶
func (*Client) UpsertFolder ¶
func (*Client) UpsertGA4Client ¶
func (*Client) UpsertGA4ServerTag ¶
func (*Client) UpsertGA4WebTag ¶
func (*Client) UpsertGTMClient ¶
func (*Client) UpsertVariable ¶
func (*Client) WorkspaceID ¶
func (*Client) WorkspacePath ¶
type ClientOption ¶
type ClientOption func(*Client)
func ClientWithClientOptions ¶
func ClientWithClientOptions(v ...option.ClientOption) ClientOption
func ClientWithFolderName ¶
func ClientWithFolderName(v string) ClientOption
func ClientWithNotes ¶
func ClientWithNotes(v string) ClientOption
Click to show internal directories.
Click to hide internal directories.