Documentation ¶
Overview ¶
Package tagmanager provides access to the Tag Manager API.
See https://developers.google.com/tag-manager/api/v1/
Usage example:
import "github.com/zippoxer/google-api-go-client/tagmanager/v1" ... tagmanagerService, err := tagmanager.New(oauthHttpClient)
Index ¶
- Constants
- type Account
- type AccountAccess
- type AccountsContainersCreateCall
- func (c *AccountsContainersCreateCall) Context(ctx context.Context) *AccountsContainersCreateCall
- func (c *AccountsContainersCreateCall) Do() (*Container, error)
- func (c *AccountsContainersCreateCall) Fields(s ...googleapi.Field) *AccountsContainersCreateCall
- func (c *AccountsContainersCreateCall) QuotaUser(quotaUser string) *AccountsContainersCreateCall
- func (c *AccountsContainersCreateCall) UserIP(userIP string) *AccountsContainersCreateCall
- type AccountsContainersDeleteCall
- func (c *AccountsContainersDeleteCall) Context(ctx context.Context) *AccountsContainersDeleteCall
- func (c *AccountsContainersDeleteCall) Do() error
- func (c *AccountsContainersDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersDeleteCall
- func (c *AccountsContainersDeleteCall) QuotaUser(quotaUser string) *AccountsContainersDeleteCall
- func (c *AccountsContainersDeleteCall) UserIP(userIP string) *AccountsContainersDeleteCall
- type AccountsContainersFoldersCreateCall
- func (c *AccountsContainersFoldersCreateCall) Context(ctx context.Context) *AccountsContainersFoldersCreateCall
- func (c *AccountsContainersFoldersCreateCall) Do() (*Folder, error)
- func (c *AccountsContainersFoldersCreateCall) Fields(s ...googleapi.Field) *AccountsContainersFoldersCreateCall
- func (c *AccountsContainersFoldersCreateCall) QuotaUser(quotaUser string) *AccountsContainersFoldersCreateCall
- func (c *AccountsContainersFoldersCreateCall) UserIP(userIP string) *AccountsContainersFoldersCreateCall
- type AccountsContainersFoldersDeleteCall
- func (c *AccountsContainersFoldersDeleteCall) Context(ctx context.Context) *AccountsContainersFoldersDeleteCall
- func (c *AccountsContainersFoldersDeleteCall) Do() error
- func (c *AccountsContainersFoldersDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersFoldersDeleteCall
- func (c *AccountsContainersFoldersDeleteCall) QuotaUser(quotaUser string) *AccountsContainersFoldersDeleteCall
- func (c *AccountsContainersFoldersDeleteCall) UserIP(userIP string) *AccountsContainersFoldersDeleteCall
- type AccountsContainersFoldersEntitiesListCall
- func (c *AccountsContainersFoldersEntitiesListCall) Context(ctx context.Context) *AccountsContainersFoldersEntitiesListCall
- func (c *AccountsContainersFoldersEntitiesListCall) Do() (*FolderEntities, error)
- func (c *AccountsContainersFoldersEntitiesListCall) Fields(s ...googleapi.Field) *AccountsContainersFoldersEntitiesListCall
- func (c *AccountsContainersFoldersEntitiesListCall) IfNoneMatch(entityTag string) *AccountsContainersFoldersEntitiesListCall
- func (c *AccountsContainersFoldersEntitiesListCall) QuotaUser(quotaUser string) *AccountsContainersFoldersEntitiesListCall
- func (c *AccountsContainersFoldersEntitiesListCall) UserIP(userIP string) *AccountsContainersFoldersEntitiesListCall
- type AccountsContainersFoldersEntitiesService
- type AccountsContainersFoldersGetCall
- func (c *AccountsContainersFoldersGetCall) Context(ctx context.Context) *AccountsContainersFoldersGetCall
- func (c *AccountsContainersFoldersGetCall) Do() (*Folder, error)
- func (c *AccountsContainersFoldersGetCall) Fields(s ...googleapi.Field) *AccountsContainersFoldersGetCall
- func (c *AccountsContainersFoldersGetCall) IfNoneMatch(entityTag string) *AccountsContainersFoldersGetCall
- func (c *AccountsContainersFoldersGetCall) QuotaUser(quotaUser string) *AccountsContainersFoldersGetCall
- func (c *AccountsContainersFoldersGetCall) UserIP(userIP string) *AccountsContainersFoldersGetCall
- type AccountsContainersFoldersListCall
- func (c *AccountsContainersFoldersListCall) Context(ctx context.Context) *AccountsContainersFoldersListCall
- func (c *AccountsContainersFoldersListCall) Do() (*ListFoldersResponse, error)
- func (c *AccountsContainersFoldersListCall) Fields(s ...googleapi.Field) *AccountsContainersFoldersListCall
- func (c *AccountsContainersFoldersListCall) IfNoneMatch(entityTag string) *AccountsContainersFoldersListCall
- func (c *AccountsContainersFoldersListCall) QuotaUser(quotaUser string) *AccountsContainersFoldersListCall
- func (c *AccountsContainersFoldersListCall) UserIP(userIP string) *AccountsContainersFoldersListCall
- type AccountsContainersFoldersService
- func (r *AccountsContainersFoldersService) Create(accountId string, containerId string, folder *Folder) *AccountsContainersFoldersCreateCall
- func (r *AccountsContainersFoldersService) Delete(accountId string, containerId string, folderId string) *AccountsContainersFoldersDeleteCall
- func (r *AccountsContainersFoldersService) Get(accountId string, containerId string, folderId string) *AccountsContainersFoldersGetCall
- func (r *AccountsContainersFoldersService) List(accountId string, containerId string) *AccountsContainersFoldersListCall
- func (r *AccountsContainersFoldersService) Update(accountId string, containerId string, folderId string, folder *Folder) *AccountsContainersFoldersUpdateCall
- type AccountsContainersFoldersUpdateCall
- func (c *AccountsContainersFoldersUpdateCall) Context(ctx context.Context) *AccountsContainersFoldersUpdateCall
- func (c *AccountsContainersFoldersUpdateCall) Do() (*Folder, error)
- func (c *AccountsContainersFoldersUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersFoldersUpdateCall
- func (c *AccountsContainersFoldersUpdateCall) Fingerprint(fingerprint string) *AccountsContainersFoldersUpdateCall
- func (c *AccountsContainersFoldersUpdateCall) QuotaUser(quotaUser string) *AccountsContainersFoldersUpdateCall
- func (c *AccountsContainersFoldersUpdateCall) UserIP(userIP string) *AccountsContainersFoldersUpdateCall
- type AccountsContainersGetCall
- func (c *AccountsContainersGetCall) Context(ctx context.Context) *AccountsContainersGetCall
- func (c *AccountsContainersGetCall) Do() (*Container, error)
- func (c *AccountsContainersGetCall) Fields(s ...googleapi.Field) *AccountsContainersGetCall
- func (c *AccountsContainersGetCall) IfNoneMatch(entityTag string) *AccountsContainersGetCall
- func (c *AccountsContainersGetCall) QuotaUser(quotaUser string) *AccountsContainersGetCall
- func (c *AccountsContainersGetCall) UserIP(userIP string) *AccountsContainersGetCall
- type AccountsContainersListCall
- func (c *AccountsContainersListCall) Context(ctx context.Context) *AccountsContainersListCall
- func (c *AccountsContainersListCall) Do() (*ListContainersResponse, error)
- func (c *AccountsContainersListCall) Fields(s ...googleapi.Field) *AccountsContainersListCall
- func (c *AccountsContainersListCall) IfNoneMatch(entityTag string) *AccountsContainersListCall
- func (c *AccountsContainersListCall) QuotaUser(quotaUser string) *AccountsContainersListCall
- func (c *AccountsContainersListCall) UserIP(userIP string) *AccountsContainersListCall
- type AccountsContainersMoveFoldersService
- type AccountsContainersMoveFoldersUpdateCall
- func (c *AccountsContainersMoveFoldersUpdateCall) Context(ctx context.Context) *AccountsContainersMoveFoldersUpdateCall
- func (c *AccountsContainersMoveFoldersUpdateCall) Do() error
- func (c *AccountsContainersMoveFoldersUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersMoveFoldersUpdateCall
- func (c *AccountsContainersMoveFoldersUpdateCall) QuotaUser(quotaUser string) *AccountsContainersMoveFoldersUpdateCall
- func (c *AccountsContainersMoveFoldersUpdateCall) TagId(tagId ...string) *AccountsContainersMoveFoldersUpdateCall
- func (c *AccountsContainersMoveFoldersUpdateCall) TriggerId(triggerId ...string) *AccountsContainersMoveFoldersUpdateCall
- func (c *AccountsContainersMoveFoldersUpdateCall) UserIP(userIP string) *AccountsContainersMoveFoldersUpdateCall
- func (c *AccountsContainersMoveFoldersUpdateCall) VariableId(variableId ...string) *AccountsContainersMoveFoldersUpdateCall
- type AccountsContainersService
- func (r *AccountsContainersService) Create(accountId string, container *Container) *AccountsContainersCreateCall
- func (r *AccountsContainersService) Delete(accountId string, containerId string) *AccountsContainersDeleteCall
- func (r *AccountsContainersService) Get(accountId string, containerId string) *AccountsContainersGetCall
- func (r *AccountsContainersService) List(accountId string) *AccountsContainersListCall
- func (r *AccountsContainersService) Update(accountId string, containerId string, container *Container) *AccountsContainersUpdateCall
- type AccountsContainersTagsCreateCall
- func (c *AccountsContainersTagsCreateCall) Context(ctx context.Context) *AccountsContainersTagsCreateCall
- func (c *AccountsContainersTagsCreateCall) Do() (*Tag, error)
- func (c *AccountsContainersTagsCreateCall) Fields(s ...googleapi.Field) *AccountsContainersTagsCreateCall
- func (c *AccountsContainersTagsCreateCall) QuotaUser(quotaUser string) *AccountsContainersTagsCreateCall
- func (c *AccountsContainersTagsCreateCall) UserIP(userIP string) *AccountsContainersTagsCreateCall
- type AccountsContainersTagsDeleteCall
- func (c *AccountsContainersTagsDeleteCall) Context(ctx context.Context) *AccountsContainersTagsDeleteCall
- func (c *AccountsContainersTagsDeleteCall) Do() error
- func (c *AccountsContainersTagsDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersTagsDeleteCall
- func (c *AccountsContainersTagsDeleteCall) QuotaUser(quotaUser string) *AccountsContainersTagsDeleteCall
- func (c *AccountsContainersTagsDeleteCall) UserIP(userIP string) *AccountsContainersTagsDeleteCall
- type AccountsContainersTagsGetCall
- func (c *AccountsContainersTagsGetCall) Context(ctx context.Context) *AccountsContainersTagsGetCall
- func (c *AccountsContainersTagsGetCall) Do() (*Tag, error)
- func (c *AccountsContainersTagsGetCall) Fields(s ...googleapi.Field) *AccountsContainersTagsGetCall
- func (c *AccountsContainersTagsGetCall) IfNoneMatch(entityTag string) *AccountsContainersTagsGetCall
- func (c *AccountsContainersTagsGetCall) QuotaUser(quotaUser string) *AccountsContainersTagsGetCall
- func (c *AccountsContainersTagsGetCall) UserIP(userIP string) *AccountsContainersTagsGetCall
- type AccountsContainersTagsListCall
- func (c *AccountsContainersTagsListCall) Context(ctx context.Context) *AccountsContainersTagsListCall
- func (c *AccountsContainersTagsListCall) Do() (*ListTagsResponse, error)
- func (c *AccountsContainersTagsListCall) Fields(s ...googleapi.Field) *AccountsContainersTagsListCall
- func (c *AccountsContainersTagsListCall) IfNoneMatch(entityTag string) *AccountsContainersTagsListCall
- func (c *AccountsContainersTagsListCall) QuotaUser(quotaUser string) *AccountsContainersTagsListCall
- func (c *AccountsContainersTagsListCall) UserIP(userIP string) *AccountsContainersTagsListCall
- type AccountsContainersTagsService
- func (r *AccountsContainersTagsService) Create(accountId string, containerId string, tag *Tag) *AccountsContainersTagsCreateCall
- func (r *AccountsContainersTagsService) Delete(accountId string, containerId string, tagId string) *AccountsContainersTagsDeleteCall
- func (r *AccountsContainersTagsService) Get(accountId string, containerId string, tagId string) *AccountsContainersTagsGetCall
- func (r *AccountsContainersTagsService) List(accountId string, containerId string) *AccountsContainersTagsListCall
- func (r *AccountsContainersTagsService) Update(accountId string, containerId string, tagId string, tag *Tag) *AccountsContainersTagsUpdateCall
- type AccountsContainersTagsUpdateCall
- func (c *AccountsContainersTagsUpdateCall) Context(ctx context.Context) *AccountsContainersTagsUpdateCall
- func (c *AccountsContainersTagsUpdateCall) Do() (*Tag, error)
- func (c *AccountsContainersTagsUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersTagsUpdateCall
- func (c *AccountsContainersTagsUpdateCall) Fingerprint(fingerprint string) *AccountsContainersTagsUpdateCall
- func (c *AccountsContainersTagsUpdateCall) QuotaUser(quotaUser string) *AccountsContainersTagsUpdateCall
- func (c *AccountsContainersTagsUpdateCall) UserIP(userIP string) *AccountsContainersTagsUpdateCall
- type AccountsContainersTriggersCreateCall
- func (c *AccountsContainersTriggersCreateCall) Context(ctx context.Context) *AccountsContainersTriggersCreateCall
- func (c *AccountsContainersTriggersCreateCall) Do() (*Trigger, error)
- func (c *AccountsContainersTriggersCreateCall) Fields(s ...googleapi.Field) *AccountsContainersTriggersCreateCall
- func (c *AccountsContainersTriggersCreateCall) QuotaUser(quotaUser string) *AccountsContainersTriggersCreateCall
- func (c *AccountsContainersTriggersCreateCall) UserIP(userIP string) *AccountsContainersTriggersCreateCall
- type AccountsContainersTriggersDeleteCall
- func (c *AccountsContainersTriggersDeleteCall) Context(ctx context.Context) *AccountsContainersTriggersDeleteCall
- func (c *AccountsContainersTriggersDeleteCall) Do() error
- func (c *AccountsContainersTriggersDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersTriggersDeleteCall
- func (c *AccountsContainersTriggersDeleteCall) QuotaUser(quotaUser string) *AccountsContainersTriggersDeleteCall
- func (c *AccountsContainersTriggersDeleteCall) UserIP(userIP string) *AccountsContainersTriggersDeleteCall
- type AccountsContainersTriggersGetCall
- func (c *AccountsContainersTriggersGetCall) Context(ctx context.Context) *AccountsContainersTriggersGetCall
- func (c *AccountsContainersTriggersGetCall) Do() (*Trigger, error)
- func (c *AccountsContainersTriggersGetCall) Fields(s ...googleapi.Field) *AccountsContainersTriggersGetCall
- func (c *AccountsContainersTriggersGetCall) IfNoneMatch(entityTag string) *AccountsContainersTriggersGetCall
- func (c *AccountsContainersTriggersGetCall) QuotaUser(quotaUser string) *AccountsContainersTriggersGetCall
- func (c *AccountsContainersTriggersGetCall) UserIP(userIP string) *AccountsContainersTriggersGetCall
- type AccountsContainersTriggersListCall
- func (c *AccountsContainersTriggersListCall) Context(ctx context.Context) *AccountsContainersTriggersListCall
- func (c *AccountsContainersTriggersListCall) Do() (*ListTriggersResponse, error)
- func (c *AccountsContainersTriggersListCall) Fields(s ...googleapi.Field) *AccountsContainersTriggersListCall
- func (c *AccountsContainersTriggersListCall) IfNoneMatch(entityTag string) *AccountsContainersTriggersListCall
- func (c *AccountsContainersTriggersListCall) QuotaUser(quotaUser string) *AccountsContainersTriggersListCall
- func (c *AccountsContainersTriggersListCall) UserIP(userIP string) *AccountsContainersTriggersListCall
- type AccountsContainersTriggersService
- func (r *AccountsContainersTriggersService) Create(accountId string, containerId string, trigger *Trigger) *AccountsContainersTriggersCreateCall
- func (r *AccountsContainersTriggersService) Delete(accountId string, containerId string, triggerId string) *AccountsContainersTriggersDeleteCall
- func (r *AccountsContainersTriggersService) Get(accountId string, containerId string, triggerId string) *AccountsContainersTriggersGetCall
- func (r *AccountsContainersTriggersService) List(accountId string, containerId string) *AccountsContainersTriggersListCall
- func (r *AccountsContainersTriggersService) Update(accountId string, containerId string, triggerId string, trigger *Trigger) *AccountsContainersTriggersUpdateCall
- type AccountsContainersTriggersUpdateCall
- func (c *AccountsContainersTriggersUpdateCall) Context(ctx context.Context) *AccountsContainersTriggersUpdateCall
- func (c *AccountsContainersTriggersUpdateCall) Do() (*Trigger, error)
- func (c *AccountsContainersTriggersUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersTriggersUpdateCall
- func (c *AccountsContainersTriggersUpdateCall) Fingerprint(fingerprint string) *AccountsContainersTriggersUpdateCall
- func (c *AccountsContainersTriggersUpdateCall) QuotaUser(quotaUser string) *AccountsContainersTriggersUpdateCall
- func (c *AccountsContainersTriggersUpdateCall) UserIP(userIP string) *AccountsContainersTriggersUpdateCall
- type AccountsContainersUpdateCall
- func (c *AccountsContainersUpdateCall) Context(ctx context.Context) *AccountsContainersUpdateCall
- func (c *AccountsContainersUpdateCall) Do() (*Container, error)
- func (c *AccountsContainersUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersUpdateCall
- func (c *AccountsContainersUpdateCall) Fingerprint(fingerprint string) *AccountsContainersUpdateCall
- func (c *AccountsContainersUpdateCall) QuotaUser(quotaUser string) *AccountsContainersUpdateCall
- func (c *AccountsContainersUpdateCall) UserIP(userIP string) *AccountsContainersUpdateCall
- type AccountsContainersVariablesCreateCall
- func (c *AccountsContainersVariablesCreateCall) Context(ctx context.Context) *AccountsContainersVariablesCreateCall
- func (c *AccountsContainersVariablesCreateCall) Do() (*Variable, error)
- func (c *AccountsContainersVariablesCreateCall) Fields(s ...googleapi.Field) *AccountsContainersVariablesCreateCall
- func (c *AccountsContainersVariablesCreateCall) QuotaUser(quotaUser string) *AccountsContainersVariablesCreateCall
- func (c *AccountsContainersVariablesCreateCall) UserIP(userIP string) *AccountsContainersVariablesCreateCall
- type AccountsContainersVariablesDeleteCall
- func (c *AccountsContainersVariablesDeleteCall) Context(ctx context.Context) *AccountsContainersVariablesDeleteCall
- func (c *AccountsContainersVariablesDeleteCall) Do() error
- func (c *AccountsContainersVariablesDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersVariablesDeleteCall
- func (c *AccountsContainersVariablesDeleteCall) QuotaUser(quotaUser string) *AccountsContainersVariablesDeleteCall
- func (c *AccountsContainersVariablesDeleteCall) UserIP(userIP string) *AccountsContainersVariablesDeleteCall
- type AccountsContainersVariablesGetCall
- func (c *AccountsContainersVariablesGetCall) Context(ctx context.Context) *AccountsContainersVariablesGetCall
- func (c *AccountsContainersVariablesGetCall) Do() (*Variable, error)
- func (c *AccountsContainersVariablesGetCall) Fields(s ...googleapi.Field) *AccountsContainersVariablesGetCall
- func (c *AccountsContainersVariablesGetCall) IfNoneMatch(entityTag string) *AccountsContainersVariablesGetCall
- func (c *AccountsContainersVariablesGetCall) QuotaUser(quotaUser string) *AccountsContainersVariablesGetCall
- func (c *AccountsContainersVariablesGetCall) UserIP(userIP string) *AccountsContainersVariablesGetCall
- type AccountsContainersVariablesListCall
- func (c *AccountsContainersVariablesListCall) Context(ctx context.Context) *AccountsContainersVariablesListCall
- func (c *AccountsContainersVariablesListCall) Do() (*ListVariablesResponse, error)
- func (c *AccountsContainersVariablesListCall) Fields(s ...googleapi.Field) *AccountsContainersVariablesListCall
- func (c *AccountsContainersVariablesListCall) IfNoneMatch(entityTag string) *AccountsContainersVariablesListCall
- func (c *AccountsContainersVariablesListCall) QuotaUser(quotaUser string) *AccountsContainersVariablesListCall
- func (c *AccountsContainersVariablesListCall) UserIP(userIP string) *AccountsContainersVariablesListCall
- type AccountsContainersVariablesService
- func (r *AccountsContainersVariablesService) Create(accountId string, containerId string, variable *Variable) *AccountsContainersVariablesCreateCall
- func (r *AccountsContainersVariablesService) Delete(accountId string, containerId string, variableId string) *AccountsContainersVariablesDeleteCall
- func (r *AccountsContainersVariablesService) Get(accountId string, containerId string, variableId string) *AccountsContainersVariablesGetCall
- func (r *AccountsContainersVariablesService) List(accountId string, containerId string) *AccountsContainersVariablesListCall
- func (r *AccountsContainersVariablesService) Update(accountId string, containerId string, variableId string, variable *Variable) *AccountsContainersVariablesUpdateCall
- type AccountsContainersVariablesUpdateCall
- func (c *AccountsContainersVariablesUpdateCall) Context(ctx context.Context) *AccountsContainersVariablesUpdateCall
- func (c *AccountsContainersVariablesUpdateCall) Do() (*Variable, error)
- func (c *AccountsContainersVariablesUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersVariablesUpdateCall
- func (c *AccountsContainersVariablesUpdateCall) Fingerprint(fingerprint string) *AccountsContainersVariablesUpdateCall
- func (c *AccountsContainersVariablesUpdateCall) QuotaUser(quotaUser string) *AccountsContainersVariablesUpdateCall
- func (c *AccountsContainersVariablesUpdateCall) UserIP(userIP string) *AccountsContainersVariablesUpdateCall
- type AccountsContainersVersionsCreateCall
- func (c *AccountsContainersVersionsCreateCall) Context(ctx context.Context) *AccountsContainersVersionsCreateCall
- func (c *AccountsContainersVersionsCreateCall) Do() (*CreateContainerVersionResponse, error)
- func (c *AccountsContainersVersionsCreateCall) Fields(s ...googleapi.Field) *AccountsContainersVersionsCreateCall
- func (c *AccountsContainersVersionsCreateCall) QuotaUser(quotaUser string) *AccountsContainersVersionsCreateCall
- func (c *AccountsContainersVersionsCreateCall) UserIP(userIP string) *AccountsContainersVersionsCreateCall
- type AccountsContainersVersionsDeleteCall
- func (c *AccountsContainersVersionsDeleteCall) Context(ctx context.Context) *AccountsContainersVersionsDeleteCall
- func (c *AccountsContainersVersionsDeleteCall) Do() error
- func (c *AccountsContainersVersionsDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersVersionsDeleteCall
- func (c *AccountsContainersVersionsDeleteCall) QuotaUser(quotaUser string) *AccountsContainersVersionsDeleteCall
- func (c *AccountsContainersVersionsDeleteCall) UserIP(userIP string) *AccountsContainersVersionsDeleteCall
- type AccountsContainersVersionsGetCall
- func (c *AccountsContainersVersionsGetCall) Context(ctx context.Context) *AccountsContainersVersionsGetCall
- func (c *AccountsContainersVersionsGetCall) Do() (*ContainerVersion, error)
- func (c *AccountsContainersVersionsGetCall) Fields(s ...googleapi.Field) *AccountsContainersVersionsGetCall
- func (c *AccountsContainersVersionsGetCall) IfNoneMatch(entityTag string) *AccountsContainersVersionsGetCall
- func (c *AccountsContainersVersionsGetCall) QuotaUser(quotaUser string) *AccountsContainersVersionsGetCall
- func (c *AccountsContainersVersionsGetCall) UserIP(userIP string) *AccountsContainersVersionsGetCall
- type AccountsContainersVersionsListCall
- func (c *AccountsContainersVersionsListCall) Context(ctx context.Context) *AccountsContainersVersionsListCall
- func (c *AccountsContainersVersionsListCall) Do() (*ListContainerVersionsResponse, error)
- func (c *AccountsContainersVersionsListCall) Fields(s ...googleapi.Field) *AccountsContainersVersionsListCall
- func (c *AccountsContainersVersionsListCall) Headers(headers bool) *AccountsContainersVersionsListCall
- func (c *AccountsContainersVersionsListCall) IfNoneMatch(entityTag string) *AccountsContainersVersionsListCall
- func (c *AccountsContainersVersionsListCall) IncludeDeleted(includeDeleted bool) *AccountsContainersVersionsListCall
- func (c *AccountsContainersVersionsListCall) QuotaUser(quotaUser string) *AccountsContainersVersionsListCall
- func (c *AccountsContainersVersionsListCall) UserIP(userIP string) *AccountsContainersVersionsListCall
- type AccountsContainersVersionsPublishCall
- func (c *AccountsContainersVersionsPublishCall) Context(ctx context.Context) *AccountsContainersVersionsPublishCall
- func (c *AccountsContainersVersionsPublishCall) Do() (*PublishContainerVersionResponse, error)
- func (c *AccountsContainersVersionsPublishCall) Fields(s ...googleapi.Field) *AccountsContainersVersionsPublishCall
- func (c *AccountsContainersVersionsPublishCall) Fingerprint(fingerprint string) *AccountsContainersVersionsPublishCall
- func (c *AccountsContainersVersionsPublishCall) QuotaUser(quotaUser string) *AccountsContainersVersionsPublishCall
- func (c *AccountsContainersVersionsPublishCall) UserIP(userIP string) *AccountsContainersVersionsPublishCall
- type AccountsContainersVersionsRestoreCall
- func (c *AccountsContainersVersionsRestoreCall) Context(ctx context.Context) *AccountsContainersVersionsRestoreCall
- func (c *AccountsContainersVersionsRestoreCall) Do() (*ContainerVersion, error)
- func (c *AccountsContainersVersionsRestoreCall) Fields(s ...googleapi.Field) *AccountsContainersVersionsRestoreCall
- func (c *AccountsContainersVersionsRestoreCall) QuotaUser(quotaUser string) *AccountsContainersVersionsRestoreCall
- func (c *AccountsContainersVersionsRestoreCall) UserIP(userIP string) *AccountsContainersVersionsRestoreCall
- type AccountsContainersVersionsService
- func (r *AccountsContainersVersionsService) Create(accountId string, containerId string, ...) *AccountsContainersVersionsCreateCall
- func (r *AccountsContainersVersionsService) Delete(accountId string, containerId string, containerVersionId string) *AccountsContainersVersionsDeleteCall
- func (r *AccountsContainersVersionsService) Get(accountId string, containerId string, containerVersionId string) *AccountsContainersVersionsGetCall
- func (r *AccountsContainersVersionsService) List(accountId string, containerId string) *AccountsContainersVersionsListCall
- func (r *AccountsContainersVersionsService) Publish(accountId string, containerId string, containerVersionId string) *AccountsContainersVersionsPublishCall
- func (r *AccountsContainersVersionsService) Restore(accountId string, containerId string, containerVersionId string) *AccountsContainersVersionsRestoreCall
- func (r *AccountsContainersVersionsService) Undelete(accountId string, containerId string, containerVersionId string) *AccountsContainersVersionsUndeleteCall
- func (r *AccountsContainersVersionsService) Update(accountId string, containerId string, containerVersionId string, ...) *AccountsContainersVersionsUpdateCall
- type AccountsContainersVersionsUndeleteCall
- func (c *AccountsContainersVersionsUndeleteCall) Context(ctx context.Context) *AccountsContainersVersionsUndeleteCall
- func (c *AccountsContainersVersionsUndeleteCall) Do() (*ContainerVersion, error)
- func (c *AccountsContainersVersionsUndeleteCall) Fields(s ...googleapi.Field) *AccountsContainersVersionsUndeleteCall
- func (c *AccountsContainersVersionsUndeleteCall) QuotaUser(quotaUser string) *AccountsContainersVersionsUndeleteCall
- func (c *AccountsContainersVersionsUndeleteCall) UserIP(userIP string) *AccountsContainersVersionsUndeleteCall
- type AccountsContainersVersionsUpdateCall
- func (c *AccountsContainersVersionsUpdateCall) Context(ctx context.Context) *AccountsContainersVersionsUpdateCall
- func (c *AccountsContainersVersionsUpdateCall) Do() (*ContainerVersion, error)
- func (c *AccountsContainersVersionsUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersVersionsUpdateCall
- func (c *AccountsContainersVersionsUpdateCall) Fingerprint(fingerprint string) *AccountsContainersVersionsUpdateCall
- func (c *AccountsContainersVersionsUpdateCall) QuotaUser(quotaUser string) *AccountsContainersVersionsUpdateCall
- func (c *AccountsContainersVersionsUpdateCall) UserIP(userIP string) *AccountsContainersVersionsUpdateCall
- type AccountsGetCall
- func (c *AccountsGetCall) Context(ctx context.Context) *AccountsGetCall
- func (c *AccountsGetCall) Do() (*Account, error)
- func (c *AccountsGetCall) Fields(s ...googleapi.Field) *AccountsGetCall
- func (c *AccountsGetCall) IfNoneMatch(entityTag string) *AccountsGetCall
- func (c *AccountsGetCall) QuotaUser(quotaUser string) *AccountsGetCall
- func (c *AccountsGetCall) UserIP(userIP string) *AccountsGetCall
- type AccountsListCall
- func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall
- func (c *AccountsListCall) Do() (*ListAccountsResponse, error)
- func (c *AccountsListCall) Fields(s ...googleapi.Field) *AccountsListCall
- func (c *AccountsListCall) IfNoneMatch(entityTag string) *AccountsListCall
- func (c *AccountsListCall) QuotaUser(quotaUser string) *AccountsListCall
- func (c *AccountsListCall) UserIP(userIP string) *AccountsListCall
- type AccountsPermissionsCreateCall
- func (c *AccountsPermissionsCreateCall) Context(ctx context.Context) *AccountsPermissionsCreateCall
- func (c *AccountsPermissionsCreateCall) Do() (*UserAccess, error)
- func (c *AccountsPermissionsCreateCall) Fields(s ...googleapi.Field) *AccountsPermissionsCreateCall
- func (c *AccountsPermissionsCreateCall) QuotaUser(quotaUser string) *AccountsPermissionsCreateCall
- func (c *AccountsPermissionsCreateCall) UserIP(userIP string) *AccountsPermissionsCreateCall
- type AccountsPermissionsDeleteCall
- func (c *AccountsPermissionsDeleteCall) Context(ctx context.Context) *AccountsPermissionsDeleteCall
- func (c *AccountsPermissionsDeleteCall) Do() error
- func (c *AccountsPermissionsDeleteCall) Fields(s ...googleapi.Field) *AccountsPermissionsDeleteCall
- func (c *AccountsPermissionsDeleteCall) QuotaUser(quotaUser string) *AccountsPermissionsDeleteCall
- func (c *AccountsPermissionsDeleteCall) UserIP(userIP string) *AccountsPermissionsDeleteCall
- type AccountsPermissionsGetCall
- func (c *AccountsPermissionsGetCall) Context(ctx context.Context) *AccountsPermissionsGetCall
- func (c *AccountsPermissionsGetCall) Do() (*UserAccess, error)
- func (c *AccountsPermissionsGetCall) Fields(s ...googleapi.Field) *AccountsPermissionsGetCall
- func (c *AccountsPermissionsGetCall) IfNoneMatch(entityTag string) *AccountsPermissionsGetCall
- func (c *AccountsPermissionsGetCall) QuotaUser(quotaUser string) *AccountsPermissionsGetCall
- func (c *AccountsPermissionsGetCall) UserIP(userIP string) *AccountsPermissionsGetCall
- type AccountsPermissionsListCall
- func (c *AccountsPermissionsListCall) Context(ctx context.Context) *AccountsPermissionsListCall
- func (c *AccountsPermissionsListCall) Do() (*ListAccountUsersResponse, error)
- func (c *AccountsPermissionsListCall) Fields(s ...googleapi.Field) *AccountsPermissionsListCall
- func (c *AccountsPermissionsListCall) IfNoneMatch(entityTag string) *AccountsPermissionsListCall
- func (c *AccountsPermissionsListCall) QuotaUser(quotaUser string) *AccountsPermissionsListCall
- func (c *AccountsPermissionsListCall) UserIP(userIP string) *AccountsPermissionsListCall
- type AccountsPermissionsService
- func (r *AccountsPermissionsService) Create(accountId string, useraccess *UserAccess) *AccountsPermissionsCreateCall
- func (r *AccountsPermissionsService) Delete(accountId string, permissionId string) *AccountsPermissionsDeleteCall
- func (r *AccountsPermissionsService) Get(accountId string, permissionId string) *AccountsPermissionsGetCall
- func (r *AccountsPermissionsService) List(accountId string) *AccountsPermissionsListCall
- func (r *AccountsPermissionsService) Update(accountId string, permissionId string, useraccess *UserAccess) *AccountsPermissionsUpdateCall
- type AccountsPermissionsUpdateCall
- func (c *AccountsPermissionsUpdateCall) Context(ctx context.Context) *AccountsPermissionsUpdateCall
- func (c *AccountsPermissionsUpdateCall) Do() (*UserAccess, error)
- func (c *AccountsPermissionsUpdateCall) Fields(s ...googleapi.Field) *AccountsPermissionsUpdateCall
- func (c *AccountsPermissionsUpdateCall) QuotaUser(quotaUser string) *AccountsPermissionsUpdateCall
- func (c *AccountsPermissionsUpdateCall) UserIP(userIP string) *AccountsPermissionsUpdateCall
- type AccountsService
- type AccountsUpdateCall
- func (c *AccountsUpdateCall) Context(ctx context.Context) *AccountsUpdateCall
- func (c *AccountsUpdateCall) Do() (*Account, error)
- func (c *AccountsUpdateCall) Fields(s ...googleapi.Field) *AccountsUpdateCall
- func (c *AccountsUpdateCall) Fingerprint(fingerprint string) *AccountsUpdateCall
- func (c *AccountsUpdateCall) QuotaUser(quotaUser string) *AccountsUpdateCall
- func (c *AccountsUpdateCall) UserIP(userIP string) *AccountsUpdateCall
- type Condition
- type Container
- type ContainerAccess
- type ContainerVersion
- type ContainerVersionHeader
- type CreateContainerVersionRequestVersionOptions
- type CreateContainerVersionResponse
- type Folder
- type FolderEntities
- type ListAccountUsersResponse
- type ListAccountsResponse
- type ListContainerVersionsResponse
- type ListContainersResponse
- type ListFoldersResponse
- type ListTagsResponse
- type ListTriggersResponse
- type ListVariablesResponse
- type Macro
- type Parameter
- type PublishContainerVersionResponse
- type Rule
- type Service
- type SetupTag
- type Tag
- type TeardownTag
- type Trigger
- type UserAccess
- type Variable
Constants ¶
const ( // Delete your Google Tag Manager containers TagmanagerDeleteContainersScope = "https://www.googleapis.com/auth/tagmanager.delete.containers" // Manage your Google Tag Manager containers TagmanagerEditContainersScope = "https://www.googleapis.com/auth/tagmanager.edit.containers" // Manage your Google Tag Manager container versions TagmanagerEditContainerversionsScope = "https://www.googleapis.com/auth/tagmanager.edit.containerversions" // Manage your Google Tag Manager accounts TagmanagerManageAccountsScope = "https://www.googleapis.com/auth/tagmanager.manage.accounts" // Manage user permissions of your Google Tag Manager data TagmanagerManageUsersScope = "https://www.googleapis.com/auth/tagmanager.manage.users" // Publish your Google Tag Manager containers TagmanagerPublishScope = "https://www.googleapis.com/auth/tagmanager.publish" // View your Google Tag Manager containers TagmanagerReadonlyScope = "https://www.googleapis.com/auth/tagmanager.readonly" )
OAuth2 scopes used by this API.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { // AccountId: The Account ID uniquely identifies the GTM Account. AccountId string `json:"accountId,omitempty"` // Fingerprint: The fingerprint of the GTM Account as computed at // storage time. This value is recomputed whenever the account is // modified. Fingerprint string `json:"fingerprint,omitempty"` // Name: Account display name. Name string `json:"name,omitempty"` // and others. ShareData bool `json:"shareData,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AccountId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
Account: Represents a Google Tag Manager Account.
func (*Account) MarshalJSON ¶
type AccountAccess ¶
type AccountAccess struct { // Permission: List of Account permissions. Valid account permissions // are read and manage. // // Possible values: // "delete" // "edit" // "manage" // "publish" // "read" Permission []string `json:"permission,omitempty"` // ForceSendFields is a list of field names (e.g. "Permission") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
AccountAccess: Defines the Google Tag Manager Account access permissions.
func (*AccountAccess) MarshalJSON ¶
func (s *AccountAccess) MarshalJSON() ([]byte, error)
type AccountsContainersCreateCall ¶
type AccountsContainersCreateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersCreateCall) Context ¶
func (c *AccountsContainersCreateCall) Context(ctx context.Context) *AccountsContainersCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersCreateCall) Do ¶
func (c *AccountsContainersCreateCall) Do() (*Container, error)
Do executes the "tagmanager.accounts.containers.create" call. Exactly one of *Container or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Container.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersCreateCall) Fields ¶
func (c *AccountsContainersCreateCall) Fields(s ...googleapi.Field) *AccountsContainersCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersCreateCall) QuotaUser ¶
func (c *AccountsContainersCreateCall) QuotaUser(quotaUser string) *AccountsContainersCreateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsContainersCreateCall) UserIP ¶
func (c *AccountsContainersCreateCall) UserIP(userIP string) *AccountsContainersCreateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsContainersDeleteCall ¶
type AccountsContainersDeleteCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersDeleteCall) Context ¶
func (c *AccountsContainersDeleteCall) Context(ctx context.Context) *AccountsContainersDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersDeleteCall) Do ¶
func (c *AccountsContainersDeleteCall) Do() error
Do executes the "tagmanager.accounts.containers.delete" call.
func (*AccountsContainersDeleteCall) Fields ¶
func (c *AccountsContainersDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersDeleteCall) QuotaUser ¶
func (c *AccountsContainersDeleteCall) QuotaUser(quotaUser string) *AccountsContainersDeleteCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsContainersDeleteCall) UserIP ¶
func (c *AccountsContainersDeleteCall) UserIP(userIP string) *AccountsContainersDeleteCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsContainersFoldersCreateCall ¶
type AccountsContainersFoldersCreateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersFoldersCreateCall) Context ¶
func (c *AccountsContainersFoldersCreateCall) Context(ctx context.Context) *AccountsContainersFoldersCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersFoldersCreateCall) Do ¶
func (c *AccountsContainersFoldersCreateCall) Do() (*Folder, error)
Do executes the "tagmanager.accounts.containers.folders.create" call. Exactly one of *Folder or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Folder.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersFoldersCreateCall) Fields ¶
func (c *AccountsContainersFoldersCreateCall) Fields(s ...googleapi.Field) *AccountsContainersFoldersCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersFoldersCreateCall) QuotaUser ¶
func (c *AccountsContainersFoldersCreateCall) QuotaUser(quotaUser string) *AccountsContainersFoldersCreateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsContainersFoldersCreateCall) UserIP ¶
func (c *AccountsContainersFoldersCreateCall) UserIP(userIP string) *AccountsContainersFoldersCreateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsContainersFoldersDeleteCall ¶
type AccountsContainersFoldersDeleteCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersFoldersDeleteCall) Context ¶
func (c *AccountsContainersFoldersDeleteCall) Context(ctx context.Context) *AccountsContainersFoldersDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersFoldersDeleteCall) Do ¶
func (c *AccountsContainersFoldersDeleteCall) Do() error
Do executes the "tagmanager.accounts.containers.folders.delete" call.
func (*AccountsContainersFoldersDeleteCall) Fields ¶
func (c *AccountsContainersFoldersDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersFoldersDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersFoldersDeleteCall) QuotaUser ¶
func (c *AccountsContainersFoldersDeleteCall) QuotaUser(quotaUser string) *AccountsContainersFoldersDeleteCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsContainersFoldersDeleteCall) UserIP ¶
func (c *AccountsContainersFoldersDeleteCall) UserIP(userIP string) *AccountsContainersFoldersDeleteCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsContainersFoldersEntitiesListCall ¶
type AccountsContainersFoldersEntitiesListCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersFoldersEntitiesListCall) Context ¶
func (c *AccountsContainersFoldersEntitiesListCall) Context(ctx context.Context) *AccountsContainersFoldersEntitiesListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersFoldersEntitiesListCall) Do ¶
func (c *AccountsContainersFoldersEntitiesListCall) Do() (*FolderEntities, error)
Do executes the "tagmanager.accounts.containers.folders.entities.list" call. Exactly one of *FolderEntities or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *FolderEntities.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersFoldersEntitiesListCall) Fields ¶
func (c *AccountsContainersFoldersEntitiesListCall) Fields(s ...googleapi.Field) *AccountsContainersFoldersEntitiesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersFoldersEntitiesListCall) IfNoneMatch ¶
func (c *AccountsContainersFoldersEntitiesListCall) IfNoneMatch(entityTag string) *AccountsContainersFoldersEntitiesListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AccountsContainersFoldersEntitiesListCall) QuotaUser ¶
func (c *AccountsContainersFoldersEntitiesListCall) QuotaUser(quotaUser string) *AccountsContainersFoldersEntitiesListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsContainersFoldersEntitiesListCall) UserIP ¶
func (c *AccountsContainersFoldersEntitiesListCall) UserIP(userIP string) *AccountsContainersFoldersEntitiesListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsContainersFoldersEntitiesService ¶
type AccountsContainersFoldersEntitiesService struct {
// contains filtered or unexported fields
}
func NewAccountsContainersFoldersEntitiesService ¶
func NewAccountsContainersFoldersEntitiesService(s *Service) *AccountsContainersFoldersEntitiesService
func (*AccountsContainersFoldersEntitiesService) List ¶
func (r *AccountsContainersFoldersEntitiesService) List(accountId string, containerId string, folderId string) *AccountsContainersFoldersEntitiesListCall
List: List all entities in a GTM Folder.
type AccountsContainersFoldersGetCall ¶
type AccountsContainersFoldersGetCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersFoldersGetCall) Context ¶
func (c *AccountsContainersFoldersGetCall) Context(ctx context.Context) *AccountsContainersFoldersGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersFoldersGetCall) Do ¶
func (c *AccountsContainersFoldersGetCall) Do() (*Folder, error)
Do executes the "tagmanager.accounts.containers.folders.get" call. Exactly one of *Folder or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Folder.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersFoldersGetCall) Fields ¶
func (c *AccountsContainersFoldersGetCall) Fields(s ...googleapi.Field) *AccountsContainersFoldersGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersFoldersGetCall) IfNoneMatch ¶
func (c *AccountsContainersFoldersGetCall) IfNoneMatch(entityTag string) *AccountsContainersFoldersGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AccountsContainersFoldersGetCall) QuotaUser ¶
func (c *AccountsContainersFoldersGetCall) QuotaUser(quotaUser string) *AccountsContainersFoldersGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsContainersFoldersGetCall) UserIP ¶
func (c *AccountsContainersFoldersGetCall) UserIP(userIP string) *AccountsContainersFoldersGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsContainersFoldersListCall ¶
type AccountsContainersFoldersListCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersFoldersListCall) Context ¶
func (c *AccountsContainersFoldersListCall) Context(ctx context.Context) *AccountsContainersFoldersListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersFoldersListCall) Do ¶
func (c *AccountsContainersFoldersListCall) Do() (*ListFoldersResponse, error)
Do executes the "tagmanager.accounts.containers.folders.list" call. Exactly one of *ListFoldersResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListFoldersResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersFoldersListCall) Fields ¶
func (c *AccountsContainersFoldersListCall) Fields(s ...googleapi.Field) *AccountsContainersFoldersListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersFoldersListCall) IfNoneMatch ¶
func (c *AccountsContainersFoldersListCall) IfNoneMatch(entityTag string) *AccountsContainersFoldersListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AccountsContainersFoldersListCall) QuotaUser ¶
func (c *AccountsContainersFoldersListCall) QuotaUser(quotaUser string) *AccountsContainersFoldersListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsContainersFoldersListCall) UserIP ¶
func (c *AccountsContainersFoldersListCall) UserIP(userIP string) *AccountsContainersFoldersListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsContainersFoldersService ¶
type AccountsContainersFoldersService struct { Entities *AccountsContainersFoldersEntitiesService // contains filtered or unexported fields }
func NewAccountsContainersFoldersService ¶
func NewAccountsContainersFoldersService(s *Service) *AccountsContainersFoldersService
func (*AccountsContainersFoldersService) Create ¶
func (r *AccountsContainersFoldersService) Create(accountId string, containerId string, folder *Folder) *AccountsContainersFoldersCreateCall
Create: Creates a GTM Folder.
func (*AccountsContainersFoldersService) Delete ¶
func (r *AccountsContainersFoldersService) Delete(accountId string, containerId string, folderId string) *AccountsContainersFoldersDeleteCall
Delete: Deletes a GTM Folder.
func (*AccountsContainersFoldersService) Get ¶
func (r *AccountsContainersFoldersService) Get(accountId string, containerId string, folderId string) *AccountsContainersFoldersGetCall
Get: Gets a GTM Folder.
func (*AccountsContainersFoldersService) List ¶
func (r *AccountsContainersFoldersService) List(accountId string, containerId string) *AccountsContainersFoldersListCall
List: Lists all GTM Folders of a Container.
func (*AccountsContainersFoldersService) Update ¶
func (r *AccountsContainersFoldersService) Update(accountId string, containerId string, folderId string, folder *Folder) *AccountsContainersFoldersUpdateCall
Update: Updates a GTM Folder.
type AccountsContainersFoldersUpdateCall ¶
type AccountsContainersFoldersUpdateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersFoldersUpdateCall) Context ¶
func (c *AccountsContainersFoldersUpdateCall) Context(ctx context.Context) *AccountsContainersFoldersUpdateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersFoldersUpdateCall) Do ¶
func (c *AccountsContainersFoldersUpdateCall) Do() (*Folder, error)
Do executes the "tagmanager.accounts.containers.folders.update" call. Exactly one of *Folder or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Folder.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersFoldersUpdateCall) Fields ¶
func (c *AccountsContainersFoldersUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersFoldersUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersFoldersUpdateCall) Fingerprint ¶
func (c *AccountsContainersFoldersUpdateCall) Fingerprint(fingerprint string) *AccountsContainersFoldersUpdateCall
Fingerprint sets the optional parameter "fingerprint": When provided, this fingerprint must match the fingerprint of the folder in storage.
func (*AccountsContainersFoldersUpdateCall) QuotaUser ¶
func (c *AccountsContainersFoldersUpdateCall) QuotaUser(quotaUser string) *AccountsContainersFoldersUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsContainersFoldersUpdateCall) UserIP ¶
func (c *AccountsContainersFoldersUpdateCall) UserIP(userIP string) *AccountsContainersFoldersUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsContainersGetCall ¶
type AccountsContainersGetCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersGetCall) Context ¶
func (c *AccountsContainersGetCall) Context(ctx context.Context) *AccountsContainersGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersGetCall) Do ¶
func (c *AccountsContainersGetCall) Do() (*Container, error)
Do executes the "tagmanager.accounts.containers.get" call. Exactly one of *Container or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Container.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersGetCall) Fields ¶
func (c *AccountsContainersGetCall) Fields(s ...googleapi.Field) *AccountsContainersGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersGetCall) IfNoneMatch ¶
func (c *AccountsContainersGetCall) IfNoneMatch(entityTag string) *AccountsContainersGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AccountsContainersGetCall) QuotaUser ¶
func (c *AccountsContainersGetCall) QuotaUser(quotaUser string) *AccountsContainersGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsContainersGetCall) UserIP ¶
func (c *AccountsContainersGetCall) UserIP(userIP string) *AccountsContainersGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsContainersListCall ¶
type AccountsContainersListCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersListCall) Context ¶
func (c *AccountsContainersListCall) Context(ctx context.Context) *AccountsContainersListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersListCall) Do ¶
func (c *AccountsContainersListCall) Do() (*ListContainersResponse, error)
Do executes the "tagmanager.accounts.containers.list" call. Exactly one of *ListContainersResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListContainersResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersListCall) Fields ¶
func (c *AccountsContainersListCall) Fields(s ...googleapi.Field) *AccountsContainersListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersListCall) IfNoneMatch ¶
func (c *AccountsContainersListCall) IfNoneMatch(entityTag string) *AccountsContainersListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AccountsContainersListCall) QuotaUser ¶
func (c *AccountsContainersListCall) QuotaUser(quotaUser string) *AccountsContainersListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsContainersListCall) UserIP ¶
func (c *AccountsContainersListCall) UserIP(userIP string) *AccountsContainersListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsContainersMoveFoldersService ¶
type AccountsContainersMoveFoldersService struct {
// contains filtered or unexported fields
}
func NewAccountsContainersMoveFoldersService ¶
func NewAccountsContainersMoveFoldersService(s *Service) *AccountsContainersMoveFoldersService
func (*AccountsContainersMoveFoldersService) Update ¶
func (r *AccountsContainersMoveFoldersService) Update(accountId string, containerId string, folderId string) *AccountsContainersMoveFoldersUpdateCall
Update: Moves entities to a GTM Folder.
type AccountsContainersMoveFoldersUpdateCall ¶
type AccountsContainersMoveFoldersUpdateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersMoveFoldersUpdateCall) Context ¶
func (c *AccountsContainersMoveFoldersUpdateCall) Context(ctx context.Context) *AccountsContainersMoveFoldersUpdateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersMoveFoldersUpdateCall) Do ¶
func (c *AccountsContainersMoveFoldersUpdateCall) Do() error
Do executes the "tagmanager.accounts.containers.move_folders.update" call.
func (*AccountsContainersMoveFoldersUpdateCall) Fields ¶
func (c *AccountsContainersMoveFoldersUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersMoveFoldersUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersMoveFoldersUpdateCall) QuotaUser ¶
func (c *AccountsContainersMoveFoldersUpdateCall) QuotaUser(quotaUser string) *AccountsContainersMoveFoldersUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsContainersMoveFoldersUpdateCall) TagId ¶
func (c *AccountsContainersMoveFoldersUpdateCall) TagId(tagId ...string) *AccountsContainersMoveFoldersUpdateCall
TagId sets the optional parameter "tagId": The tags to be moved to the folder.
func (*AccountsContainersMoveFoldersUpdateCall) TriggerId ¶
func (c *AccountsContainersMoveFoldersUpdateCall) TriggerId(triggerId ...string) *AccountsContainersMoveFoldersUpdateCall
TriggerId sets the optional parameter "triggerId": The triggers to be moved to the folder.
func (*AccountsContainersMoveFoldersUpdateCall) UserIP ¶
func (c *AccountsContainersMoveFoldersUpdateCall) UserIP(userIP string) *AccountsContainersMoveFoldersUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
func (*AccountsContainersMoveFoldersUpdateCall) VariableId ¶
func (c *AccountsContainersMoveFoldersUpdateCall) VariableId(variableId ...string) *AccountsContainersMoveFoldersUpdateCall
VariableId sets the optional parameter "variableId": The variables to be moved to the folder.
type AccountsContainersService ¶
type AccountsContainersService struct { Folders *AccountsContainersFoldersService MoveFolders *AccountsContainersMoveFoldersService Tags *AccountsContainersTagsService Triggers *AccountsContainersTriggersService Variables *AccountsContainersVariablesService Versions *AccountsContainersVersionsService // contains filtered or unexported fields }
func NewAccountsContainersService ¶
func NewAccountsContainersService(s *Service) *AccountsContainersService
func (*AccountsContainersService) Create ¶
func (r *AccountsContainersService) Create(accountId string, container *Container) *AccountsContainersCreateCall
Create: Creates a Container.
func (*AccountsContainersService) Delete ¶
func (r *AccountsContainersService) Delete(accountId string, containerId string) *AccountsContainersDeleteCall
Delete: Deletes a Container.
func (*AccountsContainersService) Get ¶
func (r *AccountsContainersService) Get(accountId string, containerId string) *AccountsContainersGetCall
Get: Gets a Container.
func (*AccountsContainersService) List ¶
func (r *AccountsContainersService) List(accountId string) *AccountsContainersListCall
List: Lists all Containers that belongs to a GTM Account.
func (*AccountsContainersService) Update ¶
func (r *AccountsContainersService) Update(accountId string, containerId string, container *Container) *AccountsContainersUpdateCall
Update: Updates a Container.
type AccountsContainersTagsCreateCall ¶
type AccountsContainersTagsCreateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersTagsCreateCall) Context ¶
func (c *AccountsContainersTagsCreateCall) Context(ctx context.Context) *AccountsContainersTagsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersTagsCreateCall) Do ¶
func (c *AccountsContainersTagsCreateCall) Do() (*Tag, error)
Do executes the "tagmanager.accounts.containers.tags.create" call. Exactly one of *Tag or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Tag.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersTagsCreateCall) Fields ¶
func (c *AccountsContainersTagsCreateCall) Fields(s ...googleapi.Field) *AccountsContainersTagsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersTagsCreateCall) QuotaUser ¶
func (c *AccountsContainersTagsCreateCall) QuotaUser(quotaUser string) *AccountsContainersTagsCreateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsContainersTagsCreateCall) UserIP ¶
func (c *AccountsContainersTagsCreateCall) UserIP(userIP string) *AccountsContainersTagsCreateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsContainersTagsDeleteCall ¶
type AccountsContainersTagsDeleteCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersTagsDeleteCall) Context ¶
func (c *AccountsContainersTagsDeleteCall) Context(ctx context.Context) *AccountsContainersTagsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersTagsDeleteCall) Do ¶
func (c *AccountsContainersTagsDeleteCall) Do() error
Do executes the "tagmanager.accounts.containers.tags.delete" call.
func (*AccountsContainersTagsDeleteCall) Fields ¶
func (c *AccountsContainersTagsDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersTagsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersTagsDeleteCall) QuotaUser ¶
func (c *AccountsContainersTagsDeleteCall) QuotaUser(quotaUser string) *AccountsContainersTagsDeleteCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsContainersTagsDeleteCall) UserIP ¶
func (c *AccountsContainersTagsDeleteCall) UserIP(userIP string) *AccountsContainersTagsDeleteCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsContainersTagsGetCall ¶
type AccountsContainersTagsGetCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersTagsGetCall) Context ¶
func (c *AccountsContainersTagsGetCall) Context(ctx context.Context) *AccountsContainersTagsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersTagsGetCall) Do ¶
func (c *AccountsContainersTagsGetCall) Do() (*Tag, error)
Do executes the "tagmanager.accounts.containers.tags.get" call. Exactly one of *Tag or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Tag.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersTagsGetCall) Fields ¶
func (c *AccountsContainersTagsGetCall) Fields(s ...googleapi.Field) *AccountsContainersTagsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersTagsGetCall) IfNoneMatch ¶
func (c *AccountsContainersTagsGetCall) IfNoneMatch(entityTag string) *AccountsContainersTagsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AccountsContainersTagsGetCall) QuotaUser ¶
func (c *AccountsContainersTagsGetCall) QuotaUser(quotaUser string) *AccountsContainersTagsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsContainersTagsGetCall) UserIP ¶
func (c *AccountsContainersTagsGetCall) UserIP(userIP string) *AccountsContainersTagsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsContainersTagsListCall ¶
type AccountsContainersTagsListCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersTagsListCall) Context ¶
func (c *AccountsContainersTagsListCall) Context(ctx context.Context) *AccountsContainersTagsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersTagsListCall) Do ¶
func (c *AccountsContainersTagsListCall) Do() (*ListTagsResponse, error)
Do executes the "tagmanager.accounts.containers.tags.list" call. Exactly one of *ListTagsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListTagsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersTagsListCall) Fields ¶
func (c *AccountsContainersTagsListCall) Fields(s ...googleapi.Field) *AccountsContainersTagsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersTagsListCall) IfNoneMatch ¶
func (c *AccountsContainersTagsListCall) IfNoneMatch(entityTag string) *AccountsContainersTagsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AccountsContainersTagsListCall) QuotaUser ¶
func (c *AccountsContainersTagsListCall) QuotaUser(quotaUser string) *AccountsContainersTagsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsContainersTagsListCall) UserIP ¶
func (c *AccountsContainersTagsListCall) UserIP(userIP string) *AccountsContainersTagsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsContainersTagsService ¶
type AccountsContainersTagsService struct {
// contains filtered or unexported fields
}
func NewAccountsContainersTagsService ¶
func NewAccountsContainersTagsService(s *Service) *AccountsContainersTagsService
func (*AccountsContainersTagsService) Create ¶
func (r *AccountsContainersTagsService) Create(accountId string, containerId string, tag *Tag) *AccountsContainersTagsCreateCall
Create: Creates a GTM Tag.
func (*AccountsContainersTagsService) Delete ¶
func (r *AccountsContainersTagsService) Delete(accountId string, containerId string, tagId string) *AccountsContainersTagsDeleteCall
Delete: Deletes a GTM Tag.
func (*AccountsContainersTagsService) Get ¶
func (r *AccountsContainersTagsService) Get(accountId string, containerId string, tagId string) *AccountsContainersTagsGetCall
Get: Gets a GTM Tag.
func (*AccountsContainersTagsService) List ¶
func (r *AccountsContainersTagsService) List(accountId string, containerId string) *AccountsContainersTagsListCall
List: Lists all GTM Tags of a Container.
func (*AccountsContainersTagsService) Update ¶
func (r *AccountsContainersTagsService) Update(accountId string, containerId string, tagId string, tag *Tag) *AccountsContainersTagsUpdateCall
Update: Updates a GTM Tag.
type AccountsContainersTagsUpdateCall ¶
type AccountsContainersTagsUpdateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersTagsUpdateCall) Context ¶
func (c *AccountsContainersTagsUpdateCall) Context(ctx context.Context) *AccountsContainersTagsUpdateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersTagsUpdateCall) Do ¶
func (c *AccountsContainersTagsUpdateCall) Do() (*Tag, error)
Do executes the "tagmanager.accounts.containers.tags.update" call. Exactly one of *Tag or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Tag.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersTagsUpdateCall) Fields ¶
func (c *AccountsContainersTagsUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersTagsUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersTagsUpdateCall) Fingerprint ¶
func (c *AccountsContainersTagsUpdateCall) Fingerprint(fingerprint string) *AccountsContainersTagsUpdateCall
Fingerprint sets the optional parameter "fingerprint": When provided, this fingerprint must match the fingerprint of the tag in storage.
func (*AccountsContainersTagsUpdateCall) QuotaUser ¶
func (c *AccountsContainersTagsUpdateCall) QuotaUser(quotaUser string) *AccountsContainersTagsUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsContainersTagsUpdateCall) UserIP ¶
func (c *AccountsContainersTagsUpdateCall) UserIP(userIP string) *AccountsContainersTagsUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsContainersTriggersCreateCall ¶
type AccountsContainersTriggersCreateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersTriggersCreateCall) Context ¶
func (c *AccountsContainersTriggersCreateCall) Context(ctx context.Context) *AccountsContainersTriggersCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersTriggersCreateCall) Do ¶
func (c *AccountsContainersTriggersCreateCall) Do() (*Trigger, error)
Do executes the "tagmanager.accounts.containers.triggers.create" call. Exactly one of *Trigger or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Trigger.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersTriggersCreateCall) Fields ¶
func (c *AccountsContainersTriggersCreateCall) Fields(s ...googleapi.Field) *AccountsContainersTriggersCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersTriggersCreateCall) QuotaUser ¶
func (c *AccountsContainersTriggersCreateCall) QuotaUser(quotaUser string) *AccountsContainersTriggersCreateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsContainersTriggersCreateCall) UserIP ¶
func (c *AccountsContainersTriggersCreateCall) UserIP(userIP string) *AccountsContainersTriggersCreateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsContainersTriggersDeleteCall ¶
type AccountsContainersTriggersDeleteCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersTriggersDeleteCall) Context ¶
func (c *AccountsContainersTriggersDeleteCall) Context(ctx context.Context) *AccountsContainersTriggersDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersTriggersDeleteCall) Do ¶
func (c *AccountsContainersTriggersDeleteCall) Do() error
Do executes the "tagmanager.accounts.containers.triggers.delete" call.
func (*AccountsContainersTriggersDeleteCall) Fields ¶
func (c *AccountsContainersTriggersDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersTriggersDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersTriggersDeleteCall) QuotaUser ¶
func (c *AccountsContainersTriggersDeleteCall) QuotaUser(quotaUser string) *AccountsContainersTriggersDeleteCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsContainersTriggersDeleteCall) UserIP ¶
func (c *AccountsContainersTriggersDeleteCall) UserIP(userIP string) *AccountsContainersTriggersDeleteCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsContainersTriggersGetCall ¶
type AccountsContainersTriggersGetCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersTriggersGetCall) Context ¶
func (c *AccountsContainersTriggersGetCall) Context(ctx context.Context) *AccountsContainersTriggersGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersTriggersGetCall) Do ¶
func (c *AccountsContainersTriggersGetCall) Do() (*Trigger, error)
Do executes the "tagmanager.accounts.containers.triggers.get" call. Exactly one of *Trigger or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Trigger.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersTriggersGetCall) Fields ¶
func (c *AccountsContainersTriggersGetCall) Fields(s ...googleapi.Field) *AccountsContainersTriggersGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersTriggersGetCall) IfNoneMatch ¶
func (c *AccountsContainersTriggersGetCall) IfNoneMatch(entityTag string) *AccountsContainersTriggersGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AccountsContainersTriggersGetCall) QuotaUser ¶
func (c *AccountsContainersTriggersGetCall) QuotaUser(quotaUser string) *AccountsContainersTriggersGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsContainersTriggersGetCall) UserIP ¶
func (c *AccountsContainersTriggersGetCall) UserIP(userIP string) *AccountsContainersTriggersGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsContainersTriggersListCall ¶
type AccountsContainersTriggersListCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersTriggersListCall) Context ¶
func (c *AccountsContainersTriggersListCall) Context(ctx context.Context) *AccountsContainersTriggersListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersTriggersListCall) Do ¶
func (c *AccountsContainersTriggersListCall) Do() (*ListTriggersResponse, error)
Do executes the "tagmanager.accounts.containers.triggers.list" call. Exactly one of *ListTriggersResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListTriggersResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersTriggersListCall) Fields ¶
func (c *AccountsContainersTriggersListCall) Fields(s ...googleapi.Field) *AccountsContainersTriggersListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersTriggersListCall) IfNoneMatch ¶
func (c *AccountsContainersTriggersListCall) IfNoneMatch(entityTag string) *AccountsContainersTriggersListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AccountsContainersTriggersListCall) QuotaUser ¶
func (c *AccountsContainersTriggersListCall) QuotaUser(quotaUser string) *AccountsContainersTriggersListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsContainersTriggersListCall) UserIP ¶
func (c *AccountsContainersTriggersListCall) UserIP(userIP string) *AccountsContainersTriggersListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsContainersTriggersService ¶
type AccountsContainersTriggersService struct {
// contains filtered or unexported fields
}
func NewAccountsContainersTriggersService ¶
func NewAccountsContainersTriggersService(s *Service) *AccountsContainersTriggersService
func (*AccountsContainersTriggersService) Create ¶
func (r *AccountsContainersTriggersService) Create(accountId string, containerId string, trigger *Trigger) *AccountsContainersTriggersCreateCall
Create: Creates a GTM Trigger.
func (*AccountsContainersTriggersService) Delete ¶
func (r *AccountsContainersTriggersService) Delete(accountId string, containerId string, triggerId string) *AccountsContainersTriggersDeleteCall
Delete: Deletes a GTM Trigger.
func (*AccountsContainersTriggersService) Get ¶
func (r *AccountsContainersTriggersService) Get(accountId string, containerId string, triggerId string) *AccountsContainersTriggersGetCall
Get: Gets a GTM Trigger.
func (*AccountsContainersTriggersService) List ¶
func (r *AccountsContainersTriggersService) List(accountId string, containerId string) *AccountsContainersTriggersListCall
List: Lists all GTM Triggers of a Container.
func (*AccountsContainersTriggersService) Update ¶
func (r *AccountsContainersTriggersService) Update(accountId string, containerId string, triggerId string, trigger *Trigger) *AccountsContainersTriggersUpdateCall
Update: Updates a GTM Trigger.
type AccountsContainersTriggersUpdateCall ¶
type AccountsContainersTriggersUpdateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersTriggersUpdateCall) Context ¶
func (c *AccountsContainersTriggersUpdateCall) Context(ctx context.Context) *AccountsContainersTriggersUpdateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersTriggersUpdateCall) Do ¶
func (c *AccountsContainersTriggersUpdateCall) Do() (*Trigger, error)
Do executes the "tagmanager.accounts.containers.triggers.update" call. Exactly one of *Trigger or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Trigger.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersTriggersUpdateCall) Fields ¶
func (c *AccountsContainersTriggersUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersTriggersUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersTriggersUpdateCall) Fingerprint ¶
func (c *AccountsContainersTriggersUpdateCall) Fingerprint(fingerprint string) *AccountsContainersTriggersUpdateCall
Fingerprint sets the optional parameter "fingerprint": When provided, this fingerprint must match the fingerprint of the trigger in storage.
func (*AccountsContainersTriggersUpdateCall) QuotaUser ¶
func (c *AccountsContainersTriggersUpdateCall) QuotaUser(quotaUser string) *AccountsContainersTriggersUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsContainersTriggersUpdateCall) UserIP ¶
func (c *AccountsContainersTriggersUpdateCall) UserIP(userIP string) *AccountsContainersTriggersUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsContainersUpdateCall ¶
type AccountsContainersUpdateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersUpdateCall) Context ¶
func (c *AccountsContainersUpdateCall) Context(ctx context.Context) *AccountsContainersUpdateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersUpdateCall) Do ¶
func (c *AccountsContainersUpdateCall) Do() (*Container, error)
Do executes the "tagmanager.accounts.containers.update" call. Exactly one of *Container or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Container.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersUpdateCall) Fields ¶
func (c *AccountsContainersUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersUpdateCall) Fingerprint ¶
func (c *AccountsContainersUpdateCall) Fingerprint(fingerprint string) *AccountsContainersUpdateCall
Fingerprint sets the optional parameter "fingerprint": When provided, this fingerprint must match the fingerprint of the container in storage.
func (*AccountsContainersUpdateCall) QuotaUser ¶
func (c *AccountsContainersUpdateCall) QuotaUser(quotaUser string) *AccountsContainersUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsContainersUpdateCall) UserIP ¶
func (c *AccountsContainersUpdateCall) UserIP(userIP string) *AccountsContainersUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsContainersVariablesCreateCall ¶
type AccountsContainersVariablesCreateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersVariablesCreateCall) Context ¶
func (c *AccountsContainersVariablesCreateCall) Context(ctx context.Context) *AccountsContainersVariablesCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersVariablesCreateCall) Do ¶
func (c *AccountsContainersVariablesCreateCall) Do() (*Variable, error)
Do executes the "tagmanager.accounts.containers.variables.create" call. Exactly one of *Variable or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Variable.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersVariablesCreateCall) Fields ¶
func (c *AccountsContainersVariablesCreateCall) Fields(s ...googleapi.Field) *AccountsContainersVariablesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersVariablesCreateCall) QuotaUser ¶
func (c *AccountsContainersVariablesCreateCall) QuotaUser(quotaUser string) *AccountsContainersVariablesCreateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsContainersVariablesCreateCall) UserIP ¶
func (c *AccountsContainersVariablesCreateCall) UserIP(userIP string) *AccountsContainersVariablesCreateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsContainersVariablesDeleteCall ¶
type AccountsContainersVariablesDeleteCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersVariablesDeleteCall) Context ¶
func (c *AccountsContainersVariablesDeleteCall) Context(ctx context.Context) *AccountsContainersVariablesDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersVariablesDeleteCall) Do ¶
func (c *AccountsContainersVariablesDeleteCall) Do() error
Do executes the "tagmanager.accounts.containers.variables.delete" call.
func (*AccountsContainersVariablesDeleteCall) Fields ¶
func (c *AccountsContainersVariablesDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersVariablesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersVariablesDeleteCall) QuotaUser ¶
func (c *AccountsContainersVariablesDeleteCall) QuotaUser(quotaUser string) *AccountsContainersVariablesDeleteCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsContainersVariablesDeleteCall) UserIP ¶
func (c *AccountsContainersVariablesDeleteCall) UserIP(userIP string) *AccountsContainersVariablesDeleteCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsContainersVariablesGetCall ¶
type AccountsContainersVariablesGetCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersVariablesGetCall) Context ¶
func (c *AccountsContainersVariablesGetCall) Context(ctx context.Context) *AccountsContainersVariablesGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersVariablesGetCall) Do ¶
func (c *AccountsContainersVariablesGetCall) Do() (*Variable, error)
Do executes the "tagmanager.accounts.containers.variables.get" call. Exactly one of *Variable or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Variable.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersVariablesGetCall) Fields ¶
func (c *AccountsContainersVariablesGetCall) Fields(s ...googleapi.Field) *AccountsContainersVariablesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersVariablesGetCall) IfNoneMatch ¶
func (c *AccountsContainersVariablesGetCall) IfNoneMatch(entityTag string) *AccountsContainersVariablesGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AccountsContainersVariablesGetCall) QuotaUser ¶
func (c *AccountsContainersVariablesGetCall) QuotaUser(quotaUser string) *AccountsContainersVariablesGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsContainersVariablesGetCall) UserIP ¶
func (c *AccountsContainersVariablesGetCall) UserIP(userIP string) *AccountsContainersVariablesGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsContainersVariablesListCall ¶
type AccountsContainersVariablesListCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersVariablesListCall) Context ¶
func (c *AccountsContainersVariablesListCall) Context(ctx context.Context) *AccountsContainersVariablesListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersVariablesListCall) Do ¶
func (c *AccountsContainersVariablesListCall) Do() (*ListVariablesResponse, error)
Do executes the "tagmanager.accounts.containers.variables.list" call. Exactly one of *ListVariablesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListVariablesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersVariablesListCall) Fields ¶
func (c *AccountsContainersVariablesListCall) Fields(s ...googleapi.Field) *AccountsContainersVariablesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersVariablesListCall) IfNoneMatch ¶
func (c *AccountsContainersVariablesListCall) IfNoneMatch(entityTag string) *AccountsContainersVariablesListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AccountsContainersVariablesListCall) QuotaUser ¶
func (c *AccountsContainersVariablesListCall) QuotaUser(quotaUser string) *AccountsContainersVariablesListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsContainersVariablesListCall) UserIP ¶
func (c *AccountsContainersVariablesListCall) UserIP(userIP string) *AccountsContainersVariablesListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsContainersVariablesService ¶
type AccountsContainersVariablesService struct {
// contains filtered or unexported fields
}
func NewAccountsContainersVariablesService ¶
func NewAccountsContainersVariablesService(s *Service) *AccountsContainersVariablesService
func (*AccountsContainersVariablesService) Create ¶
func (r *AccountsContainersVariablesService) Create(accountId string, containerId string, variable *Variable) *AccountsContainersVariablesCreateCall
Create: Creates a GTM Variable.
func (*AccountsContainersVariablesService) Delete ¶
func (r *AccountsContainersVariablesService) Delete(accountId string, containerId string, variableId string) *AccountsContainersVariablesDeleteCall
Delete: Deletes a GTM Variable.
func (*AccountsContainersVariablesService) Get ¶
func (r *AccountsContainersVariablesService) Get(accountId string, containerId string, variableId string) *AccountsContainersVariablesGetCall
Get: Gets a GTM Variable.
func (*AccountsContainersVariablesService) List ¶
func (r *AccountsContainersVariablesService) List(accountId string, containerId string) *AccountsContainersVariablesListCall
List: Lists all GTM Variables of a Container.
func (*AccountsContainersVariablesService) Update ¶
func (r *AccountsContainersVariablesService) Update(accountId string, containerId string, variableId string, variable *Variable) *AccountsContainersVariablesUpdateCall
Update: Updates a GTM Variable.
type AccountsContainersVariablesUpdateCall ¶
type AccountsContainersVariablesUpdateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersVariablesUpdateCall) Context ¶
func (c *AccountsContainersVariablesUpdateCall) Context(ctx context.Context) *AccountsContainersVariablesUpdateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersVariablesUpdateCall) Do ¶
func (c *AccountsContainersVariablesUpdateCall) Do() (*Variable, error)
Do executes the "tagmanager.accounts.containers.variables.update" call. Exactly one of *Variable or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Variable.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersVariablesUpdateCall) Fields ¶
func (c *AccountsContainersVariablesUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersVariablesUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersVariablesUpdateCall) Fingerprint ¶
func (c *AccountsContainersVariablesUpdateCall) Fingerprint(fingerprint string) *AccountsContainersVariablesUpdateCall
Fingerprint sets the optional parameter "fingerprint": When provided, this fingerprint must match the fingerprint of the variable in storage.
func (*AccountsContainersVariablesUpdateCall) QuotaUser ¶
func (c *AccountsContainersVariablesUpdateCall) QuotaUser(quotaUser string) *AccountsContainersVariablesUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsContainersVariablesUpdateCall) UserIP ¶
func (c *AccountsContainersVariablesUpdateCall) UserIP(userIP string) *AccountsContainersVariablesUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsContainersVersionsCreateCall ¶
type AccountsContainersVersionsCreateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersVersionsCreateCall) Context ¶
func (c *AccountsContainersVersionsCreateCall) Context(ctx context.Context) *AccountsContainersVersionsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersVersionsCreateCall) Do ¶
func (c *AccountsContainersVersionsCreateCall) Do() (*CreateContainerVersionResponse, error)
Do executes the "tagmanager.accounts.containers.versions.create" call. Exactly one of *CreateContainerVersionResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CreateContainerVersionResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersVersionsCreateCall) Fields ¶
func (c *AccountsContainersVersionsCreateCall) Fields(s ...googleapi.Field) *AccountsContainersVersionsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersVersionsCreateCall) QuotaUser ¶
func (c *AccountsContainersVersionsCreateCall) QuotaUser(quotaUser string) *AccountsContainersVersionsCreateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsContainersVersionsCreateCall) UserIP ¶
func (c *AccountsContainersVersionsCreateCall) UserIP(userIP string) *AccountsContainersVersionsCreateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsContainersVersionsDeleteCall ¶
type AccountsContainersVersionsDeleteCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersVersionsDeleteCall) Context ¶
func (c *AccountsContainersVersionsDeleteCall) Context(ctx context.Context) *AccountsContainersVersionsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersVersionsDeleteCall) Do ¶
func (c *AccountsContainersVersionsDeleteCall) Do() error
Do executes the "tagmanager.accounts.containers.versions.delete" call.
func (*AccountsContainersVersionsDeleteCall) Fields ¶
func (c *AccountsContainersVersionsDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersVersionsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersVersionsDeleteCall) QuotaUser ¶
func (c *AccountsContainersVersionsDeleteCall) QuotaUser(quotaUser string) *AccountsContainersVersionsDeleteCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsContainersVersionsDeleteCall) UserIP ¶
func (c *AccountsContainersVersionsDeleteCall) UserIP(userIP string) *AccountsContainersVersionsDeleteCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsContainersVersionsGetCall ¶
type AccountsContainersVersionsGetCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersVersionsGetCall) Context ¶
func (c *AccountsContainersVersionsGetCall) Context(ctx context.Context) *AccountsContainersVersionsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersVersionsGetCall) Do ¶
func (c *AccountsContainersVersionsGetCall) Do() (*ContainerVersion, error)
Do executes the "tagmanager.accounts.containers.versions.get" call. Exactly one of *ContainerVersion or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ContainerVersion.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersVersionsGetCall) Fields ¶
func (c *AccountsContainersVersionsGetCall) Fields(s ...googleapi.Field) *AccountsContainersVersionsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersVersionsGetCall) IfNoneMatch ¶
func (c *AccountsContainersVersionsGetCall) IfNoneMatch(entityTag string) *AccountsContainersVersionsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AccountsContainersVersionsGetCall) QuotaUser ¶
func (c *AccountsContainersVersionsGetCall) QuotaUser(quotaUser string) *AccountsContainersVersionsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsContainersVersionsGetCall) UserIP ¶
func (c *AccountsContainersVersionsGetCall) UserIP(userIP string) *AccountsContainersVersionsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsContainersVersionsListCall ¶
type AccountsContainersVersionsListCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersVersionsListCall) Context ¶
func (c *AccountsContainersVersionsListCall) Context(ctx context.Context) *AccountsContainersVersionsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersVersionsListCall) Do ¶
func (c *AccountsContainersVersionsListCall) Do() (*ListContainerVersionsResponse, error)
Do executes the "tagmanager.accounts.containers.versions.list" call. Exactly one of *ListContainerVersionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListContainerVersionsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersVersionsListCall) Fields ¶
func (c *AccountsContainersVersionsListCall) Fields(s ...googleapi.Field) *AccountsContainersVersionsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersVersionsListCall) Headers ¶
func (c *AccountsContainersVersionsListCall) Headers(headers bool) *AccountsContainersVersionsListCall
Headers sets the optional parameter "headers": Retrieve headers only when true.
func (*AccountsContainersVersionsListCall) IfNoneMatch ¶
func (c *AccountsContainersVersionsListCall) IfNoneMatch(entityTag string) *AccountsContainersVersionsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AccountsContainersVersionsListCall) IncludeDeleted ¶
func (c *AccountsContainersVersionsListCall) IncludeDeleted(includeDeleted bool) *AccountsContainersVersionsListCall
IncludeDeleted sets the optional parameter "includeDeleted": Also retrieve deleted (archived) versions when true.
func (*AccountsContainersVersionsListCall) QuotaUser ¶
func (c *AccountsContainersVersionsListCall) QuotaUser(quotaUser string) *AccountsContainersVersionsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsContainersVersionsListCall) UserIP ¶
func (c *AccountsContainersVersionsListCall) UserIP(userIP string) *AccountsContainersVersionsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsContainersVersionsPublishCall ¶
type AccountsContainersVersionsPublishCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersVersionsPublishCall) Context ¶
func (c *AccountsContainersVersionsPublishCall) Context(ctx context.Context) *AccountsContainersVersionsPublishCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersVersionsPublishCall) Do ¶
func (c *AccountsContainersVersionsPublishCall) Do() (*PublishContainerVersionResponse, error)
Do executes the "tagmanager.accounts.containers.versions.publish" call. Exactly one of *PublishContainerVersionResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PublishContainerVersionResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersVersionsPublishCall) Fields ¶
func (c *AccountsContainersVersionsPublishCall) Fields(s ...googleapi.Field) *AccountsContainersVersionsPublishCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersVersionsPublishCall) Fingerprint ¶
func (c *AccountsContainersVersionsPublishCall) Fingerprint(fingerprint string) *AccountsContainersVersionsPublishCall
Fingerprint sets the optional parameter "fingerprint": When provided, this fingerprint must match the fingerprint of the container version in storage.
func (*AccountsContainersVersionsPublishCall) QuotaUser ¶
func (c *AccountsContainersVersionsPublishCall) QuotaUser(quotaUser string) *AccountsContainersVersionsPublishCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsContainersVersionsPublishCall) UserIP ¶
func (c *AccountsContainersVersionsPublishCall) UserIP(userIP string) *AccountsContainersVersionsPublishCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsContainersVersionsRestoreCall ¶
type AccountsContainersVersionsRestoreCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersVersionsRestoreCall) Context ¶
func (c *AccountsContainersVersionsRestoreCall) Context(ctx context.Context) *AccountsContainersVersionsRestoreCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersVersionsRestoreCall) Do ¶
func (c *AccountsContainersVersionsRestoreCall) Do() (*ContainerVersion, error)
Do executes the "tagmanager.accounts.containers.versions.restore" call. Exactly one of *ContainerVersion or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ContainerVersion.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersVersionsRestoreCall) Fields ¶
func (c *AccountsContainersVersionsRestoreCall) Fields(s ...googleapi.Field) *AccountsContainersVersionsRestoreCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersVersionsRestoreCall) QuotaUser ¶
func (c *AccountsContainersVersionsRestoreCall) QuotaUser(quotaUser string) *AccountsContainersVersionsRestoreCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsContainersVersionsRestoreCall) UserIP ¶
func (c *AccountsContainersVersionsRestoreCall) UserIP(userIP string) *AccountsContainersVersionsRestoreCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsContainersVersionsService ¶
type AccountsContainersVersionsService struct {
// contains filtered or unexported fields
}
func NewAccountsContainersVersionsService ¶
func NewAccountsContainersVersionsService(s *Service) *AccountsContainersVersionsService
func (*AccountsContainersVersionsService) Create ¶
func (r *AccountsContainersVersionsService) Create(accountId string, containerId string, createcontainerversionrequestversionoptions *CreateContainerVersionRequestVersionOptions) *AccountsContainersVersionsCreateCall
Create: Creates a Container Version.
func (*AccountsContainersVersionsService) Delete ¶
func (r *AccountsContainersVersionsService) Delete(accountId string, containerId string, containerVersionId string) *AccountsContainersVersionsDeleteCall
Delete: Deletes a Container Version.
func (*AccountsContainersVersionsService) Get ¶
func (r *AccountsContainersVersionsService) Get(accountId string, containerId string, containerVersionId string) *AccountsContainersVersionsGetCall
Get: Gets a Container Version.
func (*AccountsContainersVersionsService) List ¶
func (r *AccountsContainersVersionsService) List(accountId string, containerId string) *AccountsContainersVersionsListCall
List: Lists all Container Versions of a GTM Container.
func (*AccountsContainersVersionsService) Publish ¶
func (r *AccountsContainersVersionsService) Publish(accountId string, containerId string, containerVersionId string) *AccountsContainersVersionsPublishCall
Publish: Publishes a Container Version.
func (*AccountsContainersVersionsService) Restore ¶
func (r *AccountsContainersVersionsService) Restore(accountId string, containerId string, containerVersionId string) *AccountsContainersVersionsRestoreCall
Restore: Restores a Container Version. This will overwrite the container's current configuration (including its variables, triggers and tags). The operation will not have any effect on the version that is being served (i.e. the published version).
func (*AccountsContainersVersionsService) Undelete ¶
func (r *AccountsContainersVersionsService) Undelete(accountId string, containerId string, containerVersionId string) *AccountsContainersVersionsUndeleteCall
Undelete: Undeletes a Container Version.
func (*AccountsContainersVersionsService) Update ¶
func (r *AccountsContainersVersionsService) Update(accountId string, containerId string, containerVersionId string, containerversion *ContainerVersion) *AccountsContainersVersionsUpdateCall
Update: Updates a Container Version.
type AccountsContainersVersionsUndeleteCall ¶
type AccountsContainersVersionsUndeleteCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersVersionsUndeleteCall) Context ¶
func (c *AccountsContainersVersionsUndeleteCall) Context(ctx context.Context) *AccountsContainersVersionsUndeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersVersionsUndeleteCall) Do ¶
func (c *AccountsContainersVersionsUndeleteCall) Do() (*ContainerVersion, error)
Do executes the "tagmanager.accounts.containers.versions.undelete" call. Exactly one of *ContainerVersion or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ContainerVersion.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersVersionsUndeleteCall) Fields ¶
func (c *AccountsContainersVersionsUndeleteCall) Fields(s ...googleapi.Field) *AccountsContainersVersionsUndeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersVersionsUndeleteCall) QuotaUser ¶
func (c *AccountsContainersVersionsUndeleteCall) QuotaUser(quotaUser string) *AccountsContainersVersionsUndeleteCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsContainersVersionsUndeleteCall) UserIP ¶
func (c *AccountsContainersVersionsUndeleteCall) UserIP(userIP string) *AccountsContainersVersionsUndeleteCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsContainersVersionsUpdateCall ¶
type AccountsContainersVersionsUpdateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersVersionsUpdateCall) Context ¶
func (c *AccountsContainersVersionsUpdateCall) Context(ctx context.Context) *AccountsContainersVersionsUpdateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersVersionsUpdateCall) Do ¶
func (c *AccountsContainersVersionsUpdateCall) Do() (*ContainerVersion, error)
Do executes the "tagmanager.accounts.containers.versions.update" call. Exactly one of *ContainerVersion or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ContainerVersion.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersVersionsUpdateCall) Fields ¶
func (c *AccountsContainersVersionsUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersVersionsUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersVersionsUpdateCall) Fingerprint ¶
func (c *AccountsContainersVersionsUpdateCall) Fingerprint(fingerprint string) *AccountsContainersVersionsUpdateCall
Fingerprint sets the optional parameter "fingerprint": When provided, this fingerprint must match the fingerprint of the container version in storage.
func (*AccountsContainersVersionsUpdateCall) QuotaUser ¶
func (c *AccountsContainersVersionsUpdateCall) QuotaUser(quotaUser string) *AccountsContainersVersionsUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsContainersVersionsUpdateCall) UserIP ¶
func (c *AccountsContainersVersionsUpdateCall) UserIP(userIP string) *AccountsContainersVersionsUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsGetCall ¶
type AccountsGetCall struct {
// contains filtered or unexported fields
}
func (*AccountsGetCall) Context ¶
func (c *AccountsGetCall) Context(ctx context.Context) *AccountsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsGetCall) Do ¶
func (c *AccountsGetCall) Do() (*Account, error)
Do executes the "tagmanager.accounts.get" call. Exactly one of *Account or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Account.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsGetCall) Fields ¶
func (c *AccountsGetCall) Fields(s ...googleapi.Field) *AccountsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsGetCall) IfNoneMatch ¶
func (c *AccountsGetCall) IfNoneMatch(entityTag string) *AccountsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AccountsGetCall) QuotaUser ¶
func (c *AccountsGetCall) QuotaUser(quotaUser string) *AccountsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsGetCall) UserIP ¶
func (c *AccountsGetCall) UserIP(userIP string) *AccountsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsListCall ¶
type AccountsListCall struct {
// contains filtered or unexported fields
}
func (*AccountsListCall) Context ¶
func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsListCall) Do ¶
func (c *AccountsListCall) Do() (*ListAccountsResponse, error)
Do executes the "tagmanager.accounts.list" call. Exactly one of *ListAccountsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListAccountsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsListCall) Fields ¶
func (c *AccountsListCall) Fields(s ...googleapi.Field) *AccountsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsListCall) IfNoneMatch ¶
func (c *AccountsListCall) IfNoneMatch(entityTag string) *AccountsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AccountsListCall) QuotaUser ¶
func (c *AccountsListCall) QuotaUser(quotaUser string) *AccountsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsListCall) UserIP ¶
func (c *AccountsListCall) UserIP(userIP string) *AccountsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsPermissionsCreateCall ¶
type AccountsPermissionsCreateCall struct {
// contains filtered or unexported fields
}
func (*AccountsPermissionsCreateCall) Context ¶
func (c *AccountsPermissionsCreateCall) Context(ctx context.Context) *AccountsPermissionsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsPermissionsCreateCall) Do ¶
func (c *AccountsPermissionsCreateCall) Do() (*UserAccess, error)
Do executes the "tagmanager.accounts.permissions.create" call. Exactly one of *UserAccess or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *UserAccess.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsPermissionsCreateCall) Fields ¶
func (c *AccountsPermissionsCreateCall) Fields(s ...googleapi.Field) *AccountsPermissionsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsPermissionsCreateCall) QuotaUser ¶
func (c *AccountsPermissionsCreateCall) QuotaUser(quotaUser string) *AccountsPermissionsCreateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsPermissionsCreateCall) UserIP ¶
func (c *AccountsPermissionsCreateCall) UserIP(userIP string) *AccountsPermissionsCreateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsPermissionsDeleteCall ¶
type AccountsPermissionsDeleteCall struct {
// contains filtered or unexported fields
}
func (*AccountsPermissionsDeleteCall) Context ¶
func (c *AccountsPermissionsDeleteCall) Context(ctx context.Context) *AccountsPermissionsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsPermissionsDeleteCall) Do ¶
func (c *AccountsPermissionsDeleteCall) Do() error
Do executes the "tagmanager.accounts.permissions.delete" call.
func (*AccountsPermissionsDeleteCall) Fields ¶
func (c *AccountsPermissionsDeleteCall) Fields(s ...googleapi.Field) *AccountsPermissionsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsPermissionsDeleteCall) QuotaUser ¶
func (c *AccountsPermissionsDeleteCall) QuotaUser(quotaUser string) *AccountsPermissionsDeleteCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsPermissionsDeleteCall) UserIP ¶
func (c *AccountsPermissionsDeleteCall) UserIP(userIP string) *AccountsPermissionsDeleteCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsPermissionsGetCall ¶
type AccountsPermissionsGetCall struct {
// contains filtered or unexported fields
}
func (*AccountsPermissionsGetCall) Context ¶
func (c *AccountsPermissionsGetCall) Context(ctx context.Context) *AccountsPermissionsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsPermissionsGetCall) Do ¶
func (c *AccountsPermissionsGetCall) Do() (*UserAccess, error)
Do executes the "tagmanager.accounts.permissions.get" call. Exactly one of *UserAccess or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *UserAccess.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsPermissionsGetCall) Fields ¶
func (c *AccountsPermissionsGetCall) Fields(s ...googleapi.Field) *AccountsPermissionsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsPermissionsGetCall) IfNoneMatch ¶
func (c *AccountsPermissionsGetCall) IfNoneMatch(entityTag string) *AccountsPermissionsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AccountsPermissionsGetCall) QuotaUser ¶
func (c *AccountsPermissionsGetCall) QuotaUser(quotaUser string) *AccountsPermissionsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsPermissionsGetCall) UserIP ¶
func (c *AccountsPermissionsGetCall) UserIP(userIP string) *AccountsPermissionsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsPermissionsListCall ¶
type AccountsPermissionsListCall struct {
// contains filtered or unexported fields
}
func (*AccountsPermissionsListCall) Context ¶
func (c *AccountsPermissionsListCall) Context(ctx context.Context) *AccountsPermissionsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsPermissionsListCall) Do ¶
func (c *AccountsPermissionsListCall) Do() (*ListAccountUsersResponse, error)
Do executes the "tagmanager.accounts.permissions.list" call. Exactly one of *ListAccountUsersResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListAccountUsersResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsPermissionsListCall) Fields ¶
func (c *AccountsPermissionsListCall) Fields(s ...googleapi.Field) *AccountsPermissionsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsPermissionsListCall) IfNoneMatch ¶
func (c *AccountsPermissionsListCall) IfNoneMatch(entityTag string) *AccountsPermissionsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AccountsPermissionsListCall) QuotaUser ¶
func (c *AccountsPermissionsListCall) QuotaUser(quotaUser string) *AccountsPermissionsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsPermissionsListCall) UserIP ¶
func (c *AccountsPermissionsListCall) UserIP(userIP string) *AccountsPermissionsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsPermissionsService ¶
type AccountsPermissionsService struct {
// contains filtered or unexported fields
}
func NewAccountsPermissionsService ¶
func NewAccountsPermissionsService(s *Service) *AccountsPermissionsService
func (*AccountsPermissionsService) Create ¶
func (r *AccountsPermissionsService) Create(accountId string, useraccess *UserAccess) *AccountsPermissionsCreateCall
Create: Creates a user's Account & Container Permissions.
func (*AccountsPermissionsService) Delete ¶
func (r *AccountsPermissionsService) Delete(accountId string, permissionId string) *AccountsPermissionsDeleteCall
Delete: Removes a user from the account, revoking access to it and all of its containers.
func (*AccountsPermissionsService) Get ¶
func (r *AccountsPermissionsService) Get(accountId string, permissionId string) *AccountsPermissionsGetCall
Get: Gets a user's Account & Container Permissions.
func (*AccountsPermissionsService) List ¶
func (r *AccountsPermissionsService) List(accountId string) *AccountsPermissionsListCall
List: List all users that have access to the account along with Account and Container Permissions granted to each of them.
func (*AccountsPermissionsService) Update ¶
func (r *AccountsPermissionsService) Update(accountId string, permissionId string, useraccess *UserAccess) *AccountsPermissionsUpdateCall
Update: Updates a user's Account & Container Permissions.
type AccountsPermissionsUpdateCall ¶
type AccountsPermissionsUpdateCall struct {
// contains filtered or unexported fields
}
func (*AccountsPermissionsUpdateCall) Context ¶
func (c *AccountsPermissionsUpdateCall) Context(ctx context.Context) *AccountsPermissionsUpdateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsPermissionsUpdateCall) Do ¶
func (c *AccountsPermissionsUpdateCall) Do() (*UserAccess, error)
Do executes the "tagmanager.accounts.permissions.update" call. Exactly one of *UserAccess or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *UserAccess.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsPermissionsUpdateCall) Fields ¶
func (c *AccountsPermissionsUpdateCall) Fields(s ...googleapi.Field) *AccountsPermissionsUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsPermissionsUpdateCall) QuotaUser ¶
func (c *AccountsPermissionsUpdateCall) QuotaUser(quotaUser string) *AccountsPermissionsUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsPermissionsUpdateCall) UserIP ¶
func (c *AccountsPermissionsUpdateCall) UserIP(userIP string) *AccountsPermissionsUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AccountsService ¶
type AccountsService struct { Containers *AccountsContainersService Permissions *AccountsPermissionsService // contains filtered or unexported fields }
func NewAccountsService ¶
func NewAccountsService(s *Service) *AccountsService
func (*AccountsService) Get ¶
func (r *AccountsService) Get(accountId string) *AccountsGetCall
Get: Gets a GTM Account.
func (*AccountsService) List ¶
func (r *AccountsService) List() *AccountsListCall
List: Lists all GTM Accounts that a user has access to.
func (*AccountsService) Update ¶
func (r *AccountsService) Update(accountId string, account *Account) *AccountsUpdateCall
Update: Updates a GTM Account.
type AccountsUpdateCall ¶
type AccountsUpdateCall struct {
// contains filtered or unexported fields
}
func (*AccountsUpdateCall) Context ¶
func (c *AccountsUpdateCall) Context(ctx context.Context) *AccountsUpdateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsUpdateCall) Do ¶
func (c *AccountsUpdateCall) Do() (*Account, error)
Do executes the "tagmanager.accounts.update" call. Exactly one of *Account or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Account.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsUpdateCall) Fields ¶
func (c *AccountsUpdateCall) Fields(s ...googleapi.Field) *AccountsUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsUpdateCall) Fingerprint ¶
func (c *AccountsUpdateCall) Fingerprint(fingerprint string) *AccountsUpdateCall
Fingerprint sets the optional parameter "fingerprint": When provided, this fingerprint must match the fingerprint of the account in storage.
func (*AccountsUpdateCall) QuotaUser ¶
func (c *AccountsUpdateCall) QuotaUser(quotaUser string) *AccountsUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AccountsUpdateCall) UserIP ¶
func (c *AccountsUpdateCall) UserIP(userIP string) *AccountsUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type Condition ¶
type Condition struct { // Parameter: A list of named parameters (key/value), depending on the // condition's type. Notes: // - For binary operators, include parameters named arg0 and arg1 for // specifying the left and right operands, respectively. // - At this time, the left operand (arg0) must be a reference to a // variable. // - For case-insensitive Regex matching, include a boolean parameter // named ignore_case that is set to true. If not specified or set to any // other value, the matching will be case sensitive. // - To negate an operator, include a boolean parameter named negate // boolean parameter that is set to true. Parameter []*Parameter `json:"parameter,omitempty"` // Type: The type of operator for this condition. // // Possible values: // "contains" // "cssSelector" // "endsWith" // "equals" // "greater" // "greaterOrEquals" // "less" // "lessOrEquals" // "matchRegex" // "startsWith" // "urlMatches" Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Parameter") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
Condition: Represents a predicate.
func (*Condition) MarshalJSON ¶
type Container ¶
type Container struct { // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // ContainerId: The Container ID uniquely identifies the GTM Container. ContainerId string `json:"containerId,omitempty"` // DomainName: Optional list of domain names associated with the // Container. DomainName []string `json:"domainName,omitempty"` // EnabledBuiltInVariable: List of enabled built-in variables. Valid // values include: pageUrl, pageHostname, pagePath, referrer, event, // clickElement, clickClasses, clickId, clickTarget, clickUrl, // clickText, formElement, formClasses, formId, formTarget, formUrl, // formText, errorMessage, errorUrl, errorLine, newHistoryFragment, // oldHistoryFragment, newHistoryState, oldHistoryState, historySource, // containerVersion, debugMode, randomNumber, containerId. // // Possible values: // "advertiserId" // "advertisingTrackingEnabled" // "appId" // "appName" // "appVersionCode" // "appVersionName" // "clickClasses" // "clickElement" // "clickId" // "clickTarget" // "clickText" // "clickUrl" // "containerId" // "containerVersion" // "debugMode" // "deviceName" // "errorLine" // "errorMessage" // "errorUrl" // "event" // "formClasses" // "formElement" // "formId" // "formTarget" // "formText" // "formUrl" // "historySource" // "htmlId" // "language" // "newHistoryFragment" // "newHistoryState" // "oldHistoryFragment" // "oldHistoryState" // "osVersion" // "pageHostname" // "pagePath" // "pageUrl" // "platform" // "randomNumber" // "referrer" // "resolution" // "sdkVersion" EnabledBuiltInVariable []string `json:"enabledBuiltInVariable,omitempty"` // Fingerprint: The fingerprint of the GTM Container as computed at // storage time. This value is recomputed whenever the account is // modified. Fingerprint string `json:"fingerprint,omitempty"` // Name: Container display name. Name string `json:"name,omitempty"` // Notes: Container Notes. Notes string `json:"notes,omitempty"` // PublicId: Container Public ID. PublicId string `json:"publicId,omitempty"` // TimeZoneCountryId: Container Country ID. TimeZoneCountryId string `json:"timeZoneCountryId,omitempty"` // TimeZoneId: Container Time Zone ID. TimeZoneId string `json:"timeZoneId,omitempty"` // UsageContext: List of Usage Contexts for the Container. Valid values // include: web, android, ios. // // Possible values: // "android" // "androidSdk5" // "ios" // "iosSdk5" // "web" UsageContext []string `json:"usageContext,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AccountId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
Container: Represents a Google Tag Manager Container.
func (*Container) MarshalJSON ¶
type ContainerAccess ¶
type ContainerAccess struct { // ContainerId: GTM Container ID. ContainerId string `json:"containerId,omitempty"` // Permission: List of Container permissions. Valid container // permissions are: read, edit, delete, publish. // // Possible values: // "delete" // "edit" // "manage" // "publish" // "read" Permission []string `json:"permission,omitempty"` // ForceSendFields is a list of field names (e.g. "ContainerId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
ContainerAccess: Defines the Google Tag Manager Container access permissions.
func (*ContainerAccess) MarshalJSON ¶
func (s *ContainerAccess) MarshalJSON() ([]byte, error)
type ContainerVersion ¶
type ContainerVersion struct { // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // Container: The container that this version was taken from. Container *Container `json:"container,omitempty"` // ContainerId: GTM Container ID. ContainerId string `json:"containerId,omitempty"` // ContainerVersionId: The Container Version ID uniquely identifies the // GTM Container Version. ContainerVersionId string `json:"containerVersionId,omitempty"` // Deleted: A value of true indicates this container version has been // deleted. Deleted bool `json:"deleted,omitempty"` // Fingerprint: The fingerprint of the GTM Container Version as computed // at storage time. This value is recomputed whenever the container // version is modified. Fingerprint string `json:"fingerprint,omitempty"` // Folder: The folders in the container that this version was taken // from. Folder []*Folder `json:"folder,omitempty"` // Macro: The macros in the container that this version was taken from. Macro []*Macro `json:"macro,omitempty"` // Name: Container version display name. Name string `json:"name,omitempty"` // Notes: User notes on how to apply this container version in the // container. Notes string `json:"notes,omitempty"` // Rule: The rules in the container that this version was taken from. Rule []*Rule `json:"rule,omitempty"` // Tag: The tags in the container that this version was taken from. Tag []*Tag `json:"tag,omitempty"` // Trigger: The triggers in the container that this version was taken // from. Trigger []*Trigger `json:"trigger,omitempty"` // Variable: The variables in the container that this version was taken // from. Variable []*Variable `json:"variable,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AccountId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
ContainerVersion: Represents a Google Tag Manager Container Version.
func (*ContainerVersion) MarshalJSON ¶
func (s *ContainerVersion) MarshalJSON() ([]byte, error)
type ContainerVersionHeader ¶
type ContainerVersionHeader struct { // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // ContainerId: GTM Container ID. ContainerId string `json:"containerId,omitempty"` // ContainerVersionId: The Container Version ID uniquely identifies the // GTM Container Version. ContainerVersionId string `json:"containerVersionId,omitempty"` // Deleted: A value of true indicates this container version has been // deleted. Deleted bool `json:"deleted,omitempty"` // Name: Container version display name. Name string `json:"name,omitempty"` // NumMacros: Number of macros in the container version. NumMacros string `json:"numMacros,omitempty"` // NumRules: Number of rules in the container version. NumRules string `json:"numRules,omitempty"` // NumTags: Number of tags in the container version. NumTags string `json:"numTags,omitempty"` // NumTriggers: Number of triggers in the container version. NumTriggers string `json:"numTriggers,omitempty"` // NumVariables: Number of variables in the container version. NumVariables string `json:"numVariables,omitempty"` // ForceSendFields is a list of field names (e.g. "AccountId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
ContainerVersionHeader: Represents a Google Tag Manager Container Version Header.
func (*ContainerVersionHeader) MarshalJSON ¶
func (s *ContainerVersionHeader) MarshalJSON() ([]byte, error)
type CreateContainerVersionRequestVersionOptions ¶
type CreateContainerVersionRequestVersionOptions struct { // Name: The name of the container version to be created. Name string `json:"name,omitempty"` // Notes: The notes of the container version to be created. Notes string `json:"notes,omitempty"` // QuickPreview: The creation of this version may be for quick preview // and shouldn't be saved. QuickPreview bool `json:"quickPreview,omitempty"` // ForceSendFields is a list of field names (e.g. "Name") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
CreateContainerVersionRequestVersionOptions: Options for new container versions.
func (*CreateContainerVersionRequestVersionOptions) MarshalJSON ¶
func (s *CreateContainerVersionRequestVersionOptions) MarshalJSON() ([]byte, error)
type CreateContainerVersionResponse ¶
type CreateContainerVersionResponse struct { // CompilerError: Compiler errors or not. CompilerError bool `json:"compilerError,omitempty"` // ContainerVersion: The container version created. ContainerVersion *ContainerVersion `json:"containerVersion,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CompilerError") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
CreateContainerVersionResponse: Create container versions response.
func (*CreateContainerVersionResponse) MarshalJSON ¶
func (s *CreateContainerVersionResponse) MarshalJSON() ([]byte, error)
type Folder ¶
type Folder struct { // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // ContainerId: GTM Container ID. ContainerId string `json:"containerId,omitempty"` // Fingerprint: The fingerprint of the GTM Folder as computed at storage // time. This value is recomputed whenever the folder is modified. Fingerprint string `json:"fingerprint,omitempty"` // FolderId: The Folder ID uniquely identifies the GTM Folder. FolderId string `json:"folderId,omitempty"` // Name: Folder display name. Name string `json:"name,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AccountId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
Folder: Represents a Google Tag Manager Folder.
func (*Folder) MarshalJSON ¶
type FolderEntities ¶
type FolderEntities struct { // Tag: The list of tags inside the folder. Tag []*Tag `json:"tag,omitempty"` // Trigger: The list of triggers inside the folder. Trigger []*Trigger `json:"trigger,omitempty"` // Variable: The list of variables inside the folder. Variable []*Variable `json:"variable,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Tag") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
FolderEntities: Represents a Google Tag Manager Folder's contents.
func (*FolderEntities) MarshalJSON ¶
func (s *FolderEntities) MarshalJSON() ([]byte, error)
type ListAccountUsersResponse ¶
type ListAccountUsersResponse struct { // UserAccess: All GTM AccountUsers of a GTM Account. UserAccess []*UserAccess `json:"userAccess,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "UserAccess") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
ListAccountUsersResponse: List AccountUsers Response.
func (*ListAccountUsersResponse) MarshalJSON ¶
func (s *ListAccountUsersResponse) MarshalJSON() ([]byte, error)
type ListAccountsResponse ¶
type ListAccountsResponse struct { // Accounts: List of GTM Accounts that a user has access to. Accounts []*Account `json:"accounts,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Accounts") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
ListAccountsResponse: List Accounts Response.
func (*ListAccountsResponse) MarshalJSON ¶
func (s *ListAccountsResponse) MarshalJSON() ([]byte, error)
type ListContainerVersionsResponse ¶
type ListContainerVersionsResponse struct { // ContainerVersion: All versions of a GTM Container. ContainerVersion []*ContainerVersion `json:"containerVersion,omitempty"` // ContainerVersionHeader: All container version headers of a GTM // Container. ContainerVersionHeader []*ContainerVersionHeader `json:"containerVersionHeader,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ContainerVersion") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
ListContainerVersionsResponse: List container versions response.
func (*ListContainerVersionsResponse) MarshalJSON ¶
func (s *ListContainerVersionsResponse) MarshalJSON() ([]byte, error)
type ListContainersResponse ¶
type ListContainersResponse struct { // Containers: All Containers of a GTM Account. Containers []*Container `json:"containers,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Containers") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
ListContainersResponse: List Containers Response.
func (*ListContainersResponse) MarshalJSON ¶
func (s *ListContainersResponse) MarshalJSON() ([]byte, error)
type ListFoldersResponse ¶
type ListFoldersResponse struct { // Folders: All GTM Folders of a GTM Container. Folders []*Folder `json:"folders,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Folders") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
ListFoldersResponse: List Folders Response.
func (*ListFoldersResponse) MarshalJSON ¶
func (s *ListFoldersResponse) MarshalJSON() ([]byte, error)
type ListTagsResponse ¶
type ListTagsResponse struct { // Tags: All GTM Tags of a GTM Container. Tags []*Tag `json:"tags,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Tags") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
ListTagsResponse: List Tags Response.
func (*ListTagsResponse) MarshalJSON ¶
func (s *ListTagsResponse) MarshalJSON() ([]byte, error)
type ListTriggersResponse ¶
type ListTriggersResponse struct { // Triggers: All GTM Triggers of a GTM Container. Triggers []*Trigger `json:"triggers,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Triggers") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
ListTriggersResponse: List triggers response.
func (*ListTriggersResponse) MarshalJSON ¶
func (s *ListTriggersResponse) MarshalJSON() ([]byte, error)
type ListVariablesResponse ¶
type ListVariablesResponse struct { // Variables: All GTM Variables of a GTM Container. Variables []*Variable `json:"variables,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Variables") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
ListVariablesResponse: List Variables Response.
func (*ListVariablesResponse) MarshalJSON ¶
func (s *ListVariablesResponse) MarshalJSON() ([]byte, error)
type Macro ¶
type Macro struct { // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // ContainerId: GTM Container ID. ContainerId string `json:"containerId,omitempty"` // DisablingRuleId: For mobile containers only: A list of rule IDs for // disabling conditional macros; the macro is enabled if one of the // enabling rules is true while all the disabling rules are false. // Treated as an unordered set. DisablingRuleId []string `json:"disablingRuleId,omitempty"` // EnablingRuleId: For mobile containers only: A list of rule IDs for // enabling conditional macros; the macro is enabled if one of the // enabling rules is true while all the disabling rules are false. // Treated as an unordered set. EnablingRuleId []string `json:"enablingRuleId,omitempty"` // Fingerprint: The fingerprint of the GTM Macro as computed at storage // time. This value is recomputed whenever the macro is modified. Fingerprint string `json:"fingerprint,omitempty"` // MacroId: The Macro ID uniquely identifies the GTM Macro. MacroId string `json:"macroId,omitempty"` // Name: Macro display name. Name string `json:"name,omitempty"` // Notes: User notes on how to apply this macro in the container. Notes string `json:"notes,omitempty"` // Parameter: The macro's parameters. Parameter []*Parameter `json:"parameter,omitempty"` // ParentFolderId: Parent folder id. ParentFolderId string `json:"parentFolderId,omitempty"` // ScheduleEndMs: The end timestamp in milliseconds to schedule a macro. ScheduleEndMs int64 `json:"scheduleEndMs,omitempty,string"` // ScheduleStartMs: The start timestamp in milliseconds to schedule a // macro. ScheduleStartMs int64 `json:"scheduleStartMs,omitempty,string"` // Type: GTM Macro Type. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "AccountId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
Macro: Represents a Google Tag Manager Macro.
func (*Macro) MarshalJSON ¶
type Parameter ¶
type Parameter struct { // Key: The named key that uniquely identifies a parameter. Required for // top-level parameters, as well as map values. Ignored for list values. Key string `json:"key,omitempty"` // List: This list parameter's parameters (keys will be ignored). List []*Parameter `json:"list,omitempty"` // Map: This map parameter's parameters (must have keys; keys must be // unique). Map []*Parameter `json:"map,omitempty"` // Type: The parameter type. Valid values are: // - boolean: The value represents a boolean, represented as 'true' or // 'false' // - integer: The value represents a 64-bit signed integer value, in // base 10 // - list: A list of parameters should be specified // - map: A map of parameters should be specified // - template: The value represents any text; this can include variable // references (even variable references that might return non-string // types) // // Possible values: // "boolean" // "integer" // "list" // "map" // "template" Type string `json:"type,omitempty"` // Value: A parameter's value (may contain variable references such as // "{{myVariable}}") as appropriate to the specified type. Value string `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "Key") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
Parameter: Represents a Google Tag Manager Parameter.
func (*Parameter) MarshalJSON ¶
type PublishContainerVersionResponse ¶
type PublishContainerVersionResponse struct { // CompilerError: Compiler errors or not. CompilerError bool `json:"compilerError,omitempty"` // ContainerVersion: The container version created. ContainerVersion *ContainerVersion `json:"containerVersion,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CompilerError") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
PublishContainerVersionResponse: Publish container version response.
func (*PublishContainerVersionResponse) MarshalJSON ¶
func (s *PublishContainerVersionResponse) MarshalJSON() ([]byte, error)
type Rule ¶
type Rule struct { // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // Condition: The list of conditions that make up this rule (implicit // AND between them). Condition []*Condition `json:"condition,omitempty"` // ContainerId: GTM Container ID. ContainerId string `json:"containerId,omitempty"` // Fingerprint: The fingerprint of the GTM Rule as computed at storage // time. This value is recomputed whenever the rule is modified. Fingerprint string `json:"fingerprint,omitempty"` // Name: Rule display name. Name string `json:"name,omitempty"` // Notes: User notes on how to apply this rule in the container. Notes string `json:"notes,omitempty"` // RuleId: The Rule ID uniquely identifies the GTM Rule. RuleId string `json:"ruleId,omitempty"` // ForceSendFields is a list of field names (e.g. "AccountId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
Rule: Represents a Google Tag Manager Rule.
func (*Rule) MarshalJSON ¶
type Service ¶
type Service struct { BasePath string // API endpoint base URL UserAgent string // optional additional User-Agent fragment Accounts *AccountsService // contains filtered or unexported fields }
type SetupTag ¶
type SetupTag struct { // StopOnSetupFailure: If true, fire the main tag if and only if the // setup tag fires successfully. If false, fire the main tag regardless // of setup tag firing status. StopOnSetupFailure bool `json:"stopOnSetupFailure,omitempty"` // TagName: The name of the setup tag. TagName string `json:"tagName,omitempty"` // ForceSendFields is a list of field names (e.g. "StopOnSetupFailure") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
func (*SetupTag) MarshalJSON ¶
type Tag ¶
type Tag struct { // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // BlockingRuleId: Blocking rule IDs. If any of the listed rules // evaluate to true, the tag will not fire. BlockingRuleId []string `json:"blockingRuleId,omitempty"` // BlockingTriggerId: Blocking trigger IDs. If any of the listed // triggers evaluate to true, the tag will not fire. BlockingTriggerId []string `json:"blockingTriggerId,omitempty"` // ContainerId: GTM Container ID. ContainerId string `json:"containerId,omitempty"` // Fingerprint: The fingerprint of the GTM Tag as computed at storage // time. This value is recomputed whenever the tag is modified. Fingerprint string `json:"fingerprint,omitempty"` // FiringRuleId: Firing rule IDs. A tag will fire when any of the listed // rules are true and all of its blockingRuleIds (if any specified) are // false. FiringRuleId []string `json:"firingRuleId,omitempty"` // FiringTriggerId: Firing trigger IDs. A tag will fire when any of the // listed triggers are true and all of its blockingTriggerIds (if any // specified) are false. FiringTriggerId []string `json:"firingTriggerId,omitempty"` // LiveOnly: If set to true, this tag will only fire in the live // environment (e.g. not in preview or debug mode). LiveOnly bool `json:"liveOnly,omitempty"` // Name: Tag display name. Name string `json:"name,omitempty"` // Notes: User notes on how to apply this tag in the container. Notes string `json:"notes,omitempty"` // Parameter: The tag's parameters. Parameter []*Parameter `json:"parameter,omitempty"` // ParentFolderId: Parent folder id. ParentFolderId string `json:"parentFolderId,omitempty"` // Priority: User defined numeric priority of the tag. Tags are fired // asynchronously in order of priority. Tags with higher numeric value // fire first. A tag's priority can be a positive or negative value. The // default value is 0. Priority *Parameter `json:"priority,omitempty"` // ScheduleEndMs: The end timestamp in milliseconds to schedule a tag. ScheduleEndMs int64 `json:"scheduleEndMs,omitempty,string"` // ScheduleStartMs: The start timestamp in milliseconds to schedule a // tag. ScheduleStartMs int64 `json:"scheduleStartMs,omitempty,string"` // SetupTag: The list of setup tags. Currently we only allow one. SetupTag []*SetupTag `json:"setupTag,omitempty"` // TagFiringOption: Option to fire this tag. // // Possible values: // "oncePerEvent" // "oncePerLoad" // "unlimited" TagFiringOption string `json:"tagFiringOption,omitempty"` // TagId: The Tag ID uniquely identifies the GTM Tag. TagId string `json:"tagId,omitempty"` // TeardownTag: The list of teardown tags. Currently we only allow one. TeardownTag []*TeardownTag `json:"teardownTag,omitempty"` // Type: GTM Tag Type. Type string `json:"type,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AccountId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
Tag: Represents a Google Tag Manager Tag.
func (*Tag) MarshalJSON ¶
type TeardownTag ¶
type TeardownTag struct { // StopTeardownOnFailure: If true, fire the teardown tag if and only if // the main tag fires successfully. If false, fire the teardown tag // regardless of main tag firing status. StopTeardownOnFailure bool `json:"stopTeardownOnFailure,omitempty"` // TagName: The name of the teardown tag. TagName string `json:"tagName,omitempty"` // ForceSendFields is a list of field names (e.g. // "StopTeardownOnFailure") to unconditionally include in API requests. // By default, fields with empty values are omitted from API requests. // However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` }
func (*TeardownTag) MarshalJSON ¶
func (s *TeardownTag) MarshalJSON() ([]byte, error)
type Trigger ¶
type Trigger struct { // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // AutoEventFilter: Used in the case of auto event tracking. AutoEventFilter []*Condition `json:"autoEventFilter,omitempty"` // CheckValidation: Whether or not we should only fire tags if the form // submit or link click event is not cancelled by some other event // handler (e.g. because of validation). Only valid for Form Submission // and Link Click triggers. CheckValidation *Parameter `json:"checkValidation,omitempty"` // ContainerId: GTM Container ID. ContainerId string `json:"containerId,omitempty"` // CustomEventFilter: Used in the case of custom event, which is fired // iff all Conditions are true. CustomEventFilter []*Condition `json:"customEventFilter,omitempty"` // EnableAllVideos: Reloads the videos in the page that don't already // have the YT API enabled. If false, only capture events from videos // that already have the API enabled. Only valid for YouTube triggers. EnableAllVideos *Parameter `json:"enableAllVideos,omitempty"` // EventName: Name of the GTM event that is fired. Only valid for Timer // triggers. EventName *Parameter `json:"eventName,omitempty"` // Filter: The trigger will only fire iff all Conditions are true. Filter []*Condition `json:"filter,omitempty"` // Fingerprint: The fingerprint of the GTM Trigger as computed at // storage time. This value is recomputed whenever the trigger is // modified. Fingerprint string `json:"fingerprint,omitempty"` // Interval: Time between triggering recurring Timer Events (in // milliseconds). Only valid for Timer triggers. Interval *Parameter `json:"interval,omitempty"` // Limit: Limit of the number of GTM events this Timer Trigger will // fire. If no limit is set, we will continue to fire GTM events until // the user leaves the page. Only valid for Timer triggers. Limit *Parameter `json:"limit,omitempty"` // Name: Trigger display name. Name string `json:"name,omitempty"` // ParentFolderId: Parent folder id. ParentFolderId string `json:"parentFolderId,omitempty"` // TriggerId: The Trigger ID uniquely identifies the GTM Trigger. TriggerId string `json:"triggerId,omitempty"` // Type: Defines the data layer event that causes this trigger. // // Possible values: // "ajaxSubmission" // "always" // "click" // "customEvent" // "domReady" // "formSubmission" // "historyChange" // "jsError" // "linkClick" // "pageview" // "timer" // "windowLoaded" // "youTube" Type string `json:"type,omitempty"` // UniqueTriggerId: Globally unique id of the trigger that // auto-generates this (a Form Submit, Link Click or Timer listener) if // any. Used to make incompatible auto-events work together with trigger // filtering based on trigger ids. This value is populated during output // generation since the tags implied by triggers don't exist until then. // Only valid for Form Submit, Link Click and Timer triggers. UniqueTriggerId *Parameter `json:"uniqueTriggerId,omitempty"` // VideoPercentageList: List of integer percentage values. The trigger // will fire as each percentage is reached in any instrumented videos. // Only valid for YouTube triggers. VideoPercentageList *Parameter `json:"videoPercentageList,omitempty"` // WaitForTags: Whether or not we should delay the form submissions or // link opening until all of the tags have fired (by preventing the // default action and later simulating the default action). Only valid // for Form Submission and Link Click triggers. WaitForTags *Parameter `json:"waitForTags,omitempty"` // WaitForTagsTimeout: How long to wait (in milliseconds) for tags to // fire when 'waits_for_tags' above evaluates to true. Only valid for // Form Submission and Link Click triggers. WaitForTagsTimeout *Parameter `json:"waitForTagsTimeout,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AccountId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
Trigger: Represents a Google Tag Manager Trigger
func (*Trigger) MarshalJSON ¶
type UserAccess ¶
type UserAccess struct { // AccountAccess: GTM Account access permissions. AccountAccess *AccountAccess `json:"accountAccess,omitempty"` // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // ContainerAccess: GTM Container access permissions. ContainerAccess []*ContainerAccess `json:"containerAccess,omitempty"` // EmailAddress: User's email address. EmailAddress string `json:"emailAddress,omitempty"` // PermissionId: Account Permission ID. PermissionId string `json:"permissionId,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AccountAccess") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
UserAccess: Represents a user's permissions to an account and its container.
func (*UserAccess) MarshalJSON ¶
func (s *UserAccess) MarshalJSON() ([]byte, error)
type Variable ¶
type Variable struct { // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // ContainerId: GTM Container ID. ContainerId string `json:"containerId,omitempty"` // DisablingTriggerId: For mobile containers only: A list of trigger IDs // for disabling conditional variables; the variable is enabled if one // of the enabling trigger is true while all the disabling trigger are // false. Treated as an unordered set. DisablingTriggerId []string `json:"disablingTriggerId,omitempty"` // EnablingTriggerId: For mobile containers only: A list of trigger IDs // for enabling conditional variables; the variable is enabled if one of // the enabling triggers is true while all the disabling triggers are // false. Treated as an unordered set. EnablingTriggerId []string `json:"enablingTriggerId,omitempty"` // Fingerprint: The fingerprint of the GTM Variable as computed at // storage time. This value is recomputed whenever the variable is // modified. Fingerprint string `json:"fingerprint,omitempty"` // Name: Variable display name. Name string `json:"name,omitempty"` // Notes: User notes on how to apply this variable in the container. Notes string `json:"notes,omitempty"` // Parameter: The variable's parameters. Parameter []*Parameter `json:"parameter,omitempty"` // ParentFolderId: Parent folder id. ParentFolderId string `json:"parentFolderId,omitempty"` // ScheduleEndMs: The end timestamp in milliseconds to schedule a // variable. ScheduleEndMs int64 `json:"scheduleEndMs,omitempty,string"` // ScheduleStartMs: The start timestamp in milliseconds to schedule a // variable. ScheduleStartMs int64 `json:"scheduleStartMs,omitempty,string"` // Type: GTM Variable Type. Type string `json:"type,omitempty"` // VariableId: The Variable ID uniquely identifies the GTM Variable. VariableId string `json:"variableId,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AccountId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
Variable: Represents a Google Tag Manager Variable.