tagmanager

package
v0.0.0-...-41dc4b6 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2018 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Overview

Package tagmanager provides access to the Tag Manager API.

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

Usage example:

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

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.
	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.
	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.
	//
	// Possible values:
	//   "accountPermissionUnspecified"
	//   "admin"
	//   "noAccess"
	//   "user"
	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 AccountsContainersEnvironmentsPatchCall

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

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

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

func (*AccountsContainersEnvironmentsPatchCall) Fields

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

func (*AccountsContainersEnvironmentsPatchCall) Fingerprint

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

func (*AccountsContainersEnvironmentsPatchCall) Header

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

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.

func (*AccountsContainersEnvironmentsService) Delete

Delete: Deletes a GTM Environment.

func (*AccountsContainersEnvironmentsService) Get

Get: Gets a GTM Environment.

func (*AccountsContainersEnvironmentsService) List

List: Lists all GTM Environments of a GTM Container.

func (*AccountsContainersEnvironmentsService) Patch

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

func (*AccountsContainersEnvironmentsService) Reauthorize

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

func (*AccountsContainersEnvironmentsService) Update

Update: Updates a GTM Environment.

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.

func (*AccountsContainersService) Delete

Delete: Deletes a Container.

func (*AccountsContainersService) Get

Get: Gets a Container.

func (*AccountsContainersService) List

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

func (*AccountsContainersService) Update

Update: Updates a Container.

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

func (*AccountsContainersVersionHeadersService) List

List: Lists all Container Versions of a GTM Container.

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.

func (*AccountsContainersVersionsService) Get

Get: Gets a Container Version.

func (*AccountsContainersVersionsService) Live

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

func (*AccountsContainersVersionsService) Publish

Publish: Publishes a Container Version.

func (*AccountsContainersVersionsService) SetLatest

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

func (*AccountsContainersVersionsService) Undelete

Undelete: Undeletes a Container Version.

func (*AccountsContainersVersionsService) Update

Update: Updates a Container Version.

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:

"advertiserId"
"advertisingTrackingEnabled"
"ampBrowserLanguage"
"ampCanonicalHost"
"ampCanonicalPath"
"ampCanonicalUrl"
"ampClientId"
"ampClientMaxScrollX"
"ampClientMaxScrollY"
"ampClientScreenHeight"
"ampClientScreenWidth"
"ampClientScrollX"
"ampClientScrollY"
"ampClientTimestamp"
"ampClientTimezone"
"ampGtmEvent"
"ampPageDownloadTime"
"ampPageLoadTime"
"ampPageViewId"
"ampReferrer"
"ampTitle"
"ampTotalEngagedTime"
"appId"
"appName"
"appVersionCode"
"appVersionName"
"builtInVariableTypeUnspecified"
"clickClasses"
"clickElement"
"clickId"
"clickTarget"
"clickText"
"clickUrl"
"containerId"
"containerVersion"
"debugMode"
"deviceName"
"elementVisibilityFirstTime"
"elementVisibilityRatio"
"elementVisibilityRecentTime"
"elementVisibilityTime"
"environmentName"
"errorLine"
"errorMessage"
"errorUrl"
"event"
"eventName"
"firebaseEventParameterCampaign"
"firebaseEventParameterCampaignAclid"
"firebaseEventParameterCampaignAnid"
"firebaseEventParameterCampaignClickTimestamp"
"firebaseEventParameterCampaignContent"
"firebaseEventParameterCampaignCp1"
"firebaseEventParameterCampaignGclid"
"firebaseEventParameterCampaignSource"
"firebaseEventParameterCampaignTerm"
"firebaseEventParameterCurrency"
"firebaseEventParameterDynamicLinkAcceptTime"
"firebaseEventParameterDynamicLinkLinkid"
"firebaseEventParameterNotificationMessageDeviceTime"
"firebaseEventParameterNotificationMessageId"
"firebaseEventParameterNotificationMessageName"
"firebaseEventParameterNotificationMessageTime"
"firebaseEventParameterNotificationTopic"
"firebaseEventParameterPreviousAppVersion"
"firebaseEventParameterPreviousOsVersion"
"firebaseEventParameterPrice"
"firebaseEventParameterProductId"
"firebaseEventParameterQuantity"
"firebaseEventParameterValue"
"formClasses"
"formElement"
"formId"
"formTarget"
"formText"
"formUrl"
"historySource"
"htmlId"
"language"
"newHistoryFragment"
"newHistoryState"
"oldHistoryFragment"
"oldHistoryState"
"osVersion"
"pageHostname"
"pagePath"
"pageUrl"
"platform"
"randomNumber"
"referrer"
"resolution"
"scrollDepthDirection"
"scrollDepthThreshold"
"scrollDepthUnits"
"sdkVersion"
"videoCurrentTime"
"videoDuration"
"videoPercent"
"videoProvider"
"videoStatus"
"videoTitle"
"videoUrl"
"videoVisible"

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:

