tagmanager - ActiveState ActiveGo 1.8
...

Package tagmanager

import "google.golang.org/api/tagmanager/v1"
Overview
Index

Overview ▾

Package tagmanager provides access to the Tag Manager API.

See https://developers.google.com/tag-manager/api/v1/

Usage example:

import "google.golang.org/api/tagmanager/v1"
...
tagmanagerService, err := tagmanager.New(oauthHttpClient)

Index ▾

Constants
type Account
    func (s *Account) MarshalJSON() ([]byte, error)
type AccountAccess
    func (s *AccountAccess) MarshalJSON() ([]byte, error)
type AccountsContainersCreateCall
    func (c *AccountsContainersCreateCall) Context(ctx context.Context) *AccountsContainersCreateCall
    func (c *AccountsContainersCreateCall) Do(opts ...googleapi.CallOption) (*Container, error)
    func (c *AccountsContainersCreateCall) Fields(s ...googleapi.Field) *AccountsContainersCreateCall
    func (c *AccountsContainersCreateCall) Header() http.Header
type AccountsContainersDeleteCall
    func (c *AccountsContainersDeleteCall) Context(ctx context.Context) *AccountsContainersDeleteCall
    func (c *AccountsContainersDeleteCall) Do(opts ...googleapi.CallOption) error
    func (c *AccountsContainersDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersDeleteCall
    func (c *AccountsContainersDeleteCall) Header() http.Header
type AccountsContainersEnvironmentsCreateCall
    func (c *AccountsContainersEnvironmentsCreateCall) Context(ctx context.Context) *AccountsContainersEnvironmentsCreateCall
    func (c *AccountsContainersEnvironmentsCreateCall) Do(opts ...googleapi.CallOption) (*Environment, error)
    func (c *AccountsContainersEnvironmentsCreateCall) Fields(s ...googleapi.Field) *AccountsContainersEnvironmentsCreateCall
    func (c *AccountsContainersEnvironmentsCreateCall) Header() http.Header
type AccountsContainersEnvironmentsDeleteCall
    func (c *AccountsContainersEnvironmentsDeleteCall) Context(ctx context.Context) *AccountsContainersEnvironmentsDeleteCall
    func (c *AccountsContainersEnvironmentsDeleteCall) Do(opts ...googleapi.CallOption) error
    func (c *AccountsContainersEnvironmentsDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersEnvironmentsDeleteCall
    func (c *AccountsContainersEnvironmentsDeleteCall) Header() http.Header
type AccountsContainersEnvironmentsGetCall
    func (c *AccountsContainersEnvironmentsGetCall) Context(ctx context.Context) *AccountsContainersEnvironmentsGetCall
    func (c *AccountsContainersEnvironmentsGetCall) Do(opts ...googleapi.CallOption) (*Environment, error)
    func (c *AccountsContainersEnvironmentsGetCall) Fields(s ...googleapi.Field) *AccountsContainersEnvironmentsGetCall
    func (c *AccountsContainersEnvironmentsGetCall) Header() http.Header
    func (c *AccountsContainersEnvironmentsGetCall) IfNoneMatch(entityTag string) *AccountsContainersEnvironmentsGetCall
type AccountsContainersEnvironmentsListCall
    func (c *AccountsContainersEnvironmentsListCall) Context(ctx context.Context) *AccountsContainersEnvironmentsListCall
    func (c *AccountsContainersEnvironmentsListCall) Do(opts ...googleapi.CallOption) (*ListEnvironmentsResponse, error)
    func (c *AccountsContainersEnvironmentsListCall) Fields(s ...googleapi.Field) *AccountsContainersEnvironmentsListCall
    func (c *AccountsContainersEnvironmentsListCall) Header() http.Header
    func (c *AccountsContainersEnvironmentsListCall) IfNoneMatch(entityTag string) *AccountsContainersEnvironmentsListCall
type AccountsContainersEnvironmentsPatchCall
    func (c *AccountsContainersEnvironmentsPatchCall) Context(ctx context.Context) *AccountsContainersEnvironmentsPatchCall
    func (c *AccountsContainersEnvironmentsPatchCall) Do(opts ...googleapi.CallOption) (*Environment, error)
    func (c *AccountsContainersEnvironmentsPatchCall) Fields(s ...googleapi.Field) *AccountsContainersEnvironmentsPatchCall
    func (c *AccountsContainersEnvironmentsPatchCall) Fingerprint(fingerprint string) *AccountsContainersEnvironmentsPatchCall
    func (c *AccountsContainersEnvironmentsPatchCall) Header() http.Header
type AccountsContainersEnvironmentsService
    func NewAccountsContainersEnvironmentsService(s *Service) *AccountsContainersEnvironmentsService
    func (r *AccountsContainersEnvironmentsService) Create(accountId string, containerId string, environment *Environment) *AccountsContainersEnvironmentsCreateCall
    func (r *AccountsContainersEnvironmentsService) Delete(accountId string, containerId string, environmentId string) *AccountsContainersEnvironmentsDeleteCall
    func (r *AccountsContainersEnvironmentsService) Get(accountId string, containerId string, environmentId string) *AccountsContainersEnvironmentsGetCall
    func (r *AccountsContainersEnvironmentsService) List(accountId string, containerId string) *AccountsContainersEnvironmentsListCall
    func (r *AccountsContainersEnvironmentsService) Patch(accountId string, containerId string, environmentId string, environment *Environment) *AccountsContainersEnvironmentsPatchCall
    func (r *AccountsContainersEnvironmentsService) Update(accountId string, containerId string, environmentId string, environment *Environment) *AccountsContainersEnvironmentsUpdateCall
type AccountsContainersEnvironmentsUpdateCall
    func (c *AccountsContainersEnvironmentsUpdateCall) Context(ctx context.Context) *AccountsContainersEnvironmentsUpdateCall
    func (c *AccountsContainersEnvironmentsUpdateCall) Do(opts ...googleapi.CallOption) (*Environment, error)
    func (c *AccountsContainersEnvironmentsUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersEnvironmentsUpdateCall
    func (c *AccountsContainersEnvironmentsUpdateCall) Fingerprint(fingerprint string) *AccountsContainersEnvironmentsUpdateCall
    func (c *AccountsContainersEnvironmentsUpdateCall) Header() http.Header
type AccountsContainersFoldersCreateCall
    func (c *AccountsContainersFoldersCreateCall) Context(ctx context.Context) *AccountsContainersFoldersCreateCall
    func (c *AccountsContainersFoldersCreateCall) Do(opts ...googleapi.CallOption) (*Folder, error)
    func (c *AccountsContainersFoldersCreateCall) Fields(s ...googleapi.Field) *AccountsContainersFoldersCreateCall
    func (c *AccountsContainersFoldersCreateCall) Header() http.Header
type AccountsContainersFoldersDeleteCall
    func (c *AccountsContainersFoldersDeleteCall) Context(ctx context.Context) *AccountsContainersFoldersDeleteCall
    func (c *AccountsContainersFoldersDeleteCall) Do(opts ...googleapi.CallOption) error
    func (c *AccountsContainersFoldersDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersFoldersDeleteCall
    func (c *AccountsContainersFoldersDeleteCall) Header() http.Header
type AccountsContainersFoldersEntitiesListCall
    func (c *AccountsContainersFoldersEntitiesListCall) Context(ctx context.Context) *AccountsContainersFoldersEntitiesListCall
    func (c *AccountsContainersFoldersEntitiesListCall) Do(opts ...googleapi.CallOption) (*FolderEntities, error)
    func (c *AccountsContainersFoldersEntitiesListCall) Fields(s ...googleapi.Field) *AccountsContainersFoldersEntitiesListCall
    func (c *AccountsContainersFoldersEntitiesListCall) Header() http.Header
    func (c *AccountsContainersFoldersEntitiesListCall) IfNoneMatch(entityTag string) *AccountsContainersFoldersEntitiesListCall
type AccountsContainersFoldersEntitiesService
    func NewAccountsContainersFoldersEntitiesService(s *Service) *AccountsContainersFoldersEntitiesService
    func (r *AccountsContainersFoldersEntitiesService) List(accountId string, containerId string, folderId string) *AccountsContainersFoldersEntitiesListCall
type AccountsContainersFoldersGetCall
    func (c *AccountsContainersFoldersGetCall) Context(ctx context.Context) *AccountsContainersFoldersGetCall
    func (c *AccountsContainersFoldersGetCall) Do(opts ...googleapi.CallOption) (*Folder, error)
    func (c *AccountsContainersFoldersGetCall) Fields(s ...googleapi.Field) *AccountsContainersFoldersGetCall
    func (c *AccountsContainersFoldersGetCall) Header() http.Header
    func (c *AccountsContainersFoldersGetCall) IfNoneMatch(entityTag string) *AccountsContainersFoldersGetCall
type AccountsContainersFoldersListCall
    func (c *AccountsContainersFoldersListCall) Context(ctx context.Context) *AccountsContainersFoldersListCall
    func (c *AccountsContainersFoldersListCall) Do(opts ...googleapi.CallOption) (*ListFoldersResponse, error)
    func (c *AccountsContainersFoldersListCall) Fields(s ...googleapi.Field) *AccountsContainersFoldersListCall
    func (c *AccountsContainersFoldersListCall) Header() http.Header
    func (c *AccountsContainersFoldersListCall) IfNoneMatch(entityTag string) *AccountsContainersFoldersListCall
type AccountsContainersFoldersService
    func NewAccountsContainersFoldersService(s *Service) *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(opts ...googleapi.CallOption) (*Folder, error)
    func (c *AccountsContainersFoldersUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersFoldersUpdateCall
    func (c *AccountsContainersFoldersUpdateCall) Fingerprint(fingerprint string) *AccountsContainersFoldersUpdateCall
    func (c *AccountsContainersFoldersUpdateCall) Header() http.Header
type AccountsContainersGetCall
    func (c *AccountsContainersGetCall) Context(ctx context.Context) *AccountsContainersGetCall
    func (c *AccountsContainersGetCall) Do(opts ...googleapi.CallOption) (*Container, error)
    func (c *AccountsContainersGetCall) Fields(s ...googleapi.Field) *AccountsContainersGetCall
    func (c *AccountsContainersGetCall) Header() http.Header
    func (c *AccountsContainersGetCall) IfNoneMatch(entityTag string) *AccountsContainersGetCall
type AccountsContainersListCall
    func (c *AccountsContainersListCall) Context(ctx context.Context) *AccountsContainersListCall
    func (c *AccountsContainersListCall) Do(opts ...googleapi.CallOption) (*ListContainersResponse, error)
    func (c *AccountsContainersListCall) Fields(s ...googleapi.Field) *AccountsContainersListCall
    func (c *AccountsContainersListCall) Header() http.Header
    func (c *AccountsContainersListCall) IfNoneMatch(entityTag string) *AccountsContainersListCall
type AccountsContainersMoveFoldersService
    func NewAccountsContainersMoveFoldersService(s *Service) *AccountsContainersMoveFoldersService
    func (r *AccountsContainersMoveFoldersService) Update(accountId string, containerId string, folderId string, folder *Folder) *AccountsContainersMoveFoldersUpdateCall
type AccountsContainersMoveFoldersUpdateCall
    func (c *AccountsContainersMoveFoldersUpdateCall) Context(ctx context.Context) *AccountsContainersMoveFoldersUpdateCall
    func (c *AccountsContainersMoveFoldersUpdateCall) Do(opts ...googleapi.CallOption) error
    func (c *AccountsContainersMoveFoldersUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersMoveFoldersUpdateCall
    func (c *AccountsContainersMoveFoldersUpdateCall) Header() http.Header
    func (c *AccountsContainersMoveFoldersUpdateCall) TagId(tagId ...string) *AccountsContainersMoveFoldersUpdateCall
    func (c *AccountsContainersMoveFoldersUpdateCall) TriggerId(triggerId ...string) *AccountsContainersMoveFoldersUpdateCall
    func (c *AccountsContainersMoveFoldersUpdateCall) VariableId(variableId ...string) *AccountsContainersMoveFoldersUpdateCall
type AccountsContainersReauthorizeEnvironmentsService
    func NewAccountsContainersReauthorizeEnvironmentsService(s *Service) *AccountsContainersReauthorizeEnvironmentsService
    func (r *AccountsContainersReauthorizeEnvironmentsService) Update(accountId string, containerId string, environmentId string, environment *Environment) *AccountsContainersReauthorizeEnvironmentsUpdateCall
type AccountsContainersReauthorizeEnvironmentsUpdateCall
    func (c *AccountsContainersReauthorizeEnvironmentsUpdateCall) Context(ctx context.Context) *AccountsContainersReauthorizeEnvironmentsUpdateCall
    func (c *AccountsContainersReauthorizeEnvironmentsUpdateCall) Do(opts ...googleapi.CallOption) (*Environment, error)
    func (c *AccountsContainersReauthorizeEnvironmentsUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersReauthorizeEnvironmentsUpdateCall
    func (c *AccountsContainersReauthorizeEnvironmentsUpdateCall) Header() http.Header
type AccountsContainersService
    func NewAccountsContainersService(s *Service) *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(opts ...googleapi.CallOption) (*Tag, error)
    func (c *AccountsContainersTagsCreateCall) Fields(s ...googleapi.Field) *AccountsContainersTagsCreateCall
    func (c *AccountsContainersTagsCreateCall) Header() http.Header
type AccountsContainersTagsDeleteCall
    func (c *AccountsContainersTagsDeleteCall) Context(ctx context.Context) *AccountsContainersTagsDeleteCall
    func (c *AccountsContainersTagsDeleteCall) Do(opts ...googleapi.CallOption) error
    func (c *AccountsContainersTagsDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersTagsDeleteCall
    func (c *AccountsContainersTagsDeleteCall) Header() http.Header
type AccountsContainersTagsGetCall
    func (c *AccountsContainersTagsGetCall) Context(ctx context.Context) *AccountsContainersTagsGetCall
    func (c *AccountsContainersTagsGetCall) Do(opts ...googleapi.CallOption) (*Tag, error)
    func (c *AccountsContainersTagsGetCall) Fields(s ...googleapi.Field) *AccountsContainersTagsGetCall
    func (c *AccountsContainersTagsGetCall) Header() http.Header
    func (c *AccountsContainersTagsGetCall) IfNoneMatch(entityTag string) *AccountsContainersTagsGetCall
type AccountsContainersTagsListCall
    func (c *AccountsContainersTagsListCall) Context(ctx context.Context) *AccountsContainersTagsListCall
    func (c *AccountsContainersTagsListCall) Do(opts ...googleapi.CallOption) (*ListTagsResponse, error)
    func (c *AccountsContainersTagsListCall) Fields(s ...googleapi.Field) *AccountsContainersTagsListCall
    func (c *AccountsContainersTagsListCall) Header() http.Header
    func (c *AccountsContainersTagsListCall) IfNoneMatch(entityTag string) *AccountsContainersTagsListCall
type AccountsContainersTagsService
    func NewAccountsContainersTagsService(s *Service) *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(opts ...googleapi.CallOption) (*Tag, error)
    func (c *AccountsContainersTagsUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersTagsUpdateCall
    func (c *AccountsContainersTagsUpdateCall) Fingerprint(fingerprint string) *AccountsContainersTagsUpdateCall
    func (c *AccountsContainersTagsUpdateCall) Header() http.Header
type AccountsContainersTriggersCreateCall
    func (c *AccountsContainersTriggersCreateCall) Context(ctx context.Context) *AccountsContainersTriggersCreateCall
    func (c *AccountsContainersTriggersCreateCall) Do(opts ...googleapi.CallOption) (*Trigger, error)
    func (c *AccountsContainersTriggersCreateCall) Fields(s ...googleapi.Field) *AccountsContainersTriggersCreateCall
    func (c *AccountsContainersTriggersCreateCall) Header() http.Header
type AccountsContainersTriggersDeleteCall
    func (c *AccountsContainersTriggersDeleteCall) Context(ctx context.Context) *AccountsContainersTriggersDeleteCall
    func (c *AccountsContainersTriggersDeleteCall) Do(opts ...googleapi.CallOption) error
    func (c *AccountsContainersTriggersDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersTriggersDeleteCall
    func (c *AccountsContainersTriggersDeleteCall) Header() http.Header
type AccountsContainersTriggersGetCall
    func (c *AccountsContainersTriggersGetCall) Context(ctx context.Context) *AccountsContainersTriggersGetCall
    func (c *AccountsContainersTriggersGetCall) Do(opts ...googleapi.CallOption) (*Trigger, error)
    func (c *AccountsContainersTriggersGetCall) Fields(s ...googleapi.Field) *AccountsContainersTriggersGetCall
    func (c *AccountsContainersTriggersGetCall) Header() http.Header
    func (c *AccountsContainersTriggersGetCall) IfNoneMatch(entityTag string) *AccountsContainersTriggersGetCall
type AccountsContainersTriggersListCall
    func (c *AccountsContainersTriggersListCall) Context(ctx context.Context) *AccountsContainersTriggersListCall
    func (c *AccountsContainersTriggersListCall) Do(opts ...googleapi.CallOption) (*ListTriggersResponse, error)
    func (c *AccountsContainersTriggersListCall) Fields(s ...googleapi.Field) *AccountsContainersTriggersListCall
    func (c *AccountsContainersTriggersListCall) Header() http.Header
    func (c *AccountsContainersTriggersListCall) IfNoneMatch(entityTag string) *AccountsContainersTriggersListCall
type AccountsContainersTriggersService
    func NewAccountsContainersTriggersService(s *Service) *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(opts ...googleapi.CallOption) (*Trigger, error)
    func (c *AccountsContainersTriggersUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersTriggersUpdateCall
    func (c *AccountsContainersTriggersUpdateCall) Fingerprint(fingerprint string) *AccountsContainersTriggersUpdateCall
    func (c *AccountsContainersTriggersUpdateCall) Header() http.Header
type AccountsContainersUpdateCall
    func (c *AccountsContainersUpdateCall) Context(ctx context.Context) *AccountsContainersUpdateCall
    func (c *AccountsContainersUpdateCall) Do(opts ...googleapi.CallOption) (*Container, error)
    func (c *AccountsContainersUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersUpdateCall
    func (c *AccountsContainersUpdateCall) Fingerprint(fingerprint string) *AccountsContainersUpdateCall
    func (c *AccountsContainersUpdateCall) Header() http.Header
type AccountsContainersVariablesCreateCall
    func (c *AccountsContainersVariablesCreateCall) Context(ctx context.Context) *AccountsContainersVariablesCreateCall
    func (c *AccountsContainersVariablesCreateCall) Do(opts ...googleapi.CallOption) (*Variable, error)
    func (c *AccountsContainersVariablesCreateCall) Fields(s ...googleapi.Field) *AccountsContainersVariablesCreateCall
    func (c *AccountsContainersVariablesCreateCall) Header() http.Header
type AccountsContainersVariablesDeleteCall
    func (c *AccountsContainersVariablesDeleteCall) Context(ctx context.Context) *AccountsContainersVariablesDeleteCall
    func (c *AccountsContainersVariablesDeleteCall) Do(opts ...googleapi.CallOption) error
    func (c *AccountsContainersVariablesDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersVariablesDeleteCall
    func (c *AccountsContainersVariablesDeleteCall) Header() http.Header
type AccountsContainersVariablesGetCall
    func (c *AccountsContainersVariablesGetCall) Context(ctx context.Context) *AccountsContainersVariablesGetCall
    func (c *AccountsContainersVariablesGetCall) Do(opts ...googleapi.CallOption) (*Variable, error)
    func (c *AccountsContainersVariablesGetCall) Fields(s ...googleapi.Field) *AccountsContainersVariablesGetCall
    func (c *AccountsContainersVariablesGetCall) Header() http.Header
    func (c *AccountsContainersVariablesGetCall) IfNoneMatch(entityTag string) *AccountsContainersVariablesGetCall
type AccountsContainersVariablesListCall
    func (c *AccountsContainersVariablesListCall) Context(ctx context.Context) *AccountsContainersVariablesListCall
    func (c *AccountsContainersVariablesListCall) Do(opts ...googleapi.CallOption) (*ListVariablesResponse, error)
    func (c *AccountsContainersVariablesListCall) Fields(s ...googleapi.Field) *AccountsContainersVariablesListCall
    func (c *AccountsContainersVariablesListCall) Header() http.Header
    func (c *AccountsContainersVariablesListCall) IfNoneMatch(entityTag string) *AccountsContainersVariablesListCall
type AccountsContainersVariablesService
    func NewAccountsContainersVariablesService(s *Service) *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(opts ...googleapi.CallOption) (*Variable, error)
    func (c *AccountsContainersVariablesUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersVariablesUpdateCall
    func (c *AccountsContainersVariablesUpdateCall) Fingerprint(fingerprint string) *AccountsContainersVariablesUpdateCall
    func (c *AccountsContainersVariablesUpdateCall) Header() http.Header
type AccountsContainersVersionsCreateCall
    func (c *AccountsContainersVersionsCreateCall) Context(ctx context.Context) *AccountsContainersVersionsCreateCall
    func (c *AccountsContainersVersionsCreateCall) Do(opts ...googleapi.CallOption) (*CreateContainerVersionResponse, error)
    func (c *AccountsContainersVersionsCreateCall) Fields(s ...googleapi.Field) *AccountsContainersVersionsCreateCall
    func (c *AccountsContainersVersionsCreateCall) Header() http.Header
type AccountsContainersVersionsDeleteCall
    func (c *AccountsContainersVersionsDeleteCall) Context(ctx context.Context) *AccountsContainersVersionsDeleteCall
    func (c *AccountsContainersVersionsDeleteCall) Do(opts ...googleapi.CallOption) error
    func (c *AccountsContainersVersionsDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersVersionsDeleteCall
    func (c *AccountsContainersVersionsDeleteCall) Header() http.Header
type AccountsContainersVersionsGetCall
    func (c *AccountsContainersVersionsGetCall) Context(ctx context.Context) *AccountsContainersVersionsGetCall
    func (c *AccountsContainersVersionsGetCall) Do(opts ...googleapi.CallOption) (*ContainerVersion, error)
    func (c *AccountsContainersVersionsGetCall) Fields(s ...googleapi.Field) *AccountsContainersVersionsGetCall
    func (c *AccountsContainersVersionsGetCall) Header() http.Header
    func (c *AccountsContainersVersionsGetCall) IfNoneMatch(entityTag string) *AccountsContainersVersionsGetCall
type AccountsContainersVersionsListCall
    func (c *AccountsContainersVersionsListCall) Context(ctx context.Context) *AccountsContainersVersionsListCall
    func (c *AccountsContainersVersionsListCall) Do(opts ...googleapi.CallOption) (*ListContainerVersionsResponse, error)
    func (c *AccountsContainersVersionsListCall) Fields(s ...googleapi.Field) *AccountsContainersVersionsListCall
    func (c *AccountsContainersVersionsListCall) Header() http.Header
    func (c *AccountsContainersVersionsListCall) Headers(headers bool) *AccountsContainersVersionsListCall
    func (c *AccountsContainersVersionsListCall) IfNoneMatch(entityTag string) *AccountsContainersVersionsListCall
    func (c *AccountsContainersVersionsListCall) IncludeDeleted(includeDeleted bool) *AccountsContainersVersionsListCall
type AccountsContainersVersionsPublishCall
    func (c *AccountsContainersVersionsPublishCall) Context(ctx context.Context) *AccountsContainersVersionsPublishCall
    func (c *AccountsContainersVersionsPublishCall) Do(opts ...googleapi.CallOption) (*PublishContainerVersionResponse, error)
    func (c *AccountsContainersVersionsPublishCall) Fields(s ...googleapi.Field) *AccountsContainersVersionsPublishCall
    func (c *AccountsContainersVersionsPublishCall) Fingerprint(fingerprint string) *AccountsContainersVersionsPublishCall
    func (c *AccountsContainersVersionsPublishCall) Header() http.Header
type AccountsContainersVersionsRestoreCall
    func (c *AccountsContainersVersionsRestoreCall) Context(ctx context.Context) *AccountsContainersVersionsRestoreCall
    func (c *AccountsContainersVersionsRestoreCall) Do(opts ...googleapi.CallOption) (*ContainerVersion, error)
    func (c *AccountsContainersVersionsRestoreCall) Fields(s ...googleapi.Field) *AccountsContainersVersionsRestoreCall
    func (c *AccountsContainersVersionsRestoreCall) Header() http.Header
type AccountsContainersVersionsService
    func NewAccountsContainersVersionsService(s *Service) *AccountsContainersVersionsService
    func (r *AccountsContainersVersionsService) Create(accountId string, containerId string, createcontainerversionrequestversionoptions *CreateContainerVersionRequestVersionOptions) *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, containerversion *ContainerVersion) *AccountsContainersVersionsUpdateCall
type AccountsContainersVersionsUndeleteCall
    func (c *AccountsContainersVersionsUndeleteCall) Context(ctx context.Context) *AccountsContainersVersionsUndeleteCall
    func (c *AccountsContainersVersionsUndeleteCall) Do(opts ...googleapi.CallOption) (*ContainerVersion, error)
    func (c *AccountsContainersVersionsUndeleteCall) Fields(s ...googleapi.Field) *AccountsContainersVersionsUndeleteCall
    func (c *AccountsContainersVersionsUndeleteCall) Header() http.Header
type AccountsContainersVersionsUpdateCall
    func (c *AccountsContainersVersionsUpdateCall) Context(ctx context.Context) *AccountsContainersVersionsUpdateCall
    func (c *AccountsContainersVersionsUpdateCall) Do(opts ...googleapi.CallOption) (*ContainerVersion, error)
    func (c *AccountsContainersVersionsUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersVersionsUpdateCall
    func (c *AccountsContainersVersionsUpdateCall) Fingerprint(fingerprint string) *AccountsContainersVersionsUpdateCall
    func (c *AccountsContainersVersionsUpdateCall) Header() http.Header
type AccountsGetCall
    func (c *AccountsGetCall) Context(ctx context.Context) *AccountsGetCall
    func (c *AccountsGetCall) Do(opts ...googleapi.CallOption) (*Account, error)
    func (c *AccountsGetCall) Fields(s ...googleapi.Field) *AccountsGetCall
    func (c *AccountsGetCall) Header() http.Header
    func (c *AccountsGetCall) IfNoneMatch(entityTag string) *AccountsGetCall
type AccountsListCall
    func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall
    func (c *AccountsListCall) Do(opts ...googleapi.CallOption) (*ListAccountsResponse, error)
    func (c *AccountsListCall) Fields(s ...googleapi.Field) *AccountsListCall
    func (c *AccountsListCall) Header() http.Header
    func (c *AccountsListCall) IfNoneMatch(entityTag string) *AccountsListCall
type AccountsPermissionsCreateCall
    func (c *AccountsPermissionsCreateCall) Context(ctx context.Context) *AccountsPermissionsCreateCall
    func (c *AccountsPermissionsCreateCall) Do(opts ...googleapi.CallOption) (*UserAccess, error)
    func (c *AccountsPermissionsCreateCall) Fields(s ...googleapi.Field) *AccountsPermissionsCreateCall
    func (c *AccountsPermissionsCreateCall) Header() http.Header
type AccountsPermissionsDeleteCall
    func (c *AccountsPermissionsDeleteCall) Context(ctx context.Context) *AccountsPermissionsDeleteCall
    func (c *AccountsPermissionsDeleteCall) Do(opts ...googleapi.CallOption) error
    func (c *AccountsPermissionsDeleteCall) Fields(s ...googleapi.Field) *AccountsPermissionsDeleteCall
    func (c *AccountsPermissionsDeleteCall) Header() http.Header
type AccountsPermissionsGetCall
    func (c *AccountsPermissionsGetCall) Context(ctx context.Context) *AccountsPermissionsGetCall
    func (c *AccountsPermissionsGetCall) Do(opts ...googleapi.CallOption) (*UserAccess, error)
    func (c *AccountsPermissionsGetCall) Fields(s ...googleapi.Field) *AccountsPermissionsGetCall
    func (c *AccountsPermissionsGetCall) Header() http.Header
    func (c *AccountsPermissionsGetCall) IfNoneMatch(entityTag string) *AccountsPermissionsGetCall
type AccountsPermissionsListCall
    func (c *AccountsPermissionsListCall) Context(ctx context.Context) *AccountsPermissionsListCall
    func (c *AccountsPermissionsListCall) Do(opts ...googleapi.CallOption) (*ListAccountUsersResponse, error)
    func (c *AccountsPermissionsListCall) Fields(s ...googleapi.Field) *AccountsPermissionsListCall
    func (c *AccountsPermissionsListCall) Header() http.Header
    func (c *AccountsPermissionsListCall) IfNoneMatch(entityTag string) *AccountsPermissionsListCall
type AccountsPermissionsService
    func NewAccountsPermissionsService(s *Service) *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(opts ...googleapi.CallOption) (*UserAccess, error)
    func (c *AccountsPermissionsUpdateCall) Fields(s ...googleapi.Field) *AccountsPermissionsUpdateCall
    func (c *AccountsPermissionsUpdateCall) Header() http.Header
type AccountsService
    func NewAccountsService(s *Service) *AccountsService
    func (r *AccountsService) Get(accountId string) *AccountsGetCall
    func (r *AccountsService) List() *AccountsListCall
    func (r *AccountsService) Update(accountId string, account *Account) *AccountsUpdateCall
type AccountsUpdateCall
    func (c *AccountsUpdateCall) Context(ctx context.Context) *AccountsUpdateCall
    func (c *AccountsUpdateCall) Do(opts ...googleapi.CallOption) (*Account, error)
    func (c *AccountsUpdateCall) Fields(s ...googleapi.Field) *AccountsUpdateCall
    func (c *AccountsUpdateCall) Fingerprint(fingerprint string) *AccountsUpdateCall
    func (c *AccountsUpdateCall) Header() http.Header
type Condition
    func (s *Condition) MarshalJSON() ([]byte, error)
type Container
    func (s *Container) MarshalJSON() ([]byte, error)
type ContainerAccess
    func (s *ContainerAccess) MarshalJSON() ([]byte, error)
type ContainerVersion
    func (s *ContainerVersion) MarshalJSON() ([]byte, error)
type ContainerVersionHeader
    func (s *ContainerVersionHeader) MarshalJSON() ([]byte, error)
type CreateContainerVersionRequestVersionOptions
    func (s *CreateContainerVersionRequestVersionOptions) MarshalJSON() ([]byte, error)
type CreateContainerVersionResponse
    func (s *CreateContainerVersionResponse) MarshalJSON() ([]byte, error)
type Environment
    func (s *Environment) MarshalJSON() ([]byte, error)
type Folder
    func (s *Folder) MarshalJSON() ([]byte, error)
type FolderEntities
    func (s *FolderEntities) MarshalJSON() ([]byte, error)
type ListAccountUsersResponse
    func (s *ListAccountUsersResponse) MarshalJSON() ([]byte, error)
type ListAccountsResponse
    func (s *ListAccountsResponse) MarshalJSON() ([]byte, error)
type ListContainerVersionsResponse
    func (s *ListContainerVersionsResponse) MarshalJSON() ([]byte, error)
type ListContainersResponse
    func (s *ListContainersResponse) MarshalJSON() ([]byte, error)
type ListEnvironmentsResponse
    func (s *ListEnvironmentsResponse) MarshalJSON() ([]byte, error)
type ListFoldersResponse
    func (s *ListFoldersResponse) MarshalJSON() ([]byte, error)
type ListTagsResponse
    func (s *ListTagsResponse) MarshalJSON() ([]byte, error)
type ListTriggersResponse
    func (s *ListTriggersResponse) MarshalJSON() ([]byte, error)
type ListVariablesResponse
    func (s *ListVariablesResponse) MarshalJSON() ([]byte, error)
type Macro
    func (s *Macro) MarshalJSON() ([]byte, error)
type Parameter
    func (s *Parameter) MarshalJSON() ([]byte, error)
type PublishContainerVersionResponse
    func (s *PublishContainerVersionResponse) MarshalJSON() ([]byte, error)
type Rule
    func (s *Rule) MarshalJSON() ([]byte, error)
type Service
    func New(client *http.Client) (*Service, error)
type SetupTag
    func (s *SetupTag) MarshalJSON() ([]byte, error)
type Tag
    func (s *Tag) MarshalJSON() ([]byte, error)
type TeardownTag
    func (s *TeardownTag) MarshalJSON() ([]byte, error)
type Trigger
    func (s *Trigger) MarshalJSON() ([]byte, error)
type UserAccess
    func (s *UserAccess) MarshalJSON() ([]byte, error)
type Variable
    func (s *Variable) MarshalJSON() ([]byte, error)

Package files

tagmanager-gen.go

Constants

OAuth2 scopes used by this API.

const (
    // Delete your Google Tag Manager containers
    TagmanagerDeleteContainersScope = "https://www.googleapis.com/auth/tagmanager.delete.containers"

    // Manage your Google Tag Manager container and its subcomponents,
    // excluding versioning and publishing
    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"

    // View and manage your Google Tag Manager accounts
    TagmanagerManageAccountsScope = "https://www.googleapis.com/auth/tagmanager.manage.accounts"

    // Manage user permissions of your Google Tag Manager account and
    // container
    TagmanagerManageUsersScope = "https://www.googleapis.com/auth/tagmanager.manage.users"

    // Publish your Google Tag Manager container versions
    TagmanagerPublishScope = "https://www.googleapis.com/auth/tagmanager.publish"

    // View your Google Tag Manager container and its subcomponents
    TagmanagerReadonlyScope = "https://www.googleapis.com/auth/tagmanager.readonly"
)

type Account

Account: Represents a Google Tag Manager 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"`

    // ShareData: Whether the account shares data anonymously with Google
    // 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:"-"`

    // NullFields is a list of field names (e.g. "AccountId") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*Account) MarshalJSON

func (s *Account) MarshalJSON() ([]byte, error)

type AccountAccess

AccountAccess: Defines the Google Tag Manager Account access permissions.

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:"-"`

    // NullFields is a list of field names (e.g. "Permission") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

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(opts ...googleapi.CallOption) (*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) Header

func (c *AccountsContainersCreateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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(opts ...googleapi.CallOption) 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) Header

func (c *AccountsContainersDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type AccountsContainersEnvironmentsCreateCall

type AccountsContainersEnvironmentsCreateCall struct {
    // contains filtered or unexported fields
}

func (*AccountsContainersEnvironmentsCreateCall) Context

func (c *AccountsContainersEnvironmentsCreateCall) Context(ctx context.Context) *AccountsContainersEnvironmentsCreateCall

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 (*AccountsContainersEnvironmentsCreateCall) Do

func (c *AccountsContainersEnvironmentsCreateCall) Do(opts ...googleapi.CallOption) (*Environment, error)

Do executes the "tagmanager.accounts.containers.environments.create" call. Exactly one of *Environment or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Environment.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 (*AccountsContainersEnvironmentsCreateCall) Fields

func (c *AccountsContainersEnvironmentsCreateCall) Fields(s ...googleapi.Field) *AccountsContainersEnvironmentsCreateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsContainersEnvironmentsCreateCall) Header

func (c *AccountsContainersEnvironmentsCreateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type AccountsContainersEnvironmentsDeleteCall

type AccountsContainersEnvironmentsDeleteCall struct {
    // contains filtered or unexported fields
}

func (*AccountsContainersEnvironmentsDeleteCall) Context

func (c *AccountsContainersEnvironmentsDeleteCall) Context(ctx context.Context) *AccountsContainersEnvironmentsDeleteCall

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 (*AccountsContainersEnvironmentsDeleteCall) Do

func (c *AccountsContainersEnvironmentsDeleteCall) Do(opts ...googleapi.CallOption) error

Do executes the "tagmanager.accounts.containers.environments.delete" call.

func (*AccountsContainersEnvironmentsDeleteCall) Fields

func (c *AccountsContainersEnvironmentsDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersEnvironmentsDeleteCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsContainersEnvironmentsDeleteCall) Header

func (c *AccountsContainersEnvironmentsDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type AccountsContainersEnvironmentsGetCall

type AccountsContainersEnvironmentsGetCall struct {
    // contains filtered or unexported fields
}

func (*AccountsContainersEnvironmentsGetCall) Context

func (c *AccountsContainersEnvironmentsGetCall) Context(ctx context.Context) *AccountsContainersEnvironmentsGetCall

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 (*AccountsContainersEnvironmentsGetCall) Do

func (c *AccountsContainersEnvironmentsGetCall) Do(opts ...googleapi.CallOption) (*Environment, error)

Do executes the "tagmanager.accounts.containers.environments.get" call. Exactly one of *Environment or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Environment.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 (*AccountsContainersEnvironmentsGetCall) Fields

func (c *AccountsContainersEnvironmentsGetCall) Fields(s ...googleapi.Field) *AccountsContainersEnvironmentsGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsContainersEnvironmentsGetCall) Header

func (c *AccountsContainersEnvironmentsGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*AccountsContainersEnvironmentsGetCall) IfNoneMatch

func (c *AccountsContainersEnvironmentsGetCall) IfNoneMatch(entityTag string) *AccountsContainersEnvironmentsGetCall

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.

type AccountsContainersEnvironmentsListCall

type AccountsContainersEnvironmentsListCall struct {
    // contains filtered or unexported fields
}

func (*AccountsContainersEnvironmentsListCall) Context

func (c *AccountsContainersEnvironmentsListCall) Context(ctx context.Context) *AccountsContainersEnvironmentsListCall

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 (*AccountsContainersEnvironmentsListCall) Do

func (c *AccountsContainersEnvironmentsListCall) Do(opts ...googleapi.CallOption) (*ListEnvironmentsResponse, error)

Do executes the "tagmanager.accounts.containers.environments.list" call. Exactly one of *ListEnvironmentsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListEnvironmentsResponse.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 (*AccountsContainersEnvironmentsListCall) Fields

func (c *AccountsContainersEnvironmentsListCall) Fields(s ...googleapi.Field) *AccountsContainersEnvironmentsListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsContainersEnvironmentsListCall) Header

func (c *AccountsContainersEnvironmentsListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*AccountsContainersEnvironmentsListCall) IfNoneMatch

func (c *AccountsContainersEnvironmentsListCall) IfNoneMatch(entityTag string) *AccountsContainersEnvironmentsListCall

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.

type AccountsContainersEnvironmentsPatchCall

type AccountsContainersEnvironmentsPatchCall struct {
    // contains filtered or unexported fields
}

func (*AccountsContainersEnvironmentsPatchCall) Context

func (c *AccountsContainersEnvironmentsPatchCall) Context(ctx context.Context) *AccountsContainersEnvironmentsPatchCall

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 (*AccountsContainersEnvironmentsPatchCall) Do

func (c *AccountsContainersEnvironmentsPatchCall) Do(opts ...googleapi.CallOption) (*Environment, error)

Do executes the "tagmanager.accounts.containers.environments.patch" call. Exactly one of *Environment or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Environment.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 (*AccountsContainersEnvironmentsPatchCall) Fields

func (c *AccountsContainersEnvironmentsPatchCall) Fields(s ...googleapi.Field) *AccountsContainersEnvironmentsPatchCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsContainersEnvironmentsPatchCall) Fingerprint

func (c *AccountsContainersEnvironmentsPatchCall) Fingerprint(fingerprint string) *AccountsContainersEnvironmentsPatchCall

Fingerprint sets the optional parameter "fingerprint": When provided, this fingerprint must match the fingerprint of the environment in storage.

func (*AccountsContainersEnvironmentsPatchCall) Header

func (c *AccountsContainersEnvironmentsPatchCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type AccountsContainersEnvironmentsService

type AccountsContainersEnvironmentsService struct {
    // contains filtered or unexported fields
}

func NewAccountsContainersEnvironmentsService

func NewAccountsContainersEnvironmentsService(s *Service) *AccountsContainersEnvironmentsService

func (*AccountsContainersEnvironmentsService) Create

func (r *AccountsContainersEnvironmentsService) Create(accountId string, containerId string, environment *Environment) *AccountsContainersEnvironmentsCreateCall

Create: Creates a GTM Environment.

func (*AccountsContainersEnvironmentsService) Delete

func (r *AccountsContainersEnvironmentsService) Delete(accountId string, containerId string, environmentId string) *AccountsContainersEnvironmentsDeleteCall

Delete: Deletes a GTM Environment.

func (*AccountsContainersEnvironmentsService) Get

func (r *AccountsContainersEnvironmentsService) Get(accountId string, containerId string, environmentId string) *AccountsContainersEnvironmentsGetCall

Get: Gets a GTM Environment.

func (*AccountsContainersEnvironmentsService) List

func (r *AccountsContainersEnvironmentsService) List(accountId string, containerId string) *AccountsContainersEnvironmentsListCall

List: Lists all GTM Environments of a GTM Container.

func (*AccountsContainersEnvironmentsService) Patch

func (r *AccountsContainersEnvironmentsService) Patch(accountId string, containerId string, environmentId string, environment *Environment) *AccountsContainersEnvironmentsPatchCall

Patch: Updates a GTM Environment. This method supports patch semantics.

func (*AccountsContainersEnvironmentsService) Update

func (r *AccountsContainersEnvironmentsService) Update(accountId string, containerId string, environmentId string, environment *Environment) *AccountsContainersEnvironmentsUpdateCall

Update: Updates a GTM Environment.

type AccountsContainersEnvironmentsUpdateCall

type AccountsContainersEnvironmentsUpdateCall struct {
    // contains filtered or unexported fields
}

func (*AccountsContainersEnvironmentsUpdateCall) Context

func (c *AccountsContainersEnvironmentsUpdateCall) Context(ctx context.Context) *AccountsContainersEnvironmentsUpdateCall

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 (*AccountsContainersEnvironmentsUpdateCall) Do

func (c *AccountsContainersEnvironmentsUpdateCall) Do(opts ...googleapi.CallOption) (*Environment, error)

Do executes the "tagmanager.accounts.containers.environments.update" call. Exactly one of *Environment or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Environment.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 (*AccountsContainersEnvironmentsUpdateCall) Fields

func (c *AccountsContainersEnvironmentsUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersEnvironmentsUpdateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsContainersEnvironmentsUpdateCall) Fingerprint

func (c *AccountsContainersEnvironmentsUpdateCall) Fingerprint(fingerprint string) *AccountsContainersEnvironmentsUpdateCall

Fingerprint sets the optional parameter "fingerprint": When provided, this fingerprint must match the fingerprint of the environment in storage.

func (*AccountsContainersEnvironmentsUpdateCall) Header

func (c *AccountsContainersEnvironmentsUpdateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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(opts ...googleapi.CallOption) (*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) Header

func (c *AccountsContainersFoldersCreateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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(opts ...googleapi.CallOption) 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) Header

func (c *AccountsContainersFoldersDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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(opts ...googleapi.CallOption) (*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) Header

func (c *AccountsContainersFoldersEntitiesListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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.

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(opts ...googleapi.CallOption) (*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) Header

func (c *AccountsContainersFoldersGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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.

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(opts ...googleapi.CallOption) (*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) Header

func (c *AccountsContainersFoldersListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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.

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(opts ...googleapi.CallOption) (*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) Header

func (c *AccountsContainersFoldersUpdateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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(opts ...googleapi.CallOption) (*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) Header

func (c *AccountsContainersGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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.

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(opts ...googleapi.CallOption) (*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) Header

func (c *AccountsContainersListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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.

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, folder *Folder) *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(opts ...googleapi.CallOption) 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) Header

func (c *AccountsContainersMoveFoldersUpdateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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) VariableId

func (c *AccountsContainersMoveFoldersUpdateCall) VariableId(variableId ...string) *AccountsContainersMoveFoldersUpdateCall

VariableId sets the optional parameter "variableId": The variables to be moved to the folder.

type AccountsContainersReauthorizeEnvironmentsService

type AccountsContainersReauthorizeEnvironmentsService struct {
    // contains filtered or unexported fields
}

func NewAccountsContainersReauthorizeEnvironmentsService

func NewAccountsContainersReauthorizeEnvironmentsService(s *Service) *AccountsContainersReauthorizeEnvironmentsService

func (*AccountsContainersReauthorizeEnvironmentsService) Update

func (r *AccountsContainersReauthorizeEnvironmentsService) Update(accountId string, containerId string, environmentId string, environment *Environment) *AccountsContainersReauthorizeEnvironmentsUpdateCall

Update: Re-generates the authorization code for a GTM Environment.

type AccountsContainersReauthorizeEnvironmentsUpdateCall

type AccountsContainersReauthorizeEnvironmentsUpdateCall struct {
    // contains filtered or unexported fields
}

func (*AccountsContainersReauthorizeEnvironmentsUpdateCall) Context

func (c *AccountsContainersReauthorizeEnvironmentsUpdateCall) Context(ctx context.Context) *AccountsContainersReauthorizeEnvironmentsUpdateCall

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 (*AccountsContainersReauthorizeEnvironmentsUpdateCall) Do

func (c *AccountsContainersReauthorizeEnvironmentsUpdateCall) Do(opts ...googleapi.CallOption) (*Environment, error)

Do executes the "tagmanager.accounts.containers.reauthorize_environments.update" call. Exactly one of *Environment or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Environment.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 (*AccountsContainersReauthorizeEnvironmentsUpdateCall) Fields

func (c *AccountsContainersReauthorizeEnvironmentsUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersReauthorizeEnvironmentsUpdateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsContainersReauthorizeEnvironmentsUpdateCall) Header

func (c *AccountsContainersReauthorizeEnvironmentsUpdateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type AccountsContainersService

type AccountsContainersService struct {
    Environments *AccountsContainersEnvironmentsService

    Folders *AccountsContainersFoldersService

    MoveFolders *AccountsContainersMoveFoldersService

    ReauthorizeEnvironments *AccountsContainersReauthorizeEnvironmentsService

    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(opts ...googleapi.CallOption) (*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) Header

func (c *AccountsContainersTagsCreateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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(opts ...googleapi.CallOption) 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) Header

func (c *AccountsContainersTagsDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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(opts ...googleapi.CallOption) (*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) Header

func (c *AccountsContainersTagsGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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.

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(opts ...googleapi.CallOption) (*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) Header

func (c *AccountsContainersTagsListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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.

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(opts ...googleapi.CallOption) (*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) Header

func (c *AccountsContainersTagsUpdateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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(opts ...googleapi.CallOption) (*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) Header

func (c *AccountsContainersTriggersCreateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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(opts ...googleapi.CallOption) 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) Header

func (c *AccountsContainersTriggersDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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(opts ...googleapi.CallOption) (*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) Header

func (c *AccountsContainersTriggersGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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.

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(opts ...googleapi.CallOption) (*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) Header

func (c *AccountsContainersTriggersListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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.

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(opts ...googleapi.CallOption) (*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) Header

func (c *AccountsContainersTriggersUpdateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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(opts ...googleapi.CallOption) (*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) Header

func (c *AccountsContainersUpdateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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(opts ...googleapi.CallOption) (*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) Header

func (c *AccountsContainersVariablesCreateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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(opts ...googleapi.CallOption) 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) Header

func (c *AccountsContainersVariablesDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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(opts ...googleapi.CallOption) (*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) Header

func (c *AccountsContainersVariablesGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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.

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(opts ...googleapi.CallOption) (*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) Header

func (c *AccountsContainersVariablesListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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.

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(opts ...googleapi.CallOption) (*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) Header

func (c *AccountsContainersVariablesUpdateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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(opts ...googleapi.CallOption) (*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) Header

func (c *AccountsContainersVersionsCreateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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(opts ...googleapi.CallOption) 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) Header

func (c *AccountsContainersVersionsDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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(opts ...googleapi.CallOption) (*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) Header

func (c *AccountsContainersVersionsGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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.

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(opts ...googleapi.CallOption) (*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) Header

func (c *AccountsContainersVersionsListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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.

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(opts ...googleapi.CallOption) (*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) Header

func (c *AccountsContainersVersionsPublishCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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(opts ...googleapi.CallOption) (*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) Header

func (c *AccountsContainersVersionsRestoreCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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(opts ...googleapi.CallOption) (*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) Header

func (c *AccountsContainersVersionsUndeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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(opts ...googleapi.CallOption) (*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) Header

func (c *AccountsContainersVersionsUpdateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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(opts ...googleapi.CallOption) (*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) Header

func (c *AccountsGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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.

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(opts ...googleapi.CallOption) (*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) Header

func (c *AccountsListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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.

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(opts ...googleapi.CallOption) (*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) Header

func (c *AccountsPermissionsCreateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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(opts ...googleapi.CallOption) 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) Header

func (c *AccountsPermissionsDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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(opts ...googleapi.CallOption) (*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) Header

func (c *AccountsPermissionsGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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.

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(opts ...googleapi.CallOption) (*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) Header

func (c *AccountsPermissionsListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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.

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(opts ...googleapi.CallOption) (*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) Header

func (c *AccountsPermissionsUpdateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

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(opts ...googleapi.CallOption) (*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) Header

func (c *AccountsUpdateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type Condition

Condition: Represents a predicate.

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:"-"`

    // NullFields is a list of field names (e.g. "Parameter") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*Condition) MarshalJSON

func (s *Condition) MarshalJSON() ([]byte, error)

type Container

Container: Represents a Google Tag Manager 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"
    //   "environmentName"
    //   "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:"-"`

    // NullFields is a list of field names (e.g. "AccountId") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*Container) MarshalJSON

func (s *Container) MarshalJSON() ([]byte, error)

type ContainerAccess

ContainerAccess: Defines the Google Tag Manager Container access permissions.

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:"-"`

    // NullFields is a list of field names (e.g. "ContainerId") to include
    // in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. However, any field with
    // an empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*ContainerAccess) MarshalJSON

func (s *ContainerAccess) MarshalJSON() ([]byte, error)

type ContainerVersion

ContainerVersion: Represents a Google Tag Manager Container Version.

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:"-"`

    // NullFields is a list of field names (e.g. "AccountId") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*ContainerVersion) MarshalJSON

func (s *ContainerVersion) MarshalJSON() ([]byte, error)

type ContainerVersionHeader

ContainerVersionHeader: Represents a Google Tag Manager Container Version Header.

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:"-"`

    // NullFields is a list of field names (e.g. "AccountId") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*ContainerVersionHeader) MarshalJSON

func (s *ContainerVersionHeader) MarshalJSON() ([]byte, error)

type CreateContainerVersionRequestVersionOptions

CreateContainerVersionRequestVersionOptions: Options for new container versions.

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:"-"`

    // NullFields is a list of field names (e.g. "Name") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*CreateContainerVersionRequestVersionOptions) MarshalJSON

func (s *CreateContainerVersionRequestVersionOptions) MarshalJSON() ([]byte, error)

type CreateContainerVersionResponse

CreateContainerVersionResponse: Create container versions response.

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:"-"`

    // NullFields is a list of field names (e.g. "CompilerError") to include
    // in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. However, any field with
    // an empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*CreateContainerVersionResponse) MarshalJSON

func (s *CreateContainerVersionResponse) MarshalJSON() ([]byte, error)

type Environment

Environment: Represents a Google Tag Manager Environment. Note that a user can create, delete and update environments of type USER, but can only update the enable_debug and url fields of environments of other types.

type Environment struct {
    // AccountId: GTM Account ID.
    AccountId string `json:"accountId,omitempty"`

    // AuthorizationCode: The environment authorization code.
    AuthorizationCode string `json:"authorizationCode,omitempty"`

    // AuthorizationTimestampMs: The last update time-stamp for the
    // authorization code.
    AuthorizationTimestampMs int64 `json:"authorizationTimestampMs,omitempty,string"`

    // ContainerId: GTM Container ID.
    ContainerId string `json:"containerId,omitempty"`

    ContainerVersionId string `json:"containerVersionId,omitempty"`

    // Description: The environment description. Can be set or changed only
    // on USER type environments.
    Description string `json:"description,omitempty"`

    // EnableDebug: Whether or not to enable debug by default on for the
    // environment.
    EnableDebug bool `json:"enableDebug,omitempty"`

    // EnvironmentId: GTM Environment ID uniquely identifies the GTM
    // Environment.
    EnvironmentId string `json:"environmentId,omitempty"`

    // Fingerprint: The fingerprint of the GTM environment as computed at
    // storage time. This value is recomputed whenever the environment is
    // modified.
    Fingerprint string `json:"fingerprint,omitempty"`

    // Name: The environment display name. Can be set or changed only on
    // USER type environments.
    Name string `json:"name,omitempty"`

    // Type: The type of this environment.
    //
    // Possible values:
    //   "draft"
    //   "latest"
    //   "live"
    //   "user"
    Type string `json:"type,omitempty"`

    // Url: Default preview page url for the environment.
    Url string `json:"url,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:"-"`

    // NullFields is a list of field names (e.g. "AccountId") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*Environment) MarshalJSON

func (s *Environment) MarshalJSON() ([]byte, error)

type Folder

Folder: Represents a Google Tag Manager 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:"-"`

    // NullFields is a list of field names (e.g. "AccountId") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*Folder) MarshalJSON

func (s *Folder) MarshalJSON() ([]byte, error)

type FolderEntities

FolderEntities: Represents a Google Tag Manager Folder's contents.

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:"-"`

    // NullFields is a list of field names (e.g. "Tag") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*FolderEntities) MarshalJSON

func (s *FolderEntities) MarshalJSON() ([]byte, error)

type ListAccountUsersResponse

ListAccountUsersResponse: List AccountUsers Response.

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:"-"`

    // NullFields is a list of field names (e.g. "UserAccess") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*ListAccountUsersResponse) MarshalJSON

func (s *ListAccountUsersResponse) MarshalJSON() ([]byte, error)

type ListAccountsResponse

ListAccountsResponse: List Accounts Response.

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:"-"`

    // NullFields is a list of field names (e.g. "Accounts") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*ListAccountsResponse) MarshalJSON

func (s *ListAccountsResponse) MarshalJSON() ([]byte, error)

type ListContainerVersionsResponse

ListContainerVersionsResponse: List container versions response.

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:"-"`

    // NullFields is a list of field names (e.g. "ContainerVersion") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

func (*ListContainerVersionsResponse) MarshalJSON

func (s *ListContainerVersionsResponse) MarshalJSON() ([]byte, error)

type ListContainersResponse

ListContainersResponse: List Containers Response.

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:"-"`

    // NullFields is a list of field names (e.g. "Containers") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*ListContainersResponse) MarshalJSON

func (s *ListContainersResponse) MarshalJSON() ([]byte, error)

type ListEnvironmentsResponse

ListEnvironmentsResponse: List Environments Response.

type ListEnvironmentsResponse struct {
    // Environments: All Environments of a GTM Container.
    Environments []*Environment `json:"environments,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "Environments") 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:"-"`

    // NullFields is a list of field names (e.g. "Environments") to include
    // in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. However, any field with
    // an empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*ListEnvironmentsResponse) MarshalJSON

func (s *ListEnvironmentsResponse) MarshalJSON() ([]byte, error)

type ListFoldersResponse

ListFoldersResponse: List Folders Response.

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:"-"`

    // NullFields is a list of field names (e.g. "Folders") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*ListFoldersResponse) MarshalJSON

func (s *ListFoldersResponse) MarshalJSON() ([]byte, error)

type ListTagsResponse

ListTagsResponse: List Tags Response.

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:"-"`

    // NullFields is a list of field names (e.g. "Tags") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*ListTagsResponse) MarshalJSON

func (s *ListTagsResponse) MarshalJSON() ([]byte, error)

type ListTriggersResponse

ListTriggersResponse: List triggers response.

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:"-"`

    // NullFields is a list of field names (e.g. "Triggers") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*ListTriggersResponse) MarshalJSON

func (s *ListTriggersResponse) MarshalJSON() ([]byte, error)

type ListVariablesResponse

ListVariablesResponse: List Variables Response.

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:"-"`

    // NullFields is a list of field names (e.g. "Variables") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*ListVariablesResponse) MarshalJSON

func (s *ListVariablesResponse) MarshalJSON() ([]byte, error)

type Macro

Macro: Represents a Google Tag Manager 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:"-"`

    // NullFields is a list of field names (e.g. "AccountId") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*Macro) MarshalJSON

func (s *Macro) MarshalJSON() ([]byte, error)

type Parameter

Parameter: Represents a Google Tag Manager 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:"-"`

    // NullFields is a list of field names (e.g. "Key") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*Parameter) MarshalJSON

func (s *Parameter) MarshalJSON() ([]byte, error)

type PublishContainerVersionResponse

PublishContainerVersionResponse: Publish container version response.

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:"-"`

    // NullFields is a list of field names (e.g. "CompilerError") to include
    // in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. However, any field with
    // an empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*PublishContainerVersionResponse) MarshalJSON

func (s *PublishContainerVersionResponse) MarshalJSON() ([]byte, error)

type Rule

Rule: Represents a Google Tag Manager 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:"-"`

    // NullFields is a list of field names (e.g. "AccountId") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*Rule) MarshalJSON

func (s *Rule) MarshalJSON() ([]byte, error)

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
}

func New

func New(client *http.Client) (*Service, error)

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:"-"`

    // NullFields is a list of field names (e.g. "StopOnSetupFailure") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

func (*SetupTag) MarshalJSON

func (s *SetupTag) MarshalJSON() ([]byte, error)

type Tag

Tag: Represents a Google Tag Manager 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:"-"`

    // NullFields is a list of field names (e.g. "AccountId") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*Tag) MarshalJSON

func (s *Tag) MarshalJSON() ([]byte, error)

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:"-"`

    // NullFields is a list of field names (e.g. "StopTeardownOnFailure") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

func (*TeardownTag) MarshalJSON

func (s *TeardownTag) MarshalJSON() ([]byte, error)

type Trigger

Trigger: Represents a Google Tag Manager 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:"-"`

    // NullFields is a list of field names (e.g. "AccountId") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*Trigger) MarshalJSON

func (s *Trigger) MarshalJSON() ([]byte, error)

type UserAccess

UserAccess: Represents a user's permissions to an account and its container.

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:"-"`

    // NullFields is a list of field names (e.g. "AccountAccess") to include
    // in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. However, any field with
    // an empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*UserAccess) MarshalJSON

func (s *UserAccess) MarshalJSON() ([]byte, error)

type Variable

Variable: Represents a Google Tag Manager 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:"-"`

    // NullFields is a list of field names (e.g. "AccountId") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*Variable) MarshalJSON

func (s *Variable) MarshalJSON() ([]byte, error)