Documentation ¶
Overview ¶
Package tagmanager provides access to the Tag Manager API.
For product documentation, see: https://developers.google.com/tag-manager
Library status ¶
These client libraries are officially supported by Google. However, this library is considered complete and is in maintenance mode. This means that we will address critical bugs and security issues but will not add any new features.
When possible, we recommend using our newer [Cloud Client Libraries for Go](https://pkg.go.dev/cloud.google.com/go) that are still actively being worked and iterated on.
Creating a client ¶
Usage example:
import "google.golang.org/api/tagmanager/v1" ... ctx := context.Background() tagmanagerService, err := tagmanager.NewService(ctx)
In this example, Google Application Default Credentials are used for authentication. For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
Other authentication options ¶
By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use google.golang.org/api/option.WithScopes:
tagmanagerService, err := tagmanager.NewService(ctx, option.WithScopes(tagmanager.TagmanagerReadonlyScope))
To use an API key for authentication (note: some APIs do not support API keys), use google.golang.org/api/option.WithAPIKey:
tagmanagerService, err := tagmanager.NewService(ctx, option.WithAPIKey("AIza..."))
To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow, use google.golang.org/api/option.WithTokenSource:
config := &oauth2.Config{...} // ... token, err := config.Exchange(ctx, ...) tagmanagerService, err := tagmanager.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
See google.golang.org/api/option.ClientOption for details on options.
Index ¶
- Constants
- type Account
- type AccountAccess
- 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 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) Update(accountId string, containerId string, environmentId string, ...) *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
- 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 (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
- 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
- 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 (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 (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 (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 (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 (r *AccountsContainersVersionsService) Create(accountId string, containerId string, ...) *AccountsContainersVersionsCreateCall
- func (r *AccountsContainersVersionsService) Delete(accountId string, containerId string, containerVersionId string) *AccountsContainersVersionsDeleteCall
- func (r *AccountsContainersVersionsService) Get(accountId string, containerId string, containerVersionId string) *AccountsContainersVersionsGetCall
- func (r *AccountsContainersVersionsService) List(accountId string, containerId string) *AccountsContainersVersionsListCall
- func (r *AccountsContainersVersionsService) Publish(accountId string, containerId string, containerVersionId string) *AccountsContainersVersionsPublishCall
- func (r *AccountsContainersVersionsService) Restore(accountId string, containerId string, containerVersionId string) *AccountsContainersVersionsRestoreCall
- func (r *AccountsContainersVersionsService) Undelete(accountId string, containerId string, containerVersionId string) *AccountsContainersVersionsUndeleteCall
- func (r *AccountsContainersVersionsService) Update(accountId string, containerId string, containerVersionId string, ...) *AccountsContainersVersionsUpdateCall
- type AccountsContainersVersionsUndeleteCall
- func (c *AccountsContainersVersionsUndeleteCall) Context(ctx context.Context) *AccountsContainersVersionsUndeleteCall
- func (c *AccountsContainersVersionsUndeleteCall) Do(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 (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
- 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
- type Container
- type ContainerAccess
- type ContainerVersion
- type ContainerVersionHeader
- type CreateContainerVersionRequestVersionOptions
- type CreateContainerVersionResponse
- type Environment
- type Folder
- type FolderEntities
- type ListAccountUsersResponse
- type ListAccountsResponse
- type ListContainerVersionsResponse
- type ListContainersResponse
- type ListEnvironmentsResponse
- type ListFoldersResponse
- type ListTagsResponse
- type ListTriggersResponse
- type ListVariablesResponse
- type Macro
- type Parameter
- type PublishContainerVersionResponse
- type Rule
- type Service
- type SetupTag
- type Tag
- type TeardownTag
- type Trigger
- type UserAccess
- type Variable
Constants ¶
const ( // Delete your Google Tag Manager containers TagmanagerDeleteContainersScope = "https://www.googleapis.com/auth/tagmanager.delete.containers" // Manage your Google Tag Manager 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" )
OAuth2 scopes used by this API.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { // AccountId: The Account ID uniquely identifies the GTM Account. AccountId string `json:"accountId,omitempty"` // Fingerprint: The fingerprint of the GTM Account as computed at storage time. // This value is recomputed whenever the account is modified. Fingerprint string `json:"fingerprint,omitempty"` // Name: Account display name. @mutable tagmanager.accounts.create @mutable // tagmanager.accounts.update Name string `json:"name,omitempty"` // others. @mutable tagmanager.accounts.create @mutable // tagmanager.accounts.update 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 or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
Account: Represents a Google Tag Manager Account.
func (Account) MarshalJSON ¶
type AccountAccess ¶
type AccountAccess struct { // Permission: List of Account permissions. Valid account permissions are read // and manage. @mutable tagmanager.accounts.permissions.create @mutable // tagmanager.accounts.permissions.update // // Possible values: // "read" // "edit" // "publish" // "delete" // "manage" // "editWorkspace" 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 or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
AccountAccess: Defines the Google Tag Manager Account access permissions.
func (AccountAccess) MarshalJSON ¶
func (s AccountAccess) MarshalJSON() ([]byte, error)
type AccountsContainersCreateCall ¶
type AccountsContainersCreateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersCreateCall) Context ¶
func (c *AccountsContainersCreateCall) Context(ctx context.Context) *AccountsContainersCreateCall
Context sets the context to be used in this call's Do method.
func (*AccountsContainersCreateCall) Do ¶
func (c *AccountsContainersCreateCall) Do(opts ...googleapi.CallOption) (*Container, error)
Do executes the "tagmanager.accounts.containers.create" call. 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 details.
func (*AccountsContainersCreateCall) Header ¶
func (c *AccountsContainersCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add 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.
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 details.
func (*AccountsContainersDeleteCall) Header ¶
func (c *AccountsContainersDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add 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.
func (*AccountsContainersEnvironmentsCreateCall) Do ¶
func (c *AccountsContainersEnvironmentsCreateCall) Do(opts ...googleapi.CallOption) (*Environment, error)
Do executes the "tagmanager.accounts.containers.environments.create" call. 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 details.
func (*AccountsContainersEnvironmentsCreateCall) Header ¶
func (c *AccountsContainersEnvironmentsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add 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.
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 details.
func (*AccountsContainersEnvironmentsDeleteCall) Header ¶
func (c *AccountsContainersEnvironmentsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add 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.
func (*AccountsContainersEnvironmentsGetCall) Do ¶
func (c *AccountsContainersEnvironmentsGetCall) Do(opts ...googleapi.CallOption) (*Environment, error)
Do executes the "tagmanager.accounts.containers.environments.get" call. 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 details.
func (*AccountsContainersEnvironmentsGetCall) Header ¶
func (c *AccountsContainersEnvironmentsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*AccountsContainersEnvironmentsGetCall) IfNoneMatch ¶
func (c *AccountsContainersEnvironmentsGetCall) IfNoneMatch(entityTag string) *AccountsContainersEnvironmentsGetCall
IfNoneMatch sets an 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.
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.
func (*AccountsContainersEnvironmentsListCall) Do ¶
func (c *AccountsContainersEnvironmentsListCall) Do(opts ...googleapi.CallOption) (*ListEnvironmentsResponse, error)
Do executes the "tagmanager.accounts.containers.environments.list" call. 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 details.
func (*AccountsContainersEnvironmentsListCall) Header ¶
func (c *AccountsContainersEnvironmentsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*AccountsContainersEnvironmentsListCall) IfNoneMatch ¶
func (c *AccountsContainersEnvironmentsListCall) IfNoneMatch(entityTag string) *AccountsContainersEnvironmentsListCall
IfNoneMatch sets an 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.
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.
- accountId: The GTM Account ID. - containerId: The GTM Container ID.
func (*AccountsContainersEnvironmentsService) Delete ¶
func (r *AccountsContainersEnvironmentsService) Delete(accountId string, containerId string, environmentId string) *AccountsContainersEnvironmentsDeleteCall
Delete: Deletes a GTM Environment.
- accountId: The GTM Account ID. - containerId: The GTM Container ID. - environmentId: The GTM Environment ID.
func (*AccountsContainersEnvironmentsService) Get ¶
func (r *AccountsContainersEnvironmentsService) Get(accountId string, containerId string, environmentId string) *AccountsContainersEnvironmentsGetCall
Get: Gets a GTM Environment.
- accountId: The GTM Account ID. - containerId: The GTM Container ID. - environmentId: The GTM Environment ID.
func (*AccountsContainersEnvironmentsService) List ¶
func (r *AccountsContainersEnvironmentsService) List(accountId string, containerId string) *AccountsContainersEnvironmentsListCall
List: Lists all GTM Environments of a GTM Container.
- accountId: The GTM Account ID. - containerId: The GTM Container ID.
func (*AccountsContainersEnvironmentsService) Update ¶
func (r *AccountsContainersEnvironmentsService) Update(accountId string, containerId string, environmentId string, environment *Environment) *AccountsContainersEnvironmentsUpdateCall
Update: Updates a GTM Environment.
- accountId: The GTM Account ID. - containerId: The GTM Container ID. - environmentId: The GTM Environment ID.
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.
func (*AccountsContainersEnvironmentsUpdateCall) Do ¶
func (c *AccountsContainersEnvironmentsUpdateCall) Do(opts ...googleapi.CallOption) (*Environment, error)
Do executes the "tagmanager.accounts.containers.environments.update" call. 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 details.
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 a http.Header that can be modified by the caller to add 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.
func (*AccountsContainersFoldersCreateCall) Do ¶
func (c *AccountsContainersFoldersCreateCall) Do(opts ...googleapi.CallOption) (*Folder, error)
Do executes the "tagmanager.accounts.containers.folders.create" call. 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 details.
func (*AccountsContainersFoldersCreateCall) Header ¶
func (c *AccountsContainersFoldersCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add 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.
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 details.
func (*AccountsContainersFoldersDeleteCall) Header ¶
func (c *AccountsContainersFoldersDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add 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.
func (*AccountsContainersFoldersEntitiesListCall) Do ¶
func (c *AccountsContainersFoldersEntitiesListCall) Do(opts ...googleapi.CallOption) (*FolderEntities, error)
Do executes the "tagmanager.accounts.containers.folders.entities.list" call. 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 details.
func (*AccountsContainersFoldersEntitiesListCall) Header ¶
func (c *AccountsContainersFoldersEntitiesListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*AccountsContainersFoldersEntitiesListCall) IfNoneMatch ¶
func (c *AccountsContainersFoldersEntitiesListCall) IfNoneMatch(entityTag string) *AccountsContainersFoldersEntitiesListCall
IfNoneMatch sets an 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.
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.
- accountId: The GTM Account ID. - containerId: The GTM Container ID. - folderId: The GTM Folder ID.
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.
func (*AccountsContainersFoldersGetCall) Do ¶
func (c *AccountsContainersFoldersGetCall) Do(opts ...googleapi.CallOption) (*Folder, error)
Do executes the "tagmanager.accounts.containers.folders.get" call. 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 details.
func (*AccountsContainersFoldersGetCall) Header ¶
func (c *AccountsContainersFoldersGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*AccountsContainersFoldersGetCall) IfNoneMatch ¶
func (c *AccountsContainersFoldersGetCall) IfNoneMatch(entityTag string) *AccountsContainersFoldersGetCall
IfNoneMatch sets an 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.
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.
func (*AccountsContainersFoldersListCall) Do ¶
func (c *AccountsContainersFoldersListCall) Do(opts ...googleapi.CallOption) (*ListFoldersResponse, error)
Do executes the "tagmanager.accounts.containers.folders.list" call. 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 details.
func (*AccountsContainersFoldersListCall) Header ¶
func (c *AccountsContainersFoldersListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*AccountsContainersFoldersListCall) IfNoneMatch ¶
func (c *AccountsContainersFoldersListCall) IfNoneMatch(entityTag string) *AccountsContainersFoldersListCall
IfNoneMatch sets an 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.
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.
- accountId: The GTM Account ID. - containerId: The GTM Container ID.
func (*AccountsContainersFoldersService) Delete ¶
func (r *AccountsContainersFoldersService) Delete(accountId string, containerId string, folderId string) *AccountsContainersFoldersDeleteCall
Delete: Deletes a GTM Folder.
- accountId: The GTM Account ID. - containerId: The GTM Container ID. - folderId: The GTM Folder ID.
func (*AccountsContainersFoldersService) Get ¶
func (r *AccountsContainersFoldersService) Get(accountId string, containerId string, folderId string) *AccountsContainersFoldersGetCall
Get: Gets a GTM Folder.
- accountId: The GTM Account ID. - containerId: The GTM Container ID. - folderId: The GTM Folder ID.
func (*AccountsContainersFoldersService) List ¶
func (r *AccountsContainersFoldersService) List(accountId string, containerId string) *AccountsContainersFoldersListCall
List: Lists all GTM Folders of a Container.
- accountId: The GTM Account ID. - containerId: The GTM Container ID.
func (*AccountsContainersFoldersService) Update ¶
func (r *AccountsContainersFoldersService) Update(accountId string, containerId string, folderId string, folder *Folder) *AccountsContainersFoldersUpdateCall
Update: Updates a GTM Folder.
- accountId: The GTM Account ID. - containerId: The GTM Container ID. - folderId: The GTM Folder ID.
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.
func (*AccountsContainersFoldersUpdateCall) Do ¶
func (c *AccountsContainersFoldersUpdateCall) Do(opts ...googleapi.CallOption) (*Folder, error)
Do executes the "tagmanager.accounts.containers.folders.update" call. 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 details.
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 a http.Header that can be modified by the caller to add 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.
func (*AccountsContainersGetCall) Do ¶
func (c *AccountsContainersGetCall) Do(opts ...googleapi.CallOption) (*Container, error)
Do executes the "tagmanager.accounts.containers.get" call. 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 details.
func (*AccountsContainersGetCall) Header ¶
func (c *AccountsContainersGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*AccountsContainersGetCall) IfNoneMatch ¶
func (c *AccountsContainersGetCall) IfNoneMatch(entityTag string) *AccountsContainersGetCall
IfNoneMatch sets an 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.
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.
func (*AccountsContainersListCall) Do ¶
func (c *AccountsContainersListCall) Do(opts ...googleapi.CallOption) (*ListContainersResponse, error)
Do executes the "tagmanager.accounts.containers.list" call. 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 details.
func (*AccountsContainersListCall) Header ¶
func (c *AccountsContainersListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*AccountsContainersListCall) IfNoneMatch ¶
func (c *AccountsContainersListCall) IfNoneMatch(entityTag string) *AccountsContainersListCall
IfNoneMatch sets an 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.
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.
- accountId: The GTM Account ID. - containerId: The GTM Container ID. - folderId: The GTM Folder ID.
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.
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 details.
func (*AccountsContainersMoveFoldersUpdateCall) Header ¶
func (c *AccountsContainersMoveFoldersUpdateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add 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.
- accountId: The GTM Account ID. - containerId: The GTM Container ID. - environmentId: The GTM Environment ID.
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.
func (*AccountsContainersReauthorizeEnvironmentsUpdateCall) Do ¶
func (c *AccountsContainersReauthorizeEnvironmentsUpdateCall) Do(opts ...googleapi.CallOption) (*Environment, error)
Do executes the "tagmanager.accounts.containers.reauthorize_environments.update" call. 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 details.
func (*AccountsContainersReauthorizeEnvironmentsUpdateCall) Header ¶
func (c *AccountsContainersReauthorizeEnvironmentsUpdateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type AccountsContainersService ¶
type AccountsContainersService struct { Environments *AccountsContainersEnvironmentsService Folders *AccountsContainersFoldersService MoveFolders *AccountsContainersMoveFoldersService Tags *AccountsContainersTagsService Triggers *AccountsContainersTriggersService Variables *AccountsContainersVariablesService Versions *AccountsContainersVersionsService // contains filtered or unexported fields }
func NewAccountsContainersService ¶
func NewAccountsContainersService(s *Service) *AccountsContainersService
func (*AccountsContainersService) Create ¶
func (r *AccountsContainersService) Create(accountId string, container *Container) *AccountsContainersCreateCall
Create: Creates a Container.
- accountId: The GTM Account ID.
func (*AccountsContainersService) Delete ¶
func (r *AccountsContainersService) Delete(accountId string, containerId string) *AccountsContainersDeleteCall
Delete: Deletes a Container.
- accountId: The GTM Account ID. - containerId: The GTM Container ID.
func (*AccountsContainersService) Get ¶
func (r *AccountsContainersService) Get(accountId string, containerId string) *AccountsContainersGetCall
Get: Gets a Container.
- accountId: The GTM Account ID. - containerId: The GTM Container ID.
func (*AccountsContainersService) List ¶
func (r *AccountsContainersService) List(accountId string) *AccountsContainersListCall
List: Lists all Containers that belongs to a GTM Account.
- accountId: The GTM Account ID.
func (*AccountsContainersService) Update ¶
func (r *AccountsContainersService) Update(accountId string, containerId string, container *Container) *AccountsContainersUpdateCall
Update: Updates a Container.
- accountId: The GTM Account ID. - containerId: The GTM Container ID.
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.
func (*AccountsContainersTagsCreateCall) Do ¶
func (c *AccountsContainersTagsCreateCall) Do(opts ...googleapi.CallOption) (*Tag, error)
Do executes the "tagmanager.accounts.containers.tags.create" call. 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 details.
func (*AccountsContainersTagsCreateCall) Header ¶
func (c *AccountsContainersTagsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add 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.
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 details.
func (*AccountsContainersTagsDeleteCall) Header ¶
func (c *AccountsContainersTagsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add 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.
func (*AccountsContainersTagsGetCall) Do ¶
func (c *AccountsContainersTagsGetCall) Do(opts ...googleapi.CallOption) (*Tag, error)
Do executes the "tagmanager.accounts.containers.tags.get" call. 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 details.
func (*AccountsContainersTagsGetCall) Header ¶
func (c *AccountsContainersTagsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*AccountsContainersTagsGetCall) IfNoneMatch ¶
func (c *AccountsContainersTagsGetCall) IfNoneMatch(entityTag string) *AccountsContainersTagsGetCall
IfNoneMatch sets an 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.
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.
func (*AccountsContainersTagsListCall) Do ¶
func (c *AccountsContainersTagsListCall) Do(opts ...googleapi.CallOption) (*ListTagsResponse, error)
Do executes the "tagmanager.accounts.containers.tags.list" call. 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 details.
func (*AccountsContainersTagsListCall) Header ¶
func (c *AccountsContainersTagsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*AccountsContainersTagsListCall) IfNoneMatch ¶
func (c *AccountsContainersTagsListCall) IfNoneMatch(entityTag string) *AccountsContainersTagsListCall
IfNoneMatch sets an 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.
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.
- accountId: The GTM Account ID. - containerId: The GTM Container ID.
func (*AccountsContainersTagsService) Delete ¶
func (r *AccountsContainersTagsService) Delete(accountId string, containerId string, tagId string) *AccountsContainersTagsDeleteCall
Delete: Deletes a GTM Tag.
- accountId: The GTM Account ID. - containerId: The GTM Container ID. - tagId: The GTM Tag ID.
func (*AccountsContainersTagsService) Get ¶
func (r *AccountsContainersTagsService) Get(accountId string, containerId string, tagId string) *AccountsContainersTagsGetCall
Get: Gets a GTM Tag.
- accountId: The GTM Account ID. - containerId: The GTM Container ID. - tagId: The GTM Tag ID.
func (*AccountsContainersTagsService) List ¶
func (r *AccountsContainersTagsService) List(accountId string, containerId string) *AccountsContainersTagsListCall
List: Lists all GTM Tags of a Container.
- accountId: The GTM Account ID. - containerId: The GTM Container ID.
func (*AccountsContainersTagsService) Update ¶
func (r *AccountsContainersTagsService) Update(accountId string, containerId string, tagId string, tag *Tag) *AccountsContainersTagsUpdateCall
Update: Updates a GTM Tag.
- accountId: The GTM Account ID. - containerId: The GTM Container ID. - tagId: The GTM Tag ID.
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.
func (*AccountsContainersTagsUpdateCall) Do ¶
func (c *AccountsContainersTagsUpdateCall) Do(opts ...googleapi.CallOption) (*Tag, error)
Do executes the "tagmanager.accounts.containers.tags.update" call. 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 details.
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 a http.Header that can be modified by the caller to add 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.
func (*AccountsContainersTriggersCreateCall) Do ¶
func (c *AccountsContainersTriggersCreateCall) Do(opts ...googleapi.CallOption) (*Trigger, error)
Do executes the "tagmanager.accounts.containers.triggers.create" call. 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 details.
func (*AccountsContainersTriggersCreateCall) Header ¶
func (c *AccountsContainersTriggersCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add 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.
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 details.
func (*AccountsContainersTriggersDeleteCall) Header ¶
func (c *AccountsContainersTriggersDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add 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.
func (*AccountsContainersTriggersGetCall) Do ¶
func (c *AccountsContainersTriggersGetCall) Do(opts ...googleapi.CallOption) (*Trigger, error)
Do executes the "tagmanager.accounts.containers.triggers.get" call. 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 details.
func (*AccountsContainersTriggersGetCall) Header ¶
func (c *AccountsContainersTriggersGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*AccountsContainersTriggersGetCall) IfNoneMatch ¶
func (c *AccountsContainersTriggersGetCall) IfNoneMatch(entityTag string) *AccountsContainersTriggersGetCall
IfNoneMatch sets an 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.
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.
func (*AccountsContainersTriggersListCall) Do ¶
func (c *AccountsContainersTriggersListCall) Do(opts ...googleapi.CallOption) (*ListTriggersResponse, error)
Do executes the "tagmanager.accounts.containers.triggers.list" call. 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 details.
func (*AccountsContainersTriggersListCall) Header ¶
func (c *AccountsContainersTriggersListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*AccountsContainersTriggersListCall) IfNoneMatch ¶
func (c *AccountsContainersTriggersListCall) IfNoneMatch(entityTag string) *AccountsContainersTriggersListCall
IfNoneMatch sets an 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.
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.
- accountId: The GTM Account ID. - containerId: The GTM Container ID.
func (*AccountsContainersTriggersService) Delete ¶
func (r *AccountsContainersTriggersService) Delete(accountId string, containerId string, triggerId string) *AccountsContainersTriggersDeleteCall
Delete: Deletes a GTM Trigger.
- accountId: The GTM Account ID. - containerId: The GTM Container ID. - triggerId: The GTM Trigger ID.
func (*AccountsContainersTriggersService) Get ¶
func (r *AccountsContainersTriggersService) Get(accountId string, containerId string, triggerId string) *AccountsContainersTriggersGetCall
Get: Gets a GTM Trigger.
- accountId: The GTM Account ID. - containerId: The GTM Container ID. - triggerId: The GTM Trigger ID.
func (*AccountsContainersTriggersService) List ¶
func (r *AccountsContainersTriggersService) List(accountId string, containerId string) *AccountsContainersTriggersListCall
List: Lists all GTM Triggers of a Container.
- accountId: The GTM Account ID. - containerId: The GTM Container ID.
func (*AccountsContainersTriggersService) Update ¶
func (r *AccountsContainersTriggersService) Update(accountId string, containerId string, triggerId string, trigger *Trigger) *AccountsContainersTriggersUpdateCall
Update: Updates a GTM Trigger.
- accountId: The GTM Account ID. - containerId: The GTM Container ID. - triggerId: The GTM Trigger ID.
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.
func (*AccountsContainersTriggersUpdateCall) Do ¶
func (c *AccountsContainersTriggersUpdateCall) Do(opts ...googleapi.CallOption) (*Trigger, error)
Do executes the "tagmanager.accounts.containers.triggers.update" call. 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 details.
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 a http.Header that can be modified by the caller to add 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.
func (*AccountsContainersUpdateCall) Do ¶
func (c *AccountsContainersUpdateCall) Do(opts ...googleapi.CallOption) (*Container, error)
Do executes the "tagmanager.accounts.containers.update" call. 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 details.
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 a http.Header that can be modified by the caller to add 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.
func (*AccountsContainersVariablesCreateCall) Do ¶
func (c *AccountsContainersVariablesCreateCall) Do(opts ...googleapi.CallOption) (*Variable, error)
Do executes the "tagmanager.accounts.containers.variables.create" call. 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 details.
func (*AccountsContainersVariablesCreateCall) Header ¶
func (c *AccountsContainersVariablesCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add 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.
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 details.
func (*AccountsContainersVariablesDeleteCall) Header ¶
func (c *AccountsContainersVariablesDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add 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.
func (*AccountsContainersVariablesGetCall) Do ¶
func (c *AccountsContainersVariablesGetCall) Do(opts ...googleapi.CallOption) (*Variable, error)
Do executes the "tagmanager.accounts.containers.variables.get" call. 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 details.
func (*AccountsContainersVariablesGetCall) Header ¶
func (c *AccountsContainersVariablesGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*AccountsContainersVariablesGetCall) IfNoneMatch ¶
func (c *AccountsContainersVariablesGetCall) IfNoneMatch(entityTag string) *AccountsContainersVariablesGetCall
IfNoneMatch sets an 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.
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.
func (*AccountsContainersVariablesListCall) Do ¶
func (c *AccountsContainersVariablesListCall) Do(opts ...googleapi.CallOption) (*ListVariablesResponse, error)
Do executes the "tagmanager.accounts.containers.variables.list" call. 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 details.
func (*AccountsContainersVariablesListCall) Header ¶
func (c *AccountsContainersVariablesListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*AccountsContainersVariablesListCall) IfNoneMatch ¶
func (c *AccountsContainersVariablesListCall) IfNoneMatch(entityTag string) *AccountsContainersVariablesListCall
IfNoneMatch sets an 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.
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.
- accountId: The GTM Account ID. - containerId: The GTM Container ID.
func (*AccountsContainersVariablesService) Delete ¶
func (r *AccountsContainersVariablesService) Delete(accountId string, containerId string, variableId string) *AccountsContainersVariablesDeleteCall
Delete: Deletes a GTM Variable.
- accountId: The GTM Account ID. - containerId: The GTM Container ID. - variableId: The GTM Variable ID.
func (*AccountsContainersVariablesService) Get ¶
func (r *AccountsContainersVariablesService) Get(accountId string, containerId string, variableId string) *AccountsContainersVariablesGetCall
Get: Gets a GTM Variable.
- accountId: The GTM Account ID. - containerId: The GTM Container ID. - variableId: The GTM Variable ID.
func (*AccountsContainersVariablesService) List ¶
func (r *AccountsContainersVariablesService) List(accountId string, containerId string) *AccountsContainersVariablesListCall
List: Lists all GTM Variables of a Container.
- accountId: The GTM Account ID. - containerId: The GTM Container ID.
func (*AccountsContainersVariablesService) Update ¶
func (r *AccountsContainersVariablesService) Update(accountId string, containerId string, variableId string, variable *Variable) *AccountsContainersVariablesUpdateCall
Update: Updates a GTM Variable.
- accountId: The GTM Account ID. - containerId: The GTM Container ID. - variableId: The GTM Variable ID.
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.
func (*AccountsContainersVariablesUpdateCall) Do ¶
func (c *AccountsContainersVariablesUpdateCall) Do(opts ...googleapi.CallOption) (*Variable, error)
Do executes the "tagmanager.accounts.containers.variables.update" call. 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 details.
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 a http.Header that can be modified by the caller to add 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.
func (*AccountsContainersVersionsCreateCall) Do ¶
func (c *AccountsContainersVersionsCreateCall) Do(opts ...googleapi.CallOption) (*CreateContainerVersionResponse, error)
Do executes the "tagmanager.accounts.containers.versions.create" call. 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 details.
func (*AccountsContainersVersionsCreateCall) Header ¶
func (c *AccountsContainersVersionsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add 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.
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 details.
func (*AccountsContainersVersionsDeleteCall) Header ¶
func (c *AccountsContainersVersionsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add 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.
func (*AccountsContainersVersionsGetCall) Do ¶
func (c *AccountsContainersVersionsGetCall) Do(opts ...googleapi.CallOption) (*ContainerVersion, error)
Do executes the "tagmanager.accounts.containers.versions.get" call. 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 details.
func (*AccountsContainersVersionsGetCall) Header ¶
func (c *AccountsContainersVersionsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*AccountsContainersVersionsGetCall) IfNoneMatch ¶
func (c *AccountsContainersVersionsGetCall) IfNoneMatch(entityTag string) *AccountsContainersVersionsGetCall
IfNoneMatch sets an 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.
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.
func (*AccountsContainersVersionsListCall) Do ¶
func (c *AccountsContainersVersionsListCall) Do(opts ...googleapi.CallOption) (*ListContainerVersionsResponse, error)
Do executes the "tagmanager.accounts.containers.versions.list" call. 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 details.
func (*AccountsContainersVersionsListCall) Header ¶
func (c *AccountsContainersVersionsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add 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 an 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.
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.
func (*AccountsContainersVersionsPublishCall) Do ¶
func (c *AccountsContainersVersionsPublishCall) Do(opts ...googleapi.CallOption) (*PublishContainerVersionResponse, error)
Do executes the "tagmanager.accounts.containers.versions.publish" call. 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 details.
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 a http.Header that can be modified by the caller to add 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.
func (*AccountsContainersVersionsRestoreCall) Do ¶
func (c *AccountsContainersVersionsRestoreCall) Do(opts ...googleapi.CallOption) (*ContainerVersion, error)
Do executes the "tagmanager.accounts.containers.versions.restore" call. 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 details.
func (*AccountsContainersVersionsRestoreCall) Header ¶
func (c *AccountsContainersVersionsRestoreCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add 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.
- accountId: The GTM Account ID. - containerId: The GTM Container ID.
func (*AccountsContainersVersionsService) Delete ¶
func (r *AccountsContainersVersionsService) Delete(accountId string, containerId string, containerVersionId string) *AccountsContainersVersionsDeleteCall
Delete: Deletes a Container Version.
- accountId: The GTM Account ID. - containerId: The GTM Container ID. - containerVersionId: The GTM Container Version ID.
func (*AccountsContainersVersionsService) Get ¶
func (r *AccountsContainersVersionsService) Get(accountId string, containerId string, containerVersionId string) *AccountsContainersVersionsGetCall
Get: Gets a Container Version.
- accountId: The GTM Account ID.
- containerId: The GTM Container ID.
- containerVersionId: The GTM Container Version ID. Specify published to retrieve the currently published version.
func (*AccountsContainersVersionsService) List ¶
func (r *AccountsContainersVersionsService) List(accountId string, containerId string) *AccountsContainersVersionsListCall
List: Lists all Container Versions of a GTM Container.
- accountId: The GTM Account ID. - containerId: The GTM Container ID.
func (*AccountsContainersVersionsService) Publish ¶
func (r *AccountsContainersVersionsService) Publish(accountId string, containerId string, containerVersionId string) *AccountsContainersVersionsPublishCall
Publish: Publishes a Container Version.
- accountId: The GTM Account ID. - containerId: The GTM Container ID. - containerVersionId: The GTM Container Version ID.
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).
- accountId: The GTM Account ID. - containerId: The GTM Container ID. - containerVersionId: The GTM Container Version ID.
func (*AccountsContainersVersionsService) Undelete ¶
func (r *AccountsContainersVersionsService) Undelete(accountId string, containerId string, containerVersionId string) *AccountsContainersVersionsUndeleteCall
Undelete: Undeletes a Container Version.
- accountId: The GTM Account ID. - containerId: The GTM Container ID. - containerVersionId: The GTM Container Version ID.
func (*AccountsContainersVersionsService) Update ¶
func (r *AccountsContainersVersionsService) Update(accountId string, containerId string, containerVersionId string, containerversion *ContainerVersion) *AccountsContainersVersionsUpdateCall
Update: Updates a Container Version.
- accountId: The GTM Account ID. - containerId: The GTM Container ID. - containerVersionId: The GTM Container Version ID.
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.
func (*AccountsContainersVersionsUndeleteCall) Do ¶
func (c *AccountsContainersVersionsUndeleteCall) Do(opts ...googleapi.CallOption) (*ContainerVersion, error)
Do executes the "tagmanager.accounts.containers.versions.undelete" call. 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 details.
func (*AccountsContainersVersionsUndeleteCall) Header ¶
func (c *AccountsContainersVersionsUndeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add 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.
func (*AccountsContainersVersionsUpdateCall) Do ¶
func (c *AccountsContainersVersionsUpdateCall) Do(opts ...googleapi.CallOption) (*ContainerVersion, error)
Do executes the "tagmanager.accounts.containers.versions.update" call. 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 details.
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 a http.Header that can be modified by the caller to add 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.
func (*AccountsGetCall) Do ¶
func (c *AccountsGetCall) Do(opts ...googleapi.CallOption) (*Account, error)
Do executes the "tagmanager.accounts.get" call. 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 details.
func (*AccountsGetCall) Header ¶
func (c *AccountsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*AccountsGetCall) IfNoneMatch ¶
func (c *AccountsGetCall) IfNoneMatch(entityTag string) *AccountsGetCall
IfNoneMatch sets an 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.
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.
func (*AccountsListCall) Do ¶
func (c *AccountsListCall) Do(opts ...googleapi.CallOption) (*ListAccountsResponse, error)
Do executes the "tagmanager.accounts.list" call. 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 details.
func (*AccountsListCall) Header ¶
func (c *AccountsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*AccountsListCall) IfNoneMatch ¶
func (c *AccountsListCall) IfNoneMatch(entityTag string) *AccountsListCall
IfNoneMatch sets an 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.
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.
func (*AccountsPermissionsCreateCall) Do ¶
func (c *AccountsPermissionsCreateCall) Do(opts ...googleapi.CallOption) (*UserAccess, error)
Do executes the "tagmanager.accounts.permissions.create" call. 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 details.
func (*AccountsPermissionsCreateCall) Header ¶
func (c *AccountsPermissionsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add 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.
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 details.
func (*AccountsPermissionsDeleteCall) Header ¶
func (c *AccountsPermissionsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add 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.
func (*AccountsPermissionsGetCall) Do ¶
func (c *AccountsPermissionsGetCall) Do(opts ...googleapi.CallOption) (*UserAccess, error)
Do executes the "tagmanager.accounts.permissions.get" call. 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 details.
func (*AccountsPermissionsGetCall) Header ¶
func (c *AccountsPermissionsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*AccountsPermissionsGetCall) IfNoneMatch ¶
func (c *AccountsPermissionsGetCall) IfNoneMatch(entityTag string) *AccountsPermissionsGetCall
IfNoneMatch sets an 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.
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.
func (*AccountsPermissionsListCall) Do ¶
func (c *AccountsPermissionsListCall) Do(opts ...googleapi.CallOption) (*ListAccountUsersResponse, error)
Do executes the "tagmanager.accounts.permissions.list" call. 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 details.
func (*AccountsPermissionsListCall) Header ¶
func (c *AccountsPermissionsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*AccountsPermissionsListCall) IfNoneMatch ¶
func (c *AccountsPermissionsListCall) IfNoneMatch(entityTag string) *AccountsPermissionsListCall
IfNoneMatch sets an 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.
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.
- accountId: The GTM Account ID.
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.
- accountId: The GTM Account ID. - permissionId: The GTM User ID.
func (*AccountsPermissionsService) Get ¶
func (r *AccountsPermissionsService) Get(accountId string, permissionId string) *AccountsPermissionsGetCall
Get: Gets a user's Account & Container Permissions.
- accountId: The GTM Account ID. - permissionId: The GTM User ID.
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.
- accountId: The GTM Account ID.
func (*AccountsPermissionsService) Update ¶
func (r *AccountsPermissionsService) Update(accountId string, permissionId string, useraccess *UserAccess) *AccountsPermissionsUpdateCall
Update: Updates a user's Account & Container Permissions.
- accountId: The GTM Account ID. - permissionId: The GTM User ID.
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.
func (*AccountsPermissionsUpdateCall) Do ¶
func (c *AccountsPermissionsUpdateCall) Do(opts ...googleapi.CallOption) (*UserAccess, error)
Do executes the "tagmanager.accounts.permissions.update" call. 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 details.
func (*AccountsPermissionsUpdateCall) Header ¶
func (c *AccountsPermissionsUpdateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add 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.
- accountId: The GTM Account ID.
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.
- accountId: The GTM Account ID.
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.
func (*AccountsUpdateCall) Do ¶
func (c *AccountsUpdateCall) Do(opts ...googleapi.CallOption) (*Account, error)
Do executes the "tagmanager.accounts.update" call. 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 details.
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 a http.Header that can be modified by the caller to add headers to the request.
type Condition ¶
type Condition struct { // Parameter: A list of named parameters (key/value), depending on the // condition's type. Notes: - For binary operators, include parameters named // arg0 and arg1 for specifying the left and right operands, respectively. - At // this time, the left operand (arg0) must be a reference to a variable. - For // case-insensitive Regex matching, include a boolean parameter named // ignore_case that is set to true. If not specified or set to any other value, // the matching will be case sensitive. - To negate an operator, include a // boolean parameter named negate boolean parameter that is set to true. // @mutable tagmanager.accounts.containers.triggers.create @mutable // tagmanager.accounts.containers.triggers.update Parameter []*Parameter `json:"parameter,omitempty"` // Type: The type of operator for this condition. @mutable // tagmanager.accounts.containers.triggers.create @mutable // tagmanager.accounts.containers.triggers.update // // Possible values: // "equals" // "contains" // "startsWith" // "endsWith" // "matchRegex" // "greater" // "greaterOrEquals" // "less" // "lessOrEquals" // "cssSelector" // "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 or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
Condition: Represents a predicate.
func (Condition) MarshalJSON ¶
type Container ¶
type Container struct { // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // ContainerId: The Container ID uniquely identifies the GTM Container. ContainerId string `json:"containerId,omitempty"` // DomainName: Optional list of domain names associated with the Container. // @mutable tagmanager.accounts.containers.create @mutable // tagmanager.accounts.containers.update 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. @mutable tagmanager.accounts.containers.create @mutable // tagmanager.accounts.containers.update // // Possible values: // "pageUrl" // "pageHostname" // "pagePath" // "referrer" // "event" - For web or mobile. // "clickElement" // "clickClasses" // "clickId" // "clickTarget" // "clickUrl" // "clickText" // "firstPartyServingUrl" // "formElement" // "formClasses" // "formId" // "formTarget" // "formUrl" // "formText" // "environmentName" // "errorMessage" // "errorUrl" // "errorLine" // "newHistoryUrl" // "oldHistoryUrl" // "newHistoryFragment" // "oldHistoryFragment" // "newHistoryState" // "oldHistoryState" // "historySource" // "containerVersion" - For web or mobile. // "debugMode" // "randomNumber" - For web or mobile. // "containerId" - For web or mobile. // "appId" // "appName" // "appVersionCode" // "appVersionName" // "language" // "osVersion" // "platform" // "sdkVersion" // "deviceName" // "resolution" // "advertiserId" // "advertisingTrackingEnabled" // "htmlId" // "ampBrowserLanguage" // "ampCanonicalPath" // "ampCanonicalUrl" // "ampCanonicalHost" // "ampReferrer" // "ampTitle" // "ampClientId" // "ampClientTimezone" // "ampClientTimestamp" // "ampClientScreenWidth" // "ampClientScreenHeight" // "ampClientScrollX" // "ampClientScrollY" // "ampClientMaxScrollX" // "ampClientMaxScrollY" // "ampTotalEngagedTime" // "ampPageViewId" // "ampPageLoadTime" // "ampPageDownloadTime" // "ampGtmEvent" // "eventName" // "firebaseEventParameterCampaign" // "firebaseEventParameterCampaignAclid" // "firebaseEventParameterCampaignAnid" // "firebaseEventParameterCampaignClickTimestamp" // "firebaseEventParameterCampaignContent" // "firebaseEventParameterCampaignCp1" // "firebaseEventParameterCampaignGclid" // "firebaseEventParameterCampaignSource" // "firebaseEventParameterCampaignTerm" // "firebaseEventParameterCurrency" // "firebaseEventParameterDynamicLinkAcceptTime" // "firebaseEventParameterDynamicLinkLinkid" // "firebaseEventParameterNotificationMessageDeviceTime" // "firebaseEventParameterNotificationMessageId" // "firebaseEventParameterNotificationMessageName" // "firebaseEventParameterNotificationMessageTime" // "firebaseEventParameterNotificationTopic" // "firebaseEventParameterPreviousAppVersion" // "firebaseEventParameterPreviousOsVersion" // "firebaseEventParameterPrice" // "firebaseEventParameterProductId" // "firebaseEventParameterQuantity" // "firebaseEventParameterValue" // "videoProvider" // "videoUrl" // "videoTitle" // "videoDuration" // "videoPercent" // "videoVisible" // "videoStatus" // "videoCurrentTime" // "scrollDepthThreshold" // "scrollDepthUnits" // "scrollDepthDirection" // "elementVisibilityRatio" // "elementVisibilityTime" // "elementVisibilityFirstTime" // "elementVisibilityRecentTime" 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. @mutable tagmanager.accounts.containers.create // @mutable tagmanager.accounts.containers.update Name string `json:"name,omitempty"` // Notes: Container Notes. @mutable tagmanager.accounts.containers.create // @mutable tagmanager.accounts.containers.update Notes string `json:"notes,omitempty"` // PublicId: Container Public ID. PublicId string `json:"publicId,omitempty"` // TimeZoneCountryId: Container Country ID. @mutable // tagmanager.accounts.containers.create @mutable // tagmanager.accounts.containers.update TimeZoneCountryId string `json:"timeZoneCountryId,omitempty"` // TimeZoneId: Container Time Zone ID. @mutable // tagmanager.accounts.containers.create @mutable // tagmanager.accounts.containers.update TimeZoneId string `json:"timeZoneId,omitempty"` // UsageContext: List of Usage Contexts for the Container. Valid values // include: web, android, ios. @mutable tagmanager.accounts.containers.create // @mutable tagmanager.accounts.containers.update // // Possible values: // "web" // "android" // "ios" // "androidSdk5" // "iosSdk5" // "amp" 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 or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
Container: Represents a Google Tag Manager Container.
func (Container) MarshalJSON ¶
type ContainerAccess ¶
type ContainerAccess struct { // ContainerId: GTM Container ID. @mutable // tagmanager.accounts.permissions.create @mutable // tagmanager.accounts.permissions.update ContainerId string `json:"containerId,omitempty"` // Permission: List of Container permissions. Valid container permissions are: // read, edit, delete, publish. @mutable tagmanager.accounts.permissions.create // @mutable tagmanager.accounts.permissions.update // // Possible values: // "read" // "edit" // "publish" // "delete" // "manage" // "editWorkspace" 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 or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ContainerAccess: Defines the Google Tag Manager Container access permissions.
func (ContainerAccess) MarshalJSON ¶
func (s ContainerAccess) MarshalJSON() ([]byte, error)
type ContainerVersion ¶
type ContainerVersion struct { // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // Container: The container that this version was taken from. Container *Container `json:"container,omitempty"` // ContainerId: GTM Container ID. ContainerId string `json:"containerId,omitempty"` // ContainerVersionId: The Container Version ID uniquely identifies the GTM // Container Version. ContainerVersionId string `json:"containerVersionId,omitempty"` // Deleted: A value of true indicates this container version has been deleted. Deleted bool `json:"deleted,omitempty"` // Fingerprint: The fingerprint of the GTM Container Version as computed at // storage time. This value is recomputed whenever the container version is // modified. Fingerprint string `json:"fingerprint,omitempty"` // Folder: The folders in the container that this version was taken from. Folder []*Folder `json:"folder,omitempty"` // Macro: The macros in the container that this version was taken from. Macro []*Macro `json:"macro,omitempty"` // Name: Container version display name. @mutable // tagmanager.accounts.containers.versions.update Name string `json:"name,omitempty"` // Notes: User notes on how to apply this container version in the container. // @mutable tagmanager.accounts.containers.versions.update 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 or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ContainerVersion: Represents a Google Tag Manager Container Version.
func (ContainerVersion) MarshalJSON ¶
func (s ContainerVersion) MarshalJSON() ([]byte, error)
type ContainerVersionHeader ¶
type ContainerVersionHeader struct { // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // ContainerId: GTM Container ID. ContainerId string `json:"containerId,omitempty"` // ContainerVersionId: The Container Version ID uniquely identifies the GTM // Container Version. ContainerVersionId string `json:"containerVersionId,omitempty"` // Deleted: A value of true indicates this container version has been deleted. Deleted bool `json:"deleted,omitempty"` // Name: Container version display name. Name string `json:"name,omitempty"` // NumMacros: Number of macros in the container version. NumMacros string `json:"numMacros,omitempty"` // NumRules: Number of rules in the container version. NumRules string `json:"numRules,omitempty"` // NumTags: Number of tags in the container version. NumTags string `json:"numTags,omitempty"` // NumTriggers: Number of triggers in the container version. NumTriggers string `json:"numTriggers,omitempty"` // NumVariables: Number of variables in the container version. NumVariables string `json:"numVariables,omitempty"` // ForceSendFields is a list of field names (e.g. "AccountId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ContainerVersionHeader: Represents a Google Tag Manager Container Version Header.
func (ContainerVersionHeader) MarshalJSON ¶
func (s ContainerVersionHeader) MarshalJSON() ([]byte, error)
type CreateContainerVersionRequestVersionOptions ¶
type CreateContainerVersionRequestVersionOptions struct { // Name: The name of the container version to be created. Name string `json:"name,omitempty"` // Notes: The notes of the container version to be created. Notes string `json:"notes,omitempty"` // QuickPreview: The creation of this version may be for quick preview and // shouldn't be saved. QuickPreview bool `json:"quickPreview,omitempty"` // ForceSendFields is a list of field names (e.g. "Name") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
CreateContainerVersionRequestVersionOptions: Options for new container versions.
func (CreateContainerVersionRequestVersionOptions) MarshalJSON ¶
func (s CreateContainerVersionRequestVersionOptions) MarshalJSON() ([]byte, error)
type CreateContainerVersionResponse ¶
type CreateContainerVersionResponse struct { // CompilerError: Compiler errors or not. CompilerError bool `json:"compilerError,omitempty"` // ContainerVersion: The container version created. ContainerVersion *ContainerVersion `json:"containerVersion,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CompilerError") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
CreateContainerVersionResponse: Create container versions response.
func (CreateContainerVersionResponse) MarshalJSON ¶
func (s CreateContainerVersionResponse) MarshalJSON() ([]byte, error)
type Environment ¶
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. @mutable // tagmanager.accounts.containers.environments.create @mutable // tagmanager.accounts.containers.environments.update Description string `json:"description,omitempty"` // EnableDebug: Whether or not to enable debug by default on for the // environment. @mutable tagmanager.accounts.containers.environments.create // @mutable tagmanager.accounts.containers.environments.update 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. @mutable tagmanager.accounts.containers.environments.create // @mutable tagmanager.accounts.containers.environments.update Name string `json:"name,omitempty"` // Type: The type of this environment. // // Possible values: // "user" - Used for user defined environments. // "live" - Used for Live environment, which points to the live published // container version. // "latest" - Used for Latest environment, which points to the latest created // container version. // "draft" - Used for Draft environment, which points to the single draft in // the container. Type string `json:"type,omitempty"` // Url: Default preview page url for the environment. @mutable // tagmanager.accounts.containers.environments.create @mutable // tagmanager.accounts.containers.environments.update 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 or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
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.
func (Environment) MarshalJSON ¶
func (s Environment) MarshalJSON() ([]byte, error)
type Folder ¶
type Folder struct { // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // ContainerId: GTM Container ID. ContainerId string `json:"containerId,omitempty"` // Fingerprint: The fingerprint of the GTM Folder as computed at storage time. // This value is recomputed whenever the folder is modified. Fingerprint string `json:"fingerprint,omitempty"` // FolderId: The Folder ID uniquely identifies the GTM Folder. FolderId string `json:"folderId,omitempty"` // Name: Folder display name. @mutable // tagmanager.accounts.containers.folders.create @mutable // tagmanager.accounts.containers.folders.update 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 or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
Folder: Represents a Google Tag Manager Folder.
func (Folder) MarshalJSON ¶
type FolderEntities ¶
type FolderEntities struct { // Tag: The list of tags inside the folder. Tag []*Tag `json:"tag,omitempty"` // Trigger: The list of triggers inside the folder. Trigger []*Trigger `json:"trigger,omitempty"` // Variable: The list of variables inside the folder. Variable []*Variable `json:"variable,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Tag") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
FolderEntities: Represents a Google Tag Manager Folder's contents.
func (FolderEntities) MarshalJSON ¶
func (s FolderEntities) MarshalJSON() ([]byte, error)
type ListAccountUsersResponse ¶
type ListAccountUsersResponse struct { // UserAccess: All GTM AccountUsers of a GTM Account. UserAccess []*UserAccess `json:"userAccess,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "UserAccess") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ListAccountUsersResponse: List AccountUsers Response.
func (ListAccountUsersResponse) MarshalJSON ¶
func (s ListAccountUsersResponse) MarshalJSON() ([]byte, error)
type ListAccountsResponse ¶
type ListAccountsResponse struct { // Accounts: List of GTM Accounts that a user has access to. Accounts []*Account `json:"accounts,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Accounts") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ListAccountsResponse: List Accounts Response.
func (ListAccountsResponse) MarshalJSON ¶
func (s ListAccountsResponse) MarshalJSON() ([]byte, error)
type ListContainerVersionsResponse ¶
type ListContainerVersionsResponse struct { // ContainerVersion: All versions of a GTM Container. ContainerVersion []*ContainerVersion `json:"containerVersion,omitempty"` // ContainerVersionHeader: All container version headers of a GTM Container. ContainerVersionHeader []*ContainerVersionHeader `json:"containerVersionHeader,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ContainerVersion") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ListContainerVersionsResponse: List container versions response.
func (ListContainerVersionsResponse) MarshalJSON ¶
func (s ListContainerVersionsResponse) MarshalJSON() ([]byte, error)
type ListContainersResponse ¶
type ListContainersResponse struct { // Containers: All Containers of a GTM Account. Containers []*Container `json:"containers,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Containers") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ListContainersResponse: List Containers Response.
func (ListContainersResponse) MarshalJSON ¶
func (s ListContainersResponse) MarshalJSON() ([]byte, error)
type ListEnvironmentsResponse ¶
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 or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ListEnvironmentsResponse: List Environments Response.
func (ListEnvironmentsResponse) MarshalJSON ¶
func (s ListEnvironmentsResponse) MarshalJSON() ([]byte, error)
type ListFoldersResponse ¶
type ListFoldersResponse struct { // Folders: All GTM Folders of a GTM Container. Folders []*Folder `json:"folders,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Folders") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ListFoldersResponse: List Folders Response.
func (ListFoldersResponse) MarshalJSON ¶
func (s ListFoldersResponse) MarshalJSON() ([]byte, error)
type ListTagsResponse ¶
type ListTagsResponse struct { // Tags: All GTM Tags of a GTM Container. Tags []*Tag `json:"tags,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Tags") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ListTagsResponse: List Tags Response.
func (ListTagsResponse) MarshalJSON ¶
func (s ListTagsResponse) MarshalJSON() ([]byte, error)
type ListTriggersResponse ¶
type ListTriggersResponse struct { // Triggers: All GTM Triggers of a GTM Container. Triggers []*Trigger `json:"triggers,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Triggers") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ListTriggersResponse: List triggers response.
func (ListTriggersResponse) MarshalJSON ¶
func (s ListTriggersResponse) MarshalJSON() ([]byte, error)
type ListVariablesResponse ¶
type ListVariablesResponse struct { // Variables: All GTM Variables of a GTM Container. Variables []*Variable `json:"variables,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Variables") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ListVariablesResponse: List Variables Response.
func (ListVariablesResponse) MarshalJSON ¶
func (s ListVariablesResponse) MarshalJSON() ([]byte, error)
type Macro ¶
type Macro struct { // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // ContainerId: GTM Container ID. ContainerId string `json:"containerId,omitempty"` // DisablingRuleId: For mobile containers only: A list of rule IDs for // disabling conditional macros; the macro is enabled if one of the enabling // rules is true while all the disabling rules are false. Treated as an // unordered set. @mutable tagmanager.accounts.containers.macros.create // @mutable tagmanager.accounts.containers.macros.update 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. // @mutable tagmanager.accounts.containers.macros.create @mutable // tagmanager.accounts.containers.macros.update 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. @mutable // tagmanager.accounts.containers.macros.create @mutable // tagmanager.accounts.containers.macros.update Name string `json:"name,omitempty"` // Notes: User notes on how to apply this macro in the container. @mutable // tagmanager.accounts.containers.macros.create @mutable // tagmanager.accounts.containers.macros.update Notes string `json:"notes,omitempty"` // Parameter: The macro's parameters. @mutable // tagmanager.accounts.containers.macros.create @mutable // tagmanager.accounts.containers.macros.update Parameter []*Parameter `json:"parameter,omitempty"` // ParentFolderId: Parent folder id. ParentFolderId string `json:"parentFolderId,omitempty"` // ScheduleEndMs: The end timestamp in milliseconds to schedule a macro. // @mutable tagmanager.accounts.containers.macros.create @mutable // tagmanager.accounts.containers.macros.update ScheduleEndMs int64 `json:"scheduleEndMs,omitempty,string"` // ScheduleStartMs: The start timestamp in milliseconds to schedule a macro. // @mutable tagmanager.accounts.containers.macros.create @mutable // tagmanager.accounts.containers.macros.update ScheduleStartMs int64 `json:"scheduleStartMs,omitempty,string"` // Type: GTM Macro Type. @mutable tagmanager.accounts.containers.macros.create // @mutable tagmanager.accounts.containers.macros.update 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 or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
Macro: Represents a Google Tag Manager Macro.
func (Macro) MarshalJSON ¶
type Parameter ¶
type Parameter struct { // Key: The named key that uniquely identifies a parameter. Required for // top-level parameters, as well as map values. Ignored for list values. // @mutable tagmanager.accounts.containers.variables.create @mutable // tagmanager.accounts.containers.variables.update @mutable // tagmanager.accounts.containers.triggers.create @mutable // tagmanager.accounts.containers.triggers.update @mutable // tagmanager.accounts.containers.tags.create @mutable // tagmanager.accounts.containers.tags.update Key string `json:"key,omitempty"` // List: This list parameter's parameters (keys will be ignored). @mutable // tagmanager.accounts.containers.variables.create @mutable // tagmanager.accounts.containers.variables.update @mutable // tagmanager.accounts.containers.triggers.create @mutable // tagmanager.accounts.containers.triggers.update @mutable // tagmanager.accounts.containers.tags.create @mutable // tagmanager.accounts.containers.tags.update List []*Parameter `json:"list,omitempty"` // Map: This map parameter's parameters (must have keys; keys must be unique). // @mutable tagmanager.accounts.containers.variables.create @mutable // tagmanager.accounts.containers.variables.update @mutable // tagmanager.accounts.containers.triggers.create @mutable // tagmanager.accounts.containers.triggers.update @mutable // tagmanager.accounts.containers.tags.create @mutable // tagmanager.accounts.containers.tags.update 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) - // trigger_reference: The value represents a trigger, represented as the // trigger id - tag_reference: The value represents a tag, represented as the // tag name @mutable tagmanager.accounts.containers.variables.create @mutable // tagmanager.accounts.containers.variables.update @mutable // tagmanager.accounts.containers.triggers.create @mutable // tagmanager.accounts.containers.triggers.update @mutable // tagmanager.accounts.containers.tags.create @mutable // tagmanager.accounts.containers.tags.update // // Possible values: // "template" - May include variable references (such as "{{myVariable}}"). // "integer" // "boolean" // "list" // "map" // "triggerReference" // "tagReference" Type string `json:"type,omitempty"` // Value: A parameter's value (may contain variable references such as // "{{myVariable}}") as appropriate to the specified type. @mutable // tagmanager.accounts.containers.variables.create @mutable // tagmanager.accounts.containers.variables.update @mutable // tagmanager.accounts.containers.triggers.create @mutable // tagmanager.accounts.containers.triggers.update @mutable // tagmanager.accounts.containers.tags.create @mutable // tagmanager.accounts.containers.tags.update 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 or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
Parameter: Represents a Google Tag Manager Parameter.
func (Parameter) MarshalJSON ¶
type PublishContainerVersionResponse ¶
type PublishContainerVersionResponse struct { // CompilerError: Compiler errors or not. CompilerError bool `json:"compilerError,omitempty"` // ContainerVersion: The container version created. ContainerVersion *ContainerVersion `json:"containerVersion,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CompilerError") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
PublishContainerVersionResponse: Publish container version response.
func (PublishContainerVersionResponse) MarshalJSON ¶
func (s PublishContainerVersionResponse) MarshalJSON() ([]byte, error)
type Rule ¶
type Rule struct { // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // Condition: The list of conditions that make up this rule (implicit AND // between them). @mutable tagmanager.accounts.containers.rules.create @mutable // tagmanager.accounts.containers.rules.update 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. @mutable // tagmanager.accounts.containers.rules.create @mutable // tagmanager.accounts.containers.rules.update Name string `json:"name,omitempty"` // Notes: User notes on how to apply this rule in the container. @mutable // tagmanager.accounts.containers.rules.create @mutable // tagmanager.accounts.containers.rules.update 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 or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
Rule: Represents a Google Tag Manager Rule.
func (Rule) MarshalJSON ¶
type Service ¶
type Service struct { BasePath string // API endpoint base URL UserAgent string // optional additional User-Agent fragment Accounts *AccountsService // contains filtered or unexported fields }
func New
deprecated
New creates a new Service. It uses the provided http.Client for requests.
Deprecated: please use NewService instead. To provide a custom HTTP client, use option.WithHTTPClient. If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.
func NewService ¶ added in v0.3.0
NewService creates a new Service.
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 or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (SetupTag) MarshalJSON ¶
type Tag ¶
type Tag struct { // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // BlockingRuleId: Blocking rule IDs. If any of the listed rules evaluate to // true, the tag will not fire. @mutable // tagmanager.accounts.containers.tags.create @mutable // tagmanager.accounts.containers.tags.update BlockingRuleId []string `json:"blockingRuleId,omitempty"` // BlockingTriggerId: Blocking trigger IDs. If any of the listed triggers // evaluate to true, the tag will not fire. @mutable // tagmanager.accounts.containers.tags.create @mutable // tagmanager.accounts.containers.tags.update 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. // @mutable tagmanager.accounts.containers.tags.create @mutable // tagmanager.accounts.containers.tags.update 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. @mutable tagmanager.accounts.containers.tags.create @mutable // tagmanager.accounts.containers.tags.update 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). @mutable // tagmanager.accounts.containers.tags.create @mutable // tagmanager.accounts.containers.tags.update LiveOnly bool `json:"liveOnly,omitempty"` // Name: Tag display name. @mutable tagmanager.accounts.containers.tags.create // @mutable tagmanager.accounts.containers.tags.update Name string `json:"name,omitempty"` // Notes: User notes on how to apply this tag in the container. @mutable // tagmanager.accounts.containers.tags.create @mutable // tagmanager.accounts.containers.tags.update Notes string `json:"notes,omitempty"` // Parameter: The tag's parameters. @mutable // tagmanager.accounts.containers.tags.create @mutable // tagmanager.accounts.containers.tags.update Parameter []*Parameter `json:"parameter,omitempty"` // ParentFolderId: Parent folder id. ParentFolderId string `json:"parentFolderId,omitempty"` // Paused: True if the tag is paused. @mutable // tagmanager.accounts.containers.tags.create @mutable // tagmanager.accounts.containers.tags.update Paused bool `json:"paused,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. @mutable tagmanager.accounts.containers.tags.create @mutable // tagmanager.accounts.containers.tags.update Priority *Parameter `json:"priority,omitempty"` // ScheduleEndMs: The end timestamp in milliseconds to schedule a tag. @mutable // tagmanager.accounts.containers.tags.create @mutable // tagmanager.accounts.containers.tags.update ScheduleEndMs int64 `json:"scheduleEndMs,omitempty,string"` // ScheduleStartMs: The start timestamp in milliseconds to schedule a tag. // @mutable tagmanager.accounts.containers.tags.create @mutable // tagmanager.accounts.containers.tags.update 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: // "unlimited" - Tag can be fired multiple times per event. // "oncePerEvent" - Tag can only be fired per event but can be fired multiple // times per load (e.g., app load or page load). // "oncePerLoad" - Tag can only be fired per load (e.g., app load or page // load). 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. @mutable tagmanager.accounts.containers.tags.create // @mutable tagmanager.accounts.containers.tags.update 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 or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
Tag: Represents a Google Tag Manager Tag.
func (Tag) MarshalJSON ¶
type TeardownTag ¶
type TeardownTag struct { // StopTeardownOnFailure: If true, fire the teardown tag if and only if the // main tag fires successfully. If false, fire the teardown tag regardless of // main tag firing status. StopTeardownOnFailure bool `json:"stopTeardownOnFailure,omitempty"` // TagName: The name of the teardown tag. TagName string `json:"tagName,omitempty"` // ForceSendFields is a list of field names (e.g. "StopTeardownOnFailure") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (TeardownTag) MarshalJSON ¶
func (s TeardownTag) MarshalJSON() ([]byte, error)
type Trigger ¶
type Trigger struct { // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // AutoEventFilter: Used in the case of auto event tracking. @mutable // tagmanager.accounts.containers.triggers.create @mutable // tagmanager.accounts.containers.triggers.update 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. @mutable tagmanager.accounts.containers.triggers.create @mutable // tagmanager.accounts.containers.triggers.update CheckValidation *Parameter `json:"checkValidation,omitempty"` // ContainerId: GTM Container ID. ContainerId string `json:"containerId,omitempty"` // ContinuousTimeMinMilliseconds: A visibility trigger minimum continuous // visible time (in milliseconds). Only valid for AMP Visibility trigger. // @mutable tagmanager.accounts.containers.triggers.create @mutable // tagmanager.accounts.containers.triggers.update ContinuousTimeMinMilliseconds *Parameter `json:"continuousTimeMinMilliseconds,omitempty"` // CustomEventFilter: Used in the case of custom event, which is fired iff all // Conditions are true. @mutable tagmanager.accounts.containers.triggers.create // @mutable tagmanager.accounts.containers.triggers.update CustomEventFilter []*Condition `json:"customEventFilter,omitempty"` // EventName: Name of the GTM event that is fired. Only valid for Timer // triggers. @mutable tagmanager.accounts.containers.triggers.create @mutable // tagmanager.accounts.containers.triggers.update EventName *Parameter `json:"eventName,omitempty"` // Filter: The trigger will only fire iff all Conditions are true. @mutable // tagmanager.accounts.containers.triggers.create @mutable // tagmanager.accounts.containers.triggers.update 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"` // HorizontalScrollPercentageList: List of integer percentage values for scroll // triggers. The trigger will fire when each percentage is reached when the // view is scrolled horizontally. Only valid for AMP scroll triggers. @mutable // tagmanager.accounts.containers.triggers.create @mutable // tagmanager.accounts.containers.triggers.update HorizontalScrollPercentageList *Parameter `json:"horizontalScrollPercentageList,omitempty"` // Interval: Time between triggering recurring Timer Events (in milliseconds). // Only valid for Timer triggers. @mutable // tagmanager.accounts.containers.triggers.create @mutable // tagmanager.accounts.containers.triggers.update Interval *Parameter `json:"interval,omitempty"` // IntervalSeconds: Time between Timer Events to fire (in seconds). Only valid // for AMP Timer trigger. @mutable // tagmanager.accounts.containers.triggers.create @mutable // tagmanager.accounts.containers.triggers.update IntervalSeconds *Parameter `json:"intervalSeconds,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. @mutable // tagmanager.accounts.containers.triggers.create @mutable // tagmanager.accounts.containers.triggers.update Limit *Parameter `json:"limit,omitempty"` // MaxTimerLengthSeconds: Max time to fire Timer Events (in seconds). Only // valid for AMP Timer trigger. @mutable // tagmanager.accounts.containers.triggers.create @mutable // tagmanager.accounts.containers.triggers.update MaxTimerLengthSeconds *Parameter `json:"maxTimerLengthSeconds,omitempty"` // Name: Trigger display name. @mutable // tagmanager.accounts.containers.triggers.create @mutable // tagmanager.accounts.containers.triggers.update Name string `json:"name,omitempty"` // Parameter: Additional parameters. @mutable // tagmanager.accounts.containers.workspaces.triggers.create @mutable // tagmanager.accounts.containers.workspaces.triggers.update Parameter []*Parameter `json:"parameter,omitempty"` // ParentFolderId: Parent folder id. ParentFolderId string `json:"parentFolderId,omitempty"` // Selector: A click trigger CSS selector (i.e. "a", "button" etc.). Only valid // for AMP Click trigger. @mutable // tagmanager.accounts.containers.triggers.create @mutable // tagmanager.accounts.containers.triggers.update Selector *Parameter `json:"selector,omitempty"` // TotalTimeMinMilliseconds: A visibility trigger minimum total visible time // (in milliseconds). Only valid for AMP Visibility trigger. @mutable // tagmanager.accounts.containers.triggers.create @mutable // tagmanager.accounts.containers.triggers.update TotalTimeMinMilliseconds *Parameter `json:"totalTimeMinMilliseconds,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. @mutable // tagmanager.accounts.containers.triggers.create @mutable // tagmanager.accounts.containers.triggers.update // // Possible values: // "pageview" // "domReady" // "windowLoaded" // "customEvent" // "triggerGroup" // "always" // "formSubmission" // "click" // "linkClick" // "jsError" // "historyChange" // "timer" // "ampClick" // "ampTimer" // "ampScroll" // "ampVisibility" // "youTubeVideo" // "scrollDepth" // "elementVisibility" 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. @mutable // tagmanager.accounts.containers.triggers.create @mutable // tagmanager.accounts.containers.triggers.update UniqueTriggerId *Parameter `json:"uniqueTriggerId,omitempty"` // VerticalScrollPercentageList: List of integer percentage values for scroll // triggers. The trigger will fire when each percentage is reached when the // view is scrolled vertically. Only valid for AMP scroll triggers. @mutable // tagmanager.accounts.containers.triggers.create @mutable // tagmanager.accounts.containers.triggers.update VerticalScrollPercentageList *Parameter `json:"verticalScrollPercentageList,omitempty"` // VisibilitySelector: A visibility trigger CSS selector (i.e. "#id"). Only // valid for AMP Visibility trigger. @mutable // tagmanager.accounts.containers.triggers.create @mutable // tagmanager.accounts.containers.triggers.update VisibilitySelector *Parameter `json:"visibilitySelector,omitempty"` // VisiblePercentageMax: A visibility trigger maximum percent visibility. Only // valid for AMP Visibility trigger. @mutable // tagmanager.accounts.containers.triggers.create @mutable // tagmanager.accounts.containers.triggers.update VisiblePercentageMax *Parameter `json:"visiblePercentageMax,omitempty"` // VisiblePercentageMin: A visibility trigger minimum percent visibility. Only // valid for AMP Visibility trigger. @mutable // tagmanager.accounts.containers.triggers.create @mutable // tagmanager.accounts.containers.triggers.update VisiblePercentageMin *Parameter `json:"visiblePercentageMin,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. @mutable tagmanager.accounts.containers.triggers.create // @mutable tagmanager.accounts.containers.triggers.update 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. @mutable tagmanager.accounts.containers.triggers.create // @mutable tagmanager.accounts.containers.triggers.update 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 or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
Trigger: Represents a Google Tag Manager Trigger
func (Trigger) MarshalJSON ¶
type UserAccess ¶
type UserAccess struct { // AccountAccess: GTM Account access permissions. @mutable // tagmanager.accounts.permissions.create @mutable // tagmanager.accounts.permissions.update AccountAccess *AccountAccess `json:"accountAccess,omitempty"` // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // ContainerAccess: GTM Container access permissions. @mutable // tagmanager.accounts.permissions.create @mutable // tagmanager.accounts.permissions.update ContainerAccess []*ContainerAccess `json:"containerAccess,omitempty"` // EmailAddress: User's email address. @mutable // tagmanager.accounts.permissions.create 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 or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
UserAccess: Represents a user's permissions to an account and its container.
func (UserAccess) MarshalJSON ¶
func (s UserAccess) MarshalJSON() ([]byte, error)
type Variable ¶
type Variable struct { // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // ContainerId: GTM Container ID. ContainerId string `json:"containerId,omitempty"` // DisablingTriggerId: For mobile containers only: A list of trigger IDs for // disabling conditional variables; the variable is enabled if one of the // enabling trigger is true while all the disabling trigger are false. Treated // as an unordered set. @mutable // tagmanager.accounts.containers.variables.create @mutable // tagmanager.accounts.containers.variables.update 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. @mutable // tagmanager.accounts.containers.variables.create @mutable // tagmanager.accounts.containers.variables.update 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. @mutable // tagmanager.accounts.containers.variables.create @mutable // tagmanager.accounts.containers.variables.update Name string `json:"name,omitempty"` // Notes: User notes on how to apply this variable in the container. @mutable // tagmanager.accounts.containers.variables.create @mutable // tagmanager.accounts.containers.variables.update Notes string `json:"notes,omitempty"` // Parameter: The variable's parameters. @mutable // tagmanager.accounts.containers.variables.create @mutable // tagmanager.accounts.containers.variables.update Parameter []*Parameter `json:"parameter,omitempty"` // ParentFolderId: Parent folder id. ParentFolderId string `json:"parentFolderId,omitempty"` // ScheduleEndMs: The end timestamp in milliseconds to schedule a variable. // @mutable tagmanager.accounts.containers.variables.create @mutable // tagmanager.accounts.containers.variables.update ScheduleEndMs int64 `json:"scheduleEndMs,omitempty,string"` // ScheduleStartMs: The start timestamp in milliseconds to schedule a variable. // @mutable tagmanager.accounts.containers.variables.create @mutable // tagmanager.accounts.containers.variables.update ScheduleStartMs int64 `json:"scheduleStartMs,omitempty,string"` // Type: GTM Variable Type. @mutable // tagmanager.accounts.containers.variables.create @mutable // tagmanager.accounts.containers.variables.update 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 or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
Variable: Represents a Google Tag Manager Variable.