"advertiserId"
"advertisingTrackingEnabled"
"ampBrowserLanguage"
"ampCanonicalHost"
"ampCanonicalPath"
"ampCanonicalUrl"
"ampClientId"
"ampClientMaxScrollX"
"ampClientMaxScrollY"
"ampClientScreenHeight"
"ampClientScreenWidth"
"ampClientScrollX"
"ampClientScrollY"
"ampClientTimestamp"
"ampClientTimezone"
"ampGtmEvent"
"ampPageDownloadTime"
"ampPageLoadTime"
"ampPageViewId"
"ampReferrer"
"ampTitle"
"ampTotalEngagedTime"
"appId"
"appName"
"appVersionCode"
"appVersionName"
"builtInVariableTypeUnspecified"
"clickClasses"
"clickElement"
"clickId"
"clickTarget"
"clickText"
"clickUrl"
"containerId"
"containerVersion"
"debugMode"
"deviceName"
"elementVisibilityFirstTime"
"elementVisibilityRatio"
"elementVisibilityRecentTime"
"elementVisibilityTime"
"environmentName"
"errorLine"
"errorMessage"
"errorUrl"
"event"
"eventName"
"firebaseEventParameterCampaign"
"firebaseEventParameterCampaignAclid"
"firebaseEventParameterCampaignAnid"
"firebaseEventParameterCampaignClickTimestamp"
"firebaseEventParameterCampaignContent"
"firebaseEventParameterCampaignCp1"
"firebaseEventParameterCampaignGclid"
"firebaseEventParameterCampaignSource"
"firebaseEventParameterCampaignTerm"
"firebaseEventParameterCurrency"
"firebaseEventParameterDynamicLinkAcceptTime"
"firebaseEventParameterDynamicLinkLinkid"
"firebaseEventParameterNotificationMessageDeviceTime"
"firebaseEventParameterNotificationMessageId"
"firebaseEventParameterNotificationMessageName"
"firebaseEventParameterNotificationMessageTime"
"firebaseEventParameterNotificationTopic"
"firebaseEventParameterPreviousAppVersion"
"firebaseEventParameterPreviousOsVersion"
"firebaseEventParameterPrice"
"firebaseEventParameterProductId"
"firebaseEventParameterQuantity"
"firebaseEventParameterValue"
"formClasses"
"formElement"
"formId"
"formTarget"
"formText"
"formUrl"
"historySource"
"htmlId"
"language"
"newHistoryFragment"
"newHistoryState"
"oldHistoryFragment"
"oldHistoryState"
"osVersion"
"pageHostname"
"pagePath"
"pageUrl"
"platform"
"randomNumber"
"referrer"
"resolution"
"scrollDepthDirection"
"scrollDepthThreshold"
"scrollDepthUnits"
"sdkVersion"
"videoCurrentTime"
"videoDuration"
"videoPercent"
"videoProvider"
"videoStatus"
"videoTitle"
"videoUrl"
"videoVisible"

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:

"advertiserId"
"advertisingTrackingEnabled"
"ampBrowserLanguage"
"ampCanonicalHost"
"ampCanonicalPath"
"ampCanonicalUrl"
"ampClientId"
"ampClientMaxScrollX"
"ampClientMaxScrollY"
"ampClientScreenHeight"
"ampClientScreenWidth"
"ampClientScrollX"
"ampClientScrollY"
"ampClientTimestamp"
"ampClientTimezone"
"ampGtmEvent"
"ampPageDownloadTime"
"ampPageLoadTime"
"ampPageViewId"
"ampReferrer"
"ampTitle"
"ampTotalEngagedTime"
"appId"
"appName"
"appVersionCode"
"appVersionName"
"builtInVariableTypeUnspecified"
"clickClasses"
"clickElement"
"clickId"
"clickTarget"
"clickText"
"clickUrl"
"containerId"
"containerVersion"
"debugMode"
"deviceName"
"elementVisibilityFirstTime"
"elementVisibilityRatio"
"elementVisibilityRecentTime"
"elementVisibilityTime"
"environmentName"
"errorLine"
"errorMessage"
"errorUrl"
"event"
"eventName"
"firebaseEventParameterCampaign"
"firebaseEventParameterCampaignAclid"
"firebaseEventParameterCampaignAnid"
"firebaseEventParameterCampaignClickTimestamp"
"firebaseEventParameterCampaignContent"
"firebaseEventParameterCampaignCp1"
"firebaseEventParameterCampaignGclid"
"firebaseEventParameterCampaignSource"
"firebaseEventParameterCampaignTerm"
"firebaseEventParameterCurrency"
"firebaseEventParameterDynamicLinkAcceptTime"
"firebaseEventParameterDynamicLinkLinkid"
"firebaseEventParameterNotificationMessageDeviceTime"
"firebaseEventParameterNotificationMessageId"
"firebaseEventParameterNotificationMessageName"
"firebaseEventParameterNotificationMessageTime"
"firebaseEventParameterNotificationTopic"
"firebaseEventParameterPreviousAppVersion"
"firebaseEventParameterPreviousOsVersion"
"firebaseEventParameterPrice"
"firebaseEventParameterProductId"
"firebaseEventParameterQuantity"
"firebaseEventParameterValue"
"formClasses"
"formElement"
"formId"
"formTarget"
"formText"
"formUrl"
"historySource"
"htmlId"
"language"
"newHistoryFragment"
"newHistoryState"
"oldHistoryFragment"
"oldHistoryState"
"osVersion"
"pageHostname"
"pagePath"
"pageUrl"
"platform"
"randomNumber"
"referrer"
"resolution"
"scrollDepthDirection"
"scrollDepthThreshold"
"scrollDepthUnits"
"sdkVersion"
"videoCurrentTime"
"videoDuration"
"videoPercent"
"videoProvider"
"videoStatus"
"videoTitle"
"videoUrl"
"videoVisible"

