tagmanager

package
v0.214.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: BSD-3-Clause Imports: 18 Imported by: 47

Documentation

Overview

Package tagmanager provides access to the Tag Manager API.

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

Library status

These client libraries are officially supported by Google. However, this library is considered complete and is in maintenance mode. This means that we will address critical bugs and security issues but will not add any new features.

When possible, we recommend using our newer [Cloud Client Libraries for Go](https://pkg.go.dev/cloud.google.com/go) that are still actively being worked and iterated on.

Creating a client

Usage example:

import "google.golang.org/api/tagmanager/v2"
...
ctx := context.Background()
tagmanagerService, err := tagmanager.NewService(ctx)

In this example, Google Application Default Credentials are used for authentication. For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.

Other authentication options

By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use google.golang.org/api/option.WithScopes:

tagmanagerService, err := tagmanager.NewService(ctx, option.WithScopes(tagmanager.TagmanagerReadonlyScope))

To use an API key for authentication (note: some APIs do not support API keys), use google.golang.org/api/option.WithAPIKey:

tagmanagerService, err := tagmanager.NewService(ctx, option.WithAPIKey("AIza..."))

To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow, use google.golang.org/api/option.WithTokenSource:

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

See google.golang.org/api/option.ClientOption for details on options.

Index

Constants

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"`
	// Features: Read-only Account feature set
	Features *AccountFeatures `json:"features,omitempty"`
	// Fingerprint: The fingerprint of the GTM Account as computed at storage time.
	// This value is recomputed whenever the account is modified.
	Fingerprint string `json:"fingerprint,omitempty"`
	// Name: Account display name. @mutable tagmanager.accounts.create @mutable
	// tagmanager.accounts.update
	Name string `json:"name,omitempty"`
	// Path: GTM Account's API relative path.
	Path string `json:"path,omitempty"`
	// ShareData: Whether the account shares data anonymously with Google and
	// others. This flag enables benchmarking by sharing your data in an anonymous
	// form. Google will remove all identifiable information about your website,
	// combine the data with hundreds of other anonymous sites and report aggregate
	// trends in the benchmarking service. @mutable tagmanager.accounts.create
	// @mutable tagmanager.accounts.update
	ShareData bool `json:"shareData,omitempty"`
	// TagManagerUrl: Auto generated link to the tag manager UI
	TagManagerUrl string `json:"tagManagerUrl,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "AccountId") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "AccountId") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

Account: Represents a Google Tag Manager Account.

func (Account) MarshalJSON

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

type AccountAccess

type AccountAccess struct {
	// Permission: Whether the user has no access, user access, or admin access to
	// an account. @mutable tagmanager.accounts.permissions.create @mutable
	// tagmanager.accounts.permissions.update
	//
	// Possible values:
	//   "accountPermissionUnspecified"
	//   "noAccess"
	//   "user"
	//   "admin"
	Permission string `json:"permission,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Permission") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Permission") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

AccountAccess: Defines the Google Tag Manager Account access permissions.

func (AccountAccess) MarshalJSON

func (s AccountAccess) MarshalJSON() ([]byte, error)

type AccountFeatures added in v0.100.0

