api: google.golang.org/api/tagmanager/v1 Index | Files

package tagmanager

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

Package tagmanager provides access to the Tag Manager API.

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

Creating a client

Usage example:

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

In this example, Google Application Default Credentials are used for authentication.

For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.

Other authentication options

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

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

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

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

To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:

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

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

Index

Package Files

tagmanager-gen.go

Constants

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

    // Manage your Google Tag Manager container and its subcomponents,
    // excluding versioning and publishing
    TagmanagerEditContainersScope = "https://www.googleapis.com/auth/tagmanager.edit.containers"

    // Manage your Google Tag Manager container versions
    TagmanagerEditContainerversionsScope = "https://www.googleapis.com/auth/tagmanager.edit.containerversions"

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

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

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

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

OAuth2 scopes used by this API.

type Account Uses

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

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

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

    // ShareData: Whether the account shares data anonymously with Google
    // and others.
    ShareData bool `json:"shareData,omitempty"`

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

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

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

Account: Represents a Google Tag Manager Account.

func (*Account) MarshalJSON Uses

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

type AccountAccess Uses

type AccountAccess struct {
    // Permission: List of Account permissions. Valid account permissions
    // are read and manage.
    //
    // Possible values:
    //   "delete"
    //   "edit"
    //   "editWorkspace"
    //   "manage"
    //   "publish"
    //   "read"
    Permission []string `json:"permission,omitempty"`

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

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

AccountAccess: Defines the Google Tag Manager Account access permissions.

func (*AccountAccess) MarshalJSON Uses

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

type AccountsContainersCreateCall Uses

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

func (*AccountsContainersCreateCall) Context Uses

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

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

func (*AccountsContainersCreateCall) Do Uses

func (c *AccountsContainersCreateCall) Do(opts ...googleapi.CallOption) (*Container, error)

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

func (*AccountsContainersCreateCall) Fields Uses

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

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

func (*AccountsContainersCreateCall) Header Uses

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

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

type AccountsContainersDeleteCall Uses

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

func (*AccountsContainersDeleteCall) Context Uses

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

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

func (*AccountsContainersDeleteCall) Do Uses

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

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

func (*AccountsContainersDeleteCall) Fields Uses

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

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

func (*AccountsContainersDeleteCall) Header Uses

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

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

type AccountsContainersEnvironmentsCreateCall Uses

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

func (*AccountsContainersEnvironmentsCreateCall) Context Uses

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

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

func (*AccountsContainersEnvironmentsCreateCall) Do Uses

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

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

func (*AccountsContainersEnvironmentsCreateCall) Fields Uses

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

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

func (*AccountsContainersEnvironmentsCreateCall) Header Uses

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

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

type AccountsContainersEnvironmentsDeleteCall Uses

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

func (*AccountsContainersEnvironmentsDeleteCall) Context Uses

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

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

func (*AccountsContainersEnvironmentsDeleteCall) Do Uses

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

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

func (*AccountsContainersEnvironmentsDeleteCall) Fields Uses

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

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

func (*AccountsContainersEnvironmentsDeleteCall) Header Uses

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

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

type AccountsContainersEnvironmentsGetCall Uses

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

func (*AccountsContainersEnvironmentsGetCall) Context Uses

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

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

func (*AccountsContainersEnvironmentsGetCall) Do Uses

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

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

func (*AccountsContainersEnvironmentsGetCall) Fields Uses

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

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

func (*AccountsContainersEnvironmentsGetCall) Header Uses

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

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

func (*AccountsContainersEnvironmentsGetCall) IfNoneMatch Uses

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

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

type AccountsContainersEnvironmentsListCall Uses

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

func (*AccountsContainersEnvironmentsListCall) Context Uses

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

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

func (*AccountsContainersEnvironmentsListCall) Do Uses

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

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

func (*AccountsContainersEnvironmentsListCall) Fields Uses

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

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

func (*AccountsContainersEnvironmentsListCall) Header Uses

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

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

func (*AccountsContainersEnvironmentsListCall) IfNoneMatch Uses

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

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

type AccountsContainersEnvironmentsService Uses

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

func NewAccountsContainersEnvironmentsService Uses

func NewAccountsContainersEnvironmentsService(s *Service) *AccountsContainersEnvironmentsService

func (*AccountsContainersEnvironmentsService) Create Uses

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

Create: Creates a GTM Environment.

func (*AccountsContainersEnvironmentsService) Delete Uses

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

Delete: Deletes a GTM Environment.

func (*AccountsContainersEnvironmentsService) Get Uses

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

Get: Gets a GTM Environment.

func (*AccountsContainersEnvironmentsService) List Uses

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

List: Lists all GTM Environments of a GTM Container.

func (*AccountsContainersEnvironmentsService) Update Uses

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

Update: Updates a GTM Environment.

type AccountsContainersEnvironmentsUpdateCall Uses

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

func (*AccountsContainersEnvironmentsUpdateCall) Context Uses

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

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

func (*AccountsContainersEnvironmentsUpdateCall) Do Uses

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

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

func (*AccountsContainersEnvironmentsUpdateCall) Fields Uses

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

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

func (*AccountsContainersEnvironmentsUpdateCall) Fingerprint Uses

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

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

func (*AccountsContainersEnvironmentsUpdateCall) Header Uses

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

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

type AccountsContainersFoldersCreateCall Uses

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

func (*AccountsContainersFoldersCreateCall) Context Uses

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

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

func (*AccountsContainersFoldersCreateCall) Do Uses

func (c *AccountsContainersFoldersCreateCall) Do(opts ...googleapi.CallOption) (*Folder, error)

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

func (*AccountsContainersFoldersCreateCall) Fields Uses

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

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

func (*AccountsContainersFoldersCreateCall) Header Uses

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

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

type AccountsContainersFoldersDeleteCall Uses

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

func (*AccountsContainersFoldersDeleteCall) Context Uses

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

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

func (*AccountsContainersFoldersDeleteCall) Do Uses

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

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

func (*AccountsContainersFoldersDeleteCall) Fields Uses

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

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

func (*AccountsContainersFoldersDeleteCall) Header Uses

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

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

type AccountsContainersFoldersEntitiesListCall Uses

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

func (*AccountsContainersFoldersEntitiesListCall) Context Uses

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

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

func (*AccountsContainersFoldersEntitiesListCall) Do Uses

func (c *AccountsContainersFoldersEntitiesListCall) Do(opts ...googleapi.CallOption) (*FolderEntities, error)

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

func (*AccountsContainersFoldersEntitiesListCall) Fields Uses

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

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

func (*AccountsContainersFoldersEntitiesListCall) Header Uses

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

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

func (*AccountsContainersFoldersEntitiesListCall) IfNoneMatch Uses

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

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

type AccountsContainersFoldersEntitiesService Uses

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

func NewAccountsContainersFoldersEntitiesService Uses

func NewAccountsContainersFoldersEntitiesService(s *Service) *AccountsContainersFoldersEntitiesService

func (*AccountsContainersFoldersEntitiesService) List Uses

func (r *AccountsContainersFoldersEntitiesService) List(accountId string, containerId string, folderId string) *AccountsContainersFoldersEntitiesListCall

List: List all entities in a GTM Folder.

type AccountsContainersFoldersGetCall Uses

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

func (*AccountsContainersFoldersGetCall) Context Uses

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

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

func (*AccountsContainersFoldersGetCall) Do Uses

func (c *AccountsContainersFoldersGetCall) Do(opts ...googleapi.CallOption) (*Folder, error)

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

func (*AccountsContainersFoldersGetCall) Fields Uses

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

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

func (*AccountsContainersFoldersGetCall) Header Uses

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

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

func (*AccountsContainersFoldersGetCall) IfNoneMatch Uses

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

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

type AccountsContainersFoldersListCall Uses

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

func (*AccountsContainersFoldersListCall) Context Uses

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

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

func (*AccountsContainersFoldersListCall) Do Uses

func (c *AccountsContainersFoldersListCall) Do(opts ...googleapi.CallOption) (*ListFoldersResponse, error)

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

func (*AccountsContainersFoldersListCall) Fields Uses

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

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

func (*AccountsContainersFoldersListCall) Header Uses

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

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

func (*AccountsContainersFoldersListCall) IfNoneMatch Uses

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

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

type AccountsContainersFoldersService Uses

type AccountsContainersFoldersService struct {
    Entities *AccountsContainersFoldersEntitiesService
    // contains filtered or unexported fields
}

func NewAccountsContainersFoldersService Uses

func NewAccountsContainersFoldersService(s *Service) *AccountsContainersFoldersService

func (*AccountsContainersFoldersService) Create Uses

func (r *AccountsContainersFoldersService) Create(accountId string, containerId string, folder *Folder) *AccountsContainersFoldersCreateCall

Create: Creates a GTM Folder.

func (*AccountsContainersFoldersService) Delete Uses

func (r *AccountsContainersFoldersService) Delete(accountId string, containerId string, folderId string) *AccountsContainersFoldersDeleteCall

Delete: Deletes a GTM Folder.

func (*AccountsContainersFoldersService) Get Uses

func (r *AccountsContainersFoldersService) Get(accountId string, containerId string, folderId string) *AccountsContainersFoldersGetCall

Get: Gets a GTM Folder.

func (*AccountsContainersFoldersService) List Uses

func (r *AccountsContainersFoldersService) List(accountId string, containerId string) *AccountsContainersFoldersListCall

List: Lists all GTM Folders of a Container.

func (*AccountsContainersFoldersService) Update Uses

func (r *AccountsContainersFoldersService) Update(accountId string, containerId string, folderId string, folder *Folder) *AccountsContainersFoldersUpdateCall

Update: Updates a GTM Folder.

type AccountsContainersFoldersUpdateCall Uses

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

func (*AccountsContainersFoldersUpdateCall) Context Uses

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

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

func (*AccountsContainersFoldersUpdateCall) Do Uses

func (c *AccountsContainersFoldersUpdateCall) Do(opts ...googleapi.CallOption) (*Folder, error)

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

func (*AccountsContainersFoldersUpdateCall) Fields Uses

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

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

func (*AccountsContainersFoldersUpdateCall) Fingerprint Uses

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

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

func (*AccountsContainersFoldersUpdateCall) Header Uses

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

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

type AccountsContainersGetCall Uses

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

func (*AccountsContainersGetCall) Context Uses

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

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

func (*AccountsContainersGetCall) Do Uses

func (c *AccountsContainersGetCall) Do(opts ...googleapi.CallOption) (*Container, error)

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

func (*AccountsContainersGetCall) Fields Uses

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

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

func (*AccountsContainersGetCall) Header Uses

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

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

func (*AccountsContainersGetCall) IfNoneMatch Uses

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

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

type AccountsContainersListCall Uses

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

func (*AccountsContainersListCall) Context Uses

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

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

func (*AccountsContainersListCall) Do Uses

func (c *AccountsContainersListCall) Do(opts ...googleapi.CallOption) (*ListContainersResponse, error)

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

func (*AccountsContainersListCall) Fields Uses

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

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

func (*AccountsContainersListCall) Header Uses

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

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

func (*AccountsContainersListCall) IfNoneMatch Uses

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

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

type AccountsContainersMoveFoldersService Uses

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

func NewAccountsContainersMoveFoldersService Uses

func NewAccountsContainersMoveFoldersService(s *Service) *AccountsContainersMoveFoldersService

func (*AccountsContainersMoveFoldersService) Update Uses

func (r *AccountsContainersMoveFoldersService) Update(accountId string, containerId string, folderId string, folder *Folder) *AccountsContainersMoveFoldersUpdateCall

Update: Moves entities to a GTM Folder.

type AccountsContainersMoveFoldersUpdateCall Uses

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

func (*AccountsContainersMoveFoldersUpdateCall) Context Uses

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

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

func (*AccountsContainersMoveFoldersUpdateCall) Do Uses

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

Do executes the "tagmanager.accounts.containers.move_folders.update" call.

func (*AccountsContainersMoveFoldersUpdateCall) Fields Uses

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

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

func (*AccountsContainersMoveFoldersUpdateCall) Header Uses

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

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

func (*AccountsContainersMoveFoldersUpdateCall) TagId Uses

func (c *AccountsContainersMoveFoldersUpdateCall) TagId(tagId ...string) *AccountsContainersMoveFoldersUpdateCall

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

func (*AccountsContainersMoveFoldersUpdateCall) TriggerId Uses

func (c *AccountsContainersMoveFoldersUpdateCall) TriggerId(triggerId ...string) *AccountsContainersMoveFoldersUpdateCall

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

func (*AccountsContainersMoveFoldersUpdateCall) VariableId Uses

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

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

type AccountsContainersReauthorizeEnvironmentsService Uses

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

func NewAccountsContainersReauthorizeEnvironmentsService Uses

func NewAccountsContainersReauthorizeEnvironmentsService(s *Service) *AccountsContainersReauthorizeEnvironmentsService

func (*AccountsContainersReauthorizeEnvironmentsService) Update Uses

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

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

type AccountsContainersReauthorizeEnvironmentsUpdateCall Uses

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

func (*AccountsContainersReauthorizeEnvironmentsUpdateCall) Context Uses

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

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

func (*AccountsContainersReauthorizeEnvironmentsUpdateCall) Do Uses

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

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

func (*AccountsContainersReauthorizeEnvironmentsUpdateCall) Fields Uses

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

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

func (*AccountsContainersReauthorizeEnvironmentsUpdateCall) Header Uses

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

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

type AccountsContainersService Uses

type AccountsContainersService struct {
    Environments *AccountsContainersEnvironmentsService

    Folders *AccountsContainersFoldersService

    MoveFolders *AccountsContainersMoveFoldersService

    ReauthorizeEnvironments *AccountsContainersReauthorizeEnvironmentsService

    Tags *AccountsContainersTagsService

    Triggers *AccountsContainersTriggersService

    Variables *AccountsContainersVariablesService

    Versions *AccountsContainersVersionsService
    // contains filtered or unexported fields
}

func NewAccountsContainersService Uses

func NewAccountsContainersService(s *Service) *AccountsContainersService

func (*AccountsContainersService) Create Uses

func (r *AccountsContainersService) Create(accountId string, container *Container) *AccountsContainersCreateCall

Create: Creates a Container.

func (*AccountsContainersService) Delete Uses

func (r *AccountsContainersService) Delete(accountId string, containerId string) *AccountsContainersDeleteCall

Delete: Deletes a Container.

func (*AccountsContainersService) Get Uses

func (r *AccountsContainersService) Get(accountId string, containerId string) *AccountsContainersGetCall

Get: Gets a Container.

func (*AccountsContainersService) List Uses

func (r *AccountsContainersService) List(accountId string) *AccountsContainersListCall

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

func (*AccountsContainersService) Update Uses

func (r *AccountsContainersService) Update(accountId string, containerId string, container *Container) *AccountsContainersUpdateCall

Update: Updates a Container.

type AccountsContainersTagsCreateCall Uses

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

func (*AccountsContainersTagsCreateCall) Context Uses

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

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

func (*AccountsContainersTagsCreateCall) Do Uses

func (c *AccountsContainersTagsCreateCall) Do(opts ...googleapi.CallOption) (*Tag, error)

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

func (*AccountsContainersTagsCreateCall) Fields Uses

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

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

func (*AccountsContainersTagsCreateCall) Header Uses

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

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

type AccountsContainersTagsDeleteCall Uses

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

func (*AccountsContainersTagsDeleteCall) Context Uses

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

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

func (*AccountsContainersTagsDeleteCall) Do Uses

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

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

func (*AccountsContainersTagsDeleteCall) Fields Uses

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

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

func (*AccountsContainersTagsDeleteCall) Header Uses

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

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

type AccountsContainersTagsGetCall Uses

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

func (*AccountsContainersTagsGetCall) Context Uses

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

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

func (*AccountsContainersTagsGetCall) Do Uses

func (c *AccountsContainersTagsGetCall) Do(opts ...googleapi.CallOption) (*Tag, error)

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

func (*AccountsContainersTagsGetCall) Fields Uses

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

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

func (*AccountsContainersTagsGetCall) Header Uses

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

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

func (*AccountsContainersTagsGetCall) IfNoneMatch Uses

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

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

type AccountsContainersTagsListCall Uses

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

func (*AccountsContainersTagsListCall) Context Uses

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

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

func (*AccountsContainersTagsListCall) Do Uses

func (c *AccountsContainersTagsListCall) Do(opts ...googleapi.CallOption) (*ListTagsResponse, error)

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

func (*AccountsContainersTagsListCall) Fields Uses

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

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

func (*AccountsContainersTagsListCall) Header Uses

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

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

func (*AccountsContainersTagsListCall) IfNoneMatch Uses

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

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

type AccountsContainersTagsService Uses

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

func NewAccountsContainersTagsService Uses

func NewAccountsContainersTagsService(s *Service) *AccountsContainersTagsService

func (*AccountsContainersTagsService) Create Uses

func (r *AccountsContainersTagsService) Create(accountId string, containerId string, tag *Tag) *AccountsContainersTagsCreateCall

Create: Creates a GTM Tag.

func (*AccountsContainersTagsService) Delete Uses

func (r *AccountsContainersTagsService) Delete(accountId string, containerId string, tagId string) *AccountsContainersTagsDeleteCall

Delete: Deletes a GTM Tag.

func (*AccountsContainersTagsService) Get Uses

func (r *AccountsContainersTagsService) Get(accountId string, containerId string, tagId string) *AccountsContainersTagsGetCall

Get: Gets a GTM Tag.

func (*AccountsContainersTagsService) List Uses

func (r *AccountsContainersTagsService) List(accountId string, containerId string) *AccountsContainersTagsListCall

List: Lists all GTM Tags of a Container.

func (*AccountsContainersTagsService) Update Uses

func (r *AccountsContainersTagsService) Update(accountId string, containerId string, tagId string, tag *Tag) *AccountsContainersTagsUpdateCall

Update: Updates a GTM Tag.

type AccountsContainersTagsUpdateCall Uses

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

func (*AccountsContainersTagsUpdateCall) Context Uses

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

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

func (*AccountsContainersTagsUpdateCall) Do Uses

func (c *AccountsContainersTagsUpdateCall) Do(opts ...googleapi.CallOption) (*Tag, error)

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

func (*AccountsContainersTagsUpdateCall) Fields Uses

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

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

func (*AccountsContainersTagsUpdateCall) Fingerprint Uses

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

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

func (*AccountsContainersTagsUpdateCall) Header Uses

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

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

type AccountsContainersTriggersCreateCall Uses

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

func (*AccountsContainersTriggersCreateCall) Context Uses

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

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

func (*AccountsContainersTriggersCreateCall) Do Uses

func (c *AccountsContainersTriggersCreateCall) Do(opts ...googleapi.CallOption) (*Trigger, error)

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

func (*AccountsContainersTriggersCreateCall) Fields Uses

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

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

func (*AccountsContainersTriggersCreateCall) Header Uses

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

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

type AccountsContainersTriggersDeleteCall Uses

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

func (*AccountsContainersTriggersDeleteCall) Context Uses

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

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

func (*AccountsContainersTriggersDeleteCall) Do Uses

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

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

func (*AccountsContainersTriggersDeleteCall) Fields Uses

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

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

func (*AccountsContainersTriggersDeleteCall) Header Uses

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

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

type AccountsContainersTriggersGetCall Uses

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

func (*AccountsContainersTriggersGetCall) Context Uses

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

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

func (*AccountsContainersTriggersGetCall) Do Uses

func (c *AccountsContainersTriggersGetCall) Do(opts ...googleapi.CallOption) (*Trigger, error)

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

func (*AccountsContainersTriggersGetCall) Fields Uses

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

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

func (*AccountsContainersTriggersGetCall) Header Uses

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

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

func (*AccountsContainersTriggersGetCall) IfNoneMatch Uses

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

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

type AccountsContainersTriggersListCall Uses

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

func (*AccountsContainersTriggersListCall) Context Uses

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

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

func (*AccountsContainersTriggersListCall) Do Uses

func (c *AccountsContainersTriggersListCall) Do(opts ...googleapi.CallOption) (*ListTriggersResponse, error)

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

func (*AccountsContainersTriggersListCall) Fields Uses

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

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

func (*AccountsContainersTriggersListCall) Header Uses

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

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

func (*AccountsContainersTriggersListCall) IfNoneMatch Uses

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

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

type AccountsContainersTriggersService Uses

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

func NewAccountsContainersTriggersService Uses

func NewAccountsContainersTriggersService(s *Service) *AccountsContainersTriggersService

func (*AccountsContainersTriggersService) Create Uses

func (r *AccountsContainersTriggersService) Create(accountId string, containerId string, trigger *Trigger) *AccountsContainersTriggersCreateCall

Create: Creates a GTM Trigger.

func (*AccountsContainersTriggersService) Delete Uses

func (r *AccountsContainersTriggersService) Delete(accountId string, containerId string, triggerId string) *AccountsContainersTriggersDeleteCall

Delete: Deletes a GTM Trigger.

func (*AccountsContainersTriggersService) Get Uses

func (r *AccountsContainersTriggersService) Get(accountId string, containerId string, triggerId string) *AccountsContainersTriggersGetCall

Get: Gets a GTM Trigger.

func (*AccountsContainersTriggersService) List Uses

func (r *AccountsContainersTriggersService) List(accountId string, containerId string) *AccountsContainersTriggersListCall

List: Lists all GTM Triggers of a Container.

func (*AccountsContainersTriggersService) Update Uses

func (r *AccountsContainersTriggersService) Update(accountId string, containerId string, triggerId string, trigger *Trigger) *AccountsContainersTriggersUpdateCall

Update: Updates a GTM Trigger.

type AccountsContainersTriggersUpdateCall Uses

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

func (*AccountsContainersTriggersUpdateCall) Context Uses

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

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

func (*AccountsContainersTriggersUpdateCall) Do Uses

func (c *AccountsContainersTriggersUpdateCall) Do(opts ...googleapi.CallOption) (*Trigger, error)

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

func (*AccountsContainersTriggersUpdateCall) Fields Uses

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

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

func (*AccountsContainersTriggersUpdateCall) Fingerprint Uses

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

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

func (*AccountsContainersTriggersUpdateCall) Header Uses

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

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

type AccountsContainersUpdateCall Uses

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

func (*AccountsContainersUpdateCall) Context Uses

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

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

func (*AccountsContainersUpdateCall) Do Uses

func (c *AccountsContainersUpdateCall) Do(opts ...googleapi.CallOption) (*Container, error)

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

func (*AccountsContainersUpdateCall) Fields Uses

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

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

func (*AccountsContainersUpdateCall) Fingerprint Uses

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

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

func (*AccountsContainersUpdateCall) Header Uses

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

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

type AccountsContainersVariablesCreateCall Uses

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

func (*AccountsContainersVariablesCreateCall) Context Uses

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

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

func (*AccountsContainersVariablesCreateCall) Do Uses

func (c *AccountsContainersVariablesCreateCall) Do(opts ...googleapi.CallOption) (*Variable, error)

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

func (*AccountsContainersVariablesCreateCall) Fields Uses

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

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

func (*AccountsContainersVariablesCreateCall) Header Uses

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

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

type AccountsContainersVariablesDeleteCall Uses

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

func (*AccountsContainersVariablesDeleteCall) Context Uses

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

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

func (*AccountsContainersVariablesDeleteCall) Do Uses

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

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

func (*AccountsContainersVariablesDeleteCall) Fields Uses

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

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

func (*AccountsContainersVariablesDeleteCall) Header Uses

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

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

type AccountsContainersVariablesGetCall Uses

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

func (*AccountsContainersVariablesGetCall) Context Uses

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

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

func (*AccountsContainersVariablesGetCall) Do Uses

func (c *AccountsContainersVariablesGetCall) Do(opts ...googleapi.CallOption) (*Variable, error)

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

func (*AccountsContainersVariablesGetCall) Fields Uses

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

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

func (*AccountsContainersVariablesGetCall) Header Uses

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

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

func (*AccountsContainersVariablesGetCall) IfNoneMatch Uses

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

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

type AccountsContainersVariablesListCall Uses

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

func (*AccountsContainersVariablesListCall) Context Uses

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

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

func (*AccountsContainersVariablesListCall) Do Uses

func (c *AccountsContainersVariablesListCall) Do(opts ...googleapi.CallOption) (*ListVariablesResponse, error)

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

func (*AccountsContainersVariablesListCall) Fields Uses

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

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

func (*AccountsContainersVariablesListCall) Header Uses

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

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

func (*AccountsContainersVariablesListCall) IfNoneMatch Uses

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

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

type AccountsContainersVariablesService Uses

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

func NewAccountsContainersVariablesService Uses

func NewAccountsContainersVariablesService(s *Service) *AccountsContainersVariablesService

func (*AccountsContainersVariablesService) Create Uses

func (r *AccountsContainersVariablesService) Create(accountId string, containerId string, variable *Variable) *AccountsContainersVariablesCreateCall

Create: Creates a GTM Variable.

func (*AccountsContainersVariablesService) Delete Uses

func (r *AccountsContainersVariablesService) Delete(accountId string, containerId string, variableId string) *AccountsContainersVariablesDeleteCall

Delete: Deletes a GTM Variable.

func (*AccountsContainersVariablesService) Get Uses

func (r *AccountsContainersVariablesService) Get(accountId string, containerId string, variableId string) *AccountsContainersVariablesGetCall

Get: Gets a GTM Variable.

func (*AccountsContainersVariablesService) List Uses

func (r *AccountsContainersVariablesService) List(accountId string, containerId string) *AccountsContainersVariablesListCall

List: Lists all GTM Variables of a Container.

func (*AccountsContainersVariablesService) Update Uses

func (r *AccountsContainersVariablesService) Update(accountId string, containerId string, variableId string, variable *Variable) *AccountsContainersVariablesUpdateCall

Update: Updates a GTM Variable.

type AccountsContainersVariablesUpdateCall Uses

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

func (*AccountsContainersVariablesUpdateCall) Context Uses

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

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

func (*AccountsContainersVariablesUpdateCall) Do Uses

func (c *AccountsContainersVariablesUpdateCall) Do(opts ...googleapi.CallOption) (*Variable, error)

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

func (*AccountsContainersVariablesUpdateCall) Fields Uses

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

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

func (*AccountsContainersVariablesUpdateCall) Fingerprint Uses

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

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

func (*AccountsContainersVariablesUpdateCall) Header Uses

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

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

type AccountsContainersVersionsCreateCall Uses

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

func (*AccountsContainersVersionsCreateCall) Context Uses

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

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

func (*AccountsContainersVersionsCreateCall) Do Uses

func (c *AccountsContainersVersionsCreateCall) Do(opts ...googleapi.CallOption) (*CreateContainerVersionResponse, error)

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

func (*AccountsContainersVersionsCreateCall) Fields Uses

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

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

func (*AccountsContainersVersionsCreateCall) Header Uses

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

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

type AccountsContainersVersionsDeleteCall Uses

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

func (*AccountsContainersVersionsDeleteCall) Context Uses

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

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

func (*AccountsContainersVersionsDeleteCall) Do Uses

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

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

func (*AccountsContainersVersionsDeleteCall) Fields Uses

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

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

func (*AccountsContainersVersionsDeleteCall) Header Uses

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

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

type AccountsContainersVersionsGetCall Uses

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

func (*AccountsContainersVersionsGetCall) Context Uses

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

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

func (*AccountsContainersVersionsGetCall) Do Uses

func (c *AccountsContainersVersionsGetCall) Do(opts ...googleapi.CallOption) (*ContainerVersion, error)

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

func (*AccountsContainersVersionsGetCall) Fields Uses

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

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

func (*AccountsContainersVersionsGetCall) Header Uses

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

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

func (*AccountsContainersVersionsGetCall) IfNoneMatch Uses

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

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

type AccountsContainersVersionsListCall Uses

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

func (*AccountsContainersVersionsListCall) Context Uses

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

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

func (*AccountsContainersVersionsListCall) Do Uses

func (c *AccountsContainersVersionsListCall) Do(opts ...googleapi.CallOption) (*ListContainerVersionsResponse, error)

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

func (*AccountsContainersVersionsListCall) Fields Uses

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

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

func (*AccountsContainersVersionsListCall) Header Uses

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

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

func (*AccountsContainersVersionsListCall) Headers Uses

func (c *AccountsContainersVersionsListCall) Headers(headers bool) *AccountsContainersVersionsListCall

Headers sets the optional parameter "headers": Retrieve headers only when true.

func (*AccountsContainersVersionsListCall) IfNoneMatch Uses

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

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

func (*AccountsContainersVersionsListCall) IncludeDeleted Uses

func (c *AccountsContainersVersionsListCall) IncludeDeleted(includeDeleted bool) *AccountsContainersVersionsListCall

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

type AccountsContainersVersionsPublishCall Uses

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

func (*AccountsContainersVersionsPublishCall) Context Uses

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

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

func (*AccountsContainersVersionsPublishCall) Do Uses

func (c *AccountsContainersVersionsPublishCall) Do(opts ...googleapi.CallOption) (*PublishContainerVersionResponse, error)

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

func (*AccountsContainersVersionsPublishCall) Fields Uses

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

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

func (*AccountsContainersVersionsPublishCall) Fingerprint Uses

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

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

func (*AccountsContainersVersionsPublishCall) Header Uses

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

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

type AccountsContainersVersionsRestoreCall Uses

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

func (*AccountsContainersVersionsRestoreCall) Context Uses

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

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

func (*AccountsContainersVersionsRestoreCall) Do Uses

func (c *AccountsContainersVersionsRestoreCall) Do(opts ...googleapi.CallOption) (*ContainerVersion, error)

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

func (*AccountsContainersVersionsRestoreCall) Fields Uses

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

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

func (*AccountsContainersVersionsRestoreCall) Header Uses

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

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

type AccountsContainersVersionsService Uses

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

func NewAccountsContainersVersionsService Uses

func NewAccountsContainersVersionsService(s *Service) *AccountsContainersVersionsService

func (*AccountsContainersVersionsService) Create Uses

func (r *AccountsContainersVersionsService) Create(accountId string, containerId string, createcontainerversionrequestversionoptions *CreateContainerVersionRequestVersionOptions) *AccountsContainersVersionsCreateCall

Create: Creates a Container Version.

func (*AccountsContainersVersionsService) Delete Uses

func (r *AccountsContainersVersionsService) Delete(accountId string, containerId string, containerVersionId string) *AccountsContainersVersionsDeleteCall

Delete: Deletes a Container Version.

func (*AccountsContainersVersionsService) Get Uses

func (r *AccountsContainersVersionsService) Get(accountId string, containerId string, containerVersionId string) *AccountsContainersVersionsGetCall

Get: Gets a Container Version.

func (*AccountsContainersVersionsService) List Uses

func (r *AccountsContainersVersionsService) List(accountId string, containerId string) *AccountsContainersVersionsListCall

List: Lists all Container Versions of a GTM Container.

func (*AccountsContainersVersionsService) Publish Uses

func (r *AccountsContainersVersionsService) Publish(accountId string, containerId string, containerVersionId string) *AccountsContainersVersionsPublishCall

Publish: Publishes a Container Version.

func (*AccountsContainersVersionsService) Restore Uses

func (r *AccountsContainersVersionsService) Restore(accountId string, containerId string, containerVersionId string) *AccountsContainersVersionsRestoreCall

Restore: Restores a Container Version. This will overwrite the container's current configuration (including its variables, triggers and tags). The operation will not have any effect on the version that is being served (i.e. the published version).

func (*AccountsContainersVersionsService) Undelete Uses

func (r *AccountsContainersVersionsService) Undelete(accountId string, containerId string, containerVersionId string) *AccountsContainersVersionsUndeleteCall

Undelete: Undeletes a Container Version.

func (*AccountsContainersVersionsService) Update Uses

func (r *AccountsContainersVersionsService) Update(accountId string, containerId string, containerVersionId string, containerversion *ContainerVersion) *AccountsContainersVersionsUpdateCall

Update: Updates a Container Version.

type AccountsContainersVersionsUndeleteCall Uses

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

func (*AccountsContainersVersionsUndeleteCall) Context Uses

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

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

func (*AccountsContainersVersionsUndeleteCall) Do Uses

func (c *AccountsContainersVersionsUndeleteCall) Do(opts ...googleapi.CallOption) (*ContainerVersion, error)

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

func (*AccountsContainersVersionsUndeleteCall) Fields Uses

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

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

func (*AccountsContainersVersionsUndeleteCall) Header Uses

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

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

type AccountsContainersVersionsUpdateCall Uses

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

func (*AccountsContainersVersionsUpdateCall) Context Uses

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

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

func (*AccountsContainersVersionsUpdateCall) Do Uses

func (c *AccountsContainersVersionsUpdateCall) Do(opts ...googleapi.CallOption) (*ContainerVersion, error)

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

func (*AccountsContainersVersionsUpdateCall) Fields Uses

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

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

func (*AccountsContainersVersionsUpdateCall) Fingerprint Uses

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

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

func (*AccountsContainersVersionsUpdateCall) Header Uses

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

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

type AccountsGetCall Uses

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

func (*AccountsGetCall) Context Uses

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

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

func (*AccountsGetCall) Do Uses

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

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

func (*AccountsGetCall) Fields Uses

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

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

func (*AccountsGetCall) Header Uses

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

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

func (*AccountsGetCall) IfNoneMatch Uses

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

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

type AccountsListCall Uses

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

func (*AccountsListCall) Context Uses

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

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

func (*AccountsListCall) Do Uses

func (c *AccountsListCall) Do(opts ...googleapi.CallOption) (*ListAccountsResponse, error)

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

func (*AccountsListCall) Fields Uses

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

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

func (*AccountsListCall) Header Uses

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

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

func (*AccountsListCall) IfNoneMatch Uses

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

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

type AccountsPermissionsCreateCall Uses

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

func (*AccountsPermissionsCreateCall) Context Uses

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

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

func (*AccountsPermissionsCreateCall) Do Uses

func (c *AccountsPermissionsCreateCall) Do(opts ...googleapi.CallOption) (*UserAccess, error)

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

func (*AccountsPermissionsCreateCall) Fields Uses

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

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

func (*AccountsPermissionsCreateCall) Header Uses

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

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

type AccountsPermissionsDeleteCall Uses

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

func (*AccountsPermissionsDeleteCall) Context Uses

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

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

func (*AccountsPermissionsDeleteCall) Do Uses

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

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

func (*AccountsPermissionsDeleteCall) Fields Uses

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

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

func (*AccountsPermissionsDeleteCall) Header Uses

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

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

type AccountsPermissionsGetCall Uses

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

func (*AccountsPermissionsGetCall) Context Uses

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

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

func (*AccountsPermissionsGetCall) Do Uses

func (c *AccountsPermissionsGetCall) Do(opts ...googleapi.CallOption) (*UserAccess, error)

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

func (*AccountsPermissionsGetCall) Fields Uses

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

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

func (*AccountsPermissionsGetCall) Header Uses

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

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

func (*AccountsPermissionsGetCall) IfNoneMatch Uses

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

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

type AccountsPermissionsListCall Uses

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

func (*AccountsPermissionsListCall) Context Uses

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

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

func (*AccountsPermissionsListCall) Do Uses

func (c *AccountsPermissionsListCall) Do(opts ...googleapi.CallOption) (*ListAccountUsersResponse, error)

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

func (*AccountsPermissionsListCall) Fields Uses

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

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

func (*AccountsPermissionsListCall) Header Uses

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

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

func (*AccountsPermissionsListCall) IfNoneMatch Uses

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

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

type AccountsPermissionsService Uses

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

func NewAccountsPermissionsService Uses

func NewAccountsPermissionsService(s *Service) *AccountsPermissionsService

func (*AccountsPermissionsService) Create Uses

func (r *AccountsPermissionsService) Create(accountId string, useraccess *UserAccess) *AccountsPermissionsCreateCall

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

func (*AccountsPermissionsService) Delete Uses

func (r *AccountsPermissionsService) Delete(accountId string, permissionId string) *AccountsPermissionsDeleteCall

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

func (*AccountsPermissionsService) Get Uses

func (r *AccountsPermissionsService) Get(accountId string, permissionId string) *AccountsPermissionsGetCall

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

func (*AccountsPermissionsService) List Uses

func (r *AccountsPermissionsService) List(accountId string) *AccountsPermissionsListCall

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

func (*AccountsPermissionsService) Update Uses

func (r *AccountsPermissionsService) Update(accountId string, permissionId string, useraccess *UserAccess) *AccountsPermissionsUpdateCall

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

type AccountsPermissionsUpdateCall Uses

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

func (*AccountsPermissionsUpdateCall) Context Uses

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

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

func (*AccountsPermissionsUpdateCall) Do Uses

func (c *AccountsPermissionsUpdateCall) Do(opts ...googleapi.CallOption) (*UserAccess, error)

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

func (*AccountsPermissionsUpdateCall) Fields Uses

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

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

func (*AccountsPermissionsUpdateCall) Header Uses

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

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

type AccountsService Uses

type AccountsService struct {
    Containers *AccountsContainersService

    Permissions *AccountsPermissionsService
    // contains filtered or unexported fields
}

func NewAccountsService Uses

func NewAccountsService(s *Service) *AccountsService

func (*AccountsService) Get Uses

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

Get: Gets a GTM Account.

func (*AccountsService) List Uses

func (r *AccountsService) List() *AccountsListCall

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

func (*AccountsService) Update Uses

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

Update: Updates a GTM Account.

type AccountsUpdateCall Uses

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

func (*AccountsUpdateCall) Context Uses

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

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

func (*AccountsUpdateCall) Do Uses

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

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

func (*AccountsUpdateCall) Fields Uses

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

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

func (*AccountsUpdateCall) Fingerprint Uses

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 Uses

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

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

type Condition Uses

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

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

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

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

Condition: Represents a predicate.

func (*Condition) MarshalJSON Uses

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

type Container Uses

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

    // ContainerId: The Container ID uniquely identifies the GTM Container.
    ContainerId string `json:"containerId,omitempty"`

    // DomainName: Optional list of domain names associated with the
    // Container.
    DomainName []string `json:"domainName,omitempty"`

    // EnabledBuiltInVariable: List of enabled built-in variables. Valid
    // values include: pageUrl, pageHostname, pagePath, referrer, event,
    // clickElement, clickClasses, clickId, clickTarget, clickUrl,
    // clickText, formElement, formClasses, formId, formTarget, formUrl,
    // formText, errorMessage, errorUrl, errorLine, newHistoryFragment,
    // oldHistoryFragment, newHistoryState, oldHistoryState, historySource,
    // containerVersion, debugMode, randomNumber, containerId.
    //
    // Possible values:
    //   "advertiserId"
    //   "advertisingTrackingEnabled"
    //   "ampBrowserLanguage"
    //   "ampCanonicalHost"
    //   "ampCanonicalPath"
    //   "ampCanonicalUrl"
    //   "ampClientId"
    //   "ampClientMaxScrollX"
    //   "ampClientMaxScrollY"
    //   "ampClientScreenHeight"
    //   "ampClientScreenWidth"
    //   "ampClientScrollX"
    //   "ampClientScrollY"
    //   "ampClientTimestamp"
    //   "ampClientTimezone"
    //   "ampGtmEvent"
    //   "ampPageDownloadTime"
    //   "ampPageLoadTime"
    //   "ampPageViewId"
    //   "ampReferrer"
    //   "ampTitle"
    //   "ampTotalEngagedTime"
    //   "appId"
    //   "appName"
    //   "appVersionCode"
    //   "appVersionName"
    //   "clickClasses"
    //   "clickElement"
    //   "clickId"
    //   "clickTarget"
    //   "clickText"
    //   "clickUrl"
    //   "containerId"
    //   "containerVersion"
    //   "debugMode"
    //   "deviceName"
    //   "elementVisibilityFirstTime"
    //   "elementVisibilityRatio"
    //   "elementVisibilityRecentTime"
    //   "elementVisibilityTime"
    //   "environmentName"
    //   "errorLine"
    //   "errorMessage"
    //   "errorUrl"
    //   "event"
    //   "eventName"
    //   "firebaseEventParameterCampaign"
    //   "firebaseEventParameterCampaignAclid"
    //   "firebaseEventParameterCampaignAnid"
    //   "firebaseEventParameterCampaignClickTimestamp"
    //   "firebaseEventParameterCampaignContent"
    //   "firebaseEventParameterCampaignCp1"
    //   "firebaseEventParameterCampaignGclid"
    //   "firebaseEventParameterCampaignSource"
    //   "firebaseEventParameterCampaignTerm"
    //   "firebaseEventParameterCurrency"
    //   "firebaseEventParameterDynamicLinkAcceptTime"
    //   "firebaseEventParameterDynamicLinkLinkid"
    //   "firebaseEventParameterNotificationMessageDeviceTime"
    //   "firebaseEventParameterNotificationMessageId"
    //   "firebaseEventParameterNotificationMessageName"
    //   "firebaseEventParameterNotificationMessageTime"
    //   "firebaseEventParameterNotificationTopic"
    //   "firebaseEventParameterPreviousAppVersion"
    //   "firebaseEventParameterPreviousOsVersion"
    //   "firebaseEventParameterPrice"
    //   "firebaseEventParameterProductId"
    //   "firebaseEventParameterQuantity"
    //   "firebaseEventParameterValue"
    //   "formClasses"
    //   "formElement"
    //   "formId"
    //   "formTarget"
    //   "formText"
    //   "formUrl"
    //   "historySource"
    //   "htmlId"
    //   "language"
    //   "newHistoryFragment"
    //   "newHistoryState"
    //   "newHistoryUrl"
    //   "oldHistoryFragment"
    //   "oldHistoryState"
    //   "oldHistoryUrl"
    //   "osVersion"
    //   "pageHostname"
    //   "pagePath"
    //   "pageUrl"
    //   "platform"
    //   "randomNumber"
    //   "referrer"
    //   "resolution"
    //   "scrollDepthDirection"
    //   "scrollDepthThreshold"
    //   "scrollDepthUnits"
    //   "sdkVersion"
    //   "videoCurrentTime"
    //   "videoDuration"
    //   "videoPercent"
    //   "videoProvider"
    //   "videoStatus"
    //   "videoTitle"
    //   "videoUrl"
    //   "videoVisible"
    EnabledBuiltInVariable []string `json:"enabledBuiltInVariable,omitempty"`

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

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

    // Notes: Container Notes.
    Notes string `json:"notes,omitempty"`

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

    // TimeZoneCountryId: Container Country ID.
    TimeZoneCountryId string `json:"timeZoneCountryId,omitempty"`

    // TimeZoneId: Container Time Zone ID.
    TimeZoneId string `json:"timeZoneId,omitempty"`

    // UsageContext: List of Usage Contexts for the Container. Valid values
    // include: web, android, ios.
    //
    // Possible values:
    //   "amp"
    //   "android"
    //   "androidSdk5"
    //   "ios"
    //   "iosSdk5"
    //   "web"
    UsageContext []string `json:"usageContext,omitempty"`

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

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

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

Container: Represents a Google Tag Manager Container.

func (*Container) MarshalJSON Uses

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

type ContainerAccess Uses

type ContainerAccess struct {
    // ContainerId: GTM Container ID.
    ContainerId string `json:"containerId,omitempty"`

    // Permission: List of Container permissions. Valid container
    // permissions are: read, edit, delete, publish.
    //
    // Possible values:
    //   "delete"
    //   "edit"
    //   "editWorkspace"
    //   "manage"
    //   "publish"
    //   "read"
    Permission []string `json:"permission,omitempty"`

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

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

ContainerAccess: Defines the Google Tag Manager Container access permissions.

func (*ContainerAccess) MarshalJSON Uses

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

type ContainerVersion Uses

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

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

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

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

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

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

    // Folder: The folders in the container that this version was taken
    // from.
    Folder []*Folder `json:"folder,omitempty"`

    // Macro: The macros in the container that this version was taken from.
    Macro []*Macro `json:"macro,omitempty"`

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

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

    // Rule: The rules in the container that this version was taken from.
    Rule []*Rule `json:"rule,omitempty"`

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

    // Trigger: The triggers in the container that this version was taken
    // from.
    Trigger []*Trigger `json:"trigger,omitempty"`

    // Variable: The variables in the container that this version was taken
    // from.
    Variable []*Variable `json:"variable,omitempty"`

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

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

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

ContainerVersion: Represents a Google Tag Manager Container Version.

func (*ContainerVersion) MarshalJSON Uses

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

type ContainerVersionHeader Uses

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

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

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

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

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

    // NumMacros: Number of macros in the container version.
    NumMacros string `json:"numMacros,omitempty"`

    // NumRules: Number of rules in the container version.
    NumRules string `json:"numRules,omitempty"`

    // NumTags: Number of tags in the container version.
    NumTags string `json:"numTags,omitempty"`

    // NumTriggers: Number of triggers in the container version.
    NumTriggers string `json:"numTriggers,omitempty"`

    // NumVariables: Number of variables in the container version.
    NumVariables string `json:"numVariables,omitempty"`

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

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

ContainerVersionHeader: Represents a Google Tag Manager Container Version Header.

func (*ContainerVersionHeader) MarshalJSON Uses

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

type CreateContainerVersionRequestVersionOptions Uses

type CreateContainerVersionRequestVersionOptions struct {
    // Name: The name of the container version to be created.
    Name string `json:"name,omitempty"`

    // Notes: The notes of the container version to be created.
    Notes string `json:"notes,omitempty"`

    // QuickPreview: The creation of this version may be for quick preview
    // and shouldn't be saved.
    QuickPreview bool `json:"quickPreview,omitempty"`

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

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

CreateContainerVersionRequestVersionOptions: Options for new container versions.

func (*CreateContainerVersionRequestVersionOptions) MarshalJSON Uses

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

type CreateContainerVersionResponse Uses

type CreateContainerVersionResponse struct {
    // CompilerError: Compiler errors or not.
    CompilerError bool `json:"compilerError,omitempty"`

    // ContainerVersion: The container version created.
    ContainerVersion *ContainerVersion `json:"containerVersion,omitempty"`

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

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

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

CreateContainerVersionResponse: Create container versions response.

func (*CreateContainerVersionResponse) MarshalJSON Uses

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

type Environment Uses

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

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

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

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

    ContainerVersionId string `json:"containerVersionId,omitempty"`

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

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

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

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

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

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

    // Url: Default preview page url for the environment.
    Url string `json:"url,omitempty"`

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

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

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

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 Uses

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

type Folder Uses

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

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

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

    // FolderId: The Folder ID uniquely identifies the GTM Folder.
    FolderId string `json:"folderId,omitempty"`

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

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

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

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

Folder: Represents a Google Tag Manager Folder.

func (*Folder) MarshalJSON Uses

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

type FolderEntities Uses

type FolderEntities struct {
    // Tag: The list of tags inside the folder.
    Tag []*Tag `json:"tag,omitempty"`

    // Trigger: The list of triggers inside the folder.
    Trigger []*Trigger `json:"trigger,omitempty"`

    // Variable: The list of variables inside the folder.
    Variable []*Variable `json:"variable,omitempty"`

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

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

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

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

func (*FolderEntities) MarshalJSON Uses

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

type ListAccountUsersResponse Uses

type ListAccountUsersResponse struct {
    // UserAccess: All GTM AccountUsers of a GTM Account.
    UserAccess []*UserAccess `json:"userAccess,omitempty"`

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

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

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

ListAccountUsersResponse: List AccountUsers Response.

func (*ListAccountUsersResponse) MarshalJSON Uses

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

type ListAccountsResponse Uses

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

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

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

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

ListAccountsResponse: List Accounts Response.

func (*ListAccountsResponse) MarshalJSON Uses

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

type ListContainerVersionsResponse Uses

type ListContainerVersionsResponse struct {
    // ContainerVersion: All versions of a GTM Container.
    ContainerVersion []*ContainerVersion `json:"containerVersion,omitempty"`

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

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

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

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

ListContainerVersionsResponse: List container versions response.

func (*ListContainerVersionsResponse) MarshalJSON Uses

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

type ListContainersResponse Uses

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

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

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

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

ListContainersResponse: List Containers Response.

func (*ListContainersResponse) MarshalJSON Uses

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

type ListEnvironmentsResponse Uses

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

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

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

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

ListEnvironmentsResponse: List Environments Response.

func (*ListEnvironmentsResponse) MarshalJSON Uses

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

type ListFoldersResponse Uses

type ListFoldersResponse struct {
    // Folders: All GTM Folders of a GTM Container.
    Folders []*Folder `json:"folders,omitempty"`

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

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

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

ListFoldersResponse: List Folders Response.

func (*ListFoldersResponse) MarshalJSON Uses

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

type ListTagsResponse Uses

type ListTagsResponse struct {
    // Tags: All GTM Tags of a GTM Container.
    Tags []*Tag `json:"tags,omitempty"`

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

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

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

ListTagsResponse: List Tags Response.

func (*ListTagsResponse) MarshalJSON Uses

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

type ListTriggersResponse Uses

type ListTriggersResponse struct {
    // Triggers: All GTM Triggers of a GTM Container.
    Triggers []*Trigger `json:"triggers,omitempty"`

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

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

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

ListTriggersResponse: List triggers response.

func (*ListTriggersResponse) MarshalJSON Uses

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

type ListVariablesResponse Uses

type ListVariablesResponse struct {
    // Variables: All GTM Variables of a GTM Container.
    Variables []*Variable `json:"variables,omitempty"`

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

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

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

ListVariablesResponse: List Variables Response.

func (*ListVariablesResponse) MarshalJSON Uses

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

type Macro Uses

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

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

    // DisablingRuleId: For mobile containers only: A list of rule IDs for
    // disabling conditional macros; the macro is enabled if one of the
    // enabling rules is true while all the disabling rules are false.
    // Treated as an unordered set.
    DisablingRuleId []string `json:"disablingRuleId,omitempty"`

    // EnablingRuleId: For mobile containers only: A list of rule IDs for
    // enabling conditional macros; the macro is enabled if one of the
    // enabling rules is true while all the disabling rules are false.
    // Treated as an unordered set.
    EnablingRuleId []string `json:"enablingRuleId,omitempty"`

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

    // MacroId: The Macro ID uniquely identifies the GTM Macro.
    MacroId string `json:"macroId,omitempty"`

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

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

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

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

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

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

    // Type: GTM Macro Type.
    Type string `json:"type,omitempty"`

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

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

Macro: Represents a Google Tag Manager Macro.

func (*Macro) MarshalJSON Uses

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

type Parameter Uses

type Parameter struct {
    // Key: The named key that uniquely identifies a parameter. Required for
    // top-level parameters, as well as map values. Ignored for list values.
    Key string `json:"key,omitempty"`

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

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

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

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

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

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

Parameter: Represents a Google Tag Manager Parameter.

func (*Parameter) MarshalJSON Uses

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

type PublishContainerVersionResponse Uses

type PublishContainerVersionResponse struct {
    // CompilerError: Compiler errors or not.
    CompilerError bool `json:"compilerError,omitempty"`

    // ContainerVersion: The container version created.
    ContainerVersion *ContainerVersion `json:"containerVersion,omitempty"`

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

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

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

PublishContainerVersionResponse: Publish container version response.

func (*PublishContainerVersionResponse) MarshalJSON Uses

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

type Rule Uses

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

    // Condition: The list of conditions that make up this rule (implicit
    // AND between them).
    Condition []*Condition `json:"condition,omitempty"`

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

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

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

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

    // RuleId: The Rule ID uniquely identifies the GTM Rule.
    RuleId string `json:"ruleId,omitempty"`

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

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

Rule: Represents a Google Tag Manager Rule.

func (*Rule) MarshalJSON Uses

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

type Service Uses

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 Uses

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 Uses

func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error)

NewService creates a new Service.

type SetupTag Uses

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

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

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

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

func (*SetupTag) MarshalJSON Uses

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

type Tag Uses

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

    // BlockingRuleId: Blocking rule IDs. If any of the listed rules
    // evaluate to true, the tag will not fire.
    BlockingRuleId []string `json:"blockingRuleId,omitempty"`

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

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

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

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

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

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

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

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

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

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

    // Paused: True if the tag is paused.
    Paused bool `json:"paused,omitempty"`

    // Priority: User defined numeric priority of the tag. Tags are fired
    // asynchronously in order of priority. Tags with higher numeric value
    // fire first. A tag's priority can be a positive or negative value. The
    // default value is 0.
    Priority *Parameter `json:"priority,omitempty"`

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

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

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

    // TagFiringOption: Option to fire this tag.
    //
    // Possible values:
    //   "oncePerEvent"
    //   "oncePerLoad"
    //   "unlimited"
    TagFiringOption string `json:"tagFiringOption,omitempty"`

    // TagId: The Tag ID uniquely identifies the GTM Tag.
    TagId string `json:"tagId,omitempty"`

    // TeardownTag: The list of teardown tags. Currently we only allow one.
    TeardownTag []*TeardownTag `json:"teardownTag,omitempty"`

    // Type: GTM Tag Type.
    Type string `json:"type,omitempty"`

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

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

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

Tag: Represents a Google Tag Manager Tag.

func (*Tag) MarshalJSON Uses

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

type TeardownTag Uses

type TeardownTag struct {
    // StopTeardownOnFailure: If true, fire the teardown tag if and only if
    // the main tag fires successfully. If false, fire the teardown tag
    // regardless of main tag firing status.
    StopTeardownOnFailure bool `json:"stopTeardownOnFailure,omitempty"`

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

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

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

func (*TeardownTag) MarshalJSON Uses

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

type Trigger Uses

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

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

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

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

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

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

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

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

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

    // HorizontalScrollPercentageList: List of integer percentage values for
    // scroll triggers. The trigger will fire when each percentage is
    // reached when the view is scrolled horizontally. Only valid for AMP
    // scroll triggers.
    HorizontalScrollPercentageList *Parameter `json:"horizontalScrollPercentageList,omitempty"`

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

    // IntervalSeconds: Time between Timer Events to fire (in seconds). Only
    // valid for AMP Timer trigger.
    IntervalSeconds *Parameter `json:"intervalSeconds,omitempty"`

    // Limit: Limit of the number of GTM events this Timer Trigger will
    // fire. If no limit is set, we will continue to fire GTM events until
    // the user leaves the page. Only valid for Timer triggers.
    Limit *Parameter `json:"limit,omitempty"`

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

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

    // Parameter: Additional parameters.
    Parameter []*Parameter `json:"parameter,omitempty"`

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

    // Selector: A click trigger CSS selector (i.e. "a", "button" etc.).
    // Only valid for AMP Click trigger.
    Selector *Parameter `json:"selector,omitempty"`

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

    // TriggerId: The Trigger ID uniquely identifies the GTM Trigger.
    TriggerId string `json:"triggerId,omitempty"`

    // Type: Defines the data layer event that causes this trigger.
    //
    // Possible values:
    //   "always"
    //   "ampClick"
    //   "ampScroll"
    //   "ampTimer"
    //   "ampVisibility"
    //   "click"
    //   "customEvent"
    //   "domReady"
    //   "elementVisibility"
    //   "formSubmission"
    //   "historyChange"
    //   "jsError"
    //   "linkClick"
    //   "pageview"
    //   "scrollDepth"
    //   "timer"
    //   "triggerGroup"
    //   "windowLoaded"
    //   "youTubeVideo"
    Type string `json:"type,omitempty"`

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

    // VerticalScrollPercentageList: List of integer percentage values for
    // scroll triggers. The trigger will fire when each percentage is
    // reached when the view is scrolled vertically. Only valid for AMP
    // scroll triggers.
    VerticalScrollPercentageList *Parameter `json:"verticalScrollPercentageList,omitempty"`

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

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

    // VisiblePercentageMin: A visibility trigger minimum percent
    // visibility. Only valid for AMP Visibility trigger.
    VisiblePercentageMin *Parameter `json:"visiblePercentageMin,omitempty"`

    // WaitForTags: Whether or not we should delay the form submissions or
    // link opening until all of the tags have fired (by preventing the
    // default action and later simulating the default action). Only valid
    // for Form Submission and Link Click triggers.
    WaitForTags *Parameter `json:"waitForTags,omitempty"`

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

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

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

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

Trigger: Represents a Google Tag Manager Trigger

func (*Trigger) MarshalJSON Uses

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

type UserAccess Uses

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

    // AccountId: GTM Account ID.
    AccountId string `json:"accountId,omitempty"`

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

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

    // PermissionId: Account Permission ID.
    PermissionId string `json:"permissionId,omitempty"`

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

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

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

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

func (*UserAccess) MarshalJSON Uses

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

type Variable Uses

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

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

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

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

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

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

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

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

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

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

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

    // Type: GTM Variable Type.
    Type string `json:"type,omitempty"`

    // VariableId: The Variable ID uniquely identifies the GTM Variable.
    VariableId string `json:"variableId,omitempty"`

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

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

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

Variable: Represents a Google Tag Manager Variable.

func (*Variable) MarshalJSON Uses

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

Package tagmanager imports 14 packages (graph). Updated 2019-09-15. Refresh now. Tools for package owners.