type AccountsContainersWorkspacesBuiltInVariablesService

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

func (*AccountsContainersWorkspacesBuiltInVariablesService) Create

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

func (*AccountsContainersWorkspacesBuiltInVariablesService) Delete

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

func (*AccountsContainersWorkspacesBuiltInVariablesService) List

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

func (*AccountsContainersWorkspacesBuiltInVariablesService) Revert

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

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.

func (*AccountsContainersWorkspacesFoldersService) Delete

Delete: Deletes a GTM Folder.

func (*AccountsContainersWorkspacesFoldersService) Entities

Entities: List all entities in a GTM Folder.

func (*AccountsContainersWorkspacesFoldersService) Get

Get: Gets a GTM Folder.

func (*AccountsContainersWorkspacesFoldersService) List

List: Lists all GTM Folders of a Container.

func (*AccountsContainersWorkspacesFoldersService) MoveEntitiesToFolder

MoveEntitiesToFolder: Moves entities to a GTM Folder.

func (*AccountsContainersWorkspacesFoldersService) Revert

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

func (*AccountsContainersWorkspacesFoldersService) Update

Update: Updates a GTM Folder.

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 AccountsContainersWorkspacesGetProposalCall

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

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

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

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

func (*AccountsContainersWorkspacesGetProposalCall) Header

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

func (*AccountsContainersWorkspacesGetProposalCall) 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 AccountsContainersWorkspacesProposalCreateCall

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

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

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

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

func (*AccountsContainersWorkspacesProposalCreateCall) Header

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

type AccountsContainersWorkspacesProposalDeleteCall

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

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

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

func (*AccountsContainersWorkspacesProposalDeleteCall) Fields

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

func (*AccountsContainersWorkspacesProposalDeleteCall) Header

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

type AccountsContainersWorkspacesProposalService

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

func NewAccountsContainersWorkspacesProposalService

func NewAccountsContainersWorkspacesProposalService(s *Service) *AccountsContainersWorkspacesProposalService

func (*AccountsContainersWorkspacesProposalService) Create

Create: Creates a GTM Workspace Proposal.

func (*AccountsContainersWorkspacesProposalService) Delete

Delete: Deletes a GTM Workspace Proposal.

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.

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.

func (*AccountsContainersWorkspacesService) Delete

Delete: Deletes a Workspace.

func (*AccountsContainersWorkspacesService) Get

Get: Gets a Workspace.

func (*AccountsContainersWorkspacesService) GetProposal

GetProposal: Gets a GTM Workspace Proposal.

func (*AccountsContainersWorkspacesService) GetStatus

GetStatus: Finds conflicting and modified entities in the workspace.

func (*AccountsContainersWorkspacesService) List

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

func (*AccountsContainersWorkspacesService) QuickPreview

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

func (*AccountsContainersWorkspacesService) ResolveConflict

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

func (*AccountsContainersWorkspacesService) Sync

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

func (*AccountsContainersWorkspacesService) Update

Update: Updates a Workspace.

func (*AccountsContainersWorkspacesService) UpdateProposal

UpdateProposal: Updates a GTM Workspace Proposal.

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.

func (*AccountsContainersWorkspacesTagsService) Delete

Delete: Deletes a GTM Tag.

func (*AccountsContainersWorkspacesTagsService) Get

Get: Gets a GTM Tag.

func (*AccountsContainersWorkspacesTagsService) List

List: Lists all GTM Tags of a Container.

func (*AccountsContainersWorkspacesTagsService) Revert

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

func (*AccountsContainersWorkspacesTagsService) Update

Update: Updates a GTM Tag.

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 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.

func (*AccountsContainersWorkspacesTriggersService) Delete

Delete: Deletes a GTM Trigger.

func (*AccountsContainersWorkspacesTriggersService) Get

Get: Gets a GTM Trigger.

func (*AccountsContainersWorkspacesTriggersService) List

List: Lists all GTM Triggers of a Container.

func (*AccountsContainersWorkspacesTriggersService) Revert

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