type AccountFeatures struct {
	// SupportMultipleContainers: Whether this Account supports multiple
	// Containers.
	SupportMultipleContainers bool `json:"supportMultipleContainers,omitempty"`
	// SupportUserPermissions: Whether this Account supports user permissions
	// managed by GTM.
	SupportUserPermissions bool `json:"supportUserPermissions,omitempty"`
	// ForceSendFields is a list of field names (e.g. "SupportMultipleContainers")
	// to unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "SupportMultipleContainers") to
	// include in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

func (AccountFeatures) MarshalJSON added in v0.100.0

func (s AccountFeatures) MarshalJSON() ([]byte, error)

type AccountsContainersCombineCall added in v0.100.0

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

func (*AccountsContainersCombineCall) AllowUserPermissionFeatureUpdate added in v0.100.0

func (c *AccountsContainersCombineCall) AllowUserPermissionFeatureUpdate(allowUserPermissionFeatureUpdate bool) *AccountsContainersCombineCall

AllowUserPermissionFeatureUpdate sets the optional parameter "allowUserPermissionFeatureUpdate": Must be set to true to allow features.user_permissions to change from false to true. If this operation causes an update but this bit is false, the operation will fail.

func (*AccountsContainersCombineCall) ContainerId added in v0.100.0

ContainerId sets the optional parameter "containerId": ID of container that will be merged into the current container.

func (*AccountsContainersCombineCall) Context added in v0.100.0

Context sets the context to be used in this call's Do method.

func (*AccountsContainersCombineCall) Do added in v0.100.0

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

func (*AccountsContainersCombineCall) Fields added in v0.100.0

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

func (*AccountsContainersCombineCall) Header added in v0.100.0

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

func (*AccountsContainersCombineCall) SettingSource added in v0.100.0

func (c *AccountsContainersCombineCall) SettingSource(settingSource string) *AccountsContainersCombineCall

SettingSource sets the optional parameter "settingSource": Specify the source of config setting after combine

Possible values:

"settingSourceUnspecified"
"current" - Keep the current container config setting after combine
"other" - Use config setting from the other tag after combine

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.

func (*AccountsContainersCreateCall) Do

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

func (*AccountsContainersCreateCall) Fields

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

func (*AccountsContainersCreateCall) Header

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

type AccountsContainersDeleteCall

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

func (*AccountsContainersDeleteCall) Context

Context sets the context to be used in this call's Do method.

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

func (*AccountsContainersDeleteCall) Header

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

type AccountsContainersDestinationsGetCall added in v0.100.0

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

func (*AccountsContainersDestinationsGetCall) Context added in v0.100.0

Context sets the context to be used in this call's Do method.

func (*AccountsContainersDestinationsGetCall) Do added in v0.100.0

Do executes the "tagmanager.accounts.containers.destinations.get" call. Any non-2xx status code is an error. Response headers are in either *Destination.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 (*AccountsContainersDestinationsGetCall) Fields added in v0.100.0

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

func (*AccountsContainersDestinationsGetCall) Header added in v0.100.0

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

func (*AccountsContainersDestinationsGetCall) IfNoneMatch added in v0.100.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type AccountsContainersDestinationsLinkCall added in v0.100.0

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

func (*AccountsContainersDestinationsLinkCall) AllowUserPermissionFeatureUpdate added in v0.100.0

func (c *AccountsContainersDestinationsLinkCall) AllowUserPermissionFeatureUpdate(allowUserPermissionFeatureUpdate bool) *AccountsContainersDestinationsLinkCall

AllowUserPermissionFeatureUpdate sets the optional parameter "allowUserPermissionFeatureUpdate": Must be set to true to allow features.user_permissions to change from false to true. If this operation causes an update but this bit is false, the operation will fail.

func (*AccountsContainersDestinationsLinkCall) Context added in v0.100.0

Context sets the context to be used in this call's Do method.

func (*AccountsContainersDestinationsLinkCall) DestinationId added in v0.100.0

DestinationId sets the optional parameter "destinationId": Destination ID to be linked to the current container.

func (*AccountsContainersDestinationsLinkCall) Do added in v0.100.0

Do executes the "tagmanager.accounts.containers.destinations.link" call. Any non-2xx status code is an error. Response headers are in either *Destination.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 (*AccountsContainersDestinationsLinkCall) Fields added in v0.100.0

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

func (*AccountsContainersDestinationsLinkCall) Header added in v0.100.0

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

type AccountsContainersDestinationsListCall added in v0.100.0

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

func (*AccountsContainersDestinationsListCall) Context added in v0.100.0

Context sets the context to be used in this call's Do method.

func (*AccountsContainersDestinationsListCall) Do added in v0.100.0

Do executes the "tagmanager.accounts.containers.destinations.list" call. Any non-2xx status code is an error. Response headers are in either *ListDestinationsResponse.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 (*AccountsContainersDestinationsListCall) Fields added in v0.100.0

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

func (*AccountsContainersDestinationsListCall) Header added in v0.100.0

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

func (*AccountsContainersDestinationsListCall) IfNoneMatch added in v0.100.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type AccountsContainersDestinationsService added in v0.100.0

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

func NewAccountsContainersDestinationsService added in v0.100.0

func NewAccountsContainersDestinationsService(s *Service) *AccountsContainersDestinationsService

func (*AccountsContainersDestinationsService) Get added in v0.100.0

Get: Gets a Destination.

  • path: Google Tag Destination's API relative path. Example: accounts/{account_id}/containers/{container_id}/destinations/{destination_l ink_id}.

Link: Adds a Destination to this Container and removes it from the Container to which it is currently linked.

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

func (*AccountsContainersDestinationsService) List added in v0.100.0

List: Lists all Destinations linked to a GTM Container.

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

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.

func (*AccountsContainersEnvironmentsCreateCall) Do

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

func (*AccountsContainersEnvironmentsCreateCall) Fields

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

func (*AccountsContainersEnvironmentsCreateCall) Header

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

type AccountsContainersEnvironmentsDeleteCall

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

func (*AccountsContainersEnvironmentsDeleteCall) Context

Context sets the context to be used in this call's Do method.

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

func (*AccountsContainersEnvironmentsDeleteCall) Header

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

type AccountsContainersEnvironmentsGetCall

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

func (*AccountsContainersEnvironmentsGetCall) Context

Context sets the context to be used in this call's Do method.

func (*AccountsContainersEnvironmentsGetCall) Do

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

func (*AccountsContainersEnvironmentsGetCall) Fields

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

func (*AccountsContainersEnvironmentsGetCall) Header

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

func (*AccountsContainersEnvironmentsGetCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type AccountsContainersEnvironmentsListCall

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

func (*AccountsContainersEnvironmentsListCall) Context

Context sets the context to be used in this call's Do method.

func (*AccountsContainersEnvironmentsListCall) Do

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

func (*AccountsContainersEnvironmentsListCall) Fields

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

func (*AccountsContainersEnvironmentsListCall) Header

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

func (*AccountsContainersEnvironmentsListCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*AccountsContainersEnvironmentsListCall) PageToken

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

func (*AccountsContainersEnvironmentsListCall) Pages

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

type AccountsContainersEnvironmentsReauthorizeCall

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

func (*AccountsContainersEnvironmentsReauthorizeCall) Context

Context sets the context to be used in this call's Do method.

func (*AccountsContainersEnvironmentsReauthorizeCall) Do

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

func (*AccountsContainersEnvironmentsReauthorizeCall) Fields

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

func (*AccountsContainersEnvironmentsReauthorizeCall) Header

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

type AccountsContainersEnvironmentsService

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

func NewAccountsContainersEnvironmentsService

func NewAccountsContainersEnvironmentsService(s *Service) *AccountsContainersEnvironmentsService

func (*AccountsContainersEnvironmentsService) Create

Create: Creates a GTM Environment.

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

func (*AccountsContainersEnvironmentsService) Delete

Delete: Deletes a GTM Environment.

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

func (*AccountsContainersEnvironmentsService) Get

Get: Gets a GTM Environment.

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

func (*AccountsContainersEnvironmentsService) List

List: Lists all GTM Environments of a GTM Container.

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

func (*AccountsContainersEnvironmentsService) Reauthorize

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

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

func (*AccountsContainersEnvironmentsService) Update

Update: Updates a GTM Environment.

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

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.

func (*AccountsContainersEnvironmentsUpdateCall) Do

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

func (*AccountsContainersEnvironmentsUpdateCall) Fields

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

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 a http.Header that can be modified by the caller to add headers to the request.

type AccountsContainersGetCall

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

func (*AccountsContainersGetCall) Context

Context sets the context to be used in this call's Do method.

func (*AccountsContainersGetCall) Do

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

func (*AccountsContainersGetCall) Fields

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

func (*AccountsContainersGetCall) Header

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

func (*AccountsContainersGetCall) IfNoneMatch

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

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type AccountsContainersListCall

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

func (*AccountsContainersListCall) Context

Context sets the context to be used in this call's Do method.

func (*AccountsContainersListCall) Do

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

func (*AccountsContainersListCall) Fields

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

func (*AccountsContainersListCall) Header

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

func (*AccountsContainersListCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*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 AccountsContainersLookupCall added in v0.100.0

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

func (*AccountsContainersLookupCall) Context added in v0.100.0

Context sets the context to be used in this call's Do method.

func (*AccountsContainersLookupCall) DestinationId added in v0.100.0

func (c *AccountsContainersLookupCall) DestinationId(destinationId string) *AccountsContainersLookupCall

DestinationId sets the optional parameter "destinationId": Destination ID linked to a GTM Container, e.g. AW-123456789. Example: accounts/containers:lookup?destination_id={destination_id}. Only one of destination_id or tag_id should be set.

func (*AccountsContainersLookupCall) Do added in v0.100.0

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

func (*AccountsContainersLookupCall) Fields added in v0.100.0

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

func (*AccountsContainersLookupCall) Header added in v0.100.0

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

func (*AccountsContainersLookupCall) IfNoneMatch added in v0.100.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*AccountsContainersLookupCall) TagId added in v0.188.0

TagId sets the optional parameter "tagId": Tag ID for a GTM Container, e.g. GTM-123456789. Example: accounts/containers:lookup?tag_id={tag_id}. Only one of destination_id or tag_id should be set.

type AccountsContainersMoveTagIdCall added in v0.100.0

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

func (*AccountsContainersMoveTagIdCall) AllowUserPermissionFeatureUpdate added in v0.100.0

func (c *AccountsContainersMoveTagIdCall) AllowUserPermissionFeatureUpdate(allowUserPermissionFeatureUpdate bool) *AccountsContainersMoveTagIdCall

AllowUserPermissionFeatureUpdate sets the optional parameter "allowUserPermissionFeatureUpdate": Must be set to true to allow features.user_permissions to change from false to true. If this operation causes an update but this bit is false, the operation will fail.

func (*AccountsContainersMoveTagIdCall) Context added in v0.100.0

Context sets the context to be used in this call's Do method.

func (*AccountsContainersMoveTagIdCall) CopySettings added in v0.100.0

CopySettings sets the optional parameter "copySettings": Whether or not to copy tag settings from this tag to the new tag.

func (*AccountsContainersMoveTagIdCall) CopyTermsOfService added in v0.100.0

func (c *AccountsContainersMoveTagIdCall) CopyTermsOfService(copyTermsOfService bool) *AccountsContainersMoveTagIdCall

CopyTermsOfService sets the optional parameter "copyTermsOfService": Must be set to true to accept all terms of service agreements copied from the current tag to the newly created tag. If this bit is false, the operation will fail.

func (*AccountsContainersMoveTagIdCall) CopyUsers added in v0.100.0

CopyUsers sets the optional parameter "copyUsers": Whether or not to copy users from this tag to the new tag.

func (*AccountsContainersMoveTagIdCall) Do added in v0.100.0

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

func (*AccountsContainersMoveTagIdCall) Fields added in v0.100.0

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

func (*AccountsContainersMoveTagIdCall) Header added in v0.100.0

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

func (*AccountsContainersMoveTagIdCall) TagId added in v0.100.0

TagId sets the optional parameter "tagId": Tag ID to be removed from the current Container.

func (*AccountsContainersMoveTagIdCall) TagName added in v0.100.0

TagName sets the optional parameter "tagName": The name for the newly created tag.

type AccountsContainersService

type AccountsContainersService struct {
	Destinations *AccountsContainersDestinationsService

	Environments *AccountsContainersEnvironmentsService

	VersionHeaders *AccountsContainersVersionHeadersService

	Versions *AccountsContainersVersionsService

	Workspaces *AccountsContainersWorkspacesService
	// contains filtered or unexported fields
}

func NewAccountsContainersService

func NewAccountsContainersService(s *Service) *AccountsContainersService

func (*AccountsContainersService) Combine added in v0.100.0

Combine: Combines Containers.

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

func (*AccountsContainersService) Create

Create: Creates a Container.

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

func (*AccountsContainersService) Delete

Delete: Deletes a Container.

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

func (*AccountsContainersService) Get

Get: Gets a Container.

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

func (*AccountsContainersService) List

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

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

func (*AccountsContainersService) Lookup added in v0.100.0

Lookup: Looks up a Container by destination ID or tag ID.

func (*AccountsContainersService) MoveTagId added in v0.100.0

MoveTagId: Move Tag ID out of a Container.

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

func (*AccountsContainersService) Snippet added in v0.100.0

Snippet: Gets the tagging snippet for a Container.

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

func (*AccountsContainersService) Update

Update: Updates a Container.

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

type AccountsContainersSnippetCall added in v0.100.0

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

func (*AccountsContainersSnippetCall) Context added in v0.100.0

Context sets the context to be used in this call's Do method.

func (*AccountsContainersSnippetCall) Do added in v0.100.0

Do executes the "tagmanager.accounts.containers.snippet" call. Any non-2xx status code is an error. Response headers are in either *GetContainerSnippetResponse.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 (*AccountsContainersSnippetCall) Fields added in v0.100.0

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

func (*AccountsContainersSnippetCall) Header added in v0.100.0

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

func (*AccountsContainersSnippetCall) IfNoneMatch added in v0.100.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

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

func (*AccountsContainersUpdateCall) Do

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

func (*AccountsContainersUpdateCall) Fields

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

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 a http.Header that can be modified by the caller to add 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.

func (*AccountsContainersVersionHeadersLatestCall) Do

Do executes the "tagmanager.accounts.containers.version_headers.latest" call. 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 details.

func (*AccountsContainersVersionHeadersLatestCall) Header

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

func (*AccountsContainersVersionHeadersLatestCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

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

func (*AccountsContainersVersionHeadersListCall) Do

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

func (*AccountsContainersVersionHeadersListCall) Fields

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

func (*AccountsContainersVersionHeadersListCall) Header

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

func (*AccountsContainersVersionHeadersListCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*AccountsContainersVersionHeadersListCall) IncludeDeleted

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

func (*AccountsContainersVersionHeadersListCall) PageToken

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

func (*AccountsContainersVersionHeadersListCall) Pages

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

type AccountsContainersVersionHeadersService

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

func NewAccountsContainersVersionHeadersService

func NewAccountsContainersVersionHeadersService(s *Service) *AccountsContainersVersionHeadersService

func (*AccountsContainersVersionHeadersService) Latest

Latest: Gets the latest container version header

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

func (*AccountsContainersVersionHeadersService) List

List: Lists all Container Versions of a GTM Container.

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

type AccountsContainersVersionsDeleteCall

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

func (*AccountsContainersVersionsDeleteCall) Context

Context sets the context to be used in this call's Do method.

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

func (*AccountsContainersVersionsDeleteCall) Header

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

type AccountsContainersVersionsGetCall

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

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

func (*AccountsContainersVersionsGetCall) Do

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

func (*AccountsContainersVersionsGetCall) Fields

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

func (*AccountsContainersVersionsGetCall) Header

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

func (*AccountsContainersVersionsGetCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

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

func (*AccountsContainersVersionsLiveCall) Do

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

func (*AccountsContainersVersionsLiveCall) Fields

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

func (*AccountsContainersVersionsLiveCall) Header

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

func (*AccountsContainersVersionsLiveCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

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

func (*AccountsContainersVersionsPublishCall) Do

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

func (*AccountsContainersVersionsPublishCall) Fields

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

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 a http.Header that can be modified by the caller to add headers to the request.

type AccountsContainersVersionsService

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

func NewAccountsContainersVersionsService

func NewAccountsContainersVersionsService(s *Service) *AccountsContainersVersionsService

func (*AccountsContainersVersionsService) Delete

Delete: Deletes a Container Version.

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

func (*AccountsContainersVersionsService) Get

Get: Gets a Container Version.

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

func (*AccountsContainersVersionsService) Live

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

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

func (*AccountsContainersVersionsService) Publish

Publish: Publishes a Container Version.

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

func (*AccountsContainersVersionsService) SetLatest

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

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

func (*AccountsContainersVersionsService) Undelete

Undelete: Undeletes a Container Version.

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

func (*AccountsContainersVersionsService) Update

Update: Updates a Container Version.

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

type AccountsContainersVersionsSetLatestCall

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

func (*AccountsContainersVersionsSetLatestCall) Context

Context sets the context to be used in this call's Do method.

func (*AccountsContainersVersionsSetLatestCall) Do

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

func (*AccountsContainersVersionsSetLatestCall) Fields

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

func (*AccountsContainersVersionsSetLatestCall) Header

Header returns a http.Header that can be modified by the caller to add 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.

func (*AccountsContainersVersionsUndeleteCall) Do

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

func (*AccountsContainersVersionsUndeleteCall) Fields

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

func (*AccountsContainersVersionsUndeleteCall) Header

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

type AccountsContainersVersionsUpdateCall

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

func (*AccountsContainersVersionsUpdateCall) Context

Context sets the context to be used in this call's Do method.

func (*AccountsContainersVersionsUpdateCall) Do

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

func (*AccountsContainersVersionsUpdateCall) Fields

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

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 a http.Header that can be modified by the caller to add 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.

func (*AccountsContainersWorkspacesBuiltInVariablesCreateCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.built_in_variables.create" call. 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 details.

func (*AccountsContainersWorkspacesBuiltInVariablesCreateCall) Header

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

func (*AccountsContainersWorkspacesBuiltInVariablesCreateCall) Type

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

Possible values:

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

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.

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

func (*AccountsContainersWorkspacesBuiltInVariablesDeleteCall) Header

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

func (*AccountsContainersWorkspacesBuiltInVariablesDeleteCall) Type

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

Possible values:

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

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.

func (*AccountsContainersWorkspacesBuiltInVariablesListCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.built_in_variables.list" call. 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 details.

func (*AccountsContainersWorkspacesBuiltInVariablesListCall) Header

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

func (*AccountsContainersWorkspacesBuiltInVariablesListCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

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

func (*AccountsContainersWorkspacesBuiltInVariablesRevertCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.built_in_variables.revert" call. 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 details.

func (*AccountsContainersWorkspacesBuiltInVariablesRevertCall) Header

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

func (*AccountsContainersWorkspacesBuiltInVariablesRevertCall) Type

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

Possible values:

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

type AccountsContainersWorkspacesBuiltInVariablesService

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

func (*AccountsContainersWorkspacesBuiltInVariablesService) Create

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

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

func (*AccountsContainersWorkspacesBuiltInVariablesService) Delete

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

  • path: GTM BuiltInVariable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/b uilt_in_variables.

func (*AccountsContainersWorkspacesBuiltInVariablesService) List

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

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

func (*AccountsContainersWorkspacesBuiltInVariablesService) Revert

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

  • path: GTM BuiltInVariable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/b uilt_in_variables.

type AccountsContainersWorkspacesClientsCreateCall added in v0.55.0

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

func (*AccountsContainersWorkspacesClientsCreateCall) Context added in v0.55.0

Context sets the context to be used in this call's Do method.

func (*AccountsContainersWorkspacesClientsCreateCall) Do added in v0.55.0

Do executes the "tagmanager.accounts.containers.workspaces.clients.create" call. Any non-2xx status code is an error. Response headers are in either *Client.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 (*AccountsContainersWorkspacesClientsCreateCall) Fields added in v0.55.0

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

func (*AccountsContainersWorkspacesClientsCreateCall) Header added in v0.55.0

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

type AccountsContainersWorkspacesClientsDeleteCall added in v0.55.0

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

func (*AccountsContainersWorkspacesClientsDeleteCall) Context added in v0.55.0

Context sets the context to be used in this call's Do method.

func (*AccountsContainersWorkspacesClientsDeleteCall) Do added in v0.55.0

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

func (*AccountsContainersWorkspacesClientsDeleteCall) Fields added in v0.55.0

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

func (*AccountsContainersWorkspacesClientsDeleteCall) Header added in v0.55.0

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

type AccountsContainersWorkspacesClientsGetCall added in v0.55.0

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

func (*AccountsContainersWorkspacesClientsGetCall) Context added in v0.55.0

Context sets the context to be used in this call's Do method.

func (*AccountsContainersWorkspacesClientsGetCall) Do added in v0.55.0

Do executes the "tagmanager.accounts.containers.workspaces.clients.get" call. Any non-2xx status code is an error. Response headers are in either *Client.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 (*AccountsContainersWorkspacesClientsGetCall) Fields added in v0.55.0

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

func (*AccountsContainersWorkspacesClientsGetCall) Header added in v0.55.0

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

func (*AccountsContainersWorkspacesClientsGetCall) IfNoneMatch added in v0.55.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type AccountsContainersWorkspacesClientsListCall added in v0.55.0

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

func (*AccountsContainersWorkspacesClientsListCall) Context added in v0.55.0

Context sets the context to be used in this call's Do method.

func (*AccountsContainersWorkspacesClientsListCall) Do added in v0.55.0

Do executes the "tagmanager.accounts.containers.workspaces.clients.list" call. Any non-2xx status code is an error. Response headers are in either *ListClientsResponse.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 (*AccountsContainersWorkspacesClientsListCall) Fields added in v0.55.0

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

func (*AccountsContainersWorkspacesClientsListCall) Header added in v0.55.0

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

func (*AccountsContainersWorkspacesClientsListCall) IfNoneMatch added in v0.55.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*AccountsContainersWorkspacesClientsListCall) PageToken added in v0.55.0

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

func (*AccountsContainersWorkspacesClientsListCall) Pages added in v0.55.0

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 AccountsContainersWorkspacesClientsRevertCall added in v0.55.0

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

func (*AccountsContainersWorkspacesClientsRevertCall) Context added in v0.55.0

Context sets the context to be used in this call's Do method.

func (*AccountsContainersWorkspacesClientsRevertCall) Do added in v0.55.0

Do executes the "tagmanager.accounts.containers.workspaces.clients.revert" call. Any non-2xx status code is an error. Response headers are in either *RevertClientResponse.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 (*AccountsContainersWorkspacesClientsRevertCall) Fields added in v0.55.0

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

func (*AccountsContainersWorkspacesClientsRevertCall) Fingerprint added in v0.55.0

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

func (*AccountsContainersWorkspacesClientsRevertCall) Header added in v0.55.0

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

type AccountsContainersWorkspacesClientsService added in v0.55.0

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

func NewAccountsContainersWorkspacesClientsService added in v0.55.0

func NewAccountsContainersWorkspacesClientsService(s *Service) *AccountsContainersWorkspacesClientsService

func (*AccountsContainersWorkspacesClientsService) Create added in v0.55.0

Create: Creates a GTM Client.

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

func (*AccountsContainersWorkspacesClientsService) Delete added in v0.55.0

Delete: Deletes a GTM Client.

  • path: GTM Client's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/c lients/{client_id}.

func (*AccountsContainersWorkspacesClientsService) Get added in v0.55.0

Get: Gets a GTM Client.

  • path: GTM Client's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/c lients/{client_id}.

func (*AccountsContainersWorkspacesClientsService) List added in v0.55.0

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

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

func (*AccountsContainersWorkspacesClientsService) Revert added in v0.55.0

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

  • path: GTM Client's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/c lients/{client_id}.

func (*AccountsContainersWorkspacesClientsService) Update added in v0.55.0

Update: Updates a GTM Client.

  • path: GTM Client's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/c lients/{client_id}.

type AccountsContainersWorkspacesClientsUpdateCall added in v0.55.0

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

func (*AccountsContainersWorkspacesClientsUpdateCall) Context added in v0.55.0

Context sets the context to be used in this call's Do method.

func (*AccountsContainersWorkspacesClientsUpdateCall) Do added in v0.55.0

Do executes the "tagmanager.accounts.containers.workspaces.clients.update" call. Any non-2xx status code is an error. Response headers are in either *Client.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 (*AccountsContainersWorkspacesClientsUpdateCall) Fields added in v0.55.0

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

func (*AccountsContainersWorkspacesClientsUpdateCall) Fingerprint added in v0.55.0

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

func (*AccountsContainersWorkspacesClientsUpdateCall) Header added in v0.55.0

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

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.

func (*AccountsContainersWorkspacesCreateCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.create" call. 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 details.

func (*AccountsContainersWorkspacesCreateCall) Header

Header returns a http.Header that can be modified by the caller to add 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.

func (*AccountsContainersWorkspacesCreateVersionCall) Do

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

func (*AccountsContainersWorkspacesCreateVersionCall) Fields

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

func (*AccountsContainersWorkspacesCreateVersionCall) Header

Header returns a http.Header that can be modified by the caller to add 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.

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

func (*AccountsContainersWorkspacesDeleteCall) Header

Header returns a http.Header that can be modified by the caller to add 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.

func (*AccountsContainersWorkspacesFoldersCreateCall) Do

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

func (*AccountsContainersWorkspacesFoldersCreateCall) Fields

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

func (*AccountsContainersWorkspacesFoldersCreateCall) Header

Header returns a http.Header that can be modified by the caller to add 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.

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

func (*AccountsContainersWorkspacesFoldersDeleteCall) Header

Header returns a http.Header that can be modified by the caller to add 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.

func (*AccountsContainersWorkspacesFoldersEntitiesCall) Do

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

func (*AccountsContainersWorkspacesFoldersEntitiesCall) Fields

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

func (*AccountsContainersWorkspacesFoldersEntitiesCall) Header

Header returns a http.Header that can be modified by the caller to add 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.

func (*AccountsContainersWorkspacesFoldersGetCall) Do

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

func (*AccountsContainersWorkspacesFoldersGetCall) Fields

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

func (*AccountsContainersWorkspacesFoldersGetCall) Header

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

func (*AccountsContainersWorkspacesFoldersGetCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

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

func (*AccountsContainersWorkspacesFoldersListCall) Do

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

func (*AccountsContainersWorkspacesFoldersListCall) Fields

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

func (*AccountsContainersWorkspacesFoldersListCall) Header

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

func (*AccountsContainersWorkspacesFoldersListCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

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

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

func (*AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall) Header

Header returns a http.Header that can be modified by the caller to add 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.

func (*AccountsContainersWorkspacesFoldersRevertCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.folders.revert" call. 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 details.

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 a http.Header that can be modified by the caller to add headers to the request.

type AccountsContainersWorkspacesFoldersService

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

func NewAccountsContainersWorkspacesFoldersService

func NewAccountsContainersWorkspacesFoldersService(s *Service) *AccountsContainersWorkspacesFoldersService

func (*AccountsContainersWorkspacesFoldersService) Create

Create: Creates a GTM Folder.

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

func (*AccountsContainersWorkspacesFoldersService) Delete

Delete: Deletes a GTM Folder.

  • path: GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/f olders/{folder_id}.

func (*AccountsContainersWorkspacesFoldersService) Entities

Entities: List all entities in a GTM Folder.

  • path: GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/f olders/{folder_id}.

func (*AccountsContainersWorkspacesFoldersService) Get

Get: Gets a GTM Folder.

  • path: GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/f olders/{folder_id}.

func (*AccountsContainersWorkspacesFoldersService) List

List: Lists all GTM Folders of a Container.

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

func (*AccountsContainersWorkspacesFoldersService) MoveEntitiesToFolder

MoveEntitiesToFolder: Moves entities to a GTM Folder. If {folder_id} in the request path equals 0, this will instead move entities out of the folder they currently belong to.

  • path: GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/f olders/{folder_id}.

func (*AccountsContainersWorkspacesFoldersService) Revert

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

  • path: GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/f olders/{folder_id}.

func (*AccountsContainersWorkspacesFoldersService) Update

Update: Updates a GTM Folder.

  • path: GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/f olders/{folder_id}.

type AccountsContainersWorkspacesFoldersUpdateCall

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

func (*AccountsContainersWorkspacesFoldersUpdateCall) Context

Context sets the context to be used in this call's Do method.

func (*AccountsContainersWorkspacesFoldersUpdateCall) Do

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

func (*AccountsContainersWorkspacesFoldersUpdateCall) Fields

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

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 a http.Header that can be modified by the caller to add 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.

func (*AccountsContainersWorkspacesGetCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.get" call. 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 details.

func (*AccountsContainersWorkspacesGetCall) Header

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

func (*AccountsContainersWorkspacesGetCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

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

func (*AccountsContainersWorkspacesGetStatusCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.getStatus" call. 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 details.

func (*AccountsContainersWorkspacesGetStatusCall) Header

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

func (*AccountsContainersWorkspacesGetStatusCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type AccountsContainersWorkspacesGtagConfigCreateCall added in v0.100.0

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

func (*AccountsContainersWorkspacesGtagConfigCreateCall) Context added in v0.100.0

Context sets the context to be used in this call's Do method.

func (*AccountsContainersWorkspacesGtagConfigCreateCall) Do added in v0.100.0

Do executes the "tagmanager.accounts.containers.workspaces.gtag_config.create" call. Any non-2xx status code is an error. Response headers are in either *GtagConfig.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 (*AccountsContainersWorkspacesGtagConfigCreateCall) Fields added in v0.100.0

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

func (*AccountsContainersWorkspacesGtagConfigCreateCall) Header added in v0.100.0

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

type AccountsContainersWorkspacesGtagConfigDeleteCall added in v0.100.0

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

func (*AccountsContainersWorkspacesGtagConfigDeleteCall) Context added in v0.100.0

Context sets the context to be used in this call's Do method.

func (*AccountsContainersWorkspacesGtagConfigDeleteCall) Do added in v0.100.0

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

func (*AccountsContainersWorkspacesGtagConfigDeleteCall) Fields added in v0.100.0

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

func (*AccountsContainersWorkspacesGtagConfigDeleteCall) Header added in v0.100.0

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

type AccountsContainersWorkspacesGtagConfigGetCall added in v0.100.0

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

func (*AccountsContainersWorkspacesGtagConfigGetCall) Context added in v0.100.0

Context sets the context to be used in this call's Do method.

func (*AccountsContainersWorkspacesGtagConfigGetCall) Do added in v0.100.0

Do executes the "tagmanager.accounts.containers.workspaces.gtag_config.get" call. Any non-2xx status code is an error. Response headers are in either *GtagConfig.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 (*AccountsContainersWorkspacesGtagConfigGetCall) Fields added in v0.100.0

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

func (*AccountsContainersWorkspacesGtagConfigGetCall) Header added in v0.100.0

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

func (*AccountsContainersWorkspacesGtagConfigGetCall) IfNoneMatch added in v0.100.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type AccountsContainersWorkspacesGtagConfigListCall added in v0.100.0

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

func (*AccountsContainersWorkspacesGtagConfigListCall) Context added in v0.100.0

Context sets the context to be used in this call's Do method.

func (*AccountsContainersWorkspacesGtagConfigListCall) Do added in v0.100.0

Do executes the "tagmanager.accounts.containers.workspaces.gtag_config.list" call. Any non-2xx status code is an error. Response headers are in either *ListGtagConfigResponse.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 (*AccountsContainersWorkspacesGtagConfigListCall) Fields added in v0.100.0

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

func (*AccountsContainersWorkspacesGtagConfigListCall) Header added in v0.100.0

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

func (*AccountsContainersWorkspacesGtagConfigListCall) IfNoneMatch added in v0.100.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*AccountsContainersWorkspacesGtagConfigListCall) PageToken added in v0.100.0

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

func (*AccountsContainersWorkspacesGtagConfigListCall) Pages added in v0.100.0

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 AccountsContainersWorkspacesGtagConfigService added in v0.100.0

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

func NewAccountsContainersWorkspacesGtagConfigService added in v0.100.0

func NewAccountsContainersWorkspacesGtagConfigService(s *Service) *AccountsContainersWorkspacesGtagConfigService

func (*AccountsContainersWorkspacesGtagConfigService) Create added in v0.100.0

Create: Creates a Google tag config.

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

func (*AccountsContainersWorkspacesGtagConfigService) Delete added in v0.100.0

Delete: Deletes a Google tag config.

  • path: Google tag config's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/g tag_config/{gtag_config_id}.

func (*AccountsContainersWorkspacesGtagConfigService) Get added in v0.100.0

Get: Gets a Google tag config.

  • path: Google tag config's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/g tag_config/{gtag_config_id}.

func (*AccountsContainersWorkspacesGtagConfigService) List added in v0.100.0

List: Lists all Google tag configs in a Container.

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

func (*AccountsContainersWorkspacesGtagConfigService) Update added in v0.100.0

Update: Updates a Google tag config.

  • path: Google tag config's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/g tag_config/{gtag_config_id}.

type AccountsContainersWorkspacesGtagConfigUpdateCall added in v0.100.0

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

func (*AccountsContainersWorkspacesGtagConfigUpdateCall) Context added in v0.100.0

Context sets the context to be used in this call's Do method.

func (*AccountsContainersWorkspacesGtagConfigUpdateCall) Do added in v0.100.0

Do executes the "tagmanager.accounts.containers.workspaces.gtag_config.update" call. Any non-2xx status code is an error. Response headers are in either *GtagConfig.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 (*AccountsContainersWorkspacesGtagConfigUpdateCall) Fields added in v0.100.0

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

func (*AccountsContainersWorkspacesGtagConfigUpdateCall) Fingerprint added in v0.100.0

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

func (*AccountsContainersWorkspacesGtagConfigUpdateCall) Header added in v0.100.0

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

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.

func (*AccountsContainersWorkspacesListCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.list" call. 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 details.

func (*AccountsContainersWorkspacesListCall) Header

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

func (*AccountsContainersWorkspacesListCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*AccountsContainersWorkspacesListCall) PageToken

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

func (*AccountsContainersWorkspacesListCall) Pages

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

type AccountsContainersWorkspacesQuickPreviewCall

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

func (*AccountsContainersWorkspacesQuickPreviewCall) Context

Context sets the context to be used in this call's Do method.

func (*AccountsContainersWorkspacesQuickPreviewCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.quick_preview" call. 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 details.

func (*AccountsContainersWorkspacesQuickPreviewCall) Header

Header returns a http.Header that can be modified by the caller to add 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.

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

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 a http.Header that can be modified by the caller to add headers to the request.

type AccountsContainersWorkspacesService

func NewAccountsContainersWorkspacesService

func NewAccountsContainersWorkspacesService(s *Service) *AccountsContainersWorkspacesService

func (*AccountsContainersWorkspacesService) Create

Create: Creates a Workspace.

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

func (*AccountsContainersWorkspacesService) CreateVersion

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

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

func (*AccountsContainersWorkspacesService) Delete

Delete: Deletes a Workspace.

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

func (*AccountsContainersWorkspacesService) Get

Get: Gets a Workspace.

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

func (*AccountsContainersWorkspacesService) GetStatus

GetStatus: Finds conflicting and modified entities in the workspace.

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

func (*AccountsContainersWorkspacesService) List

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

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

func (*AccountsContainersWorkspacesService) QuickPreview

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

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

func (*AccountsContainersWorkspacesService) ResolveConflict

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

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

func (*AccountsContainersWorkspacesService) Sync

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

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

func (*AccountsContainersWorkspacesService) Update

Update: Updates a Workspace.

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

type AccountsContainersWorkspacesSyncCall

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

func (*AccountsContainersWorkspacesSyncCall) Context

Context sets the context to be used in this call's Do method.

func (*AccountsContainersWorkspacesSyncCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.sync" call. 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 details.

func (*AccountsContainersWorkspacesSyncCall) Header

Header returns a http.Header that can be modified by the caller to add 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.

func (*AccountsContainersWorkspacesTagsCreateCall) Do

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

func (*AccountsContainersWorkspacesTagsCreateCall) Fields

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

func (*AccountsContainersWorkspacesTagsCreateCall) Header

Header returns a http.Header that can be modified by the caller to add 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.

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

func (*AccountsContainersWorkspacesTagsDeleteCall) Header

Header returns a http.Header that can be modified by the caller to add 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.

func (*AccountsContainersWorkspacesTagsGetCall) Do

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

func (*AccountsContainersWorkspacesTagsGetCall) Fields

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

func (*AccountsContainersWorkspacesTagsGetCall) Header

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

func (*AccountsContainersWorkspacesTagsGetCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

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

func (*AccountsContainersWorkspacesTagsListCall) Do

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

func (*AccountsContainersWorkspacesTagsListCall) Fields

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

func (*AccountsContainersWorkspacesTagsListCall) Header

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

func (*AccountsContainersWorkspacesTagsListCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

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

func (*AccountsContainersWorkspacesTagsRevertCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.tags.revert" call. 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 details.

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 a http.Header that can be modified by the caller to add headers to the request.

type AccountsContainersWorkspacesTagsService

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

func NewAccountsContainersWorkspacesTagsService

func NewAccountsContainersWorkspacesTagsService(s *Service) *AccountsContainersWorkspacesTagsService

func (*AccountsContainersWorkspacesTagsService) Create

Create: Creates a GTM Tag.

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

func (*AccountsContainersWorkspacesTagsService) Delete

Delete: Deletes a GTM Tag.

  • path: GTM Tag's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/t ags/{tag_id}.

func (*AccountsContainersWorkspacesTagsService) Get

Get: Gets a GTM Tag.

  • path: GTM Tag's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/t ags/{tag_id}.

func (*AccountsContainersWorkspacesTagsService) List

List: Lists all GTM Tags of a Container.

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

func (*AccountsContainersWorkspacesTagsService) Revert

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

  • path: GTM Tag's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/t ags/{tag_id}.

func (*AccountsContainersWorkspacesTagsService) Update

Update: Updates a GTM Tag.

  • path: GTM Tag's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/t ags/{tag_id}.

type AccountsContainersWorkspacesTagsUpdateCall

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

func (*AccountsContainersWorkspacesTagsUpdateCall) Context

Context sets the context to be used in this call's Do method.

func (*AccountsContainersWorkspacesTagsUpdateCall) Do

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

func (*AccountsContainersWorkspacesTagsUpdateCall) Fields

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

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 a http.Header that can be modified by the caller to add headers to the request.

type AccountsContainersWorkspacesTemplatesCreateCall added in v0.6.0

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

func (*AccountsContainersWorkspacesTemplatesCreateCall) Context added in v0.6.0

Context sets the context to be used in this call's Do method.

func (*AccountsContainersWorkspacesTemplatesCreateCall) Do added in v0.6.0

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

func (*AccountsContainersWorkspacesTemplatesCreateCall) Fields added in v0.6.0

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

func (*AccountsContainersWorkspacesTemplatesCreateCall) Header added in v0.6.0

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

type AccountsContainersWorkspacesTemplatesDeleteCall added in v0.6.0

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

func (*AccountsContainersWorkspacesTemplatesDeleteCall) Context added in v0.6.0

Context sets the context to be used in this call's Do method.

func (*AccountsContainersWorkspacesTemplatesDeleteCall) Do added in v0.6.0

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

func (*AccountsContainersWorkspacesTemplatesDeleteCall) Fields added in v0.6.0

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

func (*AccountsContainersWorkspacesTemplatesDeleteCall) Header added in v0.6.0

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

type AccountsContainersWorkspacesTemplatesGetCall added in v0.6.0

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

func (*AccountsContainersWorkspacesTemplatesGetCall) Context added in v0.6.0

Context sets the context to be used in this call's Do method.

func (*AccountsContainersWorkspacesTemplatesGetCall) Do added in v0.6.0

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

func (*AccountsContainersWorkspacesTemplatesGetCall) Fields added in v0.6.0

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

func (*AccountsContainersWorkspacesTemplatesGetCall) Header added in v0.6.0

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

func (*AccountsContainersWorkspacesTemplatesGetCall) IfNoneMatch added in v0.6.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type AccountsContainersWorkspacesTemplatesListCall added in v0.6.0

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

func (*AccountsContainersWorkspacesTemplatesListCall) Context added in v0.6.0

Context sets the context to be used in this call's Do method.

func (*AccountsContainersWorkspacesTemplatesListCall) Do added in v0.6.0

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

func (*AccountsContainersWorkspacesTemplatesListCall) Fields added in v0.6.0

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

func (*AccountsContainersWorkspacesTemplatesListCall) Header added in v0.6.0

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

func (*AccountsContainersWorkspacesTemplatesListCall) IfNoneMatch added in v0.6.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*AccountsContainersWorkspacesTemplatesListCall) PageToken added in v0.6.0

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

func (*AccountsContainersWorkspacesTemplatesListCall) Pages added in v0.6.0

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

type AccountsContainersWorkspacesTemplatesRevertCall added in v0.6.0

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

func (*AccountsContainersWorkspacesTemplatesRevertCall) Context added in v0.6.0

Context sets the context to be used in this call's Do method.

func (*AccountsContainersWorkspacesTemplatesRevertCall) Do added in v0.6.0

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

func (*AccountsContainersWorkspacesTemplatesRevertCall) Fields added in v0.6.0

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

func (*AccountsContainersWorkspacesTemplatesRevertCall) Fingerprint added in v0.6.0

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

func (*AccountsContainersWorkspacesTemplatesRevertCall) Header added in v0.6.0

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

type AccountsContainersWorkspacesTemplatesService added in v0.6.0

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

func NewAccountsContainersWorkspacesTemplatesService added in v0.6.0

func NewAccountsContainersWorkspacesTemplatesService(s *Service) *AccountsContainersWorkspacesTemplatesService

func (*AccountsContainersWorkspacesTemplatesService) Create added in v0.6.0

Create: Creates a GTM Custom Template.

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

func (*AccountsContainersWorkspacesTemplatesService) Delete added in v0.6.0

Delete: Deletes a GTM Template.

  • path: GTM Custom Template's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/t emplates/{template_id}.

func (*AccountsContainersWorkspacesTemplatesService) Get added in v0.6.0

Get: Gets a GTM Template.

  • path: GTM Custom Template's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/t emplates/{template_id}.

func (*AccountsContainersWorkspacesTemplatesService) List added in v0.6.0

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

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

func (*AccountsContainersWorkspacesTemplatesService) Revert added in v0.6.0

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

  • path: GTM Custom Template's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/t emplates/{template_id}.

func (*AccountsContainersWorkspacesTemplatesService) Update added in v0.6.0

Update: Updates a GTM Template.

  • path: GTM Custom Template's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/t emplates/{template_id}.

type AccountsContainersWorkspacesTemplatesUpdateCall added in v0.6.0

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

func (*AccountsContainersWorkspacesTemplatesUpdateCall) Context added in v0.6.0

Context sets the context to be used in this call's Do method.

func (*AccountsContainersWorkspacesTemplatesUpdateCall) Do added in v0.6.0

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

func (*AccountsContainersWorkspacesTemplatesUpdateCall) Fields added in v0.6.0

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

func (*AccountsContainersWorkspacesTemplatesUpdateCall) Fingerprint added in v0.6.0

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

func (*AccountsContainersWorkspacesTemplatesUpdateCall) Header added in v0.6.0

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

type AccountsContainersWorkspacesTransformationsCreateCall added in v0.128.0

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

func (*AccountsContainersWorkspacesTransformationsCreateCall) Context added in v0.128.0

Context sets the context to be used in this call's Do method.

func (*AccountsContainersWorkspacesTransformationsCreateCall) Do added in v0.128.0

Do executes the "tagmanager.accounts.containers.workspaces.transformations.create" call. Any non-2xx status code is an error. Response headers are in either *Transformation.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 (*AccountsContainersWorkspacesTransformationsCreateCall) Fields added in v0.128.0

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

func (*AccountsContainersWorkspacesTransformationsCreateCall) Header added in v0.128.0

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

type AccountsContainersWorkspacesTransformationsDeleteCall added in v0.128.0

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

func (*AccountsContainersWorkspacesTransformationsDeleteCall) Context added in v0.128.0

Context sets the context to be used in this call's Do method.

func (*AccountsContainersWorkspacesTransformationsDeleteCall) Do added in v0.128.0

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

func (*AccountsContainersWorkspacesTransformationsDeleteCall) Fields added in v0.128.0

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

func (*AccountsContainersWorkspacesTransformationsDeleteCall) Header added in v0.128.0

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

type AccountsContainersWorkspacesTransformationsGetCall added in v0.128.0

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

func (*AccountsContainersWorkspacesTransformationsGetCall) Context added in v0.128.0

Context sets the context to be used in this call's Do method.

func (*AccountsContainersWorkspacesTransformationsGetCall) Do added in v0.128.0

Do executes the "tagmanager.accounts.containers.workspaces.transformations.get" call. Any non-2xx status code is an error. Response headers are in either *Transformation.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 (*AccountsContainersWorkspacesTransformationsGetCall) Fields added in v0.128.0

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

func (*AccountsContainersWorkspacesTransformationsGetCall) Header added in v0.128.0

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

func (*AccountsContainersWorkspacesTransformationsGetCall) IfNoneMatch added in v0.128.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type AccountsContainersWorkspacesTransformationsListCall added in v0.128.0

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

func (*AccountsContainersWorkspacesTransformationsListCall) Context added in v0.128.0

Context sets the context to be used in this call's Do method.

func (*AccountsContainersWorkspacesTransformationsListCall) Do added in v0.128.0

Do executes the "tagmanager.accounts.containers.workspaces.transformations.list" call. Any non-2xx status code is an error. Response headers are in either *ListTransformationsResponse.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 (*AccountsContainersWorkspacesTransformationsListCall) Fields added in v0.128.0

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

func (*AccountsContainersWorkspacesTransformationsListCall) Header added in v0.128.0

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

func (*AccountsContainersWorkspacesTransformationsListCall) IfNoneMatch added in v0.128.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*AccountsContainersWorkspacesTransformationsListCall) PageToken added in v0.128.0

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

func (*AccountsContainersWorkspacesTransformationsListCall) Pages added in v0.128.0

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 AccountsContainersWorkspacesTransformationsRevertCall added in v0.128.0

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

func (*AccountsContainersWorkspacesTransformationsRevertCall) Context added in v0.128.0

Context sets the context to be used in this call's Do method.

func (*AccountsContainersWorkspacesTransformationsRevertCall) Do added in v0.128.0

Do executes the "tagmanager.accounts.containers.workspaces.transformations.revert" call. Any non-2xx status code is an error. Response headers are in either *RevertTransformationResponse.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 (*AccountsContainersWorkspacesTransformationsRevertCall) Fields added in v0.128.0

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

func (*AccountsContainersWorkspacesTransformationsRevertCall) Fingerprint added in v0.128.0

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

func (*AccountsContainersWorkspacesTransformationsRevertCall) Header added in v0.128.0

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

type AccountsContainersWorkspacesTransformationsService added in v0.128.0

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

func NewAccountsContainersWorkspacesTransformationsService added in v0.128.0

func NewAccountsContainersWorkspacesTransformationsService(s *Service) *AccountsContainersWorkspacesTransformationsService

func (*AccountsContainersWorkspacesTransformationsService) Create added in v0.128.0

Create: Creates a GTM Transformation.

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

func (*AccountsContainersWorkspacesTransformationsService) Delete added in v0.128.0

Delete: Deletes a GTM Transformation.

  • path: GTM Transformation's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/t ransformations/{transformation_id}.

func (*AccountsContainersWorkspacesTransformationsService) Get added in v0.128.0

Get: Gets a GTM Transformation.

  • path: GTM Transformation's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/t ransformations/{transformation_id}.

func (*AccountsContainersWorkspacesTransformationsService) List added in v0.128.0

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

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

func (*AccountsContainersWorkspacesTransformationsService) Revert added in v0.128.0

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

  • path: GTM Transformation's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/t ransformations/{transformation_id}.

func (*AccountsContainersWorkspacesTransformationsService) Update added in v0.128.0

Update: Updates a GTM Transformation.

  • path: GTM Transformation's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/t ransformations/{transformation_id}.

type AccountsContainersWorkspacesTransformationsUpdateCall added in v0.128.0

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

func (*AccountsContainersWorkspacesTransformationsUpdateCall) Context added in v0.128.0

Context sets the context to be used in this call's Do method.

func (*AccountsContainersWorkspacesTransformationsUpdateCall) Do added in v0.128.0

Do executes the "tagmanager.accounts.containers.workspaces.transformations.update" call. Any non-2xx status code is an error. Response headers are in either *Transformation.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 (*AccountsContainersWorkspacesTransformationsUpdateCall) Fields added in v0.128.0

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

func (*AccountsContainersWorkspacesTransformationsUpdateCall) Fingerprint added in v0.128.0

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

func (*AccountsContainersWorkspacesTransformationsUpdateCall) Header added in v0.128.0

Header returns a http.Header that can be modified by the caller to add 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.

func (*AccountsContainersWorkspacesTriggersCreateCall) Do

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

func (*AccountsContainersWorkspacesTriggersCreateCall) Fields

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

func (*AccountsContainersWorkspacesTriggersCreateCall) Header

Header returns a http.Header that can be modified by the caller to add 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.

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

func (*AccountsContainersWorkspacesTriggersDeleteCall) Header

Header returns a http.Header that can be modified by the caller to add 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.

func (*AccountsContainersWorkspacesTriggersGetCall) Do

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

func (*AccountsContainersWorkspacesTriggersGetCall) Fields

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

func (*AccountsContainersWorkspacesTriggersGetCall) Header

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

func (*AccountsContainersWorkspacesTriggersGetCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

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

func (*AccountsContainersWorkspacesTriggersListCall) Do

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

func (*AccountsContainersWorkspacesTriggersListCall) Fields

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

func (*AccountsContainersWorkspacesTriggersListCall) Header

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

func (*AccountsContainersWorkspacesTriggersListCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

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

func (*AccountsContainersWorkspacesTriggersRevertCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.triggers.revert" call. 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 details.

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 a http.Header that can be modified by the caller to add headers to the request.

type AccountsContainersWorkspacesTriggersService

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

func NewAccountsContainersWorkspacesTriggersService

func NewAccountsContainersWorkspacesTriggersService(s *Service) *AccountsContainersWorkspacesTriggersService

func (*AccountsContainersWorkspacesTriggersService) Create

Create: Creates a GTM Trigger.

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

func (*AccountsContainersWorkspacesTriggersService) Delete

Delete: Deletes a GTM Trigger.

  • path: GTM Trigger's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/t riggers/{trigger_id}.

func (*AccountsContainersWorkspacesTriggersService) Get

Get: Gets a GTM Trigger.

  • path: GTM Trigger's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/t riggers/{trigger_id}.

func (*AccountsContainersWorkspacesTriggersService) List

List: Lists all GTM Triggers of a Container.

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

func (*AccountsContainersWorkspacesTriggersService) Revert

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

  • path: GTM Trigger's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/t riggers/{trigger_id}.

func (*AccountsContainersWorkspacesTriggersService) Update

Update: Updates a GTM Trigger.

  • path: GTM Trigger's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/t riggers/{trigger_id}.

type AccountsContainersWorkspacesTriggersUpdateCall

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

func (*AccountsContainersWorkspacesTriggersUpdateCall) Context

Context sets the context to be used in this call's Do method.

func (*AccountsContainersWorkspacesTriggersUpdateCall) Do

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

func (*AccountsContainersWorkspacesTriggersUpdateCall) Fields

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

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 a http.Header that can be modified by the caller to add 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.

func (*AccountsContainersWorkspacesUpdateCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.update" call. 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 details.

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 a http.Header that can be modified by the caller to add 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.

func (*AccountsContainersWorkspacesVariablesCreateCall) Do

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

func (*AccountsContainersWorkspacesVariablesCreateCall) Fields

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

func (*AccountsContainersWorkspacesVariablesCreateCall) Header

Header returns a http.Header that can be modified by the caller to add 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.

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

func (*AccountsContainersWorkspacesVariablesDeleteCall) Header

Header returns a http.Header that can be modified by the caller to add 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.

func (*AccountsContainersWorkspacesVariablesGetCall) Do

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

func (*AccountsContainersWorkspacesVariablesGetCall) Fields

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

func (*AccountsContainersWorkspacesVariablesGetCall) Header

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

func (*AccountsContainersWorkspacesVariablesGetCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

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

func (*AccountsContainersWorkspacesVariablesListCall) Do

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

func (*AccountsContainersWorkspacesVariablesListCall) Fields

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

func (*AccountsContainersWorkspacesVariablesListCall) Header

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

func (*AccountsContainersWorkspacesVariablesListCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

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

func (*AccountsContainersWorkspacesVariablesRevertCall) Do

Do executes the "tagmanager.accounts.containers.workspaces.variables.revert" call. 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 details.

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 a http.Header that can be modified by the caller to add headers to the request.

type AccountsContainersWorkspacesVariablesService

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

func NewAccountsContainersWorkspacesVariablesService

func NewAccountsContainersWorkspacesVariablesService(s *Service) *AccountsContainersWorkspacesVariablesService

func (*AccountsContainersWorkspacesVariablesService) Create

Create: Creates a GTM Variable.

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

func (*AccountsContainersWorkspacesVariablesService) Delete

Delete: Deletes a GTM Variable.

  • path: GTM Variable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/v ariables/{variable_id}.

func (*AccountsContainersWorkspacesVariablesService) Get

Get: Gets a GTM Variable.

  • path: GTM Variable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/v ariables/{variable_id}.

func (*AccountsContainersWorkspacesVariablesService) List

List: Lists all GTM Variables of a Container.

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

func (*AccountsContainersWorkspacesVariablesService) Revert

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

  • path: GTM Variable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/v ariables/{variable_id}.

func (*AccountsContainersWorkspacesVariablesService) Update

Update: Updates a GTM Variable.

  • path: GTM Variable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/v ariables/{variable_id}.

type AccountsContainersWorkspacesVariablesUpdateCall

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

func (*AccountsContainersWorkspacesVariablesUpdateCall) Context

Context sets the context to be used in this call's Do method.

func (*AccountsContainersWorkspacesVariablesUpdateCall) Do

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

func (*AccountsContainersWorkspacesVariablesUpdateCall) Fields

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

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 a http.Header that can be modified by the caller to add headers to the request.

type AccountsContainersWorkspacesZonesCreateCall added in v0.2.0

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

func (*AccountsContainersWorkspacesZonesCreateCall) Context added in v0.2.0

Context sets the context to be used in this call's Do method.

func (*AccountsContainersWorkspacesZonesCreateCall) Do added in v0.2.0

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

func (*AccountsContainersWorkspacesZonesCreateCall) Fields added in v0.2.0

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

func (*AccountsContainersWorkspacesZonesCreateCall) Header added in v0.2.0

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

type AccountsContainersWorkspacesZonesDeleteCall added in v0.2.0

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

func (*AccountsContainersWorkspacesZonesDeleteCall) Context added in v0.2.0

Context sets the context to be used in this call's Do method.

func (*AccountsContainersWorkspacesZonesDeleteCall) Do added in v0.2.0

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

func (*AccountsContainersWorkspacesZonesDeleteCall) Fields added in v0.2.0

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

func (*AccountsContainersWorkspacesZonesDeleteCall) Header added in v0.2.0

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

type AccountsContainersWorkspacesZonesGetCall added in v0.2.0

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

func (*AccountsContainersWorkspacesZonesGetCall) Context added in v0.2.0

Context sets the context to be used in this call's Do method.

func (*AccountsContainersWorkspacesZonesGetCall) Do added in v0.2.0

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

func (*AccountsContainersWorkspacesZonesGetCall) Fields added in v0.2.0

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

func (*AccountsContainersWorkspacesZonesGetCall) Header added in v0.2.0

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

func (*AccountsContainersWorkspacesZonesGetCall) IfNoneMatch added in v0.2.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type AccountsContainersWorkspacesZonesListCall added in v0.2.0

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

func (*AccountsContainersWorkspacesZonesListCall) Context added in v0.2.0

Context sets the context to be used in this call's Do method.

func (*AccountsContainersWorkspacesZonesListCall) Do added in v0.2.0

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

func (*AccountsContainersWorkspacesZonesListCall) Fields added in v0.2.0

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

func (*AccountsContainersWorkspacesZonesListCall) Header added in v0.2.0

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

func (*AccountsContainersWorkspacesZonesListCall) IfNoneMatch added in v0.2.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*AccountsContainersWorkspacesZonesListCall) PageToken added in v0.2.0

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

func (*AccountsContainersWorkspacesZonesListCall) Pages added in v0.2.0

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

type AccountsContainersWorkspacesZonesRevertCall added in v0.2.0

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

func (*AccountsContainersWorkspacesZonesRevertCall) Context added in v0.2.0

Context sets the context to be used in this call's Do method.

func (*AccountsContainersWorkspacesZonesRevertCall) Do added in v0.2.0

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

func (*AccountsContainersWorkspacesZonesRevertCall) Fields added in v0.2.0

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

func (*AccountsContainersWorkspacesZonesRevertCall) Fingerprint added in v0.2.0

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

func (*AccountsContainersWorkspacesZonesRevertCall) Header added in v0.2.0

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

type AccountsContainersWorkspacesZonesService added in v0.2.0

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

func NewAccountsContainersWorkspacesZonesService added in v0.2.0

func NewAccountsContainersWorkspacesZonesService(s *Service) *AccountsContainersWorkspacesZonesService

func (*AccountsContainersWorkspacesZonesService) Create added in v0.2.0

Create: Creates a GTM Zone.

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

func (*AccountsContainersWorkspacesZonesService) Delete added in v0.2.0

Delete: Deletes a GTM Zone.

  • path: GTM Zone's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/z ones/{zone_id}.

func (*AccountsContainersWorkspacesZonesService) Get added in v0.2.0

Get: Gets a GTM Zone.

  • path: GTM Zone's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/z ones/{zone_id}.

func (*AccountsContainersWorkspacesZonesService) List added in v0.2.0

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

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

func (*AccountsContainersWorkspacesZonesService) Revert added in v0.2.0

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

  • path: GTM Zone's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/z ones/{zone_id}.

func (*AccountsContainersWorkspacesZonesService) Update added in v0.2.0

Update: Updates a GTM Zone.

  • path: GTM Zone's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/z ones/{zone_id}.

type AccountsContainersWorkspacesZonesUpdateCall added in v0.2.0

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

func (*AccountsContainersWorkspacesZonesUpdateCall) Context added in v0.2.0

Context sets the context to be used in this call's Do method.

func (*AccountsContainersWorkspacesZonesUpdateCall) Do added in v0.2.0

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

func (*AccountsContainersWorkspacesZonesUpdateCall) Fields added in v0.2.0

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

func (*AccountsContainersWorkspacesZonesUpdateCall) Fingerprint added in v0.2.0

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

func (*AccountsContainersWorkspacesZonesUpdateCall) Header added in v0.2.0

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

type AccountsGetCall

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

func (*AccountsGetCall) Context

Context sets the context to be used in this call's Do method.

func (*AccountsGetCall) Do

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

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

func (*AccountsGetCall) Fields

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

func (*AccountsGetCall) Header

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

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

func (*AccountsGetCall) IfNoneMatch

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

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type AccountsListCall

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

func (*AccountsListCall) Context

Context sets the context to be used in this call's Do method.

func (*AccountsListCall) Do

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

func (*AccountsListCall) Fields

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

func (*AccountsListCall) Header

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

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

func (*AccountsListCall) IfNoneMatch

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

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*AccountsListCall) IncludeGoogleTags added in v0.100.0

func (c *AccountsListCall) IncludeGoogleTags(includeGoogleTags bool) *AccountsListCall

IncludeGoogleTags sets the optional parameter "includeGoogleTags": Also retrieve accounts associated with Google Tag when true.

func (*AccountsListCall) PageToken

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

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

func (*AccountsListCall) Pages

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

type AccountsService

type AccountsService struct {
	Containers *AccountsContainersService

	UserPermissions *AccountsUserPermissionsService
	// contains filtered or unexported fields
}

func NewAccountsService

func NewAccountsService(s *Service) *AccountsService

func (*AccountsService) Get

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

Get: Gets a GTM Account.

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

func (*AccountsService) List

func (r *AccountsService) List() *AccountsListCall

List: Lists all GTM Accounts that a user has access to.

func (*AccountsService) Update

func (r *AccountsService) Update(path string, account *Account) *AccountsUpdateCall

Update: Updates a GTM Account.

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

type AccountsUpdateCall

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

func (*AccountsUpdateCall) Context

Context sets the context to be used in this call's Do method.

func (*AccountsUpdateCall) Do

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

func (*AccountsUpdateCall) Fields

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

func (*AccountsUpdateCall) Fingerprint

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

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

func (*AccountsUpdateCall) Header

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

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

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

func (*AccountsUserPermissionsCreateCall) Do

Do executes the "tagmanager.accounts.user_permissions.create" call. 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 details.

func (*AccountsUserPermissionsCreateCall) Header

Header returns a http.Header that can be modified by the caller to add 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.

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

func (*AccountsUserPermissionsDeleteCall) Header

Header returns a http.Header that can be modified by the caller to add 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.

func (*AccountsUserPermissionsGetCall) Do

Do executes the "tagmanager.accounts.user_permissions.get" call. 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 details.

func (*AccountsUserPermissionsGetCall) Header

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

func (*AccountsUserPermissionsGetCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

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

func (*AccountsUserPermissionsListCall) Do

Do executes the "tagmanager.accounts.user_permissions.list" call. 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 details.

func (*AccountsUserPermissionsListCall) Header

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

func (*AccountsUserPermissionsListCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*AccountsUserPermissionsListCall) PageToken

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

func (*AccountsUserPermissionsListCall) Pages

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

type AccountsUserPermissionsService

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

func NewAccountsUserPermissionsService

func NewAccountsUserPermissionsService(s *Service) *AccountsUserPermissionsService

func (*AccountsUserPermissionsService) Create

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

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

func (*AccountsUserPermissionsService) Delete

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

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

func (*AccountsUserPermissionsService) Get

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

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

func (*AccountsUserPermissionsService) List

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

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

func (*AccountsUserPermissionsService) Update

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

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

type AccountsUserPermissionsUpdateCall

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

func (*AccountsUserPermissionsUpdateCall) Context

Context sets the context to be used in this call's Do method.

func (*AccountsUserPermissionsUpdateCall) Do

Do executes the "tagmanager.accounts.user_permissions.update" call. 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 details.

func (*AccountsUserPermissionsUpdateCall) Header

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

type BuiltInVariable

type BuiltInVariable struct {
	// AccountId: GTM Account ID.
	AccountId string `json:"accountId,omitempty"`
	// ContainerId: GTM Container ID.
	ContainerId string `json:"containerId,omitempty"`
	// Name: Name of the built-in variable to be used to refer to the built-in
	// variable.
	Name string `json:"name,omitempty"`
	// Path: GTM BuiltInVariable's API relative path.
	Path string `json:"path,omitempty"`
	// Type: Type of built-in variable.
	// @required.tagmanager.accounts.containers.workspaces.built_in_variable.update
	// @mutable tagmanager.accounts.containers.workspaces.built_in_variable.update
	//
	// Possible values:
	//   "builtInVariableTypeUnspecified"
	//   "pageUrl"
	//   "pageHostname"
	//   "pagePath"
	//   "referrer"
	//   "event" - For web or mobile.
	//   "clickElement"
	//   "clickClasses"
	//   "clickId"
	//   "clickTarget"
	//   "clickUrl"
	//   "clickText"
	//   "firstPartyServingUrl"
	//   "formElement"
	//   "formClasses"
	//   "formId"
	//   "formTarget"
	//   "formUrl"
	//   "formText"
	//   "errorMessage"
	//   "errorUrl"
	//   "errorLine"
	//   "newHistoryUrl"
	//   "oldHistoryUrl"
	//   "newHistoryFragment"
	//   "oldHistoryFragment"
	//   "newHistoryState"
	//   "oldHistoryState"
	//   "historySource"
	//   "containerVersion" - For web or mobile.
	//   "debugMode"
	//   "randomNumber" - For web or mobile.
	//   "containerId" - For web or mobile.
	//   "appId"
	//   "appName"
	//   "appVersionCode"
	//   "appVersionName"
	//   "language"
	//   "osVersion"
	//   "platform"
	//   "sdkVersion"
	//   "deviceName"
	//   "resolution"
	//   "advertiserId"
	//   "advertisingTrackingEnabled"
	//   "htmlId"
	//   "environmentName"
	//   "ampBrowserLanguage"
	//   "ampCanonicalPath"
	//   "ampCanonicalUrl"
	//   "ampCanonicalHost"
	//   "ampReferrer"
	//   "ampTitle"
	//   "ampClientId"
	//   "ampClientTimezone"
	//   "ampClientTimestamp"
	//   "ampClientScreenWidth"
	//   "ampClientScreenHeight"
	//   "ampClientScrollX"
	//   "ampClientScrollY"
	//   "ampClientMaxScrollX"
	//   "ampClientMaxScrollY"
	//   "ampTotalEngagedTime"
	//   "ampPageViewId"
	//   "ampPageLoadTime"
	//   "ampPageDownloadTime"
	//   "ampGtmEvent"
	//   "eventName"
	//   "firebaseEventParameterCampaign"
	//   "firebaseEventParameterCampaignAclid"
	//   "firebaseEventParameterCampaignAnid"
	//   "firebaseEventParameterCampaignClickTimestamp"
	//   "firebaseEventParameterCampaignContent"
	//   "firebaseEventParameterCampaignCp1"
	//   "firebaseEventParameterCampaignGclid"
	//   "firebaseEventParameterCampaignSource"
	//   "firebaseEventParameterCampaignTerm"
	//   "firebaseEventParameterCurrency"
	//   "firebaseEventParameterDynamicLinkAcceptTime"
	//   "firebaseEventParameterDynamicLinkLinkid"
	//   "firebaseEventParameterNotificationMessageDeviceTime"
	//   "firebaseEventParameterNotificationMessageId"
	//   "firebaseEventParameterNotificationMessageName"
	//   "firebaseEventParameterNotificationMessageTime"
	//   "firebaseEventParameterNotificationTopic"
	//   "firebaseEventParameterPreviousAppVersion"
	//   "firebaseEventParameterPreviousOsVersion"
	//   "firebaseEventParameterPrice"
	//   "firebaseEventParameterProductId"
	//   "firebaseEventParameterQuantity"
	//   "firebaseEventParameterValue"
	//   "videoProvider"
	//   "videoUrl"
	//   "videoTitle"
	//   "videoDuration"
	//   "videoPercent"
	//   "videoVisible"
	//   "videoStatus"
	//   "videoCurrentTime"
	//   "scrollDepthThreshold"
	//   "scrollDepthUnits"
	//   "scrollDepthDirection"
	//   "elementVisibilityRatio"
	//   "elementVisibilityTime"
	//   "elementVisibilityFirstTime"
	//   "elementVisibilityRecentTime"
	//   "requestPath"
	//   "requestMethod"
	//   "clientName"
	//   "queryString"
	//   "serverPageLocationUrl"
	//   "serverPageLocationPath"
	//   "serverPageLocationHostname"
	//   "visitorRegion"
	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 or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "AccountId") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

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

func (BuiltInVariable) MarshalJSON

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

type Client added in v0.16.0

type Client struct {
	// AccountId: GTM Account ID.
	AccountId string `json:"accountId,omitempty"`
	// ClientId: The Client ID uniquely identifies the GTM client.
	ClientId string `json:"clientId,omitempty"`
	// ContainerId: GTM Container ID.
	ContainerId string `json:"containerId,omitempty"`
	// Fingerprint: The fingerprint of the GTM Client as computed at storage time.
	// This value is recomputed whenever the client is modified.
	Fingerprint string `json:"fingerprint,omitempty"`
	// Name: Client display name. @mutable
	// tagmanager.accounts.containers.workspaces.clients.create @mutable
	// tagmanager.accounts.containers.workspaces.clients.update
	Name string `json:"name,omitempty"`
	// Notes: User notes on how to apply this tag in the container. @mutable
	// tagmanager.accounts.containers.workspaces.tags.create @mutable
	// tagmanager.accounts.containers.workspaces.tags.update
	Notes string `json:"notes,omitempty"`
	// Parameter: The client's parameters. @mutable
	// tagmanager.accounts.containers.workspaces.clients.create @mutable
	// tagmanager.accounts.containers.workspaces.clients.update
	Parameter []*Parameter `json:"parameter,omitempty"`
	// ParentFolderId: Parent folder id.
	ParentFolderId string `json:"parentFolderId,omitempty"`
	// Path: GTM client's API relative path.
	Path string `json:"path,omitempty"`
	// Priority: Priority determines relative firing order. @mutable
	// tagmanager.accounts.containers.workspaces.clients.create @mutable
	// tagmanager.accounts.containers.workspaces.clients.update
	Priority int64 `json:"priority,omitempty"`
	// TagManagerUrl: Auto generated link to the tag manager UI
	TagManagerUrl string `json:"tagManagerUrl,omitempty"`
	// Type: Client type. @mutable
	// tagmanager.accounts.containers.workspaces.clients.create @mutable
	// tagmanager.accounts.containers.workspaces.clients.update
	Type string `json:"type,omitempty"`
	// WorkspaceId: GTM Workspace ID.
	WorkspaceId string `json:"workspaceId,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "AccountId") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "AccountId") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

func (Client) MarshalJSON added in v0.16.0

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

type Condition

type Condition struct {
	// Parameter: A list of named parameters (key/value), depending on the
	// condition's type. Notes: - For binary operators, include parameters named
	// arg0 and arg1 for specifying the left and right operands, respectively. - At
	// this time, the left operand (arg0) must be a reference to a variable. - For
	// case-insensitive Regex matching, include a boolean parameter named
	// ignore_case that is set to true. If not specified or set to any other value,
	// the matching will be case sensitive. - To negate an operator, include a
	// boolean parameter named negate boolean parameter that is set to true.
	// @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update
	Parameter []*Parameter `json:"parameter,omitempty"`
	// Type: The type of operator for this condition. @mutable
	// tagmanager.accounts.containers.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update
	//
	// Possible values:
	//   "conditionTypeUnspecified"
	//   "equals"
	//   "contains"
	//   "startsWith"
	//   "endsWith"
	//   "matchRegex"
	//   "greater"
	//   "greaterOrEquals"
	//   "less"
	//   "lessOrEquals"
	//   "cssSelector"
	//   "urlMatches"
	Type string `json:"type,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Parameter") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Parameter") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

Condition: Represents a predicate.

func (Condition) MarshalJSON

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

type Container

type Container struct {
	// AccountId: GTM Account ID.
	AccountId string `json:"accountId,omitempty"`
	// ContainerId: The Container ID uniquely identifies the GTM Container.
	ContainerId string `json:"containerId,omitempty"`
	// DomainName: List of domain names associated with the Container. @mutable
	// tagmanager.accounts.containers.create @mutable
	// tagmanager.accounts.containers.update
	DomainName []string `json:"domainName,omitempty"`
	// Features: Read-only Container feature set.
	Features *ContainerFeatures `json:"features,omitempty"`
	// Fingerprint: The fingerprint of the GTM Container as computed at storage
	// time. This value is recomputed whenever the account is modified.
	Fingerprint string `json:"fingerprint,omitempty"`
	// Name: Container display name. @mutable tagmanager.accounts.containers.create
	// @mutable tagmanager.accounts.containers.update
	Name string `json:"name,omitempty"`
	// Notes: Container Notes. @mutable tagmanager.accounts.containers.create
	// @mutable tagmanager.accounts.containers.update
	Notes string `json:"notes,omitempty"`
	// Path: GTM Container's API relative path.
	Path string `json:"path,omitempty"`
	// PublicId: Container Public ID.
	PublicId string `json:"publicId,omitempty"`
	// TagIds: All Tag IDs that refer to this Container.
	TagIds []string `json:"tagIds,omitempty"`
	// TagManagerUrl: Auto generated link to the tag manager UI
	TagManagerUrl string `json:"tagManagerUrl,omitempty"`
	// TaggingServerUrls: List of server-side container URLs for the Container. If
	// multiple URLs are provided, all URL paths must match. @mutable
	// tagmanager.accounts.containers.create @mutable
	// tagmanager.accounts.containers.update
	TaggingServerUrls []string `json:"taggingServerUrls,omitempty"`
	// UsageContext: List of Usage Contexts for the Container. Valid values
	// include: web, android, or ios. @mutable
	// tagmanager.accounts.containers.create @mutable
	// tagmanager.accounts.containers.update
	//
	// Possible values:
	//   "usageContextUnspecified"
	//   "web"
	//   "android"
	//   "ios"
	//   "androidSdk5"
	//   "iosSdk5"
	//   "amp"
	//   "server"
	UsageContext []string `json:"usageContext,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "AccountId") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "AccountId") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

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

func (Container) MarshalJSON

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

type ContainerAccess

type ContainerAccess struct {
	// ContainerId: GTM Container ID. @mutable
	// tagmanager.accounts.permissions.create @mutable
	// tagmanager.accounts.permissions.update
	ContainerId string `json:"containerId,omitempty"`
	// Permission: List of Container permissions. @mutable
	// tagmanager.accounts.permissions.create @mutable
	// tagmanager.accounts.permissions.update
	//
	// Possible values:
	//   "containerPermissionUnspecified"
	//   "noAccess"
	//   "read"
	//   "edit"
	//   "approve"
	//   "publish"
	Permission string `json:"permission,omitempty"`
	// ForceSendFields is a list of field names (e.g. "ContainerId") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "ContainerId") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ContainerAccess: Defines the Google Tag Manager Container access permissions.

func (ContainerAccess) MarshalJSON

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

type ContainerFeatures added in v0.100.0

type ContainerFeatures struct {
	// SupportBuiltInVariables: Whether this Container supports built-in variables
	SupportBuiltInVariables bool `json:"supportBuiltInVariables,omitempty"`
	// SupportClients: Whether this Container supports clients.
	SupportClients bool `json:"supportClients,omitempty"`
	// SupportEnvironments: Whether this Container supports environments.
	SupportEnvironments bool `json:"supportEnvironments,omitempty"`
	// SupportFolders: Whether this Container supports folders.
	SupportFolders bool `json:"supportFolders,omitempty"`
	// SupportGtagConfigs: Whether this Container supports Google tag config.
	SupportGtagConfigs bool `json:"supportGtagConfigs,omitempty"`
	// SupportTags: Whether this Container supports tags.
	SupportTags bool `json:"supportTags,omitempty"`
	// SupportTemplates: Whether this Container supports templates.
	SupportTemplates bool `json:"supportTemplates,omitempty"`
	// SupportTransformations: Whether this Container supports transformations.
	SupportTransformations bool `json:"supportTransformations,omitempty"`
	// SupportTriggers: Whether this Container supports triggers.
	SupportTriggers bool `json:"supportTriggers,omitempty"`
	// SupportUserPermissions: Whether this Container supports user permissions
	// managed by GTM.
	SupportUserPermissions bool `json:"supportUserPermissions,omitempty"`
	// SupportVariables: Whether this Container supports variables.
	SupportVariables bool `json:"supportVariables,omitempty"`
	// SupportVersions: Whether this Container supports Container versions.
	SupportVersions bool `json:"supportVersions,omitempty"`
	// SupportWorkspaces: Whether this Container supports workspaces.
	SupportWorkspaces bool `json:"supportWorkspaces,omitempty"`
	// SupportZones: Whether this Container supports zones.
	SupportZones bool `json:"supportZones,omitempty"`
	// ForceSendFields is a list of field names (e.g. "SupportBuiltInVariables") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "SupportBuiltInVariables") to
	// include in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

func (ContainerFeatures) MarshalJSON added in v0.100.0

func (s ContainerFeatures) MarshalJSON() ([]byte, error)

type ContainerVersion

type ContainerVersion struct {
	// AccountId: GTM Account ID.
	AccountId string `json:"accountId,omitempty"`
	// BuiltInVariable: The built-in variables in the container that this version
	// was taken from.
	BuiltInVariable []*BuiltInVariable `json:"builtInVariable,omitempty"`
	// Client: The clients in the container that this version was taken from.
	Client []*Client `json:"client,omitempty"`
	// Container: The container that this version was taken from.
	Container *Container `json:"container,omitempty"`
	// ContainerId: GTM Container ID.
	ContainerId string `json:"containerId,omitempty"`
	// ContainerVersionId: The Container Version ID uniquely identifies the GTM
	// Container Version.
	ContainerVersionId string `json:"containerVersionId,omitempty"`
	// CustomTemplate: The custom templates in the container that this version was
	// taken from.
	CustomTemplate []*CustomTemplate `json:"customTemplate,omitempty"`
	// Deleted: A value of true indicates this container version has been deleted.
	Deleted bool `json:"deleted,omitempty"`
	// Description: Container version description. @mutable
	// tagmanager.accounts.containers.versions.update
	Description string `json:"description,omitempty"`
	// Fingerprint: The fingerprint of the GTM Container Version as computed at
	// storage time. This value is recomputed whenever the container version is
	// modified.
	Fingerprint string `json:"fingerprint,omitempty"`
	// Folder: The folders in the container that this version was taken from.
	Folder []*Folder `json:"folder,omitempty"`
	// GtagConfig: The Google tag configs in the container that this version was
	// taken from.
	GtagConfig []*GtagConfig `json:"gtagConfig,omitempty"`
	// Name: Container version display name. @mutable
	// tagmanager.accounts.containers.versions.update
	Name string `json:"name,omitempty"`
	// Path: GTM Container Version'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"`
	// Transformation: The transformations in the container that this version was
	// taken from.
	Transformation []*Transformation `json:"transformation,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 or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "AccountId") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ContainerVersion: Represents a Google Tag Manager Container Version.

func (ContainerVersion) MarshalJSON

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

type ContainerVersionHeader

type ContainerVersionHeader struct {
	// AccountId: GTM Account ID.
	AccountId string `json:"accountId,omitempty"`
	// ContainerId: GTM Container ID.
	ContainerId string `json:"containerId,omitempty"`
	// ContainerVersionId: The Container Version ID uniquely identifies the GTM
	// Container Version.
	ContainerVersionId string `json:"containerVersionId,omitempty"`
	// Deleted: A value of true indicates this container version has been deleted.
	Deleted bool `json:"deleted,omitempty"`
	// Name: Container version display name.
	Name string `json:"name,omitempty"`
	// NumClients: Number of clients in the container version.
	NumClients string `json:"numClients,omitempty"`
	// NumCustomTemplates: Number of custom templates in the container version.
	NumCustomTemplates string `json:"numCustomTemplates,omitempty"`
	// NumGtagConfigs: Number of Google tag configs in the container version.
	NumGtagConfigs string `json:"numGtagConfigs,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"`
	// NumTransformations: Number of transformations in the container version.
	NumTransformations string `json:"numTransformations,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 Version'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 or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "AccountId") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ContainerVersionHeader: Represents a Google Tag Manager Container Version Header.

func (ContainerVersionHeader) MarshalJSON

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

type 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 or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "BuiltInVariable") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

func (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 or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Name") to include in API requests
	// with the JSON null value. By default, fields with empty values are omitted
	// from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

CreateContainerVersionRequestVersionOptions: Options for new container versions.

func (CreateContainerVersionRequestVersionOptions) MarshalJSON

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 or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "CompilerError") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

CreateContainerVersionResponse: Create container versions response.

func (CreateContainerVersionResponse) MarshalJSON

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

type CustomTemplate added in v0.2.0

type CustomTemplate struct {
	// AccountId: GTM Account ID.
	AccountId string `json:"accountId,omitempty"`
	// ContainerId: GTM Container ID.
	ContainerId string `json:"containerId,omitempty"`
	// Fingerprint: The fingerprint of the GTM Custom Template as computed at
	// storage time. This value is recomputed whenever the template is modified.
	Fingerprint string `json:"fingerprint,omitempty"`
	// GalleryReference: A reference to the Community Template Gallery entry.
	GalleryReference *GalleryReference `json:"galleryReference,omitempty"`
	// Name: Custom Template display name.
	Name string `json:"name,omitempty"`
	// Path: GTM Custom Template's API relative path.
	Path string `json:"path,omitempty"`
	// TagManagerUrl: Auto generated link to the tag manager UI
	TagManagerUrl string `json:"tagManagerUrl,omitempty"`
	// TemplateData: The custom template in text format.
	TemplateData string `json:"templateData,omitempty"`
	// TemplateId: The Custom Template ID uniquely identifies the GTM custom
	// template.
	TemplateId string `json:"templateId,omitempty"`
	// WorkspaceId: GTM Workspace ID.
	WorkspaceId string `json:"workspaceId,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "AccountId") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "AccountId") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

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

func (CustomTemplate) MarshalJSON added in v0.2.0

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

type Destination added in v0.100.0

type Destination struct {
	// AccountId: GTM Account ID.
	AccountId string `json:"accountId,omitempty"`
	// ContainerId: GTM Container ID.
	ContainerId string `json:"containerId,omitempty"`
	// DestinationId: Destination ID.
	DestinationId string `json:"destinationId,omitempty"`
	// DestinationLinkId: The Destination link ID uniquely identifies the
	// Destination.
	DestinationLinkId string `json:"destinationLinkId,omitempty"`
	// Fingerprint: The fingerprint of the Google Tag Destination as computed at
	// storage time. This value is recomputed whenever the destination is modified.
	Fingerprint string `json:"fingerprint,omitempty"`
	// Name: Destination display name.
	Name string `json:"name,omitempty"`
	// Path: Destination's API relative path.
	Path string `json:"path,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 or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "AccountId") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

Destination: Represents a Google Tag Destination.

func (Destination) MarshalJSON added in v0.100.0

func (s Destination) MarshalJSON() ([]byte, error)

type Entity

type Entity struct {
	// BuiltInVariable: The built in variable being represented by the entity.
	BuiltInVariable *BuiltInVariable `json:"builtInVariable,omitempty"`
	// ChangeStatus: Represents how the entity has been changed in the workspace.
	//
	// Possible values:
	//   "changeStatusUnspecified"
	//   "none" - The entity has never been changed.
	//   "added" - The entity is added to the workspace.
	//   "deleted" - The entity is deleted from the workspace.
	//   "updated" - The entity has been updated in the workspace.
	ChangeStatus string `json:"changeStatus,omitempty"`
	// Client: The client being represented by the entity.
	Client *Client `json:"client,omitempty"`
	// CustomTemplate: The custom template being represented by the entity.
	CustomTemplate *CustomTemplate `json:"customTemplate,omitempty"`
	// Folder: The folder being represented by the entity.
	Folder *Folder `json:"folder,omitempty"`
	// GtagConfig: The gtag config being represented by the entity.
	GtagConfig *GtagConfig `json:"gtagConfig,omitempty"`
	// Tag: The tag being represented by the entity.
	Tag *Tag `json:"tag,omitempty"`
	// Transformation: The transformation being represented by the entity.
	Transformation *Transformation `json:"transformation,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"`
	// Zone: The zone being represented by the entity.
	Zone *Zone `json:"zone,omitempty"`
	// ForceSendFields is a list of field names (e.g. "BuiltInVariable") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "BuiltInVariable") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

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

func (Entity) MarshalJSON

func (s Entity) MarshalJSON() ([]byte, error)

type Environment

type Environment struct {
	// AccountId: GTM Account ID.
	AccountId string `json:"accountId,omitempty"`
	// AuthorizationCode: The environment authorization code.
	AuthorizationCode string `json:"authorizationCode,omitempty"`
	// AuthorizationTimestamp: The last update time-stamp for the authorization
	// code.
	AuthorizationTimestamp string `json:"authorizationTimestamp,omitempty"`
	// ContainerId: GTM Container ID.
	ContainerId string `json:"containerId,omitempty"`
	// ContainerVersionId: Represents a link to a container version.
	ContainerVersionId string `json:"containerVersionId,omitempty"`
	// Description: The environment description. Can be set or changed only on USER
	// type environments. @mutable
	// tagmanager.accounts.containers.environments.create @mutable
	// tagmanager.accounts.containers.environments.update
	Description string `json:"description,omitempty"`
	// EnableDebug: Whether or not to enable debug by default for the environment.
	// @mutable tagmanager.accounts.containers.environments.create @mutable
	// tagmanager.accounts.containers.environments.update
	EnableDebug bool `json:"enableDebug,omitempty"`
	// EnvironmentId: GTM Environment ID uniquely identifies the GTM Environment.
	EnvironmentId string `json:"environmentId,omitempty"`
	// Fingerprint: The fingerprint of the GTM environment as computed at storage
	// time. This value is recomputed whenever the environment is modified.
	Fingerprint string `json:"fingerprint,omitempty"`
	// Name: The environment display name. Can be set or changed only on USER type
	// environments. @mutable tagmanager.accounts.containers.environments.create
	// @mutable tagmanager.accounts.containers.environments.update
	Name string `json:"name,omitempty"`
	// Path: GTM Environment's API relative path.
	Path string `json:"path,omitempty"`
	// TagManagerUrl: Auto generated link to the tag manager UI
	TagManagerUrl string `json:"tagManagerUrl,omitempty"`
	// Type: The type of this environment.
	//
	// Possible values:
	//   "user" - Points to a user defined environment.
	//   "live" - Points to the current live container version.
	//   "latest" - Points to the latest container version.
	//   "workspace" - Automatically managed environment that points to a workspace
	// preview or version created by a workspace.
	Type string `json:"type,omitempty"`
	// Url: Default preview page url for the environment. @mutable
	// tagmanager.accounts.containers.environments.create @mutable
	// tagmanager.accounts.containers.environments.update
	Url string `json:"url,omitempty"`
	// WorkspaceId: Represents a link to a quick preview of a workspace.
	WorkspaceId string `json:"workspaceId,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "AccountId") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "AccountId") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

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

func (Environment) MarshalJSON

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

type Folder

type Folder struct {
	// AccountId: GTM Account ID.
	AccountId string `json:"accountId,omitempty"`
	// ContainerId: GTM Container ID.
	ContainerId string `json:"containerId,omitempty"`
	// Fingerprint: The fingerprint of the GTM Folder as computed at storage time.
	// This value is recomputed whenever the folder is modified.
	Fingerprint string `json:"fingerprint,omitempty"`
	// FolderId: The Folder ID uniquely identifies the GTM Folder.
	FolderId string `json:"folderId,omitempty"`
	// Name: Folder display name. @mutable
	// tagmanager.accounts.containers.workspaces.folders.create @mutable
	// tagmanager.accounts.containers.workspaces.folders.update
	Name string `json:"name,omitempty"`
	// Notes: User notes on how to apply this folder in the container. @mutable
	// tagmanager.accounts.containers.workspaces.folders.create @mutable
	// tagmanager.accounts.containers.workspaces.folders.update
	Notes string `json:"notes,omitempty"`
	// Path: GTM Folder's API relative path.
	Path string `json:"path,omitempty"`
	// TagManagerUrl: Auto generated link to the tag manager UI
	TagManagerUrl string `json:"tagManagerUrl,omitempty"`
	// WorkspaceId: GTM Workspace ID.
	WorkspaceId string `json:"workspaceId,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "AccountId") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "AccountId") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

Folder: Represents a Google Tag Manager Folder.

func (Folder) MarshalJSON

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 or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "NextPageToken") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

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

func (FolderEntities) MarshalJSON

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

type GalleryReference added in v0.16.0

type GalleryReference struct {
	// Host: The name of the host for the community gallery template.
	Host string `json:"host,omitempty"`
	// IsModified: If a user has manually edited the community gallery template.
	IsModified bool `json:"isModified,omitempty"`
	// Owner: The name of the owner for the community gallery template.
	Owner string `json:"owner,omitempty"`
	// Repository: The name of the repository for the community gallery template.
	Repository string `json:"repository,omitempty"`
	// Signature: The signature of the community gallery template as computed at
	// import time. This value is recomputed whenever the template is updated from
	// the gallery.
	Signature string `json:"signature,omitempty"`
	// TemplateDeveloperId: The developer id of the community gallery template.
	// This value is set whenever the template is created from the gallery.
	TemplateDeveloperId string `json:"templateDeveloperId,omitempty"`
	// Version: The version of the community gallery template.
	Version string `json:"version,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Host") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Host") to include in API requests
	// with the JSON null value. By default, fields with empty values are omitted
	// from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

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

func (GalleryReference) MarshalJSON added in v0.16.0

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

type GetContainerSnippetResponse added in v0.102.0

type GetContainerSnippetResponse struct {
	// Snippet: Tagging snippet for a Container.
	Snippet string `json:"snippet,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "Snippet") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Snippet") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

func (GetContainerSnippetResponse) MarshalJSON added in v0.102.0

func (s GetContainerSnippetResponse) 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 or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "MergeConflict") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

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

func (GetWorkspaceStatusResponse) MarshalJSON

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

type GtagConfig added in v0.100.0

type GtagConfig struct {
	// AccountId: Google tag account ID.
	AccountId string `json:"accountId,omitempty"`
	// ContainerId: Google tag container ID.
	ContainerId string `json:"containerId,omitempty"`
	// Fingerprint: The fingerprint of the Google tag config as computed at storage
	// time. This value is recomputed whenever the config is modified.
	Fingerprint string `json:"fingerprint,omitempty"`
	// GtagConfigId: The ID uniquely identifies the Google tag config.
	GtagConfigId string `json:"gtagConfigId,omitempty"`
	// Parameter: The Google tag config's parameters. @mutable
	// tagmanager.accounts.containers.workspaces.gtag_config.create @mutable
	// tagmanager.accounts.containers.workspaces.gtag_config.update
	Parameter []*Parameter `json:"parameter,omitempty"`
	// Path: Google tag config's API relative path.
	Path string `json:"path,omitempty"`
	// TagManagerUrl: Auto generated link to the tag manager UI
	TagManagerUrl string `json:"tagManagerUrl,omitempty"`
	// Type: Google tag config type. @required
	// tagmanager.accounts.containers.workspaces.gtag_config.create @required
	// tagmanager.accounts.containers.workspaces.gtag_config.update @mutable
	// tagmanager.accounts.containers.workspaces.gtag_config.create @mutable
	// tagmanager.accounts.containers.workspaces.gtag_config.update
	Type string `json:"type,omitempty"`
	// WorkspaceId: Google tag workspace ID. Only used by GTM containers. Set to 0
	// otherwise.
	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 or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "AccountId") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GtagConfig: Represents a Google tag configuration.

func (GtagConfig) MarshalJSON added in v0.100.0

func (s GtagConfig) 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 or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Account") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ListAccountsResponse: List Accounts Response.

func (ListAccountsResponse) MarshalJSON

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

type ListClientsResponse added in v0.55.0

type ListClientsResponse struct {
	// Client: All GTM Clients of a GTM Container.
	Client []*Client `json:"client,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. "Client") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Client") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

func (ListClientsResponse) MarshalJSON added in v0.55.0

func (s ListClientsResponse) 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 or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "ContainerVersionHeader") to
	// include in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ListContainerVersionsResponse: List container versions response.

func (ListContainerVersionsResponse) MarshalJSON

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

type ListContainersResponse

type ListContainersResponse struct {
	// 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 or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Container") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ListContainersResponse: List Containers Response.

func (ListContainersResponse) MarshalJSON

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

type ListDestinationsResponse added in v0.100.0

type ListDestinationsResponse struct {
	// Destination: All Destinations linked to a GTM Container.
	Destination []*Destination `json:"destination,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. "Destination") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Destination") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

func (ListDestinationsResponse) MarshalJSON added in v0.100.0

func (s ListDestinationsResponse) 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 or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "BuiltInVariable") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

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 or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Environment") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ListEnvironmentsResponse: List Environments Response.

func (ListEnvironmentsResponse) MarshalJSON

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

type ListFoldersResponse

type ListFoldersResponse struct {
	// 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 or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Folder") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ListFoldersResponse: List Folders Response.

func (ListFoldersResponse) MarshalJSON

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

type ListGtagConfigResponse added in v0.100.0

type ListGtagConfigResponse struct {
	// GtagConfig: All Google tag configs in a Container.
	GtagConfig []*GtagConfig `json:"gtagConfig,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. "GtagConfig") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "GtagConfig") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

func (ListGtagConfigResponse) MarshalJSON added in v0.100.0

func (s ListGtagConfigResponse) 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 or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "NextPageToken") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ListTagsResponse: List Tags Response.

func (ListTagsResponse) MarshalJSON

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

type ListTemplatesResponse added in v0.6.0

type ListTemplatesResponse struct {
	// NextPageToken: Continuation token for fetching the next page of results.
	NextPageToken string `json:"nextPageToken,omitempty"`
	// Template: All GTM Custom Templates of a GTM Container.
	Template []*CustomTemplate `json:"template,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "NextPageToken") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

func (ListTemplatesResponse) MarshalJSON added in v0.6.0

func (s ListTemplatesResponse) MarshalJSON() ([]byte, error)

type ListTransformationsResponse added in v0.128.0

type ListTransformationsResponse struct {
	// NextPageToken: Continuation token for fetching the next page of results.
	NextPageToken string `json:"nextPageToken,omitempty"`
	// Transformation: All GTM Transformations of a GTM Container.
	Transformation []*Transformation `json:"transformation,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 or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "NextPageToken") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

func (ListTransformationsResponse) MarshalJSON added in v0.128.0

func (s ListTransformationsResponse) 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 or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "NextPageToken") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ListTriggersResponse: List triggers response.

func (ListTriggersResponse) MarshalJSON

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

type 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 or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "NextPageToken") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

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 or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "NextPageToken") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ListVariablesResponse: List Variables Response.

func (ListVariablesResponse) MarshalJSON

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

type 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 or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "NextPageToken") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ListWorkspacesResponse: A list of workspaces in a container.

func (ListWorkspacesResponse) MarshalJSON

func (s ListWorkspacesResponse) MarshalJSON() ([]byte, error)

type ListZonesResponse added in v0.2.0

type ListZonesResponse struct {
	// NextPageToken: Continuation token for fetching the next page of results.
	NextPageToken string `json:"nextPageToken,omitempty"`
	// Zone: All GTM Zones of a GTM Container.
	Zone []*Zone `json:"zone,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "NextPageToken") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

func (ListZonesResponse) MarshalJSON added in v0.2.0

func (s ListZonesResponse) MarshalJSON() ([]byte, error)

type MergeConflict

type MergeConflict struct {
	// EntityInBaseVersion: The base version entity (since the latest sync
	// operation) that has conflicting changes compared to the workspace. If this
	// field is missing, it means the workspace entity is deleted from the base
	// version.
	EntityInBaseVersion *Entity `json:"entityInBaseVersion,omitempty"`
	// EntityInWorkspace: The workspace entity that has conflicting changes
	// compared to the base version. If an entity is deleted in a workspace, it
	// will still appear with a deleted change status.
	EntityInWorkspace *Entity `json:"entityInWorkspace,omitempty"`
	// ForceSendFields is a list of field names (e.g. "EntityInBaseVersion") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "EntityInBaseVersion") to include
	// in API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

MergeConflict: Represents a merge conflict.

func (MergeConflict) MarshalJSON

func (s MergeConflict) MarshalJSON() ([]byte, error)

type Parameter

type Parameter struct {
	// IsWeakReference: Whether or not a reference type parameter is strongly or
	// weakly referenced. Only used by Transformations. @mutable
	// tagmanager.accounts.containers.workspaces.transformations.create @mutable
	// tagmanager.accounts.containers.workspaces.transformations.update
	IsWeakReference bool `json:"isWeakReference,omitempty"`
	// Key: The named key that uniquely identifies a parameter. Required for
	// top-level parameters, as well as map values. Ignored for list values.
	// @mutable tagmanager.accounts.containers.workspaces.variables.create @mutable
	// tagmanager.accounts.containers.workspaces.variables.update @mutable
	// tagmanager.accounts.containers.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update @mutable
	// tagmanager.accounts.containers.workspaces.tags.create @mutable
	// tagmanager.accounts.containers.workspaces.tags.update
	Key string `json:"key,omitempty"`
	// List: This list parameter's parameters (keys will be ignored). @mutable
	// tagmanager.accounts.containers.workspaces.variables.create @mutable
	// tagmanager.accounts.containers.workspaces.variables.update @mutable
	// tagmanager.accounts.containers.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update @mutable
	// tagmanager.accounts.containers.workspaces.tags.create @mutable
	// tagmanager.accounts.containers.workspaces.tags.update
	List []*Parameter `json:"list,omitempty"`
	// Map: This map parameter's parameters (must have keys; keys must be unique).
	// @mutable tagmanager.accounts.containers.workspaces.variables.create @mutable
	// tagmanager.accounts.containers.workspaces.variables.update @mutable
	// tagmanager.accounts.containers.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update @mutable
	// tagmanager.accounts.containers.workspaces.tags.create @mutable
	// tagmanager.accounts.containers.workspaces.tags.update
	Map []*Parameter `json:"map,omitempty"`
	// Type: The parameter type. Valid values are: - boolean: The value represents
	// a boolean, represented as 'true' or 'false' - integer: The value represents
	// a 64-bit signed integer value, in base 10 - list: A list of parameters
	// should be specified - map: A map of parameters should be specified -
	// template: The value represents any text; this can include variable
	// references (even variable references that might return non-string types) -
	// trigger_reference: The value represents a trigger, represented as the
	// trigger id - tag_reference: The value represents a tag, represented as the
	// tag name @mutable tagmanager.accounts.containers.workspaces.variables.create
	// @mutable tagmanager.accounts.containers.workspaces.variables.update @mutable
	// tagmanager.accounts.containers.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update @mutable
	// tagmanager.accounts.containers.workspaces.tags.create @mutable
	// tagmanager.accounts.containers.workspaces.tags.update
	//
	// Possible values:
	//   "typeUnspecified"
	//   "template" - May include variable references (such as "{{myVariable}}").
	//   "integer"
	//   "boolean"
	//   "list"
	//   "map"
	//   "triggerReference"
	//   "tagReference"
	Type string `json:"type,omitempty"`
	// Value: A parameter's value (may contain variable references such as
	// "{{myVariable}}") as appropriate to the specified type. @mutable
	// tagmanager.accounts.containers.workspaces.variables.create @mutable
	// tagmanager.accounts.containers.workspaces.variables.update @mutable
	// tagmanager.accounts.containers.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update @mutable
	// tagmanager.accounts.containers.workspaces.tags.create @mutable
	// tagmanager.accounts.containers.workspaces.tags.update
	Value string `json:"value,omitempty"`
	// ForceSendFields is a list of field names (e.g. "IsWeakReference") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "IsWeakReference") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

Parameter: Represents a Google Tag Manager Parameter.

func (Parameter) MarshalJSON

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 or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "CompilerError") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

PublishContainerVersionResponse: Publish container version response.

func (PublishContainerVersionResponse) MarshalJSON

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

type 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 or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "CompilerError") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

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 or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Enabled") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

RevertBuiltInVariableResponse: The result of reverting a built-in variable in a workspace.

func (RevertBuiltInVariableResponse) MarshalJSON

func (s RevertBuiltInVariableResponse) MarshalJSON() ([]byte, error)

type RevertClientResponse added in v0.55.0

type RevertClientResponse struct {
	// Client: Client as it appears in the latest container version since the last
	// workspace synchronization operation. If no client is present, that means the
	// client was deleted in the latest container version.
	Client *Client `json:"client,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "Client") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Client") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

RevertClientResponse: The result of reverting a client in a workspace.

func (RevertClientResponse) MarshalJSON added in v0.55.0

func (s RevertClientResponse) 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 or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Folder") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

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 or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Tag") to include in API requests
	// with the JSON null value. By default, fields with empty values are omitted
	// from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

RevertTagResponse: The result of reverting a tag in a workspace.

func (RevertTagResponse) MarshalJSON

func (s RevertTagResponse) MarshalJSON() ([]byte, error)

type RevertTemplateResponse added in v0.6.0

type RevertTemplateResponse struct {
	// Template: Template as it appears in the latest container version since the
	// last workspace synchronization operation. If no template is present, that
	// means the template was deleted in the latest container version.
	Template *CustomTemplate `json:"template,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "Template") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Template") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

RevertTemplateResponse: The result of reverting a template in a workspace.

func (RevertTemplateResponse) MarshalJSON added in v0.6.0

func (s RevertTemplateResponse) MarshalJSON() ([]byte, error)

type RevertTransformationResponse added in v0.128.0

type RevertTransformationResponse struct {
	// Transformation: Transformation as it appears in the latest container version
	// since the last workspace synchronization operation. If no transformation is
	// present, that means the transformation was deleted in the latest container
	// version.
	Transformation *Transformation `json:"transformation,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "Transformation") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Transformation") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

RevertTransformationResponse: The result of reverting a transformation in a workspace.

func (RevertTransformationResponse) MarshalJSON added in v0.128.0

func (s RevertTransformationResponse) 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 or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Trigger") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

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 or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Variable") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

RevertVariableResponse: The result of reverting a variable in a workspace.

func (RevertVariableResponse) MarshalJSON

func (s RevertVariableResponse) MarshalJSON() ([]byte, error)

type RevertZoneResponse added in v0.2.0

type RevertZoneResponse struct {
	// Zone: Zone as it appears in the latest container version since the last
	// workspace synchronization operation. If no zone is present, that means the
	// zone was deleted in the latest container version.
	Zone *Zone `json:"zone,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "Zone") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Zone") to include in API requests
	// with the JSON null value. By default, fields with empty values are omitted
	// from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

RevertZoneResponse: The result of reverting a zone in a workspace.

func (RevertZoneResponse) MarshalJSON added in v0.2.0

func (s RevertZoneResponse) MarshalJSON() ([]byte, error)

type Service

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

	Accounts *AccountsService
	// contains filtered or unexported fields
}

func New deprecated

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

New creates a new Service. It uses the provided http.Client for requests.

Deprecated: please use NewService instead. To provide a custom HTTP client, use option.WithHTTPClient. If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.

func NewService added in v0.3.0

func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error)

NewService creates a new Service.

type SetupTag

type SetupTag struct {
	// StopOnSetupFailure: If true, fire the main tag if and only if the setup tag
	// fires successfully. If false, fire the main tag regardless of setup tag
	// firing status.
	StopOnSetupFailure bool `json:"stopOnSetupFailure,omitempty"`
	// TagName: The name of the setup tag.
	TagName string `json:"tagName,omitempty"`
	// ForceSendFields is a list of field names (e.g. "StopOnSetupFailure") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "StopOnSetupFailure") to include
	// in API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

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 or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "MergeConflict") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

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 or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "MergeConflict") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

SyncWorkspaceResponse: A response after synchronizing the workspace to the latest container version.

func (SyncWorkspaceResponse) MarshalJSON

func (s SyncWorkspaceResponse) MarshalJSON() ([]byte, error)

type Tag

type Tag struct {
	// AccountId: GTM Account ID.
	AccountId string `json:"accountId,omitempty"`
	// BlockingRuleId: Blocking rule IDs. If any of the listed rules evaluate to
	// true, the tag will not fire. @mutable
	// tagmanager.accounts.containers.workspaces.tags.create @mutable
	// tagmanager.accounts.containers.workspaces.tags.update
	BlockingRuleId []string `json:"blockingRuleId,omitempty"`
	// BlockingTriggerId: Blocking trigger IDs. If any of the listed triggers
	// evaluate to true, the tag will not fire. @mutable
	// tagmanager.accounts.containers.workspaces.tags.create @mutable
	// tagmanager.accounts.containers.workspaces.tags.update
	BlockingTriggerId []string `json:"blockingTriggerId,omitempty"`
	// ConsentSettings: Consent settings of a tag. @mutable
	// tagmanager.accounts.containers.workspaces.tags.create @mutable
	// tagmanager.accounts.containers.workspaces.tags.update
	ConsentSettings *TagConsentSetting `json:"consentSettings,omitempty"`
	// ContainerId: GTM Container ID.
	ContainerId string `json:"containerId,omitempty"`
	// Fingerprint: The fingerprint of the GTM Tag as computed at storage time.
	// This value is recomputed whenever the tag is modified.
	Fingerprint string `json:"fingerprint,omitempty"`
	// FiringRuleId: Firing rule IDs. A tag will fire when any of the listed rules
	// are true and all of its blockingRuleIds (if any specified) are false.
	// @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable
	// tagmanager.accounts.containers.workspaces.tags.update
	FiringRuleId []string `json:"firingRuleId,omitempty"`
	// FiringTriggerId: Firing trigger IDs. A tag will fire when any of the listed
	// triggers are true and all of its blockingTriggerIds (if any specified) are
	// false. @mutable tagmanager.accounts.containers.workspaces.tags.create
	// @mutable tagmanager.accounts.containers.workspaces.tags.update
	FiringTriggerId []string `json:"firingTriggerId,omitempty"`
	// LiveOnly: If set to true, this tag will only fire in the live environment
	// (e.g. not in preview or debug mode). @mutable
	// tagmanager.accounts.containers.workspaces.tags.create @mutable
	// tagmanager.accounts.containers.workspaces.tags.update
	LiveOnly bool `json:"liveOnly,omitempty"`
	// MonitoringMetadata: A map of key-value pairs of tag metadata to be included
	// in the event data for tag monitoring. Notes: - This parameter must be type
	// MAP. - Each parameter in the map are type TEMPLATE, however cannot contain
	// variable references. @mutable
	// tagmanager.accounts.containers.workspaces.tags.create @mutable
	// tagmanager.accounts.containers.workspaces.tags.update
	MonitoringMetadata *Parameter `json:"monitoringMetadata,omitempty"`
	// MonitoringMetadataTagNameKey: If non-empty, then the tag display name will
	// be included in the monitoring metadata map using the key specified. @mutable
	// tagmanager.accounts.containers.workspaces.tags.create @mutable
	// tagmanager.accounts.containers.workspaces.tags.update
	MonitoringMetadataTagNameKey string `json:"monitoringMetadataTagNameKey,omitempty"`
	// Name: Tag display name. @mutable
	// tagmanager.accounts.containers.workspaces.tags.create @mutable
	// tagmanager.accounts.containers.workspaces.tags.update
	Name string `json:"name,omitempty"`
	// Notes: User notes on how to apply this tag in the container. @mutable
	// tagmanager.accounts.containers.workspaces.tags.create @mutable
	// tagmanager.accounts.containers.workspaces.tags.update
	Notes string `json:"notes,omitempty"`
	// Parameter: The tag's parameters. @mutable
	// tagmanager.accounts.containers.workspaces.tags.create @mutable
	// tagmanager.accounts.containers.workspaces.tags.update
	Parameter []*Parameter `json:"parameter,omitempty"`
	// ParentFolderId: Parent folder id.
	ParentFolderId string `json:"parentFolderId,omitempty"`
	// Path: GTM Tag's API relative path.
	Path string `json:"path,omitempty"`
	// Paused: Indicates whether the tag is paused, which prevents the tag from
	// firing. @mutable tagmanager.accounts.containers.workspaces.tags.create
	// @mutable tagmanager.accounts.containers.workspaces.tags.update
	Paused bool `json:"paused,omitempty"`
	// Priority: User defined numeric priority of the tag. Tags are fired
	// asynchronously in order of priority. Tags with higher numeric value fire
	// first. A tag's priority can be a positive or negative value. The default
	// value is 0. @mutable tagmanager.accounts.containers.workspaces.tags.create
	// @mutable tagmanager.accounts.containers.workspaces.tags.update
	Priority *Parameter `json:"priority,omitempty"`
	// ScheduleEndMs: The end timestamp in milliseconds to schedule a tag. @mutable
	// tagmanager.accounts.containers.workspaces.tags.create @mutable
	// tagmanager.accounts.containers.workspaces.tags.update
	ScheduleEndMs int64 `json:"scheduleEndMs,omitempty,string"`
	// ScheduleStartMs: The start timestamp in milliseconds to schedule a tag.
	// @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable
	// tagmanager.accounts.containers.workspaces.tags.update
	ScheduleStartMs int64 `json:"scheduleStartMs,omitempty,string"`
	// SetupTag: The list of setup tags. Currently we only allow one.
	SetupTag []*SetupTag `json:"setupTag,omitempty"`
	// TagFiringOption: Option to fire this tag.
	//
	// Possible values:
	//   "tagFiringOptionUnspecified"
	//   "unlimited" - Tag can be fired multiple times per event.
	//   "oncePerEvent" - Tag can only be fired per event but can be fired multiple
	// times per load (e.g., app load or page load).
	//   "oncePerLoad" - Tag can only be fired per load (e.g., app load or page
	// load).
	TagFiringOption string `json:"tagFiringOption,omitempty"`
	// TagId: The Tag ID uniquely identifies the GTM Tag.
	TagId string `json:"tagId,omitempty"`
	// TagManagerUrl: Auto generated link to the tag manager UI
	TagManagerUrl string `json:"tagManagerUrl,omitempty"`
	// TeardownTag: The list of teardown tags. Currently we only allow one.
	TeardownTag []*TeardownTag `json:"teardownTag,omitempty"`
	// Type: GTM Tag Type. @mutable
	// tagmanager.accounts.containers.workspaces.tags.create @mutable
	// tagmanager.accounts.containers.workspaces.tags.update
	Type string `json:"type,omitempty"`
	// WorkspaceId: GTM Workspace ID.
	WorkspaceId string `json:"workspaceId,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "AccountId") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "AccountId") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

Tag: Represents a Google Tag Manager Tag.

func (Tag) MarshalJSON

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

type TagConsentSetting added in v0.53.0

type TagConsentSetting struct {
	// ConsentStatus: The tag's consent status. If set to NEEDED, the runtime will
	// check that the consent types specified by the consent_type field have been
	// granted.
	//
	// Possible values:
	//   "notSet" - Default value where user has not specified any setting on it.
	//   "notNeeded" - Tag doesn't require any additional consent settings.
	//   "needed" - Tag requires additional consent settings.
	ConsentStatus string `json:"consentStatus,omitempty"`
	// ConsentType: The type of consents to check for during tag firing if in the
	// consent NEEDED state. This parameter must be of type LIST where each list
	// item is of type STRING.
	ConsentType *Parameter `json:"consentType,omitempty"`
	// ForceSendFields is a list of field names (e.g. "ConsentStatus") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "ConsentStatus") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

func (TagConsentSetting) MarshalJSON added in v0.53.0

func (s TagConsentSetting) 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 or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "StopTeardownOnFailure") to
	// include in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

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 Transformation added in v0.128.0

type Transformation 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 Transformation as computed at
	// storage time. This value is recomputed whenever the transformation is
	// modified.
	Fingerprint string `json:"fingerprint,omitempty"`
	// Name: Transformation display name. @mutable
	// tagmanager.accounts.containers.workspaces.transformations.create @mutable
	// tagmanager.accounts.containers.workspaces.transformations.update
	Name string `json:"name,omitempty"`
	// Notes: User notes on how to apply this transformation in the container.
	// @mutable tagmanager.accounts.containers.workspaces.transformations.create
	// @mutable tagmanager.accounts.containers.workspaces.transformations.update
	Notes string `json:"notes,omitempty"`
	// Parameter: The transformation's parameters. @mutable
	// tagmanager.accounts.containers.workspaces.transformations.create @mutable
	// tagmanager.accounts.containers.workspaces.transformations.update
	Parameter []*Parameter `json:"parameter,omitempty"`
	// ParentFolderId: Parent folder id.
	ParentFolderId string `json:"parentFolderId,omitempty"`
	// Path: GTM transformation's API relative path.
	Path string `json:"path,omitempty"`
	// TagManagerUrl: Auto generated link to the tag manager UI
	TagManagerUrl string `json:"tagManagerUrl,omitempty"`
	// TransformationId: The Transformation ID uniquely identifies the GTM
	// transformation.
	TransformationId string `json:"transformationId,omitempty"`
	// Type: Transformation type. @mutable
	// tagmanager.accounts.containers.workspaces.transformations.create @mutable
	// tagmanager.accounts.containers.workspaces.transformations.update
	Type string `json:"type,omitempty"`
	// WorkspaceId: GTM Workspace ID.
	WorkspaceId string `json:"workspaceId,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "AccountId") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "AccountId") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

Transformation: Represents a Google Tag Manager Transformation.

func (Transformation) MarshalJSON added in v0.128.0

func (s Transformation) MarshalJSON() ([]byte, error)

type Trigger

type Trigger struct {
	// AccountId: GTM Account ID.
	AccountId string `json:"accountId,omitempty"`
	// AutoEventFilter: Used in the case of auto event tracking. @mutable
	// tagmanager.accounts.containers.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update
	AutoEventFilter []*Condition `json:"autoEventFilter,omitempty"`
	// CheckValidation: Whether or not we should only fire tags if the form submit
	// or link click event is not cancelled by some other event handler (e.g.
	// because of validation). Only valid for Form Submission and Link Click
	// triggers. @mutable tagmanager.accounts.containers.workspaces.triggers.create
	// @mutable tagmanager.accounts.containers.workspaces.triggers.update
	CheckValidation *Parameter `json:"checkValidation,omitempty"`
	// ContainerId: GTM Container ID.
	ContainerId string `json:"containerId,omitempty"`
	// ContinuousTimeMinMilliseconds: A visibility trigger minimum continuous
	// visible time (in milliseconds). Only valid for AMP Visibility trigger.
	// @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update
	ContinuousTimeMinMilliseconds *Parameter `json:"continuousTimeMinMilliseconds,omitempty"`
	// CustomEventFilter: Used in the case of custom event, which is fired iff all
	// Conditions are true. @mutable
	// tagmanager.accounts.containers.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update
	CustomEventFilter []*Condition `json:"customEventFilter,omitempty"`
	// EventName: Name of the GTM event that is fired. Only valid for Timer
	// triggers. @mutable tagmanager.accounts.containers.workspaces.triggers.create
	// @mutable tagmanager.accounts.containers.workspaces.triggers.update
	EventName *Parameter `json:"eventName,omitempty"`
	// Filter: The trigger will only fire iff all Conditions are true. @mutable
	// tagmanager.accounts.containers.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update
	Filter []*Condition `json:"filter,omitempty"`
	// Fingerprint: The fingerprint of the GTM Trigger as computed at storage time.
	// This value is recomputed whenever the trigger is modified.
	Fingerprint string `json:"fingerprint,omitempty"`
	// HorizontalScrollPercentageList: List of integer percentage values for scroll
	// triggers. The trigger will fire when each percentage is reached when the
	// view is scrolled horizontally. Only valid for AMP scroll triggers. @mutable
	// tagmanager.accounts.containers.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update
	HorizontalScrollPercentageList *Parameter `json:"horizontalScrollPercentageList,omitempty"`
	// Interval: Time between triggering recurring Timer Events (in milliseconds).
	// Only valid for Timer triggers. @mutable
	// tagmanager.accounts.containers.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update
	Interval *Parameter `json:"interval,omitempty"`
	// IntervalSeconds: Time between Timer Events to fire (in seconds). Only valid
	// for AMP Timer trigger. @mutable
	// tagmanager.accounts.containers.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update
	IntervalSeconds *Parameter `json:"intervalSeconds,omitempty"`
	// Limit: Limit of the number of GTM events this Timer Trigger will fire. If no
	// limit is set, we will continue to fire GTM events until the user leaves the
	// page. Only valid for Timer triggers. @mutable
	// tagmanager.accounts.containers.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update
	Limit *Parameter `json:"limit,omitempty"`
	// MaxTimerLengthSeconds: Max time to fire Timer Events (in seconds). Only
	// valid for AMP Timer trigger. @mutable
	// tagmanager.accounts.containers.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update
	MaxTimerLengthSeconds *Parameter `json:"maxTimerLengthSeconds,omitempty"`
	// Name: Trigger display name. @mutable
	// tagmanager.accounts.containers.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update
	Name string `json:"name,omitempty"`
	// Notes: User notes on how to apply this trigger in the container. @mutable
	// tagmanager.accounts.containers.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update
	Notes string `json:"notes,omitempty"`
	// Parameter: Additional parameters. @mutable
	// tagmanager.accounts.containers.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update
	Parameter []*Parameter `json:"parameter,omitempty"`
	// ParentFolderId: Parent folder id.
	ParentFolderId string `json:"parentFolderId,omitempty"`
	// Path: GTM Trigger's API relative path.
	Path string `json:"path,omitempty"`
	// Selector: A click trigger CSS selector (i.e. "a", "button" etc.). Only valid
	// for AMP Click trigger. @mutable
	// tagmanager.accounts.containers.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update
	Selector *Parameter `json:"selector,omitempty"`
	// TagManagerUrl: Auto generated link to the tag manager UI
	TagManagerUrl string `json:"tagManagerUrl,omitempty"`
	// TotalTimeMinMilliseconds: A visibility trigger minimum total visible time
	// (in milliseconds). Only valid for AMP Visibility trigger. @mutable
	// tagmanager.accounts.containers.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update
	TotalTimeMinMilliseconds *Parameter `json:"totalTimeMinMilliseconds,omitempty"`
	// TriggerId: The Trigger ID uniquely identifies the GTM Trigger.
	TriggerId string `json:"triggerId,omitempty"`
	// Type: Defines the data layer event that causes this trigger. @mutable
	// tagmanager.accounts.containers.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update
	//
	// Possible values:
	//   "eventTypeUnspecified"
	//   "pageview"
	//   "domReady"
	//   "windowLoaded"
	//   "customEvent"
	//   "triggerGroup"
	//   "init"
	//   "consentInit"
	//   "serverPageview"
	//   "always"
	//   "firebaseAppException"
	//   "firebaseAppUpdate"
	//   "firebaseCampaign"
	//   "firebaseFirstOpen"
	//   "firebaseInAppPurchase"
	//   "firebaseNotificationDismiss"
	//   "firebaseNotificationForeground"
	//   "firebaseNotificationOpen"
	//   "firebaseNotificationReceive"
	//   "firebaseOsUpdate"
	//   "firebaseSessionStart"
	//   "firebaseUserEngagement"
	//   "formSubmission"
	//   "click"
	//   "linkClick"
	//   "jsError"
	//   "historyChange"
	//   "timer"
	//   "ampClick"
	//   "ampTimer"
	//   "ampScroll"
	//   "ampVisibility"
	//   "youTubeVideo"
	//   "scrollDepth"
	//   "elementVisibility"
	Type string `json:"type,omitempty"`
	// UniqueTriggerId: Globally unique id of the trigger that auto-generates this
	// (a Form Submit, Link Click or Timer listener) if any. Used to make
	// incompatible auto-events work together with trigger filtering based on
	// trigger ids. This value is populated during output generation since the tags
	// implied by triggers don't exist until then. Only valid for Form Submit, Link
	// Click and Timer triggers. @mutable
	// tagmanager.accounts.containers.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update
	UniqueTriggerId *Parameter `json:"uniqueTriggerId,omitempty"`
	// VerticalScrollPercentageList: List of integer percentage values for scroll
	// triggers. The trigger will fire when each percentage is reached when the
	// view is scrolled vertically. Only valid for AMP scroll triggers. @mutable
	// tagmanager.accounts.containers.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update
	VerticalScrollPercentageList *Parameter `json:"verticalScrollPercentageList,omitempty"`
	// VisibilitySelector: A visibility trigger CSS selector (i.e. "#id"). Only
	// valid for AMP Visibility trigger. @mutable
	// tagmanager.accounts.containers.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update
	VisibilitySelector *Parameter `json:"visibilitySelector,omitempty"`
	// VisiblePercentageMax: A visibility trigger maximum percent visibility. Only
	// valid for AMP Visibility trigger. @mutable
	// tagmanager.accounts.containers.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update
	VisiblePercentageMax *Parameter `json:"visiblePercentageMax,omitempty"`
	// VisiblePercentageMin: A visibility trigger minimum percent visibility. Only
	// valid for AMP Visibility trigger. @mutable
	// tagmanager.accounts.containers.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update
	VisiblePercentageMin *Parameter `json:"visiblePercentageMin,omitempty"`
	// WaitForTags: Whether or not we should delay the form submissions or link
	// opening until all of the tags have fired (by preventing the default action
	// and later simulating the default action). Only valid for Form Submission and
	// Link Click triggers. @mutable
	// tagmanager.accounts.containers.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update
	WaitForTags *Parameter `json:"waitForTags,omitempty"`
	// WaitForTagsTimeout: How long to wait (in milliseconds) for tags to fire when
	// 'waits_for_tags' above evaluates to true. Only valid for Form Submission and
	// Link Click triggers. @mutable
	// tagmanager.accounts.containers.workspaces.triggers.create @mutable
	// tagmanager.accounts.containers.workspaces.triggers.update
	WaitForTagsTimeout *Parameter `json:"waitForTagsTimeout,omitempty"`
	// WorkspaceId: GTM Workspace ID.
	WorkspaceId string `json:"workspaceId,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "AccountId") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "AccountId") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

Trigger: Represents a Google Tag Manager Trigger

func (Trigger) MarshalJSON

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

type UserPermission

type UserPermission struct {
	// AccountAccess: GTM Account access permissions. @mutable
	// tagmanager.accounts.permissions.create @mutable
	// tagmanager.accounts.permissions.update
	AccountAccess *AccountAccess `json:"accountAccess,omitempty"`
	// AccountId: The Account ID uniquely identifies the GTM Account.
	AccountId string `json:"accountId,omitempty"`
	// ContainerAccess: GTM Container access permissions. @mutable
	// tagmanager.accounts.permissions.create @mutable
	// tagmanager.accounts.permissions.update
	ContainerAccess []*ContainerAccess `json:"containerAccess,omitempty"`
	// EmailAddress: User's email address. @mutable
	// tagmanager.accounts.permissions.create
	EmailAddress string `json:"emailAddress,omitempty"`
	// Path: GTM UserPermission's API relative path.
	Path string `json:"path,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "AccountAccess") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "AccountAccess") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

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

func (UserPermission) MarshalJSON

func (s UserPermission) MarshalJSON() ([]byte, error)

type Variable

type Variable struct {
	// AccountId: GTM Account ID.
	AccountId string `json:"accountId,omitempty"`
	// ContainerId: GTM Container ID.
	ContainerId string `json:"containerId,omitempty"`
	// DisablingTriggerId: For mobile containers only: A list of trigger IDs for
	// disabling conditional variables; the variable is enabled if one of the
	// enabling trigger is true while all the disabling trigger are false. Treated
	// as an unordered set. @mutable
	// tagmanager.accounts.containers.workspaces.variables.create @mutable
	// tagmanager.accounts.containers.workspaces.variables.update
	DisablingTriggerId []string `json:"disablingTriggerId,omitempty"`
	// EnablingTriggerId: For mobile containers only: A list of trigger IDs for
	// enabling conditional variables; the variable is enabled if one of the
	// enabling triggers is true while all the disabling triggers are false.
	// Treated as an unordered set. @mutable
	// tagmanager.accounts.containers.workspaces.variables.create @mutable
	// tagmanager.accounts.containers.workspaces.variables.update
	EnablingTriggerId []string `json:"enablingTriggerId,omitempty"`
	// Fingerprint: The fingerprint of the GTM Variable as computed at storage
	// time. This value is recomputed whenever the variable is modified.
	Fingerprint string `json:"fingerprint,omitempty"`
	// FormatValue: Option to convert a variable value to other value.
	FormatValue *VariableFormatValue `json:"formatValue,omitempty"`
	// Name: Variable display name. @mutable
	// tagmanager.accounts.containers.workspaces.variables.create @mutable
	// tagmanager.accounts.containers.workspaces.variables.update
	Name string `json:"name,omitempty"`
	// Notes: User notes on how to apply this variable in the container. @mutable
	// tagmanager.accounts.containers.workspaces.variables.create @mutable
	// tagmanager.accounts.containers.workspaces.variables.update
	Notes string `json:"notes,omitempty"`
	// Parameter: The variable's parameters. @mutable
	// tagmanager.accounts.containers.workspaces.variables.create @mutable
	// tagmanager.accounts.containers.workspaces.variables.update
	Parameter []*Parameter `json:"parameter,omitempty"`
	// ParentFolderId: Parent folder id.
	ParentFolderId string `json:"parentFolderId,omitempty"`
	// Path: GTM Variable's API relative path.
	Path string `json:"path,omitempty"`
	// ScheduleEndMs: The end timestamp in milliseconds to schedule a variable.
	// @mutable tagmanager.accounts.containers.workspaces.variables.create @mutable
	// tagmanager.accounts.containers.workspaces.variables.update
	ScheduleEndMs int64 `json:"scheduleEndMs,omitempty,string"`
	// ScheduleStartMs: The start timestamp in milliseconds to schedule a variable.
	// @mutable tagmanager.accounts.containers.workspaces.variables.create @mutable
	// tagmanager.accounts.containers.workspaces.variables.update
	ScheduleStartMs int64 `json:"scheduleStartMs,omitempty,string"`
	// TagManagerUrl: Auto generated link to the tag manager UI
	TagManagerUrl string `json:"tagManagerUrl,omitempty"`
	// Type: GTM Variable Type. @mutable
	// tagmanager.accounts.containers.workspaces.variables.create @mutable
	// tagmanager.accounts.containers.workspaces.variables.update
	Type string `json:"type,omitempty"`
	// VariableId: The Variable ID uniquely identifies the GTM Variable.
	VariableId string `json:"variableId,omitempty"`
	// WorkspaceId: GTM Workspace ID.
	WorkspaceId string `json:"workspaceId,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "AccountId") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "AccountId") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

Variable: Represents a Google Tag Manager Variable.

func (Variable) MarshalJSON

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

type VariableFormatValue added in v0.2.0

type VariableFormatValue struct {
	// CaseConversionType: The option to convert a string-type variable value to
	// either lowercase or uppercase.
	//
	// Possible values:
	//   "none"
	//   "lowercase" - The option to convert a variable value to lowercase.
	//   "uppercase" - The option to convert a variable value to uppercase.
	CaseConversionType string `json:"caseConversionType,omitempty"`
	// ConvertFalseToValue: The value to convert if a variable value is false.
	ConvertFalseToValue *Parameter `json:"convertFalseToValue,omitempty"`
	// ConvertNullToValue: The value to convert if a variable value is null.
	ConvertNullToValue *Parameter `json:"convertNullToValue,omitempty"`
	// ConvertTrueToValue: The value to convert if a variable value is true.
	ConvertTrueToValue *Parameter `json:"convertTrueToValue,omitempty"`
	// ConvertUndefinedToValue: The value to convert if a variable value is
	// undefined.
	ConvertUndefinedToValue *Parameter `json:"convertUndefinedToValue,omitempty"`
	// ForceSendFields is a list of field names (e.g. "CaseConversionType") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "CaseConversionType") to include
	// in API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

func (VariableFormatValue) MarshalJSON added in v0.2.0

func (s VariableFormatValue) MarshalJSON() ([]byte, error)

type Workspace

type Workspace struct {
	// AccountId: GTM Account ID.
	AccountId string `json:"accountId,omitempty"`
	// ContainerId: GTM Container ID.
	ContainerId string `json:"containerId,omitempty"`
	// Description: Workspace description. @mutable
	// tagmanager.accounts.containers.workspaces.create @mutable
	// tagmanager.accounts.containers.workspaces.update
	Description string `json:"description,omitempty"`
	// Fingerprint: The fingerprint of the GTM Workspace as computed at storage
	// time. This value is recomputed whenever the workspace is modified.
	Fingerprint string `json:"fingerprint,omitempty"`
	// Name: Workspace display name. @mutable
	// tagmanager.accounts.containers.workspaces.create @mutable
	// tagmanager.accounts.containers.workspaces.update
	Name string `json:"name,omitempty"`
	// Path: GTM Workspace's API relative path.
	Path string `json:"path,omitempty"`
	// TagManagerUrl: Auto generated link to the tag manager UI
	TagManagerUrl string `json:"tagManagerUrl,omitempty"`
	// WorkspaceId: The Workspace ID uniquely identifies the GTM Workspace.
	WorkspaceId string `json:"workspaceId,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "AccountId") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "AccountId") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

Workspace: Represents a Google Tag Manager Container Workspace.

func (Workspace) MarshalJSON

func (s Workspace) MarshalJSON() ([]byte, error)

type Zone

type Zone struct {
	// AccountId: GTM Account ID.
	AccountId string `json:"accountId,omitempty"`
	// Boundary: This Zone's boundary.
	Boundary *ZoneBoundary `json:"boundary,omitempty"`
	// ChildContainer: Containers that are children of this Zone.
	ChildContainer []*ZoneChildContainer `json:"childContainer,omitempty"`
	// ContainerId: GTM Container ID.
	ContainerId string `json:"containerId,omitempty"`
	// Fingerprint: The fingerprint of the GTM Zone as computed at storage time.
	// This value is recomputed whenever the zone is modified.
	Fingerprint string `json:"fingerprint,omitempty"`
	// Name: Zone display name.
	Name string `json:"name,omitempty"`
	// Notes: User notes on how to apply this zone in the container.
	Notes string `json:"notes,omitempty"`
	// Path: GTM Zone's API relative path.
	Path string `json:"path,omitempty"`
	// TagManagerUrl: Auto generated link to the tag manager UI
	TagManagerUrl string `json:"tagManagerUrl,omitempty"`
	// TypeRestriction: This Zone's type restrictions.
	TypeRestriction *ZoneTypeRestriction `json:"typeRestriction,omitempty"`
	// WorkspaceId: GTM Workspace ID.
	WorkspaceId string `json:"workspaceId,omitempty"`
	// ZoneId: The Zone ID uniquely identifies the GTM Zone.
	ZoneId string `json:"zoneId,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "AccountId") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "AccountId") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

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 or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Condition") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

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 or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Nickname") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

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 or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Enable") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

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