tagmanager

package
v0.48.1-0...-67a0a95 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2021 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Overview

Package tagmanager provides access to the Tag Manager API.

For product documentation, see: https://developers.google.com/tag-manager

Creating a client

Usage example:

import "google.golang.org/api/tagmanager/v2"
...
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 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 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 option.WithTokenSource:

config := &oauth2.Config{...}
// ...
token, err := config.Exchange(ctx, ...)
tagmanagerService, err := tagmanager.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))

See https://godoc.org/google.golang.org/api/option/ for details on options.

Index

Constants

View Source
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"`

	// Path: GTM Account's API relative path.
	Path string `json:"path,omitempty"`

	// ShareData: Whether the account shares data anonymously with Google
	// and others. This flag enables benchmarking by sharing your data in an
	// anonymous form. Google will remove all identifiable information about
	// your website, combine the data with hundreds of other anonymous sites
	// and report aggregate trends in the benchmarking service. @mutable
	// tagmanager.accounts.create @mutable tagmanager.accounts.update
	ShareData bool `json:"shareData,omitempty"`

	// TagManagerUrl: Auto generated link to the tag manager UI
	TagManagerUrl string `json:"tagManagerUrl,omitempty"`

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

	// ForceSendFields is a list of field names (e.g. "AccountId") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

Account: Represents a Google Tag Manager Account.

func (*Account) MarshalJSON

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

type AccountAccess