func (*AccountsContainersWorkspacesTriggersService) Update

Update: Updates a GTM Trigger.

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 AccountsContainersWorkspacesUpdateProposalCall

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

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

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

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

func (*AccountsContainersWorkspacesUpdateProposalCall) 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.

func (*AccountsContainersWorkspacesVariablesService) Delete

Delete: Deletes a GTM Variable.

func (*AccountsContainersWorkspacesVariablesService) Get

Get: Gets a GTM Variable.

func (*AccountsContainersWorkspacesVariablesService) List

List: Lists all GTM Variables of a Container.

func (*AccountsContainersWorkspacesVariablesService) Revert

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

func (*AccountsContainersWorkspacesVariablesService) Update

Update: Updates a GTM Variable.

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 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.

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.

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.

func (*AccountsUserPermissionsService) Delete

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

func (*AccountsUserPermissionsService) Get

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

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.

func (*AccountsUserPermissionsService) Update

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

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.
	//
	// Possible values:
	//   "advertiserId"
	//   "advertisingTrackingEnabled"
	//   "ampBrowserLanguage"
	//   "ampCanonicalHost"
	//   "ampCanonicalPath"
	//   "ampCanonicalUrl"
	//   "ampClientId"
	//   "ampClientMaxScrollX"
	//   "ampClientMaxScrollY"
	//   "ampClientScreenHeight"
	//   "ampClientScreenWidth"
	//   "ampClientScrollX"
	//   "ampClientScrollY"
	//   "ampClientTimestamp"
	//   "ampClientTimezone"
	//   "ampGtmEvent"
	//   "ampPageDownloadTime"
	//   "ampPageLoadTime"
	//   "ampPageViewId"
	//   "ampReferrer"
	//   "ampTitle"
	//   "ampTotalEngagedTime"
	//   "appId"
	//   "appName"
	//   "appVersionCode"
	//   "appVersionName"
	//   "builtInVariableTypeUnspecified"
	//   "clickClasses"
	//   "clickElement"
	//   "clickId"
	//   "clickTarget"
	//   "clickText"
	//   "clickUrl"
	//   "containerId"
	//   "containerVersion"
	//   "debugMode"
	//   "deviceName"
	//   "elementVisibilityFirstTime"
	//   "elementVisibilityRatio"
	//   "elementVisibilityRecentTime"
	//   "elementVisibilityTime"
	//   "environmentName"
	//   "errorLine"
	//   "errorMessage"
	//   "errorUrl"
	//   "event"
	//   "eventName"
	//   "firebaseEventParameterCampaign"
	//   "firebaseEventParameterCampaignAclid"
	//   "firebaseEventParameterCampaignAnid"
	//   "firebaseEventParameterCampaignClickTimestamp"
	//   "firebaseEventParameterCampaignContent"
	//   "firebaseEventParameterCampaignCp1"
	//   "firebaseEventParameterCampaignGclid"
	//   "firebaseEventParameterCampaignSource"
	//   "firebaseEventParameterCampaignTerm"
	//   "firebaseEventParameterCurrency"
	//   "firebaseEventParameterDynamicLinkAcceptTime"
	//   "firebaseEventParameterDynamicLinkLinkid"
	//   "firebaseEventParameterNotificationMessageDeviceTime"
	//   "firebaseEventParameterNotificationMessageId"
	//   "firebaseEventParameterNotificationMessageName"
	//   "firebaseEventParameterNotificationMessageTime"
	//   "firebaseEventParameterNotificationTopic"
	//   "firebaseEventParameterPreviousAppVersion"
	//   "firebaseEventParameterPreviousOsVersion"
	//   "firebaseEventParameterPrice"
	//   "firebaseEventParameterProductId"
	//   "firebaseEventParameterQuantity"
	//   "firebaseEventParameterValue"
	//   "formClasses"
	//   "formElement"
	//   "formId"
	//   "formTarget"
	//   "formText"
	//   "formUrl"
	//   "historySource"
	//   "htmlId"
	//   "language"
	//   "newHistoryFragment"
	//   "newHistoryState"
	//   "oldHistoryFragment"
	//   "oldHistoryState"
	//   "osVersion"
	//   "pageHostname"
	//   "pagePath"
	//   "pageUrl"
	//   "platform"
	//   "randomNumber"
	//   "referrer"
	//   "resolution"
	//   "scrollDepthDirection"
	//   "scrollDepthThreshold"
	//   "scrollDepthUnits"
	//   "sdkVersion"
	//   "videoCurrentTime"
	//   "videoDuration"
	//   "videoPercent"
	//   "videoProvider"
	//   "videoStatus"
	//   "videoTitle"
	//   "videoUrl"
	//   "videoVisible"
	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 Condition