type AccountAccess struct {
	// Permission: Whether the user has no access, user access, or admin
	// access to an account. @mutable tagmanager.accounts.permissions.create
	// @mutable tagmanager.accounts.permissions.update
	//
	// Possible values:
	//   "accountPermissionUnspecified"
	//   "noAccess"
	//   "user"
	//   "admin"
	Permission string `json:"permission,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Permission") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

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

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersCreateCall) Do

Do executes the "tagmanager.accounts.containers.create" call. Exactly one of *Container or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Container.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsContainersCreateCall) Fields

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

func (*AccountsContainersCreateCall) Header

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

type AccountsContainersDeleteCall

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

func (*AccountsContainersDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersDeleteCall) Do

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

func (*AccountsContainersDeleteCall) Fields

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

func (*AccountsContainersDeleteCall) Header

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

type AccountsContainersEnvironmentsCreateCall

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

func (*AccountsContainersEnvironmentsCreateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersEnvironmentsCreateCall) Do

Do executes the "tagmanager.accounts.containers.environments.create" call. Exactly one of *Environment or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Environment.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsContainersEnvironmentsCreateCall) Fields

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

func (*AccountsContainersEnvironmentsCreateCall) Header

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

type AccountsContainersEnvironmentsDeleteCall

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

func (*AccountsContainersEnvironmentsDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersEnvironmentsDeleteCall) Do

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

func (*AccountsContainersEnvironmentsDeleteCall) Fields

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

func (*AccountsContainersEnvironmentsDeleteCall) Header

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

type AccountsContainersEnvironmentsGetCall

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

func (*AccountsContainersEnvironmentsGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersEnvironmentsGetCall) Do

Do executes the "tagmanager.accounts.containers.environments.get" call. Exactly one of *Environment or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Environment.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsContainersEnvironmentsGetCall) Fields

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

func (*AccountsContainersEnvironmentsGetCall) Header

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

func (*AccountsContainersEnvironmentsGetCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type AccountsContainersEnvironmentsListCall

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

func (*AccountsContainersEnvironmentsListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersEnvironmentsListCall) Do

Do executes the "tagmanager.accounts.containers.environments.list" call. Exactly one of *ListEnvironmentsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListEnvironmentsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsContainersEnvironmentsListCall) Fields

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

func (*AccountsContainersEnvironmentsListCall) Header

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

func (*AccountsContainersEnvironmentsListCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*AccountsContainersEnvironmentsListCall) PageToken

PageToken sets the optional parameter "pageToken": Continuation token for fetching the next page of results.

func (*AccountsContainersEnvironmentsListCall) Pages

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AccountsContainersEnvironmentsReauthorizeCall

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

func (*AccountsContainersEnvironmentsReauthorizeCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersEnvironmentsReauthorizeCall) Do

Do executes the "tagmanager.accounts.containers.environments.reauthorize" call. Exactly one of *Environment or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Environment.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsContainersEnvironmentsReauthorizeCall) Fields

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

func (*AccountsContainersEnvironmentsReauthorizeCall) Header

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

type AccountsContainersEnvironmentsService

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

func NewAccountsContainersEnvironmentsService

func NewAccountsContainersEnvironmentsService(s *Service) *AccountsContainersEnvironmentsService

func (*AccountsContainersEnvironmentsService) Create

Create: Creates a GTM Environment.

  • parent: GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}.

func (*AccountsContainersEnvironmentsService) Delete

Delete: Deletes a GTM Environment.

  • path: GTM Environment's API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{enviro nment_id}.

func (*AccountsContainersEnvironmentsService) Get

Get: Gets a GTM Environment.

  • path: GTM Environment's API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{enviro nment_id}.

func (*AccountsContainersEnvironmentsService) List

List: Lists all GTM Environments of a GTM Container.

  • parent: GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}.

func (*AccountsContainersEnvironmentsService) Reauthorize

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

  • path: GTM Environment's API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{enviro nment_id}.

func (*AccountsContainersEnvironmentsService) Update

Update: Updates a GTM Environment.

  • path: GTM Environment's API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{enviro nment_id}.

type AccountsContainersEnvironmentsUpdateCall

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

func (*AccountsContainersEnvironmentsUpdateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersEnvironmentsUpdateCall) Do

Do executes the "tagmanager.accounts.containers.environments.update" call. Exactly one of *Environment or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Environment.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsContainersEnvironmentsUpdateCall) Fields

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

func (*AccountsContainersEnvironmentsUpdateCall) Fingerprint

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

func (*AccountsContainersEnvironmentsUpdateCall) Header

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

type AccountsContainersGetCall

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

func (*AccountsContainersGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersGetCall) Do

Do executes the "tagmanager.accounts.containers.get" call. Exactly one of *Container or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Container.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsContainersGetCall) Fields

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

func (*AccountsContainersGetCall) Header

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

func (*AccountsContainersGetCall) IfNoneMatch

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

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type AccountsContainersListCall

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

func (*AccountsContainersListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersListCall) Do

Do executes the "tagmanager.accounts.containers.list" call. Exactly one of *ListContainersResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListContainersResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsContainersListCall) Fields

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

func (*AccountsContainersListCall) Header

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

func (*AccountsContainersListCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*AccountsContainersListCall) PageToken

PageToken sets the optional parameter "pageToken": Continuation token for fetching the next page of results.

func (*AccountsContainersListCall) Pages

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AccountsContainersService

type AccountsContainersService struct {
	Environments *AccountsContainersEnvironmentsService

	VersionHeaders *AccountsContainersVersionHeadersService

	Versions *AccountsContainersVersionsService

	Workspaces *AccountsContainersWorkspacesService
	// contains filtered or unexported fields
}

func NewAccountsContainersService

func NewAccountsContainersService(s *Service) *AccountsContainersService

func (*AccountsContainersService) Create

Create: Creates a Container.

  • parent: GTM Account's API relative path. Example: accounts/{account_id}.

func (*AccountsContainersService) Delete

Delete: Deletes a Container.

  • path: GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}.

func (*AccountsContainersService) Get

Get: Gets a Container.

  • path: GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}.

func (*AccountsContainersService) List

List: Lists all Containers that belongs to a GTM Account.

  • parent: GTM Accounts's API relative path. Example: accounts/{account_id}.

func (*AccountsContainersService) Update

Update: Updates a Container.

  • path: GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}.

type AccountsContainersUpdateCall

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

func (*AccountsContainersUpdateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersUpdateCall) Do

Do executes the "tagmanager.accounts.containers.update" call. Exactly one of *Container or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Container.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsContainersUpdateCall) Fields

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

func (*AccountsContainersUpdateCall) Fingerprint

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

func (*AccountsContainersUpdateCall) Header

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

type AccountsContainersVersionHeadersLatestCall

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

func (*AccountsContainersVersionHeadersLatestCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersVersionHeadersLatestCall) Do

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

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

func (*AccountsContainersVersionHeadersLatestCall) Header

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

func (*AccountsContainersVersionHeadersLatestCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type AccountsContainersVersionHeadersListCall

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

func (*AccountsContainersVersionHeadersListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersVersionHeadersListCall) Do

Do executes the "tagmanager.accounts.containers.version_headers.list" call. Exactly one of *ListContainerVersionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListContainerVersionsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsContainersVersionHeadersListCall) Fields

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

func (*AccountsContainersVersionHeadersListCall) Header

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

func (*AccountsContainersVersionHeadersListCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*AccountsContainersVersionHeadersListCall) IncludeDeleted

IncludeDeleted sets the optional parameter "includeDeleted": Also retrieve deleted (archived) versions when true.

func (*AccountsContainersVersionHeadersListCall) PageToken

PageToken sets the optional parameter "pageToken": Continuation token for fetching the next page of results.

func (*AccountsContainersVersionHeadersListCall) Pages

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AccountsContainersVersionHeadersService

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

func NewAccountsContainersVersionHeadersService

func NewAccountsContainersVersionHeadersService(s *Service) *AccountsContainersVersionHeadersService

func (*AccountsContainersVersionHeadersService) Latest

Latest: Gets the latest container version header

  • parent: GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}.

func (*AccountsContainersVersionHeadersService) List

List: Lists all Container Versions of a GTM Container.

  • parent: GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}.

type AccountsContainersVersionsDeleteCall

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

func (*AccountsContainersVersionsDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersVersionsDeleteCall) Do

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

func (*AccountsContainersVersionsDeleteCall) Fields

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

func (*AccountsContainersVersionsDeleteCall) Header

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

type AccountsContainersVersionsGetCall

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

func (*AccountsContainersVersionsGetCall) ContainerVersionId

func (c *AccountsContainersVersionsGetCall) ContainerVersionId(containerVersionId string) *AccountsContainersVersionsGetCall

ContainerVersionId sets the optional parameter "containerVersionId": The GTM ContainerVersion ID. Specify published to retrieve the currently published version.

func (*AccountsContainersVersionsGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersVersionsGetCall) Do

Do executes the "tagmanager.accounts.containers.versions.get" call. Exactly one of *ContainerVersion or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ContainerVersion.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsContainersVersionsGetCall) Fields

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

func (*AccountsContainersVersionsGetCall) Header

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

func (*AccountsContainersVersionsGetCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type AccountsContainersVersionsLiveCall

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

func (*AccountsContainersVersionsLiveCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersVersionsLiveCall) Do

Do executes the "tagmanager.accounts.containers.versions.live" call. Exactly one of *ContainerVersion or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ContainerVersion.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsContainersVersionsLiveCall) Fields

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

func (*AccountsContainersVersionsLiveCall) Header

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

func (*AccountsContainersVersionsLiveCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type AccountsContainersVersionsPublishCall

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

func (*AccountsContainersVersionsPublishCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersVersionsPublishCall) Do

Do executes the "tagmanager.accounts.containers.versions.publish" call. Exactly one of *PublishContainerVersionResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PublishContainerVersionResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsContainersVersionsPublishCall) Fields

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

func (*AccountsContainersVersionsPublishCall) Fingerprint

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

func (*AccountsContainersVersionsPublishCall) Header

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

type AccountsContainersVersionsService

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

func NewAccountsContainersVersionsService

func NewAccountsContainersVersionsService(s *Service) *AccountsContainersVersionsService

func (*AccountsContainersVersionsService) Delete

Delete: Deletes a Container Version.

  • path: GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id }.

func (*AccountsContainersVersionsService) Get

Get: Gets a Container Version.

  • path: GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id }.

func (*AccountsContainersVersionsService) Live

Live: Gets the live (i.e. published) container version

  • parent: GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}.

func (*AccountsContainersVersionsService) Publish

Publish: Publishes a Container Version.

  • path: GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id }.

func (*AccountsContainersVersionsService) SetLatest

SetLatest: Sets the latest version used for synchronization of workspaces when detecting conflicts and errors.

  • path: GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id }.

func (*AccountsContainersVersionsService) Undelete

Undelete: Undeletes a Container Version.

  • path: GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id }.

func (*AccountsContainersVersionsService) Update

Update: Updates a Container Version.

  • path: GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id }.

type AccountsContainersVersionsSetLatestCall

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

func (*AccountsContainersVersionsSetLatestCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersVersionsSetLatestCall) Do

Do executes the "tagmanager.accounts.containers.versions.set_latest" call. Exactly one of *ContainerVersion or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ContainerVersion.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsContainersVersionsSetLatestCall) Fields

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

func (*AccountsContainersVersionsSetLatestCall) Header

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

type AccountsContainersVersionsUndeleteCall

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

func (*AccountsContainersVersionsUndeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersVersionsUndeleteCall) Do

Do executes the "tagmanager.accounts.containers.versions.undelete" call. Exactly one of *ContainerVersion or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ContainerVersion.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsContainersVersionsUndeleteCall) Fields

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

func (*AccountsContainersVersionsUndeleteCall) Header

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

type AccountsContainersVersionsUpdateCall

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

func (*AccountsContainersVersionsUpdateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersVersionsUpdateCall) Do

Do executes the "tagmanager.accounts.containers.versions.update" call. Exactly one of *ContainerVersion or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ContainerVersion.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsContainersVersionsUpdateCall) Fields

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

func (*AccountsContainersVersionsUpdateCall) Fingerprint

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

func (*AccountsContainersVersionsUpdateCall) Header

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

type AccountsContainersWorkspacesBuiltInVariablesCreateCall

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

func (*AccountsContainersWorkspacesBuiltInVariablesCreateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesBuiltInVariablesCreateCall) Do

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

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

func (*AccountsContainersWorkspacesBuiltInVariablesCreateCall) Header

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

func (*AccountsContainersWorkspacesBuiltInVariablesCreateCall) Type

Type sets the optional parameter "type": The types of built-in variables to enable.

Possible values:

"builtInVariableTypeUnspecified"
"pageUrl"
"pageHostname"
"pagePath"
"referrer"
"event" - For web or mobile.
"clickElement"
"clickClasses"
"clickId"
"clickTarget"
"clickUrl"
"clickText"
"firstPartyServingUrl"
"formElement"
"formClasses"
"formId"
"formTarget"
"formUrl"
"formText"
"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"
"environmentName"
"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"
"requestPath"
"requestMethod"
"clientName"
"queryString"

type AccountsContainersWorkspacesBuiltInVariablesDeleteCall

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

func (*AccountsContainersWorkspacesBuiltInVariablesDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesBuiltInVariablesDeleteCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.built_in_variables.delete" call.

func (*AccountsContainersWorkspacesBuiltInVariablesDeleteCall) Fields

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

func (*AccountsContainersWorkspacesBuiltInVariablesDeleteCall) Header

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

func (*AccountsContainersWorkspacesBuiltInVariablesDeleteCall) Type

Type sets the optional parameter "type": The types of built-in variables to delete.

Possible values:

"builtInVariableTypeUnspecified"
"pageUrl"
"pageHostname"
"pagePath"
"referrer"
"event" - For web or mobile.
"clickElement"
"clickClasses"
"clickId"
"clickTarget"
"clickUrl"
"clickText"
"firstPartyServingUrl"
"formElement"
"formClasses"
"formId"
"formTarget"
"formUrl"
"formText"
"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"
"environmentName"
"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"
"requestPath"
"requestMethod"
"clientName"
"queryString"

type AccountsContainersWorkspacesBuiltInVariablesListCall

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

func (*AccountsContainersWorkspacesBuiltInVariablesListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesBuiltInVariablesListCall) Do

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

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

func (*AccountsContainersWorkspacesBuiltInVariablesListCall) Header

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

func (*AccountsContainersWorkspacesBuiltInVariablesListCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*AccountsContainersWorkspacesBuiltInVariablesListCall) PageToken

PageToken sets the optional parameter "pageToken": Continuation token for fetching the next page of results.

func (*AccountsContainersWorkspacesBuiltInVariablesListCall) Pages

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AccountsContainersWorkspacesBuiltInVariablesRevertCall

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

func (*AccountsContainersWorkspacesBuiltInVariablesRevertCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesBuiltInVariablesRevertCall) Do

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

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

func (*AccountsContainersWorkspacesBuiltInVariablesRevertCall) Header

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

func (*AccountsContainersWorkspacesBuiltInVariablesRevertCall) Type

Type sets the optional parameter "type": The type of built-in variable to revert.

Possible values:

"builtInVariableTypeUnspecified"
"pageUrl"
"pageHostname"
"pagePath"
"referrer"
"event" - For web or mobile.
"clickElement"
"clickClasses"
"clickId"
"clickTarget"
"clickUrl"
"clickText"
"firstPartyServingUrl"
"formElement"
"formClasses"
"formId"
"formTarget"
"formUrl"
"formText"
"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"
"environmentName"
"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"
"requestPath"
"requestMethod"
"clientName"
"queryString"

type AccountsContainersWorkspacesBuiltInVariablesService

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

func (*AccountsContainersWorkspacesBuiltInVariablesService) Create

Create: Creates one or more GTM Built-In Variables.

  • parent: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.

func (*AccountsContainersWorkspacesBuiltInVariablesService) Delete

Delete: Deletes one or more GTM Built-In Variables.

  • path: GTM BuiltInVariable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/built_in_variables.

func (*AccountsContainersWorkspacesBuiltInVariablesService) List

List: Lists all the enabled Built-In Variables of a GTM Container.

  • parent: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.

func (*AccountsContainersWorkspacesBuiltInVariablesService) Revert

Revert: Reverts changes to a GTM Built-In Variables in a GTM Workspace.

  • path: GTM BuiltInVariable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/built_in_variables.

type AccountsContainersWorkspacesCreateCall

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

func (*AccountsContainersWorkspacesCreateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesCreateCall) Do

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

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

func (*AccountsContainersWorkspacesCreateCall) Header

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

type AccountsContainersWorkspacesCreateVersionCall

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

func (*AccountsContainersWorkspacesCreateVersionCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesCreateVersionCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.create_version" call. Exactly one of *CreateContainerVersionResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CreateContainerVersionResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsContainersWorkspacesCreateVersionCall) Fields

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

func (*AccountsContainersWorkspacesCreateVersionCall) Header

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

type AccountsContainersWorkspacesDeleteCall

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

func (*AccountsContainersWorkspacesDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesDeleteCall) Do

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

func (*AccountsContainersWorkspacesDeleteCall) Fields

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

func (*AccountsContainersWorkspacesDeleteCall) Header

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

type AccountsContainersWorkspacesFoldersCreateCall

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

func (*AccountsContainersWorkspacesFoldersCreateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesFoldersCreateCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.folders.create" call. Exactly one of *Folder or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Folder.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsContainersWorkspacesFoldersCreateCall) Fields

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

func (*AccountsContainersWorkspacesFoldersCreateCall) Header

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

type AccountsContainersWorkspacesFoldersDeleteCall

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

func (*AccountsContainersWorkspacesFoldersDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesFoldersDeleteCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.folders.delete" call.

func (*AccountsContainersWorkspacesFoldersDeleteCall) Fields

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

func (*AccountsContainersWorkspacesFoldersDeleteCall) Header

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

type AccountsContainersWorkspacesFoldersEntitiesCall

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

func (*AccountsContainersWorkspacesFoldersEntitiesCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesFoldersEntitiesCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.folders.entities" call. Exactly one of *FolderEntities or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *FolderEntities.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsContainersWorkspacesFoldersEntitiesCall) Fields

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

func (*AccountsContainersWorkspacesFoldersEntitiesCall) Header

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

func (*AccountsContainersWorkspacesFoldersEntitiesCall) PageToken

PageToken sets the optional parameter "pageToken": Continuation token for fetching the next page of results.

func (*AccountsContainersWorkspacesFoldersEntitiesCall) Pages

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AccountsContainersWorkspacesFoldersGetCall

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

func (*AccountsContainersWorkspacesFoldersGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesFoldersGetCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.folders.get" call. Exactly one of *Folder or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Folder.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsContainersWorkspacesFoldersGetCall) Fields

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

func (*AccountsContainersWorkspacesFoldersGetCall) Header

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

func (*AccountsContainersWorkspacesFoldersGetCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type AccountsContainersWorkspacesFoldersListCall

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

func (*AccountsContainersWorkspacesFoldersListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesFoldersListCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.folders.list" call. Exactly one of *ListFoldersResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListFoldersResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsContainersWorkspacesFoldersListCall) Fields

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

func (*AccountsContainersWorkspacesFoldersListCall) Header

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

func (*AccountsContainersWorkspacesFoldersListCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*AccountsContainersWorkspacesFoldersListCall) PageToken

PageToken sets the optional parameter "pageToken": Continuation token for fetching the next page of results.

func (*AccountsContainersWorkspacesFoldersListCall) Pages

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall

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

func (*AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.folders.move_entities_to_folder" call.

func (*AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall) Fields

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

func (*AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall) Header

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

func (*AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall) TagId

TagId sets the optional parameter "tagId": The tags to be moved to the folder.

func (*AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall) TriggerId

TriggerId sets the optional parameter "triggerId": The triggers to be moved to the folder.

func (*AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall) VariableId

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

type AccountsContainersWorkspacesFoldersRevertCall

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

func (*AccountsContainersWorkspacesFoldersRevertCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesFoldersRevertCall) Do

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

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

func (*AccountsContainersWorkspacesFoldersRevertCall) Fingerprint

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

func (*AccountsContainersWorkspacesFoldersRevertCall) Header

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

type AccountsContainersWorkspacesFoldersService

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

func NewAccountsContainersWorkspacesFoldersService

func NewAccountsContainersWorkspacesFoldersService(s *Service) *AccountsContainersWorkspacesFoldersService

func (*AccountsContainersWorkspacesFoldersService) Create

Create: Creates a GTM Folder.

  • parent: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.

func (*AccountsContainersWorkspacesFoldersService) Delete

Delete: Deletes a GTM Folder.

  • path: GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/folders/{folder_id}.

func (*AccountsContainersWorkspacesFoldersService) Entities

Entities: List all entities in a GTM Folder.

  • path: GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/folders/{folder_id}.

func (*AccountsContainersWorkspacesFoldersService) Get

Get: Gets a GTM Folder.

  • path: GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/folders/{folder_id}.

func (*AccountsContainersWorkspacesFoldersService) List

List: Lists all GTM Folders of a Container.

  • parent: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.

func (*AccountsContainersWorkspacesFoldersService) MoveEntitiesToFolder

MoveEntitiesToFolder: Moves entities to a GTM Folder.

  • path: GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/folders/{folder_id}.

func (*AccountsContainersWorkspacesFoldersService) Revert

Revert: Reverts changes to a GTM Folder in a GTM Workspace.

  • path: GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/folders/{folder_id}.

func (*AccountsContainersWorkspacesFoldersService) Update

Update: Updates a GTM Folder.

  • path: GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/folders/{folder_id}.

type AccountsContainersWorkspacesFoldersUpdateCall

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

func (*AccountsContainersWorkspacesFoldersUpdateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesFoldersUpdateCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.folders.update" call. Exactly one of *Folder or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Folder.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsContainersWorkspacesFoldersUpdateCall) Fields

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

func (*AccountsContainersWorkspacesFoldersUpdateCall) Fingerprint

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

func (*AccountsContainersWorkspacesFoldersUpdateCall) Header

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

type AccountsContainersWorkspacesGetCall

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

func (*AccountsContainersWorkspacesGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesGetCall) Do

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

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

func (*AccountsContainersWorkspacesGetCall) Header

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

func (*AccountsContainersWorkspacesGetCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type AccountsContainersWorkspacesGetStatusCall

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

func (*AccountsContainersWorkspacesGetStatusCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesGetStatusCall) Do

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

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

func (*AccountsContainersWorkspacesGetStatusCall) Header

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

func (*AccountsContainersWorkspacesGetStatusCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type AccountsContainersWorkspacesListCall

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

func (*AccountsContainersWorkspacesListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesListCall) Do

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

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

func (*AccountsContainersWorkspacesListCall) Header

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

func (*AccountsContainersWorkspacesListCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*AccountsContainersWorkspacesListCall) PageToken

PageToken sets the optional parameter "pageToken": Continuation token for fetching the next page of results.

func (*AccountsContainersWorkspacesListCall) Pages

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AccountsContainersWorkspacesQuickPreviewCall

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

func (*AccountsContainersWorkspacesQuickPreviewCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesQuickPreviewCall) Do

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

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

func (*AccountsContainersWorkspacesQuickPreviewCall) Header

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

type AccountsContainersWorkspacesResolveConflictCall

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

func (*AccountsContainersWorkspacesResolveConflictCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesResolveConflictCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.resolve_conflict" call.

func (*AccountsContainersWorkspacesResolveConflictCall) Fields

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

func (*AccountsContainersWorkspacesResolveConflictCall) Fingerprint

Fingerprint sets the optional parameter "fingerprint": When provided, this fingerprint must match the fingerprint of the entity_in_workspace in the merge conflict.

func (*AccountsContainersWorkspacesResolveConflictCall) Header

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

type AccountsContainersWorkspacesService

func NewAccountsContainersWorkspacesService

func NewAccountsContainersWorkspacesService(s *Service) *AccountsContainersWorkspacesService

func (*AccountsContainersWorkspacesService) Create

Create: Creates a Workspace.

  • parent: GTM parent Container's API relative path. Example: accounts/{account_id}/containers/{container_id}.

func (*AccountsContainersWorkspacesService) CreateVersion

CreateVersion: Creates a Container Version from the entities present in the workspace, deletes the workspace, and sets the base container version to the newly created version.

  • path: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.

func (*AccountsContainersWorkspacesService) Delete

Delete: Deletes a Workspace.

  • path: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.

func (*AccountsContainersWorkspacesService) Get

Get: Gets a Workspace.

  • path: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.

func (*AccountsContainersWorkspacesService) GetStatus

GetStatus: Finds conflicting and modified entities in the workspace.

  • path: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.

func (*AccountsContainersWorkspacesService) List

List: Lists all Workspaces that belong to a GTM Container.

  • parent: GTM parent Container's API relative path. Example: accounts/{account_id}/containers/{container_id}.

func (*AccountsContainersWorkspacesService) QuickPreview

QuickPreview: Quick previews a workspace by creating a fake container version from all entities in the provided workspace.

  • path: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.

func (*AccountsContainersWorkspacesService) ResolveConflict

ResolveConflict: Resolves a merge conflict for a workspace entity by updating it to the resolved entity passed in the request.

  • path: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.

func (*AccountsContainersWorkspacesService) Sync

Sync: Syncs a workspace to the latest container version by updating all unmodified workspace entities and displaying conflicts for modified entities.

  • path: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.

func (*AccountsContainersWorkspacesService) Update

Update: Updates a Workspace.

  • path: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.

type AccountsContainersWorkspacesSyncCall

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

func (*AccountsContainersWorkspacesSyncCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesSyncCall) Do

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

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

func (*AccountsContainersWorkspacesSyncCall) Header

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

type AccountsContainersWorkspacesTagsCreateCall

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

func (*AccountsContainersWorkspacesTagsCreateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesTagsCreateCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.tags.create" call. Exactly one of *Tag or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Tag.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsContainersWorkspacesTagsCreateCall) Fields

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

func (*AccountsContainersWorkspacesTagsCreateCall) Header

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

type AccountsContainersWorkspacesTagsDeleteCall

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

func (*AccountsContainersWorkspacesTagsDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesTagsDeleteCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.tags.delete" call.

func (*AccountsContainersWorkspacesTagsDeleteCall) Fields

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

func (*AccountsContainersWorkspacesTagsDeleteCall) Header

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

type AccountsContainersWorkspacesTagsGetCall

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

func (*AccountsContainersWorkspacesTagsGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesTagsGetCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.tags.get" call. Exactly one of *Tag or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Tag.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsContainersWorkspacesTagsGetCall) Fields

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

func (*AccountsContainersWorkspacesTagsGetCall) Header

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

func (*AccountsContainersWorkspacesTagsGetCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type AccountsContainersWorkspacesTagsListCall

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

func (*AccountsContainersWorkspacesTagsListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesTagsListCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.tags.list" call. Exactly one of *ListTagsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListTagsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsContainersWorkspacesTagsListCall) Fields

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

func (*AccountsContainersWorkspacesTagsListCall) Header

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

func (*AccountsContainersWorkspacesTagsListCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*AccountsContainersWorkspacesTagsListCall) PageToken

PageToken sets the optional parameter "pageToken": Continuation token for fetching the next page of results.

func (*AccountsContainersWorkspacesTagsListCall) Pages

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AccountsContainersWorkspacesTagsRevertCall

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

func (*AccountsContainersWorkspacesTagsRevertCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesTagsRevertCall) Do

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

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

func (*AccountsContainersWorkspacesTagsRevertCall) Fingerprint

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

func (*AccountsContainersWorkspacesTagsRevertCall) Header

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

type AccountsContainersWorkspacesTagsService

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

func NewAccountsContainersWorkspacesTagsService

func NewAccountsContainersWorkspacesTagsService(s *Service) *AccountsContainersWorkspacesTagsService

func (*AccountsContainersWorkspacesTagsService) Create

Create: Creates a GTM Tag.

  • parent: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.

func (*AccountsContainersWorkspacesTagsService) Delete

Delete: Deletes a GTM Tag.

  • path: GTM Tag's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/tags/{tag_id}.

func (*AccountsContainersWorkspacesTagsService) Get

Get: Gets a GTM Tag.

  • path: GTM Tag's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/tags/{tag_id}.

func (*AccountsContainersWorkspacesTagsService) List

List: Lists all GTM Tags of a Container.

  • parent: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.

func (*AccountsContainersWorkspacesTagsService) Revert

Revert: Reverts changes to a GTM Tag in a GTM Workspace.

  • path: GTM Tag's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/tags/{tag_id}.

func (*AccountsContainersWorkspacesTagsService) Update

Update: Updates a GTM Tag.

  • path: GTM Tag's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/tags/{tag_id}.

type AccountsContainersWorkspacesTagsUpdateCall

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

func (*AccountsContainersWorkspacesTagsUpdateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesTagsUpdateCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.tags.update" call. Exactly one of *Tag or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Tag.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsContainersWorkspacesTagsUpdateCall) Fields

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

func (*AccountsContainersWorkspacesTagsUpdateCall) Fingerprint

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

func (*AccountsContainersWorkspacesTagsUpdateCall) Header

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

type AccountsContainersWorkspacesTemplatesCreateCall

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

func (*AccountsContainersWorkspacesTemplatesCreateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesTemplatesCreateCall) Do

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

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

func (*AccountsContainersWorkspacesTemplatesCreateCall) Header

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

type AccountsContainersWorkspacesTemplatesDeleteCall

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

func (*AccountsContainersWorkspacesTemplatesDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesTemplatesDeleteCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.templates.delete" call.

func (*AccountsContainersWorkspacesTemplatesDeleteCall) Fields

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

func (*AccountsContainersWorkspacesTemplatesDeleteCall) Header

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

type AccountsContainersWorkspacesTemplatesGetCall

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

func (*AccountsContainersWorkspacesTemplatesGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesTemplatesGetCall) Do

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

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

func (*AccountsContainersWorkspacesTemplatesGetCall) Header

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

func (*AccountsContainersWorkspacesTemplatesGetCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type AccountsContainersWorkspacesTemplatesListCall

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

func (*AccountsContainersWorkspacesTemplatesListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesTemplatesListCall) Do

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

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

func (*AccountsContainersWorkspacesTemplatesListCall) Header

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

func (*AccountsContainersWorkspacesTemplatesListCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*AccountsContainersWorkspacesTemplatesListCall) PageToken

PageToken sets the optional parameter "pageToken": Continuation token for fetching the next page of results.

func (*AccountsContainersWorkspacesTemplatesListCall) Pages

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AccountsContainersWorkspacesTemplatesRevertCall

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

func (*AccountsContainersWorkspacesTemplatesRevertCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesTemplatesRevertCall) Do

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

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

func (*AccountsContainersWorkspacesTemplatesRevertCall) Fingerprint

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

func (*AccountsContainersWorkspacesTemplatesRevertCall) Header

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

type AccountsContainersWorkspacesTemplatesService

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

func NewAccountsContainersWorkspacesTemplatesService

func NewAccountsContainersWorkspacesTemplatesService(s *Service) *AccountsContainersWorkspacesTemplatesService

func (*AccountsContainersWorkspacesTemplatesService) Create

Create: Creates a GTM Custom Template.

  • parent: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.

func (*AccountsContainersWorkspacesTemplatesService) Delete

Delete: Deletes a GTM Template.

  • path: GTM Custom Template's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/templates/{template_id}.

func (*AccountsContainersWorkspacesTemplatesService) Get

Get: Gets a GTM Template.

  • path: GTM Custom Template's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/templates/{template_id}.

func (*AccountsContainersWorkspacesTemplatesService) List

List: Lists all GTM Templates of a GTM container workspace.

  • parent: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.

func (*AccountsContainersWorkspacesTemplatesService) Revert

Revert: Reverts changes to a GTM Template in a GTM Workspace.

  • path: GTM Custom Template's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/templates/{template_id}.

func (*AccountsContainersWorkspacesTemplatesService) Update

Update: Updates a GTM Template.

  • path: GTM Custom Template's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/templates/{template_id}.

type AccountsContainersWorkspacesTemplatesUpdateCall

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

func (*AccountsContainersWorkspacesTemplatesUpdateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesTemplatesUpdateCall) Do

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

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

func (*AccountsContainersWorkspacesTemplatesUpdateCall) Fingerprint

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

func (*AccountsContainersWorkspacesTemplatesUpdateCall) Header

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

type AccountsContainersWorkspacesTriggersCreateCall

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

func (*AccountsContainersWorkspacesTriggersCreateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesTriggersCreateCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.triggers.create" call. Exactly one of *Trigger or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Trigger.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsContainersWorkspacesTriggersCreateCall) Fields

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

func (*AccountsContainersWorkspacesTriggersCreateCall) Header

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

type AccountsContainersWorkspacesTriggersDeleteCall

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

func (*AccountsContainersWorkspacesTriggersDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesTriggersDeleteCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.triggers.delete" call.

func (*AccountsContainersWorkspacesTriggersDeleteCall) Fields

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

func (*AccountsContainersWorkspacesTriggersDeleteCall) Header

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

type AccountsContainersWorkspacesTriggersGetCall

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

func (*AccountsContainersWorkspacesTriggersGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesTriggersGetCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.triggers.get" call. Exactly one of *Trigger or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Trigger.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsContainersWorkspacesTriggersGetCall) Fields

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

func (*AccountsContainersWorkspacesTriggersGetCall) Header

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

func (*AccountsContainersWorkspacesTriggersGetCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type AccountsContainersWorkspacesTriggersListCall

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

func (*AccountsContainersWorkspacesTriggersListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesTriggersListCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.triggers.list" call. Exactly one of *ListTriggersResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListTriggersResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsContainersWorkspacesTriggersListCall) Fields

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

func (*AccountsContainersWorkspacesTriggersListCall) Header

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

func (*AccountsContainersWorkspacesTriggersListCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*AccountsContainersWorkspacesTriggersListCall) PageToken

PageToken sets the optional parameter "pageToken": Continuation token for fetching the next page of results.

func (*AccountsContainersWorkspacesTriggersListCall) Pages

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AccountsContainersWorkspacesTriggersRevertCall

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

func (*AccountsContainersWorkspacesTriggersRevertCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesTriggersRevertCall) Do

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

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

func (*AccountsContainersWorkspacesTriggersRevertCall) Fingerprint

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

func (*AccountsContainersWorkspacesTriggersRevertCall) Header

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

type AccountsContainersWorkspacesTriggersService

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

func NewAccountsContainersWorkspacesTriggersService

func NewAccountsContainersWorkspacesTriggersService(s *Service) *AccountsContainersWorkspacesTriggersService

func (*AccountsContainersWorkspacesTriggersService) Create

Create: Creates a GTM Trigger.

  • parent: GTM Workspaces's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.

func (*AccountsContainersWorkspacesTriggersService) Delete

Delete: Deletes a GTM Trigger.

  • path: GTM Trigger's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/triggers/{trigger_id}.

func (*AccountsContainersWorkspacesTriggersService) Get

Get: Gets a GTM Trigger.

  • path: GTM Trigger's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/triggers/{trigger_id}.

func (*AccountsContainersWorkspacesTriggersService) List

List: Lists all GTM Triggers of a Container.

  • parent: GTM Workspaces's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.

func (*AccountsContainersWorkspacesTriggersService) Revert

Revert: Reverts changes to a GTM Trigger in a GTM Workspace.

  • path: GTM Trigger's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/triggers/{trigger_id}.

func (*AccountsContainersWorkspacesTriggersService) Update

Update: Updates a GTM Trigger.

  • path: GTM Trigger's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/triggers/{trigger_id}.

type AccountsContainersWorkspacesTriggersUpdateCall

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

func (*AccountsContainersWorkspacesTriggersUpdateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesTriggersUpdateCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.triggers.update" call. Exactly one of *Trigger or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Trigger.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsContainersWorkspacesTriggersUpdateCall) Fields

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

func (*AccountsContainersWorkspacesTriggersUpdateCall) Fingerprint

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

func (*AccountsContainersWorkspacesTriggersUpdateCall) Header

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

type AccountsContainersWorkspacesUpdateCall

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

func (*AccountsContainersWorkspacesUpdateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesUpdateCall) Do

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

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

func (*AccountsContainersWorkspacesUpdateCall) Fingerprint

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

func (*AccountsContainersWorkspacesUpdateCall) Header

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

type AccountsContainersWorkspacesVariablesCreateCall

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

func (*AccountsContainersWorkspacesVariablesCreateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesVariablesCreateCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.variables.create" call. Exactly one of *Variable or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Variable.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsContainersWorkspacesVariablesCreateCall) Fields

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

func (*AccountsContainersWorkspacesVariablesCreateCall) Header

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

type AccountsContainersWorkspacesVariablesDeleteCall

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

func (*AccountsContainersWorkspacesVariablesDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesVariablesDeleteCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.variables.delete" call.

func (*AccountsContainersWorkspacesVariablesDeleteCall) Fields

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

func (*AccountsContainersWorkspacesVariablesDeleteCall) Header

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

type AccountsContainersWorkspacesVariablesGetCall

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

func (*AccountsContainersWorkspacesVariablesGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesVariablesGetCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.variables.get" call. Exactly one of *Variable or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Variable.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsContainersWorkspacesVariablesGetCall) Fields

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

func (*AccountsContainersWorkspacesVariablesGetCall) Header

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

func (*AccountsContainersWorkspacesVariablesGetCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type AccountsContainersWorkspacesVariablesListCall

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

func (*AccountsContainersWorkspacesVariablesListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesVariablesListCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.variables.list" call. Exactly one of *ListVariablesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListVariablesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsContainersWorkspacesVariablesListCall) Fields

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

func (*AccountsContainersWorkspacesVariablesListCall) Header

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

func (*AccountsContainersWorkspacesVariablesListCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*AccountsContainersWorkspacesVariablesListCall) PageToken

PageToken sets the optional parameter "pageToken": Continuation token for fetching the next page of results.

func (*AccountsContainersWorkspacesVariablesListCall) Pages

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AccountsContainersWorkspacesVariablesRevertCall

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

func (*AccountsContainersWorkspacesVariablesRevertCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesVariablesRevertCall) Do

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

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

func (*AccountsContainersWorkspacesVariablesRevertCall) Fingerprint

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

func (*AccountsContainersWorkspacesVariablesRevertCall) Header

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

type AccountsContainersWorkspacesVariablesService

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

func NewAccountsContainersWorkspacesVariablesService

func NewAccountsContainersWorkspacesVariablesService(s *Service) *AccountsContainersWorkspacesVariablesService

func (*AccountsContainersWorkspacesVariablesService) Create

Create: Creates a GTM Variable.

  • parent: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.

func (*AccountsContainersWorkspacesVariablesService) Delete

Delete: Deletes a GTM Variable.

  • path: GTM Variable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/variables/{variable_id}.

func (*AccountsContainersWorkspacesVariablesService) Get

Get: Gets a GTM Variable.

  • path: GTM Variable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/variables/{variable_id}.

func (*AccountsContainersWorkspacesVariablesService) List

List: Lists all GTM Variables of a Container.

  • parent: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.

func (*AccountsContainersWorkspacesVariablesService) Revert

Revert: Reverts changes to a GTM Variable in a GTM Workspace.

  • path: GTM Variable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/variables/{variable_id}.

func (*AccountsContainersWorkspacesVariablesService) Update

Update: Updates a GTM Variable.

  • path: GTM Variable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/variables/{variable_id}.

type AccountsContainersWorkspacesVariablesUpdateCall

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

func (*AccountsContainersWorkspacesVariablesUpdateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesVariablesUpdateCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.variables.update" call. Exactly one of *Variable or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Variable.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsContainersWorkspacesVariablesUpdateCall) Fields

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

func (*AccountsContainersWorkspacesVariablesUpdateCall) Fingerprint

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

func (*AccountsContainersWorkspacesVariablesUpdateCall) Header

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

type AccountsContainersWorkspacesZonesCreateCall

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

func (*AccountsContainersWorkspacesZonesCreateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesZonesCreateCall) Do

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

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

func (*AccountsContainersWorkspacesZonesCreateCall) Header

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

type AccountsContainersWorkspacesZonesDeleteCall

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

func (*AccountsContainersWorkspacesZonesDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesZonesDeleteCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.zones.delete" call.

func (*AccountsContainersWorkspacesZonesDeleteCall) Fields

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

func (*AccountsContainersWorkspacesZonesDeleteCall) Header

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

type AccountsContainersWorkspacesZonesGetCall

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

func (*AccountsContainersWorkspacesZonesGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesZonesGetCall) Do

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

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

func (*AccountsContainersWorkspacesZonesGetCall) Header

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

func (*AccountsContainersWorkspacesZonesGetCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type AccountsContainersWorkspacesZonesListCall

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

func (*AccountsContainersWorkspacesZonesListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesZonesListCall) Do

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

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

func (*AccountsContainersWorkspacesZonesListCall) Header

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

func (*AccountsContainersWorkspacesZonesListCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*AccountsContainersWorkspacesZonesListCall) PageToken

PageToken sets the optional parameter "pageToken": Continuation token for fetching the next page of results.

func (*AccountsContainersWorkspacesZonesListCall) Pages

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AccountsContainersWorkspacesZonesRevertCall

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

func (*AccountsContainersWorkspacesZonesRevertCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesZonesRevertCall) Do

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

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

func (*AccountsContainersWorkspacesZonesRevertCall) Fingerprint

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

func (*AccountsContainersWorkspacesZonesRevertCall) Header

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

type AccountsContainersWorkspacesZonesService

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

func NewAccountsContainersWorkspacesZonesService

func NewAccountsContainersWorkspacesZonesService(s *Service) *AccountsContainersWorkspacesZonesService

func (*AccountsContainersWorkspacesZonesService) Create

Create: Creates a GTM Zone.

  • parent: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.

func (*AccountsContainersWorkspacesZonesService) Delete

Delete: Deletes a GTM Zone.

  • path: GTM Zone's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/zones/{zone_id}.

func (*AccountsContainersWorkspacesZonesService) Get

Get: Gets a GTM Zone.

  • path: GTM Zone's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/zones/{zone_id}.

func (*AccountsContainersWorkspacesZonesService) List

List: Lists all GTM Zones of a GTM container workspace.

  • parent: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.

func (*AccountsContainersWorkspacesZonesService) Revert

Revert: Reverts changes to a GTM Zone in a GTM Workspace.

  • path: GTM Zone's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/zones/{zone_id}.

func (*AccountsContainersWorkspacesZonesService) Update

Update: Updates a GTM Zone.

  • path: GTM Zone's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/zones/{zone_id}.

type AccountsContainersWorkspacesZonesUpdateCall

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

func (*AccountsContainersWorkspacesZonesUpdateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsContainersWorkspacesZonesUpdateCall) Do

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

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

func (*AccountsContainersWorkspacesZonesUpdateCall) Fingerprint

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

func (*AccountsContainersWorkspacesZonesUpdateCall) Header

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

type AccountsGetCall

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

func (*AccountsGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsGetCall) Do

func (c *AccountsGetCall) Do(opts ...googleapi.CallOption) (*Account, error)

Do executes the "tagmanager.accounts.get" call. Exactly one of *Account or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Account.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsGetCall) Fields

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

func (*AccountsGetCall) Header

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

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

func (*AccountsGetCall) IfNoneMatch

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

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type AccountsListCall

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

func (*AccountsListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsListCall) Do

Do executes the "tagmanager.accounts.list" call. Exactly one of *ListAccountsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListAccountsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsListCall) Fields

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

func (*AccountsListCall) Header

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

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

func (*AccountsListCall) IfNoneMatch

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

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*AccountsListCall) PageToken

func (c *AccountsListCall) PageToken(pageToken string) *AccountsListCall

PageToken sets the optional parameter "pageToken": Continuation token for fetching the next page of results.

func (*AccountsListCall) Pages

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AccountsService

type AccountsService struct {
	Containers *AccountsContainersService

	UserPermissions *AccountsUserPermissionsService
	// contains filtered or unexported fields
}

func NewAccountsService

func NewAccountsService(s *Service) *AccountsService

func (*AccountsService) Get

func (r *AccountsService) Get(path string) *AccountsGetCall

Get: Gets a GTM Account.

  • path: GTM Accounts's API relative path. Example: accounts/{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(path string, account *Account) *AccountsUpdateCall

Update: Updates a GTM Account.

  • path: GTM Accounts's API relative path. Example: accounts/{account_id}.

type AccountsUpdateCall

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

func (*AccountsUpdateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsUpdateCall) Do

Do executes the "tagmanager.accounts.update" call. Exactly one of *Account or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Account.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsUpdateCall) Fields

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

func (*AccountsUpdateCall) Fingerprint

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

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

func (*AccountsUpdateCall) Header

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

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

type AccountsUserPermissionsCreateCall

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

func (*AccountsUserPermissionsCreateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsUserPermissionsCreateCall) Do

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

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

func (*AccountsUserPermissionsCreateCall) Header

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

type AccountsUserPermissionsDeleteCall

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

func (*AccountsUserPermissionsDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsUserPermissionsDeleteCall) Do

Do executes the "tagmanager.accounts.user_permissions.delete" call.

func (*AccountsUserPermissionsDeleteCall) Fields

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

func (*AccountsUserPermissionsDeleteCall) Header

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

type AccountsUserPermissionsGetCall

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

func (*AccountsUserPermissionsGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsUserPermissionsGetCall) Do

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

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

func (*AccountsUserPermissionsGetCall) Header

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

func (*AccountsUserPermissionsGetCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type AccountsUserPermissionsListCall

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

func (*AccountsUserPermissionsListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsUserPermissionsListCall) Do

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

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

func (*AccountsUserPermissionsListCall) Header

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

func (*AccountsUserPermissionsListCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*AccountsUserPermissionsListCall) PageToken

PageToken sets the optional parameter "pageToken": Continuation token for fetching the next page of results.

func (*AccountsUserPermissionsListCall) Pages

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AccountsUserPermissionsService

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

func NewAccountsUserPermissionsService

func NewAccountsUserPermissionsService(s *Service) *AccountsUserPermissionsService

func (*AccountsUserPermissionsService) Create

Create: Creates a user's Account & Container access.

  • parent: GTM Account's API relative path. Example: accounts/{account_id}.

func (*AccountsUserPermissionsService) Delete

Delete: Removes a user from the account, revoking access to it and all of its containers.

  • path: GTM UserPermission's API relative path. Example: accounts/{account_id}/user_permissions/{user_permission_id}.

func (*AccountsUserPermissionsService) Get

Get: Gets a user's Account & Container access.

  • path: GTM UserPermission's API relative path. Example: accounts/{account_id}/user_permissions/{user_permission_id}.

func (*AccountsUserPermissionsService) List

List: List all users that have access to the account along with Account and Container user access granted to each of them.

  • parent: GTM Accounts's API relative path. Example: accounts/{account_id}.

func (*AccountsUserPermissionsService) Update

Update: Updates a user's Account & Container access.

  • path: GTM UserPermission's API relative path. Example: accounts/{account_id}/user_permissions/{user_permission_id}.

type AccountsUserPermissionsUpdateCall

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

func (*AccountsUserPermissionsUpdateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsUserPermissionsUpdateCall) Do

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

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

func (*AccountsUserPermissionsUpdateCall) Header

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

type BuiltInVariable

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

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

	// Name: Name of the built-in variable to be used to refer to the
	// built-in variable.
	Name string `json:"name,omitempty"`

	// Path: GTM BuiltInVariable's API relative path.
	Path string `json:"path,omitempty"`

	// Type: Type of built-in variable.
	// @required.tagmanager.accounts.containers.workspaces.built_in_variable.
	// update @mutable
	// tagmanager.accounts.containers.workspaces.built_in_variable.update
	//
	// Possible values:
	//   "builtInVariableTypeUnspecified"
	//   "pageUrl"
	//   "pageHostname"
	//   "pagePath"
	//   "referrer"
	//   "event" - For web or mobile.
	//   "clickElement"
	//   "clickClasses"
	//   "clickId"
	//   "clickTarget"
	//   "clickUrl"
	//   "clickText"
	//   "firstPartyServingUrl"
	//   "formElement"
	//   "formClasses"
	//   "formId"
	//   "formTarget"
	//   "formUrl"
	//   "formText"
	//   "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"
	//   "environmentName"
	//   "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"
	//   "requestPath"
	//   "requestMethod"
	//   "clientName"
	//   "queryString"
	Type string `json:"type,omitempty"`

	// WorkspaceId: GTM Workspace ID.
	WorkspaceId string `json:"workspaceId,omitempty"`

	// ForceSendFields is a list of field names (e.g. "AccountId") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

BuiltInVariable: Built-in variables are a special category of variables that are pre-created and non-customizable. They provide common functionality like accessing propeties of the gtm data layer, monitoring clicks, or accessing elements of a page URL.

func (*BuiltInVariable) MarshalJSON

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

type Client

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

	// ClientId: The Client ID uniquely identifies the GTM client.
	ClientId string `json:"clientId,omitempty"`

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

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

	// Name: Client display name. @mutable
	// tagmanager.accounts.containers.workspaces.clients.create @mutable
	// tagmanager.accounts.containers.workspaces.clients.update
	Name string `json:"name,omitempty"`

	// Notes: User notes on how to apply this tag in the container. @mutable
	// tagmanager.accounts.containers.workspaces.tags.create @mutable
	// tagmanager.accounts.containers.workspaces.tags.update
	Notes string `json:"notes,omitempty"`

	// Parameter: The client's parameters. @mutable
	// tagmanager.accounts.containers.workspaces.clients.create @mutable
	// tagmanager.accounts.containers.workspaces.clients.update
	Parameter []*Parameter `json:"parameter,omitempty"`

	// ParentFolderId: Parent folder id.
	ParentFolderId string `json:"parentFolderId,omitempty"`

	// Path: GTM client's API relative path.
	Path string `json:"path,omitempty"`

	// Priority: Priority determines relative firing order. @mutable
	// tagmanager.accounts.containers.workspaces.clients.create @mutable
	// tagmanager.accounts.containers.workspaces.clients.update
	Priority int64 `json:"priority,omitempty"`

	// TagManagerUrl: Auto generated link to the tag manager UI
	TagManagerUrl string `json:"tagManagerUrl,omitempty"`

	// Type: Client type. @mutable
	// tagmanager.accounts.containers.workspaces.clients.create @mutable
	// tagmanager.accounts.containers.workspaces.clients.update
	Type string `json:"type,omitempty"`

	// WorkspaceId: GTM Workspace ID.
	WorkspaceId string `json:"workspaceId,omitempty"`

	// ForceSendFields is a list of field names (e.g. "AccountId") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

func (*Client) MarshalJSON

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

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.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update
	Parameter []*Parameter `json:"parameter,omitempty"`

	// Type: The type of operator for this condition. @mutable
	// tagmanager.accounts.containers.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update
	//
	// Possible values:
	//   "conditionTypeUnspecified"
	//   "equals"
	//   "contains"
	//   "startsWith"
	//   "endsWith"
	//   "matchRegex"
	//   "greater"
	//   "greaterOrEquals"
	//   "less"
	//   "lessOrEquals"
	//   "cssSelector"
	//   "urlMatches" - NOTE(lanzone): When defining a ConditionType here,
	// don't forget to also define a matching PredicateType (in
	// condition.proto).
	Type string `json:"type,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Parameter") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

Condition: Represents a predicate.

func (*Condition) MarshalJSON

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

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: List of domain names associated with the Container.
	// @mutable tagmanager.accounts.containers.create @mutable
	// tagmanager.accounts.containers.update
	DomainName []string `json:"domainName,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"`

	// Path: GTM Container's API relative path.
	Path string `json:"path,omitempty"`

	// PublicId: Container Public ID.
	PublicId string `json:"publicId,omitempty"`

	// TagManagerUrl: Auto generated link to the tag manager UI
	TagManagerUrl string `json:"tagManagerUrl,omitempty"`

	// UsageContext: List of Usage Contexts for the Container. Valid values
	// include: web, android, or ios. @mutable
	// tagmanager.accounts.containers.create @mutable
	// tagmanager.accounts.containers.update
	//
	// Possible values:
	//   "usageContextUnspecified"
	//   "web"
	//   "android"
	//   "ios"
	//   "androidSdk5"
	//   "iosSdk5"
	//   "amp"
	//   "server"
	UsageContext []string `json:"usageContext,omitempty"`

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

	// ForceSendFields is a list of field names (e.g. "AccountId") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

Container: Represents a Google Tag Manager Container, which specifies the platform tags will run on, manages workspaces, and retains container versions.

func (*Container) MarshalJSON

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

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. @mutable
	// tagmanager.accounts.permissions.create @mutable
	// tagmanager.accounts.permissions.update
	//
	// Possible values:
	//   "containerPermissionUnspecified"
	//   "noAccess"
	//   "read"
	//   "edit"
	//   "approve"
	//   "publish"
	Permission string `json:"permission,omitempty"`

	// ForceSendFields is a list of field names (e.g. "ContainerId") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

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

	// BuiltInVariable: The built-in variables in the container that this
	// version was taken from.
	BuiltInVariable []*BuiltInVariable `json:"builtInVariable,omitempty"`

	// Client: The clients in the container that this version was taken
	// from.
	Client []*Client `json:"client,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"`

	// CustomTemplate: The custom templates in the container that this
	// version was taken from.
	CustomTemplate []*CustomTemplate `json:"customTemplate,omitempty"`

	// Deleted: A value of true indicates this container version has been
	// deleted.
	Deleted bool `json:"deleted,omitempty"`

	// Description: Container version description. @mutable
	// tagmanager.accounts.containers.versions.update
	Description string `json:"description,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"`

	// Name: Container version display name. @mutable
	// tagmanager.accounts.containers.versions.update
	Name string `json:"name,omitempty"`

	// Path: GTM ContainerVersions's API relative path.
	Path string `json:"path,omitempty"`

	// Tag: The tags in the container that this version was taken from.
	Tag []*Tag `json:"tag,omitempty"`

	// TagManagerUrl: Auto generated link to the tag manager UI
	TagManagerUrl string `json:"tagManagerUrl,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"`

	// Zone: The zones in the container that this version was taken from.
	Zone []*Zone `json:"zone,omitempty"`

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

	// ForceSendFields is a list of field names (e.g. "AccountId") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

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

	// NumClients: Number of clients in the container version.
	NumClients string `json:"numClients,omitempty"`

	// NumCustomTemplates: Number of custom templates in the container
	// version.
	NumCustomTemplates string `json:"numCustomTemplates,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"`

	// NumZones: Number of zones in the container version.
	NumZones string `json:"numZones,omitempty"`

	// Path: GTM Container Versions's API relative path.
	Path string `json:"path,omitempty"`

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

	// ForceSendFields is a list of field names (e.g. "AccountId") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

ContainerVersionHeader: Represents a Google Tag Manager Container Version Header.

func (*ContainerVersionHeader) MarshalJSON

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

type CreateBuiltInVariableResponse

type CreateBuiltInVariableResponse struct {
	// BuiltInVariable: List of created built-in variables.
	BuiltInVariable []*BuiltInVariable `json:"builtInVariable,omitempty"`

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

	// ForceSendFields is a list of field names (e.g. "BuiltInVariable") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

func (*CreateBuiltInVariableResponse) MarshalJSON

func (s *CreateBuiltInVariableResponse) 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"`

	// ForceSendFields is a list of field names (e.g. "Name") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

CreateContainerVersionRequestVersionOptions: Options for new container versions.

func (*CreateContainerVersionRequestVersionOptions) MarshalJSON

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

	// NewWorkspacePath: Auto generated workspace path created as a result
	// of version creation. This field should only be populated if the
	// created version was not a quick preview.
	NewWorkspacePath string `json:"newWorkspacePath,omitempty"`

	// SyncStatus: Whether version creation failed when syncing the
	// workspace to the latest container version.
	SyncStatus *SyncStatus `json:"syncStatus,omitempty"`

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

	// ForceSendFields is a list of field names (e.g. "CompilerError") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

CreateContainerVersionResponse: Create container versions response.

func (*CreateContainerVersionResponse) MarshalJSON

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

type CustomTemplate

type CustomTemplate 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 Custom Template as computed
	// at storage time. This value is recomputed whenever the template is
	// modified.
	Fingerprint string `json:"fingerprint,omitempty"`

	// GalleryReference: A reference to the Community Template Gallery
	// entry.
	GalleryReference *GalleryReference `json:"galleryReference,omitempty"`

	// Name: Custom Template display name.
	Name string `json:"name,omitempty"`

	// Path: GTM Custom Template's API relative path.
	Path string `json:"path,omitempty"`

	// TagManagerUrl: Auto generated link to the tag manager UI
	TagManagerUrl string `json:"tagManagerUrl,omitempty"`

	// TemplateData: The custom template in text format.
	TemplateData string `json:"templateData,omitempty"`

	// TemplateId: The Custom Template ID uniquely identifies the GTM custom
	// template.
	TemplateId string `json:"templateId,omitempty"`

	// WorkspaceId: GTM Workspace ID.
	WorkspaceId string `json:"workspaceId,omitempty"`

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

	// ForceSendFields is a list of field names (e.g. "AccountId") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

CustomTemplate: Represents a Google Tag Manager Custom Template's contents.

func (*CustomTemplate) MarshalJSON

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

type Entity

type Entity struct {
	// ChangeStatus: Represents how the entity has been changed in the
	// workspace.
	//
	// Possible values:
	//   "changeStatusUnspecified"
	//   "none" - The entity has never been changed.
	//   "added" - The entity is added to the workspace.
	//   "deleted" - The entity is deleted from the workspace.
	//   "updated" - The entity has been updated in the workspace.
	ChangeStatus string `json:"changeStatus,omitempty"`

	// Client: The client being represented by the entity.
	Client *Client `json:"client,omitempty"`

	// Folder: The folder being represented by the entity.
	Folder *Folder `json:"folder,omitempty"`

	// Tag: The tag being represented by the entity.
	Tag *Tag `json:"tag,omitempty"`

	// Trigger: The trigger being represented by the entity.
	Trigger *Trigger `json:"trigger,omitempty"`

	// Variable: The variable being represented by the entity.
	Variable *Variable `json:"variable,omitempty"`

	// ForceSendFields is a list of field names (e.g. "ChangeStatus") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

Entity: A workspace entity that may represent a tag, trigger, variable, or folder in addition to its status in the workspace.

func (*Entity) MarshalJSON

func (s *Entity) 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"`

	// AuthorizationTimestamp: The last update time-stamp for the
	// authorization code.
	AuthorizationTimestamp string `json:"authorizationTimestamp,omitempty"`

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

	// ContainerVersionId: Represents a link to a container version.
	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 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"`

	// Path: GTM Environment's API relative path.
	Path string `json:"path,omitempty"`

	// TagManagerUrl: Auto generated link to the tag manager UI
	TagManagerUrl string `json:"tagManagerUrl,omitempty"`

	// Type: The type of this environment.
	//
	// Possible values:
	//   "user" - Points to a user defined environment.
	//   "live" - Points to the current live container version.
	//   "latest" - Points to the latest container version.
	//   "workspace" - Automatically managed environment that points to a
	// workspace preview or version created by a workspace.
	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"`

	// WorkspaceId: Represents a link to a quick preview of a workspace.
	WorkspaceId string `json:"workspaceId,omitempty"`

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

	// ForceSendFields is a list of field names (e.g. "AccountId") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

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.workspaces.folders.create @mutable
	// tagmanager.accounts.containers.workspaces.folders.update
	Name string `json:"name,omitempty"`

	// Notes: User notes on how to apply this folder in the container.
	// @mutable tagmanager.accounts.containers.workspaces.folders.create
	// @mutable tagmanager.accounts.containers.workspaces.folders.update
	Notes string `json:"notes,omitempty"`

	// Path: GTM Folder's API relative path.
	Path string `json:"path,omitempty"`

	// TagManagerUrl: Auto generated link to the tag manager UI
	TagManagerUrl string `json:"tagManagerUrl,omitempty"`

	// WorkspaceId: GTM Workspace ID.
	WorkspaceId string `json:"workspaceId,omitempty"`

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

	// ForceSendFields is a list of field names (e.g. "AccountId") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

Folder: Represents a Google Tag Manager Folder.

func (*Folder) MarshalJSON

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

type FolderEntities

type FolderEntities struct {
	// NextPageToken: Continuation token for fetching the next page of
	// results.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// 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. "NextPageToken") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

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

func (*FolderEntities) MarshalJSON

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

type GalleryReference

type GalleryReference struct {
	// Host: The name of the host for the community gallery template.
	Host string `json:"host,omitempty"`

	// IsModified: If a user has manually edited the community gallery
	// template.
	IsModified bool `json:"isModified,omitempty"`

	// Owner: The name of the owner for the community gallery template.
	Owner string `json:"owner,omitempty"`

	// Repository: The name of the repository for the community gallery
	// template.
	Repository string `json:"repository,omitempty"`

	// Signature: The signature of the community gallery template as
	// computed at import time. This value is recomputed whenever the
	// template is updated from the gallery.
	Signature string `json:"signature,omitempty"`

	// Version: The version of the community gallery template.
	Version string `json:"version,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Host") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

GalleryReference: Represents the link between a custom template and an entry on the Community Template Gallery site.

func (*GalleryReference) MarshalJSON

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

type GetWorkspaceStatusResponse

type GetWorkspaceStatusResponse struct {
	// MergeConflict: The merge conflict after sync.
	MergeConflict []*MergeConflict `json:"mergeConflict,omitempty"`

	// WorkspaceChange: Entities that have been changed in the workspace.
	WorkspaceChange []*Entity `json:"workspaceChange,omitempty"`

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

	// ForceSendFields is a list of field names (e.g. "MergeConflict") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

GetWorkspaceStatusResponse: The changes that have occurred in the workspace since the base container version.

func (*GetWorkspaceStatusResponse) MarshalJSON

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

type ListAccountsResponse

type ListAccountsResponse struct {
	// Account: List of GTM Accounts that a user has access to.
	Account []*Account `json:"account,omitempty"`

	// NextPageToken: Continuation token for fetching the next page of
	// results.
	NextPageToken string `json:"nextPageToken,omitempty"`

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

	// ForceSendFields is a list of field names (e.g. "Account") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

ListAccountsResponse: List Accounts Response.

func (*ListAccountsResponse) MarshalJSON

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

type ListContainerVersionsResponse

type ListContainerVersionsResponse struct {
	// ContainerVersionHeader: All container version headers of a GTM
	// Container.
	ContainerVersionHeader []*ContainerVersionHeader `json:"containerVersionHeader,omitempty"`

	// NextPageToken: Continuation token for fetching the next page of
	// results.
	NextPageToken string `json:"nextPageToken,omitempty"`

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

	// ForceSendFields is a list of field names (e.g.
	// "ContainerVersionHeader") to unconditionally include in API requests.
	// By default, fields with empty values are omitted from API requests.
	// However, any non-pointer, non-interface field appearing in
	// ForceSendFields will be sent to the server regardless of whether the
	// field is empty or not. This may be used to include empty fields in
	// Patch requests.
	ForceSendFields []string `json:"-"`

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

ListContainerVersionsResponse: List container versions response.

func (*ListContainerVersionsResponse) MarshalJSON

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

type ListContainersResponse

type ListContainersResponse struct {
	// Container: All Containers of a GTM Account.
	Container []*Container `json:"container,omitempty"`

	// NextPageToken: Continuation token for fetching the next page of
	// results.
	NextPageToken string `json:"nextPageToken,omitempty"`

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

	// ForceSendFields is a list of field names (e.g. "Container") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

ListContainersResponse: List Containers Response.

func (*ListContainersResponse) MarshalJSON

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

type ListEnabledBuiltInVariablesResponse

type ListEnabledBuiltInVariablesResponse struct {
	// BuiltInVariable: All GTM BuiltInVariables of a GTM container.
	BuiltInVariable []*BuiltInVariable `json:"builtInVariable,omitempty"`

	// NextPageToken: Continuation token for fetching the next page of
	// results.
	NextPageToken string `json:"nextPageToken,omitempty"`

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

	// ForceSendFields is a list of field names (e.g. "BuiltInVariable") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

ListEnabledBuiltInVariablesResponse: A list of enabled built-in variables.

func (*ListEnabledBuiltInVariablesResponse) MarshalJSON

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

type ListEnvironmentsResponse

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

	// NextPageToken: Continuation token for fetching the next page of
	// results.
	NextPageToken string `json:"nextPageToken,omitempty"`

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

	// ForceSendFields is a list of field names (e.g. "Environment") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

ListEnvironmentsResponse: List Environments Response.

func (*ListEnvironmentsResponse) MarshalJSON

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

type ListFoldersResponse

type ListFoldersResponse struct {
	// Folder: All GTM Folders of a GTM Container.
	Folder []*Folder `json:"folder,omitempty"`

	// NextPageToken: Continuation token for fetching the next page of
	// results.
	NextPageToken string `json:"nextPageToken,omitempty"`

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

	// ForceSendFields is a list of field names (e.g. "Folder") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

ListFoldersResponse: List Folders Response.

func (*ListFoldersResponse) MarshalJSON

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

type ListTagsResponse

type ListTagsResponse struct {
	// NextPageToken: Continuation token for fetching the next page of
	// results.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// Tag: All GTM Tags of a GTM Container.
	Tag []*Tag `json:"tag,omitempty"`

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

	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

ListTagsResponse: List Tags Response.

func (*ListTagsResponse) MarshalJSON

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

type ListTemplatesResponse

type ListTemplatesResponse struct {
	// NextPageToken: Continuation token for fetching the next page of
	// results.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// Template: All GTM Custom Templates of a GTM Container.
	Template []*CustomTemplate `json:"template,omitempty"`

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

	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

func (*ListTemplatesResponse) MarshalJSON

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

type ListTriggersResponse

type ListTriggersResponse struct {
	// NextPageToken: Continuation token for fetching the next page of
	// results.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// Trigger: All GTM Triggers of a GTM Container.
	Trigger []*Trigger `json:"trigger,omitempty"`

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

	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

ListTriggersResponse: List triggers response.

func (*ListTriggersResponse) MarshalJSON

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

type ListUserPermissionsResponse

type ListUserPermissionsResponse struct {
	// NextPageToken: Continuation token for fetching the next page of
	// results.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// UserPermission: All GTM UserPermissions of a GTM Account.
	UserPermission []*UserPermission `json:"userPermission,omitempty"`

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

	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

ListUserPermissionsResponse: List user permissions response.

func (*ListUserPermissionsResponse) MarshalJSON

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

type ListVariablesResponse

type ListVariablesResponse struct {
	// NextPageToken: Continuation token for fetching the next page of
	// results.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// Variable: All GTM Variables of a GTM Container.
	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. "NextPageToken") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

ListVariablesResponse: List Variables Response.

func (*ListVariablesResponse) MarshalJSON

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

type ListWorkspacesResponse

type ListWorkspacesResponse struct {
	// NextPageToken: Continuation token for fetching the next page of
	// results.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// Workspace: All Workspaces of a GTM Container.
	Workspace []*Workspace `json:"workspace,omitempty"`

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

	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

ListWorkspacesResponse: A list of workspaces in a container.

func (*ListWorkspacesResponse) MarshalJSON

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

type ListZonesResponse

type ListZonesResponse struct {
	// NextPageToken: Continuation token for fetching the next page of
	// results.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// Zone: All GTM Zones of a GTM Container.
	Zone []*Zone `json:"zone,omitempty"`

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

	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

func (*ListZonesResponse) MarshalJSON

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

type MergeConflict

type MergeConflict struct {
	// EntityInBaseVersion: The base version entity (since the latest sync
	// operation) that has conflicting changes compared to the workspace. If
	// this field is missing, it means the workspace entity is deleted from
	// the base version.
	EntityInBaseVersion *Entity `json:"entityInBaseVersion,omitempty"`

	// EntityInWorkspace: The workspace entity that has conflicting changes
	// compared to the base version. If an entity is deleted in a workspace,
	// it will still appear with a deleted change status.
	EntityInWorkspace *Entity `json:"entityInWorkspace,omitempty"`

	// ForceSendFields is a list of field names (e.g. "EntityInBaseVersion")
	// to unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

MergeConflict: Represents a merge conflict.

func (*MergeConflict) MarshalJSON

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

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.workspaces.variables.create
	// @mutable tagmanager.accounts.containers.workspaces.variables.update
	// @mutable tagmanager.accounts.containers.workspaces.triggers.create
	// @mutable tagmanager.accounts.containers.workspaces.triggers.update
	// @mutable tagmanager.accounts.containers.workspaces.tags.create
	// @mutable tagmanager.accounts.containers.workspaces.tags.update
	Key string `json:"key,omitempty"`

	// List: This list parameter's parameters (keys will be ignored).
	// @mutable tagmanager.accounts.containers.workspaces.variables.create
	// @mutable tagmanager.accounts.containers.workspaces.variables.update
	// @mutable tagmanager.accounts.containers.workspaces.triggers.create
	// @mutable tagmanager.accounts.containers.workspaces.triggers.update
	// @mutable tagmanager.accounts.containers.workspaces.tags.create
	// @mutable tagmanager.accounts.containers.workspaces.tags.update
	List []*Parameter `json:"list,omitempty"`

	// Map: This map parameter's parameters (must have keys; keys must be
	// unique). @mutable
	// tagmanager.accounts.containers.workspaces.variables.create @mutable
	// tagmanager.accounts.containers.workspaces.variables.update @mutable
	// tagmanager.accounts.containers.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update @mutable
	// tagmanager.accounts.containers.workspaces.tags.create @mutable
	// tagmanager.accounts.containers.workspaces.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.workspaces.variables.create @mutable
	// tagmanager.accounts.containers.workspaces.variables.update @mutable
	// tagmanager.accounts.containers.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update @mutable
	// tagmanager.accounts.containers.workspaces.tags.create @mutable
	// tagmanager.accounts.containers.workspaces.tags.update
	//
	// Possible values:
	//   "typeUnspecified"
	//   "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.workspaces.variables.create @mutable
	// tagmanager.accounts.containers.workspaces.variables.update @mutable
	// tagmanager.accounts.containers.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update @mutable
	// tagmanager.accounts.containers.workspaces.tags.create @mutable
	// tagmanager.accounts.containers.workspaces.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 values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

Parameter: Represents a Google Tag Manager Parameter.

func (*Parameter) MarshalJSON

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

type PublishContainerVersionResponse

type PublishContainerVersionResponse struct {
	// CompilerError: Compiler errors or not.
	CompilerError bool `json:"compilerError,omitempty"`

	// ContainerVersion: The container version created.
	ContainerVersion *ContainerVersion `json:"containerVersion,omitempty"`

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

	// ForceSendFields is a list of field names (e.g. "CompilerError") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

PublishContainerVersionResponse: Publish container version response.

func (*PublishContainerVersionResponse) MarshalJSON

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

type QuickPreviewResponse

type QuickPreviewResponse struct {
	// CompilerError: Were there compiler errors or not.
	CompilerError bool `json:"compilerError,omitempty"`

	// ContainerVersion: The quick previewed container version.
	ContainerVersion *ContainerVersion `json:"containerVersion,omitempty"`

	// SyncStatus: Whether quick previewing failed when syncing the
	// workspace to the latest container version.
	SyncStatus *SyncStatus `json:"syncStatus,omitempty"`

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

	// ForceSendFields is a list of field names (e.g. "CompilerError") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

QuickPreviewResponse: Response to quick previewing a workspace.

func (*QuickPreviewResponse) MarshalJSON

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

type RevertBuiltInVariableResponse

type RevertBuiltInVariableResponse struct {
	// Enabled: Whether the built-in variable is enabled after reversion.
	Enabled bool `json:"enabled,omitempty"`

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

	// ForceSendFields is a list of field names (e.g. "Enabled") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

RevertBuiltInVariableResponse: The result of reverting a built-in variable in a workspace.

func (*RevertBuiltInVariableResponse) MarshalJSON

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

type RevertFolderResponse

type RevertFolderResponse struct {
	// Folder: Folder as it appears in the latest container version since
	// the last workspace synchronization operation. If no folder is
	// present, that means the folder was deleted in the latest container
	// version.
	Folder *Folder `json:"folder,omitempty"`

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

	// ForceSendFields is a list of field names (e.g. "Folder") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

RevertFolderResponse: The result of reverting folder changes in a workspace.

func (*RevertFolderResponse) MarshalJSON

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

type RevertTagResponse

type RevertTagResponse struct {
	// Tag: Tag as it appears in the latest container version since the last
	// workspace synchronization operation. If no tag is present, that means
	// the tag was deleted in the latest container version.
	Tag *Tag `json:"tag,omitempty"`

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

	// ForceSendFields is a list of field names (e.g. "Tag") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

RevertTagResponse: The result of reverting a tag in a workspace.

func (*RevertTagResponse) MarshalJSON

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

type RevertTemplateResponse

type RevertTemplateResponse struct {
	// Template: Template as it appears in the latest container version
	// since the last workspace synchronization operation. If no template is
	// present, that means the template was deleted in the latest container
	// version.
	Template *CustomTemplate `json:"template,omitempty"`

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

	// ForceSendFields is a list of field names (e.g. "Template") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

RevertTemplateResponse: The result of reverting a template in a workspace.

func (*RevertTemplateResponse) MarshalJSON

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

type RevertTriggerResponse

type RevertTriggerResponse struct {
	// Trigger: Trigger as it appears in the latest container version since
	// the last workspace synchronization operation. If no trigger is
	// present, that means the trigger was deleted in the latest container
	// version.
	Trigger *Trigger `json:"trigger,omitempty"`

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

	// ForceSendFields is a list of field names (e.g. "Trigger") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

RevertTriggerResponse: The result of reverting a trigger in a workspace.

func (*RevertTriggerResponse) MarshalJSON

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

type RevertVariableResponse

type RevertVariableResponse struct {
	// Variable: Variable as it appears in the latest container version
	// since the last workspace synchronization operation. If no variable is
	// present, that means the variable was deleted in the latest container
	// version.
	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. "Variable") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

RevertVariableResponse: The result of reverting a variable in a workspace.

func (*RevertVariableResponse) MarshalJSON

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

type RevertZoneResponse

type RevertZoneResponse struct {
	// Zone: Zone as it appears in the latest container version since the
	// last workspace synchronization operation. If no zone is present, that
	// means the zone was deleted in the latest container version.
	Zone *Zone `json:"zone,omitempty"`

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

	// ForceSendFields is a list of field names (e.g. "Zone") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

RevertZoneResponse: The result of reverting a zone in a workspace.

func (*RevertZoneResponse) MarshalJSON

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

type Service

type Service struct {
	BasePath  string // API endpoint base URL
	UserAgent string // optional additional User-Agent fragment

	Accounts *AccountsService
	// contains filtered or unexported fields
}

func New deprecated

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

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

func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error)

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 values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

SetupTag: Represents a reference to atag that fires before another tag in order to set up dependencies.

func (*SetupTag) MarshalJSON

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

type SyncStatus

type SyncStatus struct {
	// MergeConflict: Synchornization operation detected a merge conflict.
	MergeConflict bool `json:"mergeConflict,omitempty"`

	// SyncError: An error occurred during the synchronization operation.
	SyncError bool `json:"syncError,omitempty"`

	// ForceSendFields is a list of field names (e.g. "MergeConflict") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

SyncStatus: The status of a workspace after synchronization.

func (*SyncStatus) MarshalJSON

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

type SyncWorkspaceResponse

type SyncWorkspaceResponse struct {
	// MergeConflict: The merge conflict after sync. If this field is not
	// empty, the sync is still treated as successful. But a version cannot
	// be created until all conflicts are resolved.
	MergeConflict []*MergeConflict `json:"mergeConflict,omitempty"`

	// SyncStatus: Indicates whether synchronization caused a merge conflict
	// or sync error.
	SyncStatus *SyncStatus `json:"syncStatus,omitempty"`

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

	// ForceSendFields is a list of field names (e.g. "MergeConflict") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

SyncWorkspaceResponse: A response after synchronizing the workspace to the latest container version.

func (*SyncWorkspaceResponse) MarshalJSON

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

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.workspaces.tags.create @mutable
	// tagmanager.accounts.containers.workspaces.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.workspaces.tags.create @mutable
	// tagmanager.accounts.containers.workspaces.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.workspaces.tags.create
	// @mutable tagmanager.accounts.containers.workspaces.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.workspaces.tags.create @mutable
	// tagmanager.accounts.containers.workspaces.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.workspaces.tags.create @mutable
	// tagmanager.accounts.containers.workspaces.tags.update
	LiveOnly bool `json:"liveOnly,omitempty"`

	// MonitoringMetadata: A map of key-value pairs of tag metadata to be
	// included in the event data for tag monitoring. Notes: - This
	// parameter must be type MAP. - Each parameter in the map are type
	// TEMPLATE, however cannot contain variable references. @mutable
	// tagmanager.accounts.containers.workspaces.tags.create @mutable
	// tagmanager.accounts.containers.workspaces.tags.update
	MonitoringMetadata *Parameter `json:"monitoringMetadata,omitempty"`

	// MonitoringMetadataTagNameKey: If non-empty, then the tag display name
	// will be included in the monitoring metadata map using the key
	// specified. @mutable
	// tagmanager.accounts.containers.workspaces.tags.create @mutable
	// tagmanager.accounts.containers.workspaces.tags.update
	MonitoringMetadataTagNameKey string `json:"monitoringMetadataTagNameKey,omitempty"`

	// Name: Tag display name. @mutable
	// tagmanager.accounts.containers.workspaces.tags.create @mutable
	// tagmanager.accounts.containers.workspaces.tags.update
	Name string `json:"name,omitempty"`

	// Notes: User notes on how to apply this tag in the container. @mutable
	// tagmanager.accounts.containers.workspaces.tags.create @mutable
	// tagmanager.accounts.containers.workspaces.tags.update
	Notes string `json:"notes,omitempty"`

	// Parameter: The tag's parameters. @mutable
	// tagmanager.accounts.containers.workspaces.tags.create @mutable
	// tagmanager.accounts.containers.workspaces.tags.update
	Parameter []*Parameter `json:"parameter,omitempty"`

	// ParentFolderId: Parent folder id.
	ParentFolderId string `json:"parentFolderId,omitempty"`

	// Path: GTM Tag's API relative path.
	Path string `json:"path,omitempty"`

	// Paused: Indicates whether the tag is paused, which prevents the tag
	// from firing. @mutable
	// tagmanager.accounts.containers.workspaces.tags.create @mutable
	// tagmanager.accounts.containers.workspaces.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.workspaces.tags.create @mutable
	// tagmanager.accounts.containers.workspaces.tags.update
	Priority *Parameter `json:"priority,omitempty"`

	// ScheduleEndMs: The end timestamp in milliseconds to schedule a tag.
	// @mutable tagmanager.accounts.containers.workspaces.tags.create
	// @mutable tagmanager.accounts.containers.workspaces.tags.update
	ScheduleEndMs int64 `json:"scheduleEndMs,omitempty,string"`

	// ScheduleStartMs: The start timestamp in milliseconds to schedule a
	// tag. @mutable tagmanager.accounts.containers.workspaces.tags.create
	// @mutable tagmanager.accounts.containers.workspaces.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:
	//   "tagFiringOptionUnspecified"
	//   "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"`

	// TagManagerUrl: Auto generated link to the tag manager UI
	TagManagerUrl string `json:"tagManagerUrl,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.workspaces.tags.create @mutable
	// tagmanager.accounts.containers.workspaces.tags.update
	Type string `json:"type,omitempty"`

	// WorkspaceId: GTM Workspace ID.
	WorkspaceId string `json:"workspaceId,omitempty"`

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

	// ForceSendFields is a list of field names (e.g. "AccountId") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

Tag: Represents a Google Tag Manager Tag.

func (*Tag) MarshalJSON

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

type TeardownTag

type TeardownTag struct {
	// StopTeardownOnFailure: If true, fire the teardown tag if and only if
	// the main tag fires successfully. If false, fire the teardown tag
	// regardless of main tag firing status.
	StopTeardownOnFailure bool `json:"stopTeardownOnFailure,omitempty"`

	// TagName: The name of the teardown tag.
	TagName string `json:"tagName,omitempty"`

	// ForceSendFields is a list of field names (e.g.
	// "StopTeardownOnFailure") to unconditionally include in API requests.
	// By default, fields with empty values are omitted from API requests.
	// However, any non-pointer, non-interface field appearing in
	// ForceSendFields will be sent to the server regardless of whether the
	// field is empty or not. This may be used to include empty fields in
	// Patch requests.
	ForceSendFields []string `json:"-"`

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

TeardownTag: Represents a tag that fires after another tag in order to tear down dependencies.

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.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.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.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.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.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.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.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.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.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update
	EventName *Parameter `json:"eventName,omitempty"`

	// Filter: The trigger will only fire iff all Conditions are true.
	// @mutable tagmanager.accounts.containers.workspaces.triggers.create
	// @mutable tagmanager.accounts.containers.workspaces.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.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.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.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.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.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.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.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.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.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update
	MaxTimerLengthSeconds *Parameter `json:"maxTimerLengthSeconds,omitempty"`

	// Name: Trigger display name. @mutable
	// tagmanager.accounts.containers.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update
	Name string `json:"name,omitempty"`

	// Notes: User notes on how to apply this trigger in the container.
	// @mutable tagmanager.accounts.containers.workspaces.triggers.create
	// @mutable tagmanager.accounts.containers.workspaces.triggers.update
	Notes string `json:"notes,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"`

	// Path: GTM Trigger's API relative path.
	Path string `json:"path,omitempty"`

	// Selector: A click trigger CSS selector (i.e. "a", "button" etc.).
	// Only valid for AMP Click trigger. @mutable
	// tagmanager.accounts.containers.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update
	Selector *Parameter `json:"selector,omitempty"`

	// TagManagerUrl: Auto generated link to the tag manager UI
	TagManagerUrl string `json:"tagManagerUrl,omitempty"`

	// TotalTimeMinMilliseconds: A visibility trigger minimum total visible
	// time (in milliseconds). Only valid for AMP Visibility trigger.
	// @mutable tagmanager.accounts.containers.workspaces.triggers.create
	// @mutable tagmanager.accounts.containers.workspaces.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.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update
	//
	// Possible values:
	//   "eventTypeUnspecified"
	//   "pageview"
	//   "domReady"
	//   "windowLoaded"
	//   "customEvent"
	//   "triggerGroup"
	//   "init"
	//   "consentInit"
	//   "serverPageview"
	//   "always"
	//   "firebaseAppException"
	//   "firebaseAppUpdate"
	//   "firebaseCampaign"
	//   "firebaseFirstOpen"
	//   "firebaseInAppPurchase"
	//   "firebaseNotificationDismiss"
	//   "firebaseNotificationForeground"
	//   "firebaseNotificationOpen"
	//   "firebaseNotificationReceive"
	//   "firebaseOsUpdate"
	//   "firebaseSessionStart"
	//   "firebaseUserEngagement"
	//   "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.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.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.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.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.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update
	VisibilitySelector *Parameter `json:"visibilitySelector,omitempty"`

	// VisiblePercentageMax: A visibility trigger maximum percent
	// visibility. Only valid for AMP Visibility trigger. @mutable
	// tagmanager.accounts.containers.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update
	VisiblePercentageMax *Parameter `json:"visiblePercentageMax,omitempty"`

	// VisiblePercentageMin: A visibility trigger minimum percent
	// visibility. Only valid for AMP Visibility trigger. @mutable
	// tagmanager.accounts.containers.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.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.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.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.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update
	WaitForTagsTimeout *Parameter `json:"waitForTagsTimeout,omitempty"`

	// WorkspaceId: GTM Workspace ID.
	WorkspaceId string `json:"workspaceId,omitempty"`

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

	// ForceSendFields is a list of field names (e.g. "AccountId") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

Trigger: Represents a Google Tag Manager Trigger

func (*Trigger) MarshalJSON

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

type UserPermission

type UserPermission struct {
	// AccountAccess: GTM Account access permissions. @mutable
	// tagmanager.accounts.permissions.create @mutable
	// tagmanager.accounts.permissions.update
	AccountAccess *AccountAccess `json:"accountAccess,omitempty"`

	// AccountId: The Account ID uniquely identifies the GTM Account.
	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"`

	// Path: GTM UserPermission's API relative path.
	Path string `json:"path,omitempty"`

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

	// ForceSendFields is a list of field names (e.g. "AccountAccess") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

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

func (*UserPermission) MarshalJSON

func (s *UserPermission) 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.workspaces.variables.create @mutable
	// tagmanager.accounts.containers.workspaces.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.workspaces.variables.create @mutable
	// tagmanager.accounts.containers.workspaces.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"`

	// FormatValue: Option to convert a variable value to other value.
	FormatValue *VariableFormatValue `json:"formatValue,omitempty"`

	// Name: Variable display name. @mutable
	// tagmanager.accounts.containers.workspaces.variables.create @mutable
	// tagmanager.accounts.containers.workspaces.variables.update
	Name string `json:"name,omitempty"`

	// Notes: User notes on how to apply this variable in the container.
	// @mutable tagmanager.accounts.containers.workspaces.variables.create
	// @mutable tagmanager.accounts.containers.workspaces.variables.update
	Notes string `json:"notes,omitempty"`

	// Parameter: The variable's parameters. @mutable
	// tagmanager.accounts.containers.workspaces.variables.create @mutable
	// tagmanager.accounts.containers.workspaces.variables.update
	Parameter []*Parameter `json:"parameter,omitempty"`

	// ParentFolderId: Parent folder id.
	ParentFolderId string `json:"parentFolderId,omitempty"`

	// Path: GTM Variable's API relative path.
	Path string `json:"path,omitempty"`

	// ScheduleEndMs: The end timestamp in milliseconds to schedule a
	// variable. @mutable
	// tagmanager.accounts.containers.workspaces.variables.create @mutable
	// tagmanager.accounts.containers.workspaces.variables.update
	ScheduleEndMs int64 `json:"scheduleEndMs,omitempty,string"`

	// ScheduleStartMs: The start timestamp in milliseconds to schedule a
	// variable. @mutable
	// tagmanager.accounts.containers.workspaces.variables.create @mutable
	// tagmanager.accounts.containers.workspaces.variables.update
	ScheduleStartMs int64 `json:"scheduleStartMs,omitempty,string"`

	// TagManagerUrl: Auto generated link to the tag manager UI
	TagManagerUrl string `json:"tagManagerUrl,omitempty"`

	// Type: GTM Variable Type. @mutable
	// tagmanager.accounts.containers.workspaces.variables.create @mutable
	// tagmanager.accounts.containers.workspaces.variables.update
	Type string `json:"type,omitempty"`

	// VariableId: The Variable ID uniquely identifies the GTM Variable.
	VariableId string `json:"variableId,omitempty"`

	// WorkspaceId: GTM Workspace ID.
	WorkspaceId string `json:"workspaceId,omitempty"`

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

	// ForceSendFields is a list of field names (e.g. "AccountId") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

Variable: Represents a Google Tag Manager Variable.

func (*Variable) MarshalJSON

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

type VariableFormatValue

type VariableFormatValue struct {
	// CaseConversionType: The option to convert a string-type variable
	// value to either lowercase or uppercase.
	//
	// Possible values:
	//   "none"
	//   "lowercase" - The option to convert a variable value to lowercase.
	//   "uppercase" - The option to convert a variable value to uppercase.
	CaseConversionType string `json:"caseConversionType,omitempty"`

	// ConvertFalseToValue: The value to convert if a variable value is
	// false.
	ConvertFalseToValue *Parameter `json:"convertFalseToValue,omitempty"`

	// ConvertNullToValue: The value to convert if a variable value is null.
	ConvertNullToValue *Parameter `json:"convertNullToValue,omitempty"`

	// ConvertTrueToValue: The value to convert if a variable value is true.
	ConvertTrueToValue *Parameter `json:"convertTrueToValue,omitempty"`

	// ConvertUndefinedToValue: The value to convert if a variable value is
	// undefined.
	ConvertUndefinedToValue *Parameter `json:"convertUndefinedToValue,omitempty"`

	// ForceSendFields is a list of field names (e.g. "CaseConversionType")
	// to unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

func (*VariableFormatValue) MarshalJSON

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

type Workspace

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

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

	// Description: Workspace description. @mutable
	// tagmanager.accounts.containers.workspaces.create @mutable
	// tagmanager.accounts.containers.workspaces.update
	Description string `json:"description,omitempty"`

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

	// Name: Workspace display name. @mutable
	// tagmanager.accounts.containers.workspaces.create @mutable
	// tagmanager.accounts.containers.workspaces.update
	Name string `json:"name,omitempty"`

	// Path: GTM Workspace's API relative path.
	Path string `json:"path,omitempty"`

	// TagManagerUrl: Auto generated link to the tag manager UI
	TagManagerUrl string `json:"tagManagerUrl,omitempty"`

	// WorkspaceId: The Workspace ID uniquely identifies the GTM Workspace.
	WorkspaceId string `json:"workspaceId,omitempty"`

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

	// ForceSendFields is a list of field names (e.g. "AccountId") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

Workspace: Represents a Google Tag Manager Container Workspace.

func (*Workspace) MarshalJSON

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

type Zone

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

	// Boundary: This Zone's boundary.
	Boundary *ZoneBoundary `json:"boundary,omitempty"`

	// ChildContainer: Containers that are children of this Zone.
	ChildContainer []*ZoneChildContainer `json:"childContainer,omitempty"`

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

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

	// Name: Zone display name.
	Name string `json:"name,omitempty"`

	// Notes: User notes on how to apply this zone in the container.
	Notes string `json:"notes,omitempty"`

	// Path: GTM Zone's API relative path.
	Path string `json:"path,omitempty"`

	// TagManagerUrl: Auto generated link to the tag manager UI
	TagManagerUrl string `json:"tagManagerUrl,omitempty"`

	// TypeRestriction: This Zone's type restrictions.
	TypeRestriction *ZoneTypeRestriction `json:"typeRestriction,omitempty"`

	// WorkspaceId: GTM Workspace ID.
	WorkspaceId string `json:"workspaceId,omitempty"`

	// ZoneId: The Zone ID uniquely identifies the GTM Zone.
	ZoneId string `json:"zoneId,omitempty"`

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

	// ForceSendFields is a list of field names (e.g. "AccountId") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

Zone: Represents a Google Tag Manager Zone's contents.

func (*Zone) MarshalJSON

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

type ZoneBoundary

type ZoneBoundary struct {
	// Condition: The conditions that, when conjoined, make up the boundary.
	Condition []*Condition `json:"condition,omitempty"`

	// CustomEvaluationTriggerId: Custom evaluation trigger IDs. A zone will
	// evaluate its boundary conditions when any of the listed triggers are
	// true.
	CustomEvaluationTriggerId []string `json:"customEvaluationTriggerId,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Condition") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

ZoneBoundary: Represents a Zone's boundaries.

func (*ZoneBoundary) MarshalJSON

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

type ZoneChildContainer

type ZoneChildContainer struct {
	// Nickname: The zone's nickname for the child container.
	Nickname string `json:"nickname,omitempty"`

	// PublicId: The child container's public id.
	PublicId string `json:"publicId,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Nickname") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

ZoneChildContainer: Represents a child container of a Zone.

func (*ZoneChildContainer) MarshalJSON

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

type ZoneTypeRestriction

type ZoneTypeRestriction struct {
	// Enable: True if type restrictions have been enabled for this Zone.
	Enable bool `json:"enable,omitempty"`

	// WhitelistedTypeId: List of type public ids that have been whitelisted
	// for use in this Zone.
	WhitelistedTypeId []string `json:"whitelistedTypeId,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Enable") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

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

ZoneTypeRestriction: Represents a Zone's type restrictions.

func (*ZoneTypeRestriction) MarshalJSON

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

Jump to

Keyboard shortcuts

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