type Condition struct {
	// Parameter: A list of named parameters (key/value), depending on the
	// condition's type. Notes:
	// - For binary operators, include parameters named arg0 and arg1 for
	// specifying the left and right operands, respectively.
	// - At this time, the left operand (arg0) must be a reference to a
	// variable.
	// - For case-insensitive Regex matching, include a boolean parameter
	// named ignore_case that is set to true. If not specified or set to any
	// other value, the matching will be case sensitive.
	// - To negate an operator, include a boolean parameter named negate
	// boolean parameter that is set to true.
	Parameter []*Parameter `json:"parameter,omitempty"`

	// Type: The type of operator for this condition.
	//
	// Possible values:
	//   "conditionTypeUnspecified"
	//   "contains"
	//   "cssSelector"
	//   "endsWith"
	//   "equals"
	//   "greater"
	//   "greaterOrEquals"
	//   "less"
	//   "lessOrEquals"
	//   "matchRegex"
	//   "startsWith"
	//   "urlMatches"
	Type string `json:"type,omitempty"`

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

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

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.
	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.
	Name string `json:"name,omitempty"`

	// Notes: Container Notes.
	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.
	//
	// Possible values:
	//   "amp"
	//   "android"
	//   "androidSdk5"
	//   "ios"
	//   "iosSdk5"
	//   "usageContextUnspecified"
	//   "web"
	UsageContext []string `json:"usageContext,omitempty"`

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

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

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

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.
	ContainerId string `json:"containerId,omitempty"`

	// Permission: List of Container permissions.
	//
	// Possible values:
	//   "approve"
	//   "containerPermissionUnspecified"
	//   "edit"
	//   "noAccess"
	//   "publish"
	//   "read"
	Permission string `json:"permission,omitempty"`

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

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

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

	// Container: The container that this version was taken from.
	Container *Container `json:"container,omitempty"`

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

	// ContainerVersionId: The Container Version ID uniquely identifies the
	// GTM Container Version.
	ContainerVersionId string `json:"containerVersionId,omitempty"`

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

	// Description: Container version description.
	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.
	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"`

	// 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 CreateWorkspaceProposalRequest

type CreateWorkspaceProposalRequest struct {
	// InitialComment: If present, an initial comment to associate with the
	// workspace proposal.
	InitialComment *WorkspaceProposalHistoryComment `json:"initialComment,omitempty"`

	// Reviewers: List of users to review the workspace proposal.
	Reviewers []*WorkspaceProposalUser `json:"reviewers,omitempty"`

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

CreateWorkspaceProposalRequest: Creates a workspace proposal to start a review of a workspace.

func (*CreateWorkspaceProposalRequest) MarshalJSON

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

type Entity

type Entity struct {
	// ChangeStatus: Represents how the entity has been changed in the
	// workspace.
	//
	// Possible values:
	//   "added"
	//   "changeStatusUnspecified"
	//   "deleted"
	//   "none"
	//   "updated"
	ChangeStatus string `json:"changeStatus,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 *Timestamp `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.
	Description string `json:"description,omitempty"`

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

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

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

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

	// 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:
	//   "latest"
	//   "live"
	//   "user"
	//   "workspace"
	Type string `json:"type,omitempty"`

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

	// Notes: User notes on how to apply this folder in the container.
	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 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 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 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.
	Key string `json:"key,omitempty"`

	// List: This list parameter's parameters (keys will be ignored).
	List []*Parameter `json:"list,omitempty"`

	// Map: This map parameter's parameters (must have keys; keys must be
	// unique).
	Map []*Parameter `json:"map,omitempty"`

	// Type: The parameter type. Valid values are:
	// - boolean: The value represents a boolean, represented as 'true' or
	// 'false'
	// - integer: The value represents a 64-bit signed integer value, in
	// base 10
	// - list: A list of parameters should be specified
	// - map: A map of parameters should be specified
	// - template: The value represents any text; this can include variable
	// references (even variable references that might return non-string
	// types)
	//
	// Possible values:
	//   "boolean"
	//   "integer"
	//   "list"
	//   "map"
	//   "template"
	//   "typeUnspecified"
	Type string `json:"type,omitempty"`

	// Value: A parameter's value (may contain variable references such as
	// "{{myVariable}}") as appropriate to the specified type.
	Value string `json:"value,omitempty"`

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

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

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 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 Service

type Service struct {
	BasePath  string // API endpoint base URL
	UserAgent string // optional additional User-Agent fragment

	Accounts *AccountsService
	// contains filtered or unexported fields
}

func New

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

type SetupTag

type SetupTag struct {
	// StopOnSetupFailure: If true, fire the main tag if and only if the
	// setup tag fires successfully. If false, fire the main tag regardless
	// of setup tag firing status.
	StopOnSetupFailure bool `json:"stopOnSetupFailure,omitempty"`

	// TagName: The name of the setup tag.
	TagName string `json:"tagName,omitempty"`

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

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

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.
	BlockingRuleId []string `json:"blockingRuleId,omitempty"`

	// BlockingTriggerId: Blocking trigger IDs. If any of the listed
	// triggers evaluate to true, the tag will not fire.
	BlockingTriggerId []string `json:"blockingTriggerId,omitempty"`

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

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

	// FiringRuleId: Firing rule IDs. A tag will fire when any of the listed
	// rules are true and all of its blockingRuleIds (if any specified) are
	// false.
	FiringRuleId []string `json:"firingRuleId,omitempty"`

	// FiringTriggerId: Firing trigger IDs. A tag will fire when any of the
	// listed triggers are true and all of its blockingTriggerIds (if any
	// specified) are false.
	FiringTriggerId []string `json:"firingTriggerId,omitempty"`

	// LiveOnly: If set to true, this tag will only fire in the live
	// environment (e.g. not in preview or debug mode).
	LiveOnly bool `json:"liveOnly,omitempty"`

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

	// Notes: User notes on how to apply this tag in the container.
	Notes string `json:"notes,omitempty"`

	// Parameter: The tag's parameters.
	Parameter []*Parameter `json:"parameter,omitempty"`

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

	// 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.
	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.
	Priority *Parameter `json:"priority,omitempty"`

	// ScheduleEndMs: The end timestamp in milliseconds to schedule a tag.
	ScheduleEndMs int64 `json:"scheduleEndMs,omitempty,string"`

	// ScheduleStartMs: The start timestamp in milliseconds to schedule a
	// tag.
	ScheduleStartMs int64 `json:"scheduleStartMs,omitempty,string"`

	// SetupTag: The list of setup tags. Currently we only allow one.
	SetupTag []*SetupTag `json:"setupTag,omitempty"`

	// TagFiringOption: Option to fire this tag.
	//
	// Possible values:
	//   "oncePerEvent"
	//   "oncePerLoad"
	//   "tagFiringOptionUnspecified"
	//   "unlimited"
	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.
	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 Timestamp

type Timestamp struct {
	// Nanos: Non-negative fractions of a second at nanosecond resolution.
	// Negative second values with fractions must still have non-negative
	// nanos values that count forward in time. Must be from 0 to
	// 999,999,999 inclusive.
	Nanos int64 `json:"nanos,omitempty"`

	// Seconds: Represents seconds of UTC time since Unix epoch
	// 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
	// 9999-12-31T23:59:59Z inclusive.
	Seconds int64 `json:"seconds,omitempty,string"`

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

Timestamp: A Timestamp represents a point in time independent of any time zone or calendar, represented as seconds and fractions of seconds at nanosecond resolution in UTC Epoch time. It is encoded using the Proleptic Gregorian Calendar which extends the Gregorian calendar backwards to year one. It is encoded assuming all minutes are 60 seconds long, i.e. leap seconds are "smeared" so that no leap second table is needed for interpretation. Range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By restricting to that range, we ensure that we can convert to and from RFC 3339 date strings. See [https://www.ietf.org/rfc/rfc3339.txt](https://www.ietf.org/rfc/rfc333 9.txt).

Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp; timestamp.set_seconds(time(NULL)); timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv; gettimeofday(&tv, NULL);

Timestamp timestamp; timestamp.set_seconds(tv.tv_sec); timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft; GetSystemTimeAsFileTime(&ft); UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. Timestamp timestamp; timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) .setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from current time in Python.

timestamp = Timestamp() timestamp.GetCurrentTime()

JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z" where {year} is always expressed using four digits while {month}, {day}, {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone is required, though only UTC (as indicated by "Z") is presently supported.

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the standard [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScrip t/Reference/Global_Objects/Date/toISOString] method. In Python, a standard `datetime.datetime` object can be converted to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime ) with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use the Joda Time's [`ISODateTimeFormat.dateTime()`]( http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()) to obtain a formatter capable of generating timestamps in this format.

func (*Timestamp) MarshalJSON

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

type Trigger

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

	// AutoEventFilter: Used in the case of auto event tracking.
	AutoEventFilter []*Condition `json:"autoEventFilter,omitempty"`

	// CheckValidation: Whether or not we should only fire tags if the form
	// submit or link click event is not cancelled by some other event
	// handler (e.g. because of validation). Only valid for Form Submission
	// and Link Click triggers.
	CheckValidation *Parameter `json:"checkValidation,omitempty"`

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

	// ContinuousTimeMinMilliseconds: A visibility trigger minimum
	// continuous visible time (in milliseconds). Only valid for AMP
	// Visibility trigger.
	ContinuousTimeMinMilliseconds *Parameter `json:"continuousTimeMinMilliseconds,omitempty"`

	// CustomEventFilter: Used in the case of custom event, which is fired
	// iff all Conditions are true.
	CustomEventFilter []*Condition `json:"customEventFilter,omitempty"`

	// EventName: Name of the GTM event that is fired. Only valid for Timer
	// triggers.
	EventName *Parameter `json:"eventName,omitempty"`

	// Filter: The trigger will only fire iff all Conditions are true.
	Filter []*Condition `json:"filter,omitempty"`

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

	// 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.
	HorizontalScrollPercentageList *Parameter `json:"horizontalScrollPercentageList,omitempty"`

	// Interval: Time between triggering recurring Timer Events (in
	// milliseconds). Only valid for Timer triggers.
	Interval *Parameter `json:"interval,omitempty"`

	// IntervalSeconds: Time between Timer Events to fire (in seconds). Only
	// valid for AMP Timer trigger.
	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.
	Limit *Parameter `json:"limit,omitempty"`

	// MaxTimerLengthSeconds: Max time to fire Timer Events (in seconds).
	// Only valid for AMP Timer trigger.
	MaxTimerLengthSeconds *Parameter `json:"maxTimerLengthSeconds,omitempty"`

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

	// Notes: User notes on how to apply this trigger in the container.
	Notes string `json:"notes,omitempty"`

	// Parameter: Additional parameters.
	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.
	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.
	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.
	//
	// Possible values:
	//   "always"
	//   "ampClick"
	//   "ampScroll"
	//   "ampTimer"
	//   "ampVisibility"
	//   "click"
	//   "customEvent"
	//   "domReady"
	//   "elementVisibility"
	//   "eventTypeUnspecified"
	//   "firebaseAppException"
	//   "firebaseAppUpdate"
	//   "firebaseCampaign"
	//   "firebaseFirstOpen"
	//   "firebaseInAppPurchase"
	//   "firebaseNotificationDismiss"
	//   "firebaseNotificationForeground"
	//   "firebaseNotificationOpen"
	//   "firebaseNotificationReceive"
	//   "firebaseOsUpdate"
	//   "firebaseSessionStart"
	//   "firebaseUserEngagement"
	//   "formSubmission"
	//   "historyChange"
	//   "jsError"
	//   "linkClick"
	//   "pageview"
	//   "scrollDepth"
	//   "timer"
	//   "windowLoaded"
	//   "youTubeVideo"
	Type string `json:"type,omitempty"`

	// UniqueTriggerId: Globally unique id of the trigger that
	// auto-generates this (a Form Submit, Link Click or Timer listener) if
	// any. Used to make incompatible auto-events work together with trigger
	// filtering based on trigger ids. This value is populated during output
	// generation since the tags implied by triggers don't exist until then.
	// Only valid for Form Submit, Link Click and Timer triggers.
	UniqueTriggerId *Parameter `json:"uniqueTriggerId,omitempty"`

	// 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.
	VerticalScrollPercentageList *Parameter `json:"verticalScrollPercentageList,omitempty"`

	// VisibilitySelector: A visibility trigger CSS selector (i.e. "#id").
	// Only valid for AMP Visibility trigger.
	VisibilitySelector *Parameter `json:"visibilitySelector,omitempty"`

	// VisiblePercentageMax: A visibility trigger maximum percent
	// visibility. Only valid for AMP Visibility trigger.
	VisiblePercentageMax *Parameter `json:"visiblePercentageMax,omitempty"`

	// VisiblePercentageMin: A visibility trigger minimum percent
	// visibility. Only valid for AMP Visibility trigger.
	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.
	WaitForTags *Parameter `json:"waitForTags,omitempty"`

	// WaitForTagsTimeout: How long to wait (in milliseconds) for tags to
	// fire when 'waits_for_tags' above evaluates to true. Only valid for
	// Form Submission and Link Click triggers.
	WaitForTagsTimeout *Parameter `json:"waitForTagsTimeout,omitempty"`

	// 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 UpdateWorkspaceProposalRequest

type UpdateWorkspaceProposalRequest struct {
	// Fingerprint: When provided, this fingerprint must match the
	// fingerprint of the proposal in storage.
	Fingerprint string `json:"fingerprint,omitempty"`

	// NewComment: If present, a new comment is added to the workspace
	// proposal history.
	NewComment *WorkspaceProposalHistoryComment `json:"newComment,omitempty"`

	// Reviewers: If present, the list of reviewers of the workspace
	// proposal is updated.
	Reviewers []*WorkspaceProposalUser `json:"reviewers,omitempty"`

	// Status: If present, the status of the workspace proposal is updated.
	//
	// Possible values:
	//   "approved"
	//   "cancelled"
	//   "completed"
	//   "requested"
	//   "reviewed"
	//   "statusUnspecified"
	Status string `json:"status,omitempty"`

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

UpdateWorkspaceProposalRequest: Updates a workspace proposal with patch-like semantics.

func (*UpdateWorkspaceProposalRequest) MarshalJSON

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

type UserPermission

type UserPermission struct {
	// AccountAccess: GTM Account access permissions.
	AccountAccess *AccountAccess `json:"accountAccess,omitempty"`

	// AccountId: The Account ID uniquely identifies the GTM Account.
	AccountId string `json:"accountId,omitempty"`

	// ContainerAccess: GTM Container access permissions.
	ContainerAccess []*ContainerAccess `json:"containerAccess,omitempty"`

	// EmailAddress: User's email address.
	EmailAddress string `json:"emailAddress,omitempty"`

	// 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.
	DisablingTriggerId []string `json:"disablingTriggerId,omitempty"`

	// EnablingTriggerId: For mobile containers only: A list of trigger IDs
	// for enabling conditional variables; the variable is enabled if one of
	// the enabling triggers is true while all the disabling triggers are
	// false. Treated as an unordered set.
	EnablingTriggerId []string `json:"enablingTriggerId,omitempty"`

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

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

	// Notes: User notes on how to apply this variable in the container.
	Notes string `json:"notes,omitempty"`

	// Parameter: The variable's parameters.
	Parameter []*Parameter `json:"parameter,omitempty"`

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

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

	// ScheduleEndMs: The end timestamp in milliseconds to schedule a
	// variable.
	ScheduleEndMs int64 `json:"scheduleEndMs,omitempty,string"`

	// ScheduleStartMs: The start timestamp in milliseconds to schedule a
	// variable.
	ScheduleStartMs int64 `json:"scheduleStartMs,omitempty,string"`

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

	// Type: GTM Variable Type.
	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 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.
	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.
	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 WorkspaceProposal

type WorkspaceProposal struct {
	// Authors: List of authors for the workspace proposal.
	Authors []*WorkspaceProposalUser `json:"authors,omitempty"`

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

	// History: Records the history of comments and status changes.
	History []*WorkspaceProposalHistory `json:"history,omitempty"`

	// Path: GTM workspace proposal's relative path.
	Path string `json:"path,omitempty"`

	// Reviewers: Lists of reviewers for the workspace proposal.
	Reviewers []*WorkspaceProposalUser `json:"reviewers,omitempty"`

	// Status: The status of the workspace proposal as it goes through
	// review.
	//
	// Possible values:
	//   "approved"
	//   "cancelled"
	//   "completed"
	//   "requested"
	//   "reviewed"
	//   "statusUnspecified"
	Status string `json:"status,omitempty"`

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

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

WorkspaceProposal: A workspace proposal represents an ongoing review of workspace changes in an effort to gain approval for container version creation.

func (*WorkspaceProposal) MarshalJSON

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

type WorkspaceProposalHistory

type WorkspaceProposalHistory struct {
	// Comment: A user or reviewer comment.
	Comment *WorkspaceProposalHistoryComment `json:"comment,omitempty"`

	// CreatedBy: The party responsible for the change in history.
	CreatedBy *WorkspaceProposalUser `json:"createdBy,omitempty"`

	// CreatedTimestamp: When this history event was added to the workspace
	// proposal.
	CreatedTimestamp *Timestamp `json:"createdTimestamp,omitempty"`

	// StatusChange: A change in the proposal's status.
	StatusChange *WorkspaceProposalHistoryStatusChange `json:"statusChange,omitempty"`

	// Type: The history type distinguishing between comments and status
	// changes.
	//
	// Possible values:
	//   "comment"
	//   "statusChange"
	//   "unspecified"
	Type string `json:"type,omitempty"`

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

WorkspaceProposalHistory: A history event that represents a comment or status change in the proposal.

func (*WorkspaceProposalHistory) MarshalJSON

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

type WorkspaceProposalHistoryComment

type WorkspaceProposalHistoryComment struct {
	// Content: The contents of the reviewer or author comment.
	Content string `json:"content,omitempty"`

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

WorkspaceProposalHistoryComment: A comment from the reviewer or author.

func (*WorkspaceProposalHistoryComment) MarshalJSON

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

type WorkspaceProposalHistoryStatusChange

type WorkspaceProposalHistoryStatusChange struct {
	// NewStatus: The new proposal status after that status change.
	//
	// Possible values:
	//   "approved"
	//   "cancelled"
	//   "completed"
	//   "requested"
	//   "reviewed"
	//   "statusUnspecified"
	NewStatus string `json:"newStatus,omitempty"`

	// OldStatus: The old proposal status before the status change.
	//
	// Possible values:
	//   "approved"
	//   "cancelled"
	//   "completed"
	//   "requested"
	//   "reviewed"
	//   "statusUnspecified"
	OldStatus string `json:"oldStatus,omitempty"`

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

WorkspaceProposalHistoryStatusChange: A change in the proposal's status.

func (*WorkspaceProposalHistoryStatusChange) MarshalJSON

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

type WorkspaceProposalUser

type WorkspaceProposalUser struct {
	// GaiaId: Gaia id associated with a user, absent for the Google Tag
	// Manager system.
	GaiaId int64 `json:"gaiaId,omitempty,string"`

	// Type: User type distinguishes between a user and the Google Tag
	// Manager system.
	//
	// Possible values:
	//   "gaiaId"
	//   "system"
	Type string `json:"type,omitempty"`

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

WorkspaceProposalUser: Represents an external user or internal Google Tag Manager system.

func (*WorkspaceProposalUser) MarshalJSON

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

	// 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