Documentation ¶
Overview ¶
Package tagmanager provides access to the Tag Manager API.
For product documentation, see: https://developers.google.com/tag-manager
Creating a client ¶
Usage example:
import "google.golang.org/api/tagmanager/v2" ... ctx := context.Background() tagmanagerService, err := tagmanager.NewService(ctx)
In this example, Google Application Default Credentials are used for authentication.
For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
Other authentication options ¶
By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
tagmanagerService, err := tagmanager.NewService(ctx, option.WithScopes(tagmanager.TagmanagerReadonlyScope))
To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
tagmanagerService, err := tagmanager.NewService(ctx, option.WithAPIKey("AIza..."))
To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
config := &oauth2.Config{...} // ... token, err := config.Exchange(ctx, ...) tagmanagerService, err := tagmanager.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
See https://godoc.org/google.golang.org/api/option/ for details on options.
Index ¶
- Constants
- type Account
- type AccountAccess
- type AccountsContainersCreateCall
- func (c *AccountsContainersCreateCall) Context(ctx context.Context) *AccountsContainersCreateCall
- func (c *AccountsContainersCreateCall) Do(opts ...googleapi.CallOption) (*Container, error)
- func (c *AccountsContainersCreateCall) Fields(s ...googleapi.Field) *AccountsContainersCreateCall
- func (c *AccountsContainersCreateCall) Header() http.Header
- type AccountsContainersDeleteCall
- func (c *AccountsContainersDeleteCall) Context(ctx context.Context) *AccountsContainersDeleteCall
- func (c *AccountsContainersDeleteCall) Do(opts ...googleapi.CallOption) error
- func (c *AccountsContainersDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersDeleteCall
- func (c *AccountsContainersDeleteCall) Header() http.Header
- type AccountsContainersEnvironmentsCreateCall
- func (c *AccountsContainersEnvironmentsCreateCall) Context(ctx context.Context) *AccountsContainersEnvironmentsCreateCall
- func (c *AccountsContainersEnvironmentsCreateCall) Do(opts ...googleapi.CallOption) (*Environment, error)
- func (c *AccountsContainersEnvironmentsCreateCall) Fields(s ...googleapi.Field) *AccountsContainersEnvironmentsCreateCall
- func (c *AccountsContainersEnvironmentsCreateCall) Header() http.Header
- type AccountsContainersEnvironmentsDeleteCall
- func (c *AccountsContainersEnvironmentsDeleteCall) Context(ctx context.Context) *AccountsContainersEnvironmentsDeleteCall
- func (c *AccountsContainersEnvironmentsDeleteCall) Do(opts ...googleapi.CallOption) error
- func (c *AccountsContainersEnvironmentsDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersEnvironmentsDeleteCall
- func (c *AccountsContainersEnvironmentsDeleteCall) Header() http.Header
- type AccountsContainersEnvironmentsGetCall
- func (c *AccountsContainersEnvironmentsGetCall) Context(ctx context.Context) *AccountsContainersEnvironmentsGetCall
- func (c *AccountsContainersEnvironmentsGetCall) Do(opts ...googleapi.CallOption) (*Environment, error)
- func (c *AccountsContainersEnvironmentsGetCall) Fields(s ...googleapi.Field) *AccountsContainersEnvironmentsGetCall
- func (c *AccountsContainersEnvironmentsGetCall) Header() http.Header
- func (c *AccountsContainersEnvironmentsGetCall) IfNoneMatch(entityTag string) *AccountsContainersEnvironmentsGetCall
- type AccountsContainersEnvironmentsListCall
- func (c *AccountsContainersEnvironmentsListCall) Context(ctx context.Context) *AccountsContainersEnvironmentsListCall
- func (c *AccountsContainersEnvironmentsListCall) Do(opts ...googleapi.CallOption) (*ListEnvironmentsResponse, error)
- func (c *AccountsContainersEnvironmentsListCall) Fields(s ...googleapi.Field) *AccountsContainersEnvironmentsListCall
- func (c *AccountsContainersEnvironmentsListCall) Header() http.Header
- func (c *AccountsContainersEnvironmentsListCall) IfNoneMatch(entityTag string) *AccountsContainersEnvironmentsListCall
- func (c *AccountsContainersEnvironmentsListCall) PageToken(pageToken string) *AccountsContainersEnvironmentsListCall
- func (c *AccountsContainersEnvironmentsListCall) Pages(ctx context.Context, f func(*ListEnvironmentsResponse) error) error
- type AccountsContainersEnvironmentsReauthorizeCall
- func (c *AccountsContainersEnvironmentsReauthorizeCall) Context(ctx context.Context) *AccountsContainersEnvironmentsReauthorizeCall
- func (c *AccountsContainersEnvironmentsReauthorizeCall) Do(opts ...googleapi.CallOption) (*Environment, error)
- func (c *AccountsContainersEnvironmentsReauthorizeCall) Fields(s ...googleapi.Field) *AccountsContainersEnvironmentsReauthorizeCall
- func (c *AccountsContainersEnvironmentsReauthorizeCall) Header() http.Header
- type AccountsContainersEnvironmentsService
- func (r *AccountsContainersEnvironmentsService) Create(parent string, environment *Environment) *AccountsContainersEnvironmentsCreateCall
- func (r *AccountsContainersEnvironmentsService) Delete(path string) *AccountsContainersEnvironmentsDeleteCall
- func (r *AccountsContainersEnvironmentsService) Get(path string) *AccountsContainersEnvironmentsGetCall
- func (r *AccountsContainersEnvironmentsService) List(parent string) *AccountsContainersEnvironmentsListCall
- func (r *AccountsContainersEnvironmentsService) Reauthorize(path string, environment *Environment) *AccountsContainersEnvironmentsReauthorizeCall
- func (r *AccountsContainersEnvironmentsService) Update(path string, environment *Environment) *AccountsContainersEnvironmentsUpdateCall
- type AccountsContainersEnvironmentsUpdateCall
- func (c *AccountsContainersEnvironmentsUpdateCall) Context(ctx context.Context) *AccountsContainersEnvironmentsUpdateCall
- func (c *AccountsContainersEnvironmentsUpdateCall) Do(opts ...googleapi.CallOption) (*Environment, error)
- func (c *AccountsContainersEnvironmentsUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersEnvironmentsUpdateCall
- func (c *AccountsContainersEnvironmentsUpdateCall) Fingerprint(fingerprint string) *AccountsContainersEnvironmentsUpdateCall
- func (c *AccountsContainersEnvironmentsUpdateCall) Header() http.Header
- type AccountsContainersGetCall
- func (c *AccountsContainersGetCall) Context(ctx context.Context) *AccountsContainersGetCall
- func (c *AccountsContainersGetCall) Do(opts ...googleapi.CallOption) (*Container, error)
- func (c *AccountsContainersGetCall) Fields(s ...googleapi.Field) *AccountsContainersGetCall
- func (c *AccountsContainersGetCall) Header() http.Header
- func (c *AccountsContainersGetCall) IfNoneMatch(entityTag string) *AccountsContainersGetCall
- type AccountsContainersListCall
- func (c *AccountsContainersListCall) Context(ctx context.Context) *AccountsContainersListCall
- func (c *AccountsContainersListCall) Do(opts ...googleapi.CallOption) (*ListContainersResponse, error)
- func (c *AccountsContainersListCall) Fields(s ...googleapi.Field) *AccountsContainersListCall
- func (c *AccountsContainersListCall) Header() http.Header
- func (c *AccountsContainersListCall) IfNoneMatch(entityTag string) *AccountsContainersListCall
- func (c *AccountsContainersListCall) PageToken(pageToken string) *AccountsContainersListCall
- func (c *AccountsContainersListCall) Pages(ctx context.Context, f func(*ListContainersResponse) error) error
- type AccountsContainersService
- func (r *AccountsContainersService) Create(parent string, container *Container) *AccountsContainersCreateCall
- func (r *AccountsContainersService) Delete(path string) *AccountsContainersDeleteCall
- func (r *AccountsContainersService) Get(path string) *AccountsContainersGetCall
- func (r *AccountsContainersService) List(parent string) *AccountsContainersListCall
- func (r *AccountsContainersService) Update(path string, container *Container) *AccountsContainersUpdateCall
- type AccountsContainersUpdateCall
- func (c *AccountsContainersUpdateCall) Context(ctx context.Context) *AccountsContainersUpdateCall
- func (c *AccountsContainersUpdateCall) Do(opts ...googleapi.CallOption) (*Container, error)
- func (c *AccountsContainersUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersUpdateCall
- func (c *AccountsContainersUpdateCall) Fingerprint(fingerprint string) *AccountsContainersUpdateCall
- func (c *AccountsContainersUpdateCall) Header() http.Header
- type AccountsContainersVersionHeadersLatestCall
- func (c *AccountsContainersVersionHeadersLatestCall) Context(ctx context.Context) *AccountsContainersVersionHeadersLatestCall
- func (c *AccountsContainersVersionHeadersLatestCall) Do(opts ...googleapi.CallOption) (*ContainerVersionHeader, error)
- func (c *AccountsContainersVersionHeadersLatestCall) Fields(s ...googleapi.Field) *AccountsContainersVersionHeadersLatestCall
- func (c *AccountsContainersVersionHeadersLatestCall) Header() http.Header
- func (c *AccountsContainersVersionHeadersLatestCall) IfNoneMatch(entityTag string) *AccountsContainersVersionHeadersLatestCall
- type AccountsContainersVersionHeadersListCall
- func (c *AccountsContainersVersionHeadersListCall) Context(ctx context.Context) *AccountsContainersVersionHeadersListCall
- func (c *AccountsContainersVersionHeadersListCall) Do(opts ...googleapi.CallOption) (*ListContainerVersionsResponse, error)
- func (c *AccountsContainersVersionHeadersListCall) Fields(s ...googleapi.Field) *AccountsContainersVersionHeadersListCall
- func (c *AccountsContainersVersionHeadersListCall) Header() http.Header
- func (c *AccountsContainersVersionHeadersListCall) IfNoneMatch(entityTag string) *AccountsContainersVersionHeadersListCall
- func (c *AccountsContainersVersionHeadersListCall) IncludeDeleted(includeDeleted bool) *AccountsContainersVersionHeadersListCall
- func (c *AccountsContainersVersionHeadersListCall) PageToken(pageToken string) *AccountsContainersVersionHeadersListCall
- func (c *AccountsContainersVersionHeadersListCall) Pages(ctx context.Context, f func(*ListContainerVersionsResponse) error) error
- type AccountsContainersVersionHeadersService
- type AccountsContainersVersionsDeleteCall
- func (c *AccountsContainersVersionsDeleteCall) Context(ctx context.Context) *AccountsContainersVersionsDeleteCall
- func (c *AccountsContainersVersionsDeleteCall) Do(opts ...googleapi.CallOption) error
- func (c *AccountsContainersVersionsDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersVersionsDeleteCall
- func (c *AccountsContainersVersionsDeleteCall) Header() http.Header
- type AccountsContainersVersionsGetCall
- func (c *AccountsContainersVersionsGetCall) ContainerVersionId(containerVersionId string) *AccountsContainersVersionsGetCall
- func (c *AccountsContainersVersionsGetCall) Context(ctx context.Context) *AccountsContainersVersionsGetCall
- func (c *AccountsContainersVersionsGetCall) Do(opts ...googleapi.CallOption) (*ContainerVersion, error)
- func (c *AccountsContainersVersionsGetCall) Fields(s ...googleapi.Field) *AccountsContainersVersionsGetCall
- func (c *AccountsContainersVersionsGetCall) Header() http.Header
- func (c *AccountsContainersVersionsGetCall) IfNoneMatch(entityTag string) *AccountsContainersVersionsGetCall
- type AccountsContainersVersionsLiveCall
- func (c *AccountsContainersVersionsLiveCall) Context(ctx context.Context) *AccountsContainersVersionsLiveCall
- func (c *AccountsContainersVersionsLiveCall) Do(opts ...googleapi.CallOption) (*ContainerVersion, error)
- func (c *AccountsContainersVersionsLiveCall) Fields(s ...googleapi.Field) *AccountsContainersVersionsLiveCall
- func (c *AccountsContainersVersionsLiveCall) Header() http.Header
- func (c *AccountsContainersVersionsLiveCall) IfNoneMatch(entityTag string) *AccountsContainersVersionsLiveCall
- type AccountsContainersVersionsPublishCall
- func (c *AccountsContainersVersionsPublishCall) Context(ctx context.Context) *AccountsContainersVersionsPublishCall
- func (c *AccountsContainersVersionsPublishCall) Do(opts ...googleapi.CallOption) (*PublishContainerVersionResponse, error)
- func (c *AccountsContainersVersionsPublishCall) Fields(s ...googleapi.Field) *AccountsContainersVersionsPublishCall
- func (c *AccountsContainersVersionsPublishCall) Fingerprint(fingerprint string) *AccountsContainersVersionsPublishCall
- func (c *AccountsContainersVersionsPublishCall) Header() http.Header
- type AccountsContainersVersionsService
- func (r *AccountsContainersVersionsService) Delete(path string) *AccountsContainersVersionsDeleteCall
- func (r *AccountsContainersVersionsService) Get(path string) *AccountsContainersVersionsGetCall
- func (r *AccountsContainersVersionsService) Live(parent string) *AccountsContainersVersionsLiveCall
- func (r *AccountsContainersVersionsService) Publish(path string) *AccountsContainersVersionsPublishCall
- func (r *AccountsContainersVersionsService) SetLatest(path string) *AccountsContainersVersionsSetLatestCall
- func (r *AccountsContainersVersionsService) Undelete(path string) *AccountsContainersVersionsUndeleteCall
- func (r *AccountsContainersVersionsService) Update(path string, containerversion *ContainerVersion) *AccountsContainersVersionsUpdateCall
- type AccountsContainersVersionsSetLatestCall
- func (c *AccountsContainersVersionsSetLatestCall) Context(ctx context.Context) *AccountsContainersVersionsSetLatestCall
- func (c *AccountsContainersVersionsSetLatestCall) Do(opts ...googleapi.CallOption) (*ContainerVersion, error)
- func (c *AccountsContainersVersionsSetLatestCall) Fields(s ...googleapi.Field) *AccountsContainersVersionsSetLatestCall
- func (c *AccountsContainersVersionsSetLatestCall) Header() http.Header
- type AccountsContainersVersionsUndeleteCall
- func (c *AccountsContainersVersionsUndeleteCall) Context(ctx context.Context) *AccountsContainersVersionsUndeleteCall
- func (c *AccountsContainersVersionsUndeleteCall) Do(opts ...googleapi.CallOption) (*ContainerVersion, error)
- func (c *AccountsContainersVersionsUndeleteCall) Fields(s ...googleapi.Field) *AccountsContainersVersionsUndeleteCall
- func (c *AccountsContainersVersionsUndeleteCall) Header() http.Header
- type AccountsContainersVersionsUpdateCall
- func (c *AccountsContainersVersionsUpdateCall) Context(ctx context.Context) *AccountsContainersVersionsUpdateCall
- func (c *AccountsContainersVersionsUpdateCall) Do(opts ...googleapi.CallOption) (*ContainerVersion, error)
- func (c *AccountsContainersVersionsUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersVersionsUpdateCall
- func (c *AccountsContainersVersionsUpdateCall) Fingerprint(fingerprint string) *AccountsContainersVersionsUpdateCall
- func (c *AccountsContainersVersionsUpdateCall) Header() http.Header
- type AccountsContainersWorkspacesBuiltInVariablesCreateCall
- func (c *AccountsContainersWorkspacesBuiltInVariablesCreateCall) Context(ctx context.Context) *AccountsContainersWorkspacesBuiltInVariablesCreateCall
- func (c *AccountsContainersWorkspacesBuiltInVariablesCreateCall) Do(opts ...googleapi.CallOption) (*CreateBuiltInVariableResponse, error)
- func (c *AccountsContainersWorkspacesBuiltInVariablesCreateCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesBuiltInVariablesCreateCall
- func (c *AccountsContainersWorkspacesBuiltInVariablesCreateCall) Header() http.Header
- func (c *AccountsContainersWorkspacesBuiltInVariablesCreateCall) Type(type_ ...string) *AccountsContainersWorkspacesBuiltInVariablesCreateCall
- type AccountsContainersWorkspacesBuiltInVariablesDeleteCall
- func (c *AccountsContainersWorkspacesBuiltInVariablesDeleteCall) Context(ctx context.Context) *AccountsContainersWorkspacesBuiltInVariablesDeleteCall
- func (c *AccountsContainersWorkspacesBuiltInVariablesDeleteCall) Do(opts ...googleapi.CallOption) error
- func (c *AccountsContainersWorkspacesBuiltInVariablesDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesBuiltInVariablesDeleteCall
- func (c *AccountsContainersWorkspacesBuiltInVariablesDeleteCall) Header() http.Header
- func (c *AccountsContainersWorkspacesBuiltInVariablesDeleteCall) Type(type_ ...string) *AccountsContainersWorkspacesBuiltInVariablesDeleteCall
- type AccountsContainersWorkspacesBuiltInVariablesListCall
- func (c *AccountsContainersWorkspacesBuiltInVariablesListCall) Context(ctx context.Context) *AccountsContainersWorkspacesBuiltInVariablesListCall
- func (c *AccountsContainersWorkspacesBuiltInVariablesListCall) Do(opts ...googleapi.CallOption) (*ListEnabledBuiltInVariablesResponse, error)
- func (c *AccountsContainersWorkspacesBuiltInVariablesListCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesBuiltInVariablesListCall
- func (c *AccountsContainersWorkspacesBuiltInVariablesListCall) Header() http.Header
- func (c *AccountsContainersWorkspacesBuiltInVariablesListCall) IfNoneMatch(entityTag string) *AccountsContainersWorkspacesBuiltInVariablesListCall
- func (c *AccountsContainersWorkspacesBuiltInVariablesListCall) PageToken(pageToken string) *AccountsContainersWorkspacesBuiltInVariablesListCall
- func (c *AccountsContainersWorkspacesBuiltInVariablesListCall) Pages(ctx context.Context, f func(*ListEnabledBuiltInVariablesResponse) error) error
- type AccountsContainersWorkspacesBuiltInVariablesRevertCall
- func (c *AccountsContainersWorkspacesBuiltInVariablesRevertCall) Context(ctx context.Context) *AccountsContainersWorkspacesBuiltInVariablesRevertCall
- func (c *AccountsContainersWorkspacesBuiltInVariablesRevertCall) Do(opts ...googleapi.CallOption) (*RevertBuiltInVariableResponse, error)
- func (c *AccountsContainersWorkspacesBuiltInVariablesRevertCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesBuiltInVariablesRevertCall
- func (c *AccountsContainersWorkspacesBuiltInVariablesRevertCall) Header() http.Header
- func (c *AccountsContainersWorkspacesBuiltInVariablesRevertCall) Type(type_ string) *AccountsContainersWorkspacesBuiltInVariablesRevertCall
- type AccountsContainersWorkspacesBuiltInVariablesService
- func (r *AccountsContainersWorkspacesBuiltInVariablesService) Create(parent string) *AccountsContainersWorkspacesBuiltInVariablesCreateCall
- func (r *AccountsContainersWorkspacesBuiltInVariablesService) Delete(path string) *AccountsContainersWorkspacesBuiltInVariablesDeleteCall
- func (r *AccountsContainersWorkspacesBuiltInVariablesService) List(parent string) *AccountsContainersWorkspacesBuiltInVariablesListCall
- func (r *AccountsContainersWorkspacesBuiltInVariablesService) Revert(path string) *AccountsContainersWorkspacesBuiltInVariablesRevertCall
- type AccountsContainersWorkspacesCreateCall
- func (c *AccountsContainersWorkspacesCreateCall) Context(ctx context.Context) *AccountsContainersWorkspacesCreateCall
- func (c *AccountsContainersWorkspacesCreateCall) Do(opts ...googleapi.CallOption) (*Workspace, error)
- func (c *AccountsContainersWorkspacesCreateCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesCreateCall
- func (c *AccountsContainersWorkspacesCreateCall) Header() http.Header
- type AccountsContainersWorkspacesCreateVersionCall
- func (c *AccountsContainersWorkspacesCreateVersionCall) Context(ctx context.Context) *AccountsContainersWorkspacesCreateVersionCall
- func (c *AccountsContainersWorkspacesCreateVersionCall) Do(opts ...googleapi.CallOption) (*CreateContainerVersionResponse, error)
- func (c *AccountsContainersWorkspacesCreateVersionCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesCreateVersionCall
- func (c *AccountsContainersWorkspacesCreateVersionCall) Header() http.Header
- type AccountsContainersWorkspacesDeleteCall
- func (c *AccountsContainersWorkspacesDeleteCall) Context(ctx context.Context) *AccountsContainersWorkspacesDeleteCall
- func (c *AccountsContainersWorkspacesDeleteCall) Do(opts ...googleapi.CallOption) error
- func (c *AccountsContainersWorkspacesDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesDeleteCall
- func (c *AccountsContainersWorkspacesDeleteCall) Header() http.Header
- type AccountsContainersWorkspacesFoldersCreateCall
- func (c *AccountsContainersWorkspacesFoldersCreateCall) Context(ctx context.Context) *AccountsContainersWorkspacesFoldersCreateCall
- func (c *AccountsContainersWorkspacesFoldersCreateCall) Do(opts ...googleapi.CallOption) (*Folder, error)
- func (c *AccountsContainersWorkspacesFoldersCreateCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesFoldersCreateCall
- func (c *AccountsContainersWorkspacesFoldersCreateCall) Header() http.Header
- type AccountsContainersWorkspacesFoldersDeleteCall
- func (c *AccountsContainersWorkspacesFoldersDeleteCall) Context(ctx context.Context) *AccountsContainersWorkspacesFoldersDeleteCall
- func (c *AccountsContainersWorkspacesFoldersDeleteCall) Do(opts ...googleapi.CallOption) error
- func (c *AccountsContainersWorkspacesFoldersDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesFoldersDeleteCall
- func (c *AccountsContainersWorkspacesFoldersDeleteCall) Header() http.Header
- type AccountsContainersWorkspacesFoldersEntitiesCall
- func (c *AccountsContainersWorkspacesFoldersEntitiesCall) Context(ctx context.Context) *AccountsContainersWorkspacesFoldersEntitiesCall
- func (c *AccountsContainersWorkspacesFoldersEntitiesCall) Do(opts ...googleapi.CallOption) (*FolderEntities, error)
- func (c *AccountsContainersWorkspacesFoldersEntitiesCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesFoldersEntitiesCall
- func (c *AccountsContainersWorkspacesFoldersEntitiesCall) Header() http.Header
- func (c *AccountsContainersWorkspacesFoldersEntitiesCall) PageToken(pageToken string) *AccountsContainersWorkspacesFoldersEntitiesCall
- func (c *AccountsContainersWorkspacesFoldersEntitiesCall) Pages(ctx context.Context, f func(*FolderEntities) error) error
- type AccountsContainersWorkspacesFoldersGetCall
- func (c *AccountsContainersWorkspacesFoldersGetCall) Context(ctx context.Context) *AccountsContainersWorkspacesFoldersGetCall
- func (c *AccountsContainersWorkspacesFoldersGetCall) Do(opts ...googleapi.CallOption) (*Folder, error)
- func (c *AccountsContainersWorkspacesFoldersGetCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesFoldersGetCall
- func (c *AccountsContainersWorkspacesFoldersGetCall) Header() http.Header
- func (c *AccountsContainersWorkspacesFoldersGetCall) IfNoneMatch(entityTag string) *AccountsContainersWorkspacesFoldersGetCall
- type AccountsContainersWorkspacesFoldersListCall
- func (c *AccountsContainersWorkspacesFoldersListCall) Context(ctx context.Context) *AccountsContainersWorkspacesFoldersListCall
- func (c *AccountsContainersWorkspacesFoldersListCall) Do(opts ...googleapi.CallOption) (*ListFoldersResponse, error)
- func (c *AccountsContainersWorkspacesFoldersListCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesFoldersListCall
- func (c *AccountsContainersWorkspacesFoldersListCall) Header() http.Header
- func (c *AccountsContainersWorkspacesFoldersListCall) IfNoneMatch(entityTag string) *AccountsContainersWorkspacesFoldersListCall
- func (c *AccountsContainersWorkspacesFoldersListCall) PageToken(pageToken string) *AccountsContainersWorkspacesFoldersListCall
- func (c *AccountsContainersWorkspacesFoldersListCall) Pages(ctx context.Context, f func(*ListFoldersResponse) error) error
- type AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall
- func (c *AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall) Context(ctx context.Context) *AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall
- func (c *AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall) Do(opts ...googleapi.CallOption) error
- func (c *AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall
- func (c *AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall) Header() http.Header
- func (c *AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall) TagId(tagId ...string) *AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall
- func (c *AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall) TriggerId(triggerId ...string) *AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall
- func (c *AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall) VariableId(variableId ...string) *AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall
- type AccountsContainersWorkspacesFoldersRevertCall
- func (c *AccountsContainersWorkspacesFoldersRevertCall) Context(ctx context.Context) *AccountsContainersWorkspacesFoldersRevertCall
- func (c *AccountsContainersWorkspacesFoldersRevertCall) Do(opts ...googleapi.CallOption) (*RevertFolderResponse, error)
- func (c *AccountsContainersWorkspacesFoldersRevertCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesFoldersRevertCall
- func (c *AccountsContainersWorkspacesFoldersRevertCall) Fingerprint(fingerprint string) *AccountsContainersWorkspacesFoldersRevertCall
- func (c *AccountsContainersWorkspacesFoldersRevertCall) Header() http.Header
- type AccountsContainersWorkspacesFoldersService
- func (r *AccountsContainersWorkspacesFoldersService) Create(parent string, folder *Folder) *AccountsContainersWorkspacesFoldersCreateCall
- func (r *AccountsContainersWorkspacesFoldersService) Delete(path string) *AccountsContainersWorkspacesFoldersDeleteCall
- func (r *AccountsContainersWorkspacesFoldersService) Entities(path string) *AccountsContainersWorkspacesFoldersEntitiesCall
- func (r *AccountsContainersWorkspacesFoldersService) Get(path string) *AccountsContainersWorkspacesFoldersGetCall
- func (r *AccountsContainersWorkspacesFoldersService) List(parent string) *AccountsContainersWorkspacesFoldersListCall
- func (r *AccountsContainersWorkspacesFoldersService) MoveEntitiesToFolder(path string, folder *Folder) *AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall
- func (r *AccountsContainersWorkspacesFoldersService) Revert(path string) *AccountsContainersWorkspacesFoldersRevertCall
- func (r *AccountsContainersWorkspacesFoldersService) Update(path string, folder *Folder) *AccountsContainersWorkspacesFoldersUpdateCall
- type AccountsContainersWorkspacesFoldersUpdateCall
- func (c *AccountsContainersWorkspacesFoldersUpdateCall) Context(ctx context.Context) *AccountsContainersWorkspacesFoldersUpdateCall
- func (c *AccountsContainersWorkspacesFoldersUpdateCall) Do(opts ...googleapi.CallOption) (*Folder, error)
- func (c *AccountsContainersWorkspacesFoldersUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesFoldersUpdateCall
- func (c *AccountsContainersWorkspacesFoldersUpdateCall) Fingerprint(fingerprint string) *AccountsContainersWorkspacesFoldersUpdateCall
- func (c *AccountsContainersWorkspacesFoldersUpdateCall) Header() http.Header
- type AccountsContainersWorkspacesGetCall
- func (c *AccountsContainersWorkspacesGetCall) Context(ctx context.Context) *AccountsContainersWorkspacesGetCall
- func (c *AccountsContainersWorkspacesGetCall) Do(opts ...googleapi.CallOption) (*Workspace, error)
- func (c *AccountsContainersWorkspacesGetCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesGetCall
- func (c *AccountsContainersWorkspacesGetCall) Header() http.Header
- func (c *AccountsContainersWorkspacesGetCall) IfNoneMatch(entityTag string) *AccountsContainersWorkspacesGetCall
- type AccountsContainersWorkspacesGetStatusCall
- func (c *AccountsContainersWorkspacesGetStatusCall) Context(ctx context.Context) *AccountsContainersWorkspacesGetStatusCall
- func (c *AccountsContainersWorkspacesGetStatusCall) Do(opts ...googleapi.CallOption) (*GetWorkspaceStatusResponse, error)
- func (c *AccountsContainersWorkspacesGetStatusCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesGetStatusCall
- func (c *AccountsContainersWorkspacesGetStatusCall) Header() http.Header
- func (c *AccountsContainersWorkspacesGetStatusCall) IfNoneMatch(entityTag string) *AccountsContainersWorkspacesGetStatusCall
- type AccountsContainersWorkspacesListCall
- func (c *AccountsContainersWorkspacesListCall) Context(ctx context.Context) *AccountsContainersWorkspacesListCall
- func (c *AccountsContainersWorkspacesListCall) Do(opts ...googleapi.CallOption) (*ListWorkspacesResponse, error)
- func (c *AccountsContainersWorkspacesListCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesListCall
- func (c *AccountsContainersWorkspacesListCall) Header() http.Header
- func (c *AccountsContainersWorkspacesListCall) IfNoneMatch(entityTag string) *AccountsContainersWorkspacesListCall
- func (c *AccountsContainersWorkspacesListCall) PageToken(pageToken string) *AccountsContainersWorkspacesListCall
- func (c *AccountsContainersWorkspacesListCall) Pages(ctx context.Context, f func(*ListWorkspacesResponse) error) error
- type AccountsContainersWorkspacesQuickPreviewCall
- func (c *AccountsContainersWorkspacesQuickPreviewCall) Context(ctx context.Context) *AccountsContainersWorkspacesQuickPreviewCall
- func (c *AccountsContainersWorkspacesQuickPreviewCall) Do(opts ...googleapi.CallOption) (*QuickPreviewResponse, error)
- func (c *AccountsContainersWorkspacesQuickPreviewCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesQuickPreviewCall
- func (c *AccountsContainersWorkspacesQuickPreviewCall) Header() http.Header
- type AccountsContainersWorkspacesResolveConflictCall
- func (c *AccountsContainersWorkspacesResolveConflictCall) Context(ctx context.Context) *AccountsContainersWorkspacesResolveConflictCall
- func (c *AccountsContainersWorkspacesResolveConflictCall) Do(opts ...googleapi.CallOption) error
- func (c *AccountsContainersWorkspacesResolveConflictCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesResolveConflictCall
- func (c *AccountsContainersWorkspacesResolveConflictCall) Fingerprint(fingerprint string) *AccountsContainersWorkspacesResolveConflictCall
- func (c *AccountsContainersWorkspacesResolveConflictCall) Header() http.Header
- type AccountsContainersWorkspacesService
- func (r *AccountsContainersWorkspacesService) Create(parent string, workspace *Workspace) *AccountsContainersWorkspacesCreateCall
- func (r *AccountsContainersWorkspacesService) CreateVersion(path string, ...) *AccountsContainersWorkspacesCreateVersionCall
- func (r *AccountsContainersWorkspacesService) Delete(path string) *AccountsContainersWorkspacesDeleteCall
- func (r *AccountsContainersWorkspacesService) Get(path string) *AccountsContainersWorkspacesGetCall
- func (r *AccountsContainersWorkspacesService) GetStatus(path string) *AccountsContainersWorkspacesGetStatusCall
- func (r *AccountsContainersWorkspacesService) List(parent string) *AccountsContainersWorkspacesListCall
- func (r *AccountsContainersWorkspacesService) QuickPreview(path string) *AccountsContainersWorkspacesQuickPreviewCall
- func (r *AccountsContainersWorkspacesService) ResolveConflict(path string, entity *Entity) *AccountsContainersWorkspacesResolveConflictCall
- func (r *AccountsContainersWorkspacesService) Sync(path string) *AccountsContainersWorkspacesSyncCall
- func (r *AccountsContainersWorkspacesService) Update(path string, workspace *Workspace) *AccountsContainersWorkspacesUpdateCall
- type AccountsContainersWorkspacesSyncCall
- func (c *AccountsContainersWorkspacesSyncCall) Context(ctx context.Context) *AccountsContainersWorkspacesSyncCall
- func (c *AccountsContainersWorkspacesSyncCall) Do(opts ...googleapi.CallOption) (*SyncWorkspaceResponse, error)
- func (c *AccountsContainersWorkspacesSyncCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesSyncCall
- func (c *AccountsContainersWorkspacesSyncCall) Header() http.Header
- type AccountsContainersWorkspacesTagsCreateCall
- func (c *AccountsContainersWorkspacesTagsCreateCall) Context(ctx context.Context) *AccountsContainersWorkspacesTagsCreateCall
- func (c *AccountsContainersWorkspacesTagsCreateCall) Do(opts ...googleapi.CallOption) (*Tag, error)
- func (c *AccountsContainersWorkspacesTagsCreateCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesTagsCreateCall
- func (c *AccountsContainersWorkspacesTagsCreateCall) Header() http.Header
- type AccountsContainersWorkspacesTagsDeleteCall
- func (c *AccountsContainersWorkspacesTagsDeleteCall) Context(ctx context.Context) *AccountsContainersWorkspacesTagsDeleteCall
- func (c *AccountsContainersWorkspacesTagsDeleteCall) Do(opts ...googleapi.CallOption) error
- func (c *AccountsContainersWorkspacesTagsDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesTagsDeleteCall
- func (c *AccountsContainersWorkspacesTagsDeleteCall) Header() http.Header
- type AccountsContainersWorkspacesTagsGetCall
- func (c *AccountsContainersWorkspacesTagsGetCall) Context(ctx context.Context) *AccountsContainersWorkspacesTagsGetCall
- func (c *AccountsContainersWorkspacesTagsGetCall) Do(opts ...googleapi.CallOption) (*Tag, error)
- func (c *AccountsContainersWorkspacesTagsGetCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesTagsGetCall
- func (c *AccountsContainersWorkspacesTagsGetCall) Header() http.Header
- func (c *AccountsContainersWorkspacesTagsGetCall) IfNoneMatch(entityTag string) *AccountsContainersWorkspacesTagsGetCall
- type AccountsContainersWorkspacesTagsListCall
- func (c *AccountsContainersWorkspacesTagsListCall) Context(ctx context.Context) *AccountsContainersWorkspacesTagsListCall
- func (c *AccountsContainersWorkspacesTagsListCall) Do(opts ...googleapi.CallOption) (*ListTagsResponse, error)
- func (c *AccountsContainersWorkspacesTagsListCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesTagsListCall
- func (c *AccountsContainersWorkspacesTagsListCall) Header() http.Header
- func (c *AccountsContainersWorkspacesTagsListCall) IfNoneMatch(entityTag string) *AccountsContainersWorkspacesTagsListCall
- func (c *AccountsContainersWorkspacesTagsListCall) PageToken(pageToken string) *AccountsContainersWorkspacesTagsListCall
- func (c *AccountsContainersWorkspacesTagsListCall) Pages(ctx context.Context, f func(*ListTagsResponse) error) error
- type AccountsContainersWorkspacesTagsRevertCall
- func (c *AccountsContainersWorkspacesTagsRevertCall) Context(ctx context.Context) *AccountsContainersWorkspacesTagsRevertCall
- func (c *AccountsContainersWorkspacesTagsRevertCall) Do(opts ...googleapi.CallOption) (*RevertTagResponse, error)
- func (c *AccountsContainersWorkspacesTagsRevertCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesTagsRevertCall
- func (c *AccountsContainersWorkspacesTagsRevertCall) Fingerprint(fingerprint string) *AccountsContainersWorkspacesTagsRevertCall
- func (c *AccountsContainersWorkspacesTagsRevertCall) Header() http.Header
- type AccountsContainersWorkspacesTagsService
- func (r *AccountsContainersWorkspacesTagsService) Create(parent string, tag *Tag) *AccountsContainersWorkspacesTagsCreateCall
- func (r *AccountsContainersWorkspacesTagsService) Delete(path string) *AccountsContainersWorkspacesTagsDeleteCall
- func (r *AccountsContainersWorkspacesTagsService) Get(path string) *AccountsContainersWorkspacesTagsGetCall
- func (r *AccountsContainersWorkspacesTagsService) List(parent string) *AccountsContainersWorkspacesTagsListCall
- func (r *AccountsContainersWorkspacesTagsService) Revert(path string) *AccountsContainersWorkspacesTagsRevertCall
- func (r *AccountsContainersWorkspacesTagsService) Update(path string, tag *Tag) *AccountsContainersWorkspacesTagsUpdateCall
- type AccountsContainersWorkspacesTagsUpdateCall
- func (c *AccountsContainersWorkspacesTagsUpdateCall) Context(ctx context.Context) *AccountsContainersWorkspacesTagsUpdateCall
- func (c *AccountsContainersWorkspacesTagsUpdateCall) Do(opts ...googleapi.CallOption) (*Tag, error)
- func (c *AccountsContainersWorkspacesTagsUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesTagsUpdateCall
- func (c *AccountsContainersWorkspacesTagsUpdateCall) Fingerprint(fingerprint string) *AccountsContainersWorkspacesTagsUpdateCall
- func (c *AccountsContainersWorkspacesTagsUpdateCall) Header() http.Header
- type AccountsContainersWorkspacesTemplatesCreateCall
- func (c *AccountsContainersWorkspacesTemplatesCreateCall) Context(ctx context.Context) *AccountsContainersWorkspacesTemplatesCreateCall
- func (c *AccountsContainersWorkspacesTemplatesCreateCall) Do(opts ...googleapi.CallOption) (*CustomTemplate, error)
- func (c *AccountsContainersWorkspacesTemplatesCreateCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesTemplatesCreateCall
- func (c *AccountsContainersWorkspacesTemplatesCreateCall) Header() http.Header
- type AccountsContainersWorkspacesTemplatesDeleteCall
- func (c *AccountsContainersWorkspacesTemplatesDeleteCall) Context(ctx context.Context) *AccountsContainersWorkspacesTemplatesDeleteCall
- func (c *AccountsContainersWorkspacesTemplatesDeleteCall) Do(opts ...googleapi.CallOption) error
- func (c *AccountsContainersWorkspacesTemplatesDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesTemplatesDeleteCall
- func (c *AccountsContainersWorkspacesTemplatesDeleteCall) Header() http.Header
- type AccountsContainersWorkspacesTemplatesGetCall
- func (c *AccountsContainersWorkspacesTemplatesGetCall) Context(ctx context.Context) *AccountsContainersWorkspacesTemplatesGetCall
- func (c *AccountsContainersWorkspacesTemplatesGetCall) Do(opts ...googleapi.CallOption) (*CustomTemplate, error)
- func (c *AccountsContainersWorkspacesTemplatesGetCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesTemplatesGetCall
- func (c *AccountsContainersWorkspacesTemplatesGetCall) Header() http.Header
- func (c *AccountsContainersWorkspacesTemplatesGetCall) IfNoneMatch(entityTag string) *AccountsContainersWorkspacesTemplatesGetCall
- type AccountsContainersWorkspacesTemplatesListCall
- func (c *AccountsContainersWorkspacesTemplatesListCall) Context(ctx context.Context) *AccountsContainersWorkspacesTemplatesListCall
- func (c *AccountsContainersWorkspacesTemplatesListCall) Do(opts ...googleapi.CallOption) (*ListTemplatesResponse, error)
- func (c *AccountsContainersWorkspacesTemplatesListCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesTemplatesListCall
- func (c *AccountsContainersWorkspacesTemplatesListCall) Header() http.Header
- func (c *AccountsContainersWorkspacesTemplatesListCall) IfNoneMatch(entityTag string) *AccountsContainersWorkspacesTemplatesListCall
- func (c *AccountsContainersWorkspacesTemplatesListCall) PageToken(pageToken string) *AccountsContainersWorkspacesTemplatesListCall
- func (c *AccountsContainersWorkspacesTemplatesListCall) Pages(ctx context.Context, f func(*ListTemplatesResponse) error) error
- type AccountsContainersWorkspacesTemplatesRevertCall
- func (c *AccountsContainersWorkspacesTemplatesRevertCall) Context(ctx context.Context) *AccountsContainersWorkspacesTemplatesRevertCall
- func (c *AccountsContainersWorkspacesTemplatesRevertCall) Do(opts ...googleapi.CallOption) (*RevertTemplateResponse, error)
- func (c *AccountsContainersWorkspacesTemplatesRevertCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesTemplatesRevertCall
- func (c *AccountsContainersWorkspacesTemplatesRevertCall) Fingerprint(fingerprint string) *AccountsContainersWorkspacesTemplatesRevertCall
- func (c *AccountsContainersWorkspacesTemplatesRevertCall) Header() http.Header
- type AccountsContainersWorkspacesTemplatesService
- func (r *AccountsContainersWorkspacesTemplatesService) Create(parent string, customtemplate *CustomTemplate) *AccountsContainersWorkspacesTemplatesCreateCall
- func (r *AccountsContainersWorkspacesTemplatesService) Delete(path string) *AccountsContainersWorkspacesTemplatesDeleteCall
- func (r *AccountsContainersWorkspacesTemplatesService) Get(path string) *AccountsContainersWorkspacesTemplatesGetCall
- func (r *AccountsContainersWorkspacesTemplatesService) List(parent string) *AccountsContainersWorkspacesTemplatesListCall
- func (r *AccountsContainersWorkspacesTemplatesService) Revert(path string) *AccountsContainersWorkspacesTemplatesRevertCall
- func (r *AccountsContainersWorkspacesTemplatesService) Update(path string, customtemplate *CustomTemplate) *AccountsContainersWorkspacesTemplatesUpdateCall
- type AccountsContainersWorkspacesTemplatesUpdateCall
- func (c *AccountsContainersWorkspacesTemplatesUpdateCall) Context(ctx context.Context) *AccountsContainersWorkspacesTemplatesUpdateCall
- func (c *AccountsContainersWorkspacesTemplatesUpdateCall) Do(opts ...googleapi.CallOption) (*CustomTemplate, error)
- func (c *AccountsContainersWorkspacesTemplatesUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesTemplatesUpdateCall
- func (c *AccountsContainersWorkspacesTemplatesUpdateCall) Fingerprint(fingerprint string) *AccountsContainersWorkspacesTemplatesUpdateCall
- func (c *AccountsContainersWorkspacesTemplatesUpdateCall) Header() http.Header
- type AccountsContainersWorkspacesTriggersCreateCall
- func (c *AccountsContainersWorkspacesTriggersCreateCall) Context(ctx context.Context) *AccountsContainersWorkspacesTriggersCreateCall
- func (c *AccountsContainersWorkspacesTriggersCreateCall) Do(opts ...googleapi.CallOption) (*Trigger, error)
- func (c *AccountsContainersWorkspacesTriggersCreateCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesTriggersCreateCall
- func (c *AccountsContainersWorkspacesTriggersCreateCall) Header() http.Header
- type AccountsContainersWorkspacesTriggersDeleteCall
- func (c *AccountsContainersWorkspacesTriggersDeleteCall) Context(ctx context.Context) *AccountsContainersWorkspacesTriggersDeleteCall
- func (c *AccountsContainersWorkspacesTriggersDeleteCall) Do(opts ...googleapi.CallOption) error
- func (c *AccountsContainersWorkspacesTriggersDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesTriggersDeleteCall
- func (c *AccountsContainersWorkspacesTriggersDeleteCall) Header() http.Header
- type AccountsContainersWorkspacesTriggersGetCall
- func (c *AccountsContainersWorkspacesTriggersGetCall) Context(ctx context.Context) *AccountsContainersWorkspacesTriggersGetCall
- func (c *AccountsContainersWorkspacesTriggersGetCall) Do(opts ...googleapi.CallOption) (*Trigger, error)
- func (c *AccountsContainersWorkspacesTriggersGetCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesTriggersGetCall
- func (c *AccountsContainersWorkspacesTriggersGetCall) Header() http.Header
- func (c *AccountsContainersWorkspacesTriggersGetCall) IfNoneMatch(entityTag string) *AccountsContainersWorkspacesTriggersGetCall
- type AccountsContainersWorkspacesTriggersListCall
- func (c *AccountsContainersWorkspacesTriggersListCall) Context(ctx context.Context) *AccountsContainersWorkspacesTriggersListCall
- func (c *AccountsContainersWorkspacesTriggersListCall) Do(opts ...googleapi.CallOption) (*ListTriggersResponse, error)
- func (c *AccountsContainersWorkspacesTriggersListCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesTriggersListCall
- func (c *AccountsContainersWorkspacesTriggersListCall) Header() http.Header
- func (c *AccountsContainersWorkspacesTriggersListCall) IfNoneMatch(entityTag string) *AccountsContainersWorkspacesTriggersListCall
- func (c *AccountsContainersWorkspacesTriggersListCall) PageToken(pageToken string) *AccountsContainersWorkspacesTriggersListCall
- func (c *AccountsContainersWorkspacesTriggersListCall) Pages(ctx context.Context, f func(*ListTriggersResponse) error) error
- type AccountsContainersWorkspacesTriggersRevertCall
- func (c *AccountsContainersWorkspacesTriggersRevertCall) Context(ctx context.Context) *AccountsContainersWorkspacesTriggersRevertCall
- func (c *AccountsContainersWorkspacesTriggersRevertCall) Do(opts ...googleapi.CallOption) (*RevertTriggerResponse, error)
- func (c *AccountsContainersWorkspacesTriggersRevertCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesTriggersRevertCall
- func (c *AccountsContainersWorkspacesTriggersRevertCall) Fingerprint(fingerprint string) *AccountsContainersWorkspacesTriggersRevertCall
- func (c *AccountsContainersWorkspacesTriggersRevertCall) Header() http.Header
- type AccountsContainersWorkspacesTriggersService
- func (r *AccountsContainersWorkspacesTriggersService) Create(parent string, trigger *Trigger) *AccountsContainersWorkspacesTriggersCreateCall
- func (r *AccountsContainersWorkspacesTriggersService) Delete(path string) *AccountsContainersWorkspacesTriggersDeleteCall
- func (r *AccountsContainersWorkspacesTriggersService) Get(path string) *AccountsContainersWorkspacesTriggersGetCall
- func (r *AccountsContainersWorkspacesTriggersService) List(parent string) *AccountsContainersWorkspacesTriggersListCall
- func (r *AccountsContainersWorkspacesTriggersService) Revert(path string) *AccountsContainersWorkspacesTriggersRevertCall
- func (r *AccountsContainersWorkspacesTriggersService) Update(path string, trigger *Trigger) *AccountsContainersWorkspacesTriggersUpdateCall
- type AccountsContainersWorkspacesTriggersUpdateCall
- func (c *AccountsContainersWorkspacesTriggersUpdateCall) Context(ctx context.Context) *AccountsContainersWorkspacesTriggersUpdateCall
- func (c *AccountsContainersWorkspacesTriggersUpdateCall) Do(opts ...googleapi.CallOption) (*Trigger, error)
- func (c *AccountsContainersWorkspacesTriggersUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesTriggersUpdateCall
- func (c *AccountsContainersWorkspacesTriggersUpdateCall) Fingerprint(fingerprint string) *AccountsContainersWorkspacesTriggersUpdateCall
- func (c *AccountsContainersWorkspacesTriggersUpdateCall) Header() http.Header
- type AccountsContainersWorkspacesUpdateCall
- func (c *AccountsContainersWorkspacesUpdateCall) Context(ctx context.Context) *AccountsContainersWorkspacesUpdateCall
- func (c *AccountsContainersWorkspacesUpdateCall) Do(opts ...googleapi.CallOption) (*Workspace, error)
- func (c *AccountsContainersWorkspacesUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesUpdateCall
- func (c *AccountsContainersWorkspacesUpdateCall) Fingerprint(fingerprint string) *AccountsContainersWorkspacesUpdateCall
- func (c *AccountsContainersWorkspacesUpdateCall) Header() http.Header
- type AccountsContainersWorkspacesVariablesCreateCall
- func (c *AccountsContainersWorkspacesVariablesCreateCall) Context(ctx context.Context) *AccountsContainersWorkspacesVariablesCreateCall
- func (c *AccountsContainersWorkspacesVariablesCreateCall) Do(opts ...googleapi.CallOption) (*Variable, error)
- func (c *AccountsContainersWorkspacesVariablesCreateCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesVariablesCreateCall
- func (c *AccountsContainersWorkspacesVariablesCreateCall) Header() http.Header
- type AccountsContainersWorkspacesVariablesDeleteCall
- func (c *AccountsContainersWorkspacesVariablesDeleteCall) Context(ctx context.Context) *AccountsContainersWorkspacesVariablesDeleteCall
- func (c *AccountsContainersWorkspacesVariablesDeleteCall) Do(opts ...googleapi.CallOption) error
- func (c *AccountsContainersWorkspacesVariablesDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesVariablesDeleteCall
- func (c *AccountsContainersWorkspacesVariablesDeleteCall) Header() http.Header
- type AccountsContainersWorkspacesVariablesGetCall
- func (c *AccountsContainersWorkspacesVariablesGetCall) Context(ctx context.Context) *AccountsContainersWorkspacesVariablesGetCall
- func (c *AccountsContainersWorkspacesVariablesGetCall) Do(opts ...googleapi.CallOption) (*Variable, error)
- func (c *AccountsContainersWorkspacesVariablesGetCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesVariablesGetCall
- func (c *AccountsContainersWorkspacesVariablesGetCall) Header() http.Header
- func (c *AccountsContainersWorkspacesVariablesGetCall) IfNoneMatch(entityTag string) *AccountsContainersWorkspacesVariablesGetCall
- type AccountsContainersWorkspacesVariablesListCall
- func (c *AccountsContainersWorkspacesVariablesListCall) Context(ctx context.Context) *AccountsContainersWorkspacesVariablesListCall
- func (c *AccountsContainersWorkspacesVariablesListCall) Do(opts ...googleapi.CallOption) (*ListVariablesResponse, error)
- func (c *AccountsContainersWorkspacesVariablesListCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesVariablesListCall
- func (c *AccountsContainersWorkspacesVariablesListCall) Header() http.Header
- func (c *AccountsContainersWorkspacesVariablesListCall) IfNoneMatch(entityTag string) *AccountsContainersWorkspacesVariablesListCall
- func (c *AccountsContainersWorkspacesVariablesListCall) PageToken(pageToken string) *AccountsContainersWorkspacesVariablesListCall
- func (c *AccountsContainersWorkspacesVariablesListCall) Pages(ctx context.Context, f func(*ListVariablesResponse) error) error
- type AccountsContainersWorkspacesVariablesRevertCall
- func (c *AccountsContainersWorkspacesVariablesRevertCall) Context(ctx context.Context) *AccountsContainersWorkspacesVariablesRevertCall
- func (c *AccountsContainersWorkspacesVariablesRevertCall) Do(opts ...googleapi.CallOption) (*RevertVariableResponse, error)
- func (c *AccountsContainersWorkspacesVariablesRevertCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesVariablesRevertCall
- func (c *AccountsContainersWorkspacesVariablesRevertCall) Fingerprint(fingerprint string) *AccountsContainersWorkspacesVariablesRevertCall
- func (c *AccountsContainersWorkspacesVariablesRevertCall) Header() http.Header
- type AccountsContainersWorkspacesVariablesService
- func (r *AccountsContainersWorkspacesVariablesService) Create(parent string, variable *Variable) *AccountsContainersWorkspacesVariablesCreateCall
- func (r *AccountsContainersWorkspacesVariablesService) Delete(path string) *AccountsContainersWorkspacesVariablesDeleteCall
- func (r *AccountsContainersWorkspacesVariablesService) Get(path string) *AccountsContainersWorkspacesVariablesGetCall
- func (r *AccountsContainersWorkspacesVariablesService) List(parent string) *AccountsContainersWorkspacesVariablesListCall
- func (r *AccountsContainersWorkspacesVariablesService) Revert(path string) *AccountsContainersWorkspacesVariablesRevertCall
- func (r *AccountsContainersWorkspacesVariablesService) Update(path string, variable *Variable) *AccountsContainersWorkspacesVariablesUpdateCall
- type AccountsContainersWorkspacesVariablesUpdateCall
- func (c *AccountsContainersWorkspacesVariablesUpdateCall) Context(ctx context.Context) *AccountsContainersWorkspacesVariablesUpdateCall
- func (c *AccountsContainersWorkspacesVariablesUpdateCall) Do(opts ...googleapi.CallOption) (*Variable, error)
- func (c *AccountsContainersWorkspacesVariablesUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesVariablesUpdateCall
- func (c *AccountsContainersWorkspacesVariablesUpdateCall) Fingerprint(fingerprint string) *AccountsContainersWorkspacesVariablesUpdateCall
- func (c *AccountsContainersWorkspacesVariablesUpdateCall) Header() http.Header
- type AccountsContainersWorkspacesZonesCreateCall
- func (c *AccountsContainersWorkspacesZonesCreateCall) Context(ctx context.Context) *AccountsContainersWorkspacesZonesCreateCall
- func (c *AccountsContainersWorkspacesZonesCreateCall) Do(opts ...googleapi.CallOption) (*Zone, error)
- func (c *AccountsContainersWorkspacesZonesCreateCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesZonesCreateCall
- func (c *AccountsContainersWorkspacesZonesCreateCall) Header() http.Header
- type AccountsContainersWorkspacesZonesDeleteCall
- func (c *AccountsContainersWorkspacesZonesDeleteCall) Context(ctx context.Context) *AccountsContainersWorkspacesZonesDeleteCall
- func (c *AccountsContainersWorkspacesZonesDeleteCall) Do(opts ...googleapi.CallOption) error
- func (c *AccountsContainersWorkspacesZonesDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesZonesDeleteCall
- func (c *AccountsContainersWorkspacesZonesDeleteCall) Header() http.Header
- type AccountsContainersWorkspacesZonesGetCall
- func (c *AccountsContainersWorkspacesZonesGetCall) Context(ctx context.Context) *AccountsContainersWorkspacesZonesGetCall
- func (c *AccountsContainersWorkspacesZonesGetCall) Do(opts ...googleapi.CallOption) (*Zone, error)
- func (c *AccountsContainersWorkspacesZonesGetCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesZonesGetCall
- func (c *AccountsContainersWorkspacesZonesGetCall) Header() http.Header
- func (c *AccountsContainersWorkspacesZonesGetCall) IfNoneMatch(entityTag string) *AccountsContainersWorkspacesZonesGetCall
- type AccountsContainersWorkspacesZonesListCall
- func (c *AccountsContainersWorkspacesZonesListCall) Context(ctx context.Context) *AccountsContainersWorkspacesZonesListCall
- func (c *AccountsContainersWorkspacesZonesListCall) Do(opts ...googleapi.CallOption) (*ListZonesResponse, error)
- func (c *AccountsContainersWorkspacesZonesListCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesZonesListCall
- func (c *AccountsContainersWorkspacesZonesListCall) Header() http.Header
- func (c *AccountsContainersWorkspacesZonesListCall) IfNoneMatch(entityTag string) *AccountsContainersWorkspacesZonesListCall
- func (c *AccountsContainersWorkspacesZonesListCall) PageToken(pageToken string) *AccountsContainersWorkspacesZonesListCall
- func (c *AccountsContainersWorkspacesZonesListCall) Pages(ctx context.Context, f func(*ListZonesResponse) error) error
- type AccountsContainersWorkspacesZonesRevertCall
- func (c *AccountsContainersWorkspacesZonesRevertCall) Context(ctx context.Context) *AccountsContainersWorkspacesZonesRevertCall
- func (c *AccountsContainersWorkspacesZonesRevertCall) Do(opts ...googleapi.CallOption) (*RevertZoneResponse, error)
- func (c *AccountsContainersWorkspacesZonesRevertCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesZonesRevertCall
- func (c *AccountsContainersWorkspacesZonesRevertCall) Fingerprint(fingerprint string) *AccountsContainersWorkspacesZonesRevertCall
- func (c *AccountsContainersWorkspacesZonesRevertCall) Header() http.Header
- type AccountsContainersWorkspacesZonesService
- func (r *AccountsContainersWorkspacesZonesService) Create(parent string, zone *Zone) *AccountsContainersWorkspacesZonesCreateCall
- func (r *AccountsContainersWorkspacesZonesService) Delete(path string) *AccountsContainersWorkspacesZonesDeleteCall
- func (r *AccountsContainersWorkspacesZonesService) Get(path string) *AccountsContainersWorkspacesZonesGetCall
- func (r *AccountsContainersWorkspacesZonesService) List(parent string) *AccountsContainersWorkspacesZonesListCall
- func (r *AccountsContainersWorkspacesZonesService) Revert(path string) *AccountsContainersWorkspacesZonesRevertCall
- func (r *AccountsContainersWorkspacesZonesService) Update(path string, zone *Zone) *AccountsContainersWorkspacesZonesUpdateCall
- type AccountsContainersWorkspacesZonesUpdateCall
- func (c *AccountsContainersWorkspacesZonesUpdateCall) Context(ctx context.Context) *AccountsContainersWorkspacesZonesUpdateCall
- func (c *AccountsContainersWorkspacesZonesUpdateCall) Do(opts ...googleapi.CallOption) (*Zone, error)
- func (c *AccountsContainersWorkspacesZonesUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesZonesUpdateCall
- func (c *AccountsContainersWorkspacesZonesUpdateCall) Fingerprint(fingerprint string) *AccountsContainersWorkspacesZonesUpdateCall
- func (c *AccountsContainersWorkspacesZonesUpdateCall) Header() http.Header
- type AccountsGetCall
- func (c *AccountsGetCall) Context(ctx context.Context) *AccountsGetCall
- func (c *AccountsGetCall) Do(opts ...googleapi.CallOption) (*Account, error)
- func (c *AccountsGetCall) Fields(s ...googleapi.Field) *AccountsGetCall
- func (c *AccountsGetCall) Header() http.Header
- func (c *AccountsGetCall) IfNoneMatch(entityTag string) *AccountsGetCall
- type AccountsListCall
- func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall
- func (c *AccountsListCall) Do(opts ...googleapi.CallOption) (*ListAccountsResponse, error)
- func (c *AccountsListCall) Fields(s ...googleapi.Field) *AccountsListCall
- func (c *AccountsListCall) Header() http.Header
- func (c *AccountsListCall) IfNoneMatch(entityTag string) *AccountsListCall
- func (c *AccountsListCall) PageToken(pageToken string) *AccountsListCall
- func (c *AccountsListCall) Pages(ctx context.Context, f func(*ListAccountsResponse) error) error
- type AccountsService
- type AccountsUpdateCall
- func (c *AccountsUpdateCall) Context(ctx context.Context) *AccountsUpdateCall
- func (c *AccountsUpdateCall) Do(opts ...googleapi.CallOption) (*Account, error)
- func (c *AccountsUpdateCall) Fields(s ...googleapi.Field) *AccountsUpdateCall
- func (c *AccountsUpdateCall) Fingerprint(fingerprint string) *AccountsUpdateCall
- func (c *AccountsUpdateCall) Header() http.Header
- type AccountsUserPermissionsCreateCall
- func (c *AccountsUserPermissionsCreateCall) Context(ctx context.Context) *AccountsUserPermissionsCreateCall
- func (c *AccountsUserPermissionsCreateCall) Do(opts ...googleapi.CallOption) (*UserPermission, error)
- func (c *AccountsUserPermissionsCreateCall) Fields(s ...googleapi.Field) *AccountsUserPermissionsCreateCall
- func (c *AccountsUserPermissionsCreateCall) Header() http.Header
- type AccountsUserPermissionsDeleteCall
- func (c *AccountsUserPermissionsDeleteCall) Context(ctx context.Context) *AccountsUserPermissionsDeleteCall
- func (c *AccountsUserPermissionsDeleteCall) Do(opts ...googleapi.CallOption) error
- func (c *AccountsUserPermissionsDeleteCall) Fields(s ...googleapi.Field) *AccountsUserPermissionsDeleteCall
- func (c *AccountsUserPermissionsDeleteCall) Header() http.Header
- type AccountsUserPermissionsGetCall
- func (c *AccountsUserPermissionsGetCall) Context(ctx context.Context) *AccountsUserPermissionsGetCall
- func (c *AccountsUserPermissionsGetCall) Do(opts ...googleapi.CallOption) (*UserPermission, error)
- func (c *AccountsUserPermissionsGetCall) Fields(s ...googleapi.Field) *AccountsUserPermissionsGetCall
- func (c *AccountsUserPermissionsGetCall) Header() http.Header
- func (c *AccountsUserPermissionsGetCall) IfNoneMatch(entityTag string) *AccountsUserPermissionsGetCall
- type AccountsUserPermissionsListCall
- func (c *AccountsUserPermissionsListCall) Context(ctx context.Context) *AccountsUserPermissionsListCall
- func (c *AccountsUserPermissionsListCall) Do(opts ...googleapi.CallOption) (*ListUserPermissionsResponse, error)
- func (c *AccountsUserPermissionsListCall) Fields(s ...googleapi.Field) *AccountsUserPermissionsListCall
- func (c *AccountsUserPermissionsListCall) Header() http.Header
- func (c *AccountsUserPermissionsListCall) IfNoneMatch(entityTag string) *AccountsUserPermissionsListCall
- func (c *AccountsUserPermissionsListCall) PageToken(pageToken string) *AccountsUserPermissionsListCall
- func (c *AccountsUserPermissionsListCall) Pages(ctx context.Context, f func(*ListUserPermissionsResponse) error) error
- type AccountsUserPermissionsService
- func (r *AccountsUserPermissionsService) Create(parent string, userpermission *UserPermission) *AccountsUserPermissionsCreateCall
- func (r *AccountsUserPermissionsService) Delete(path string) *AccountsUserPermissionsDeleteCall
- func (r *AccountsUserPermissionsService) Get(path string) *AccountsUserPermissionsGetCall
- func (r *AccountsUserPermissionsService) List(parent string) *AccountsUserPermissionsListCall
- func (r *AccountsUserPermissionsService) Update(path string, userpermission *UserPermission) *AccountsUserPermissionsUpdateCall
- type AccountsUserPermissionsUpdateCall
- func (c *AccountsUserPermissionsUpdateCall) Context(ctx context.Context) *AccountsUserPermissionsUpdateCall
- func (c *AccountsUserPermissionsUpdateCall) Do(opts ...googleapi.CallOption) (*UserPermission, error)
- func (c *AccountsUserPermissionsUpdateCall) Fields(s ...googleapi.Field) *AccountsUserPermissionsUpdateCall
- func (c *AccountsUserPermissionsUpdateCall) Header() http.Header
- type BuiltInVariable
- type Client
- type Condition
- type Container
- type ContainerAccess
- type ContainerVersion
- type ContainerVersionHeader
- type CreateBuiltInVariableResponse
- type CreateContainerVersionRequestVersionOptions
- type CreateContainerVersionResponse
- type CustomTemplate
- type Entity
- type Environment
- type Folder
- type FolderEntities
- type GalleryReference
- type GetWorkspaceStatusResponse
- type ListAccountsResponse
- type ListContainerVersionsResponse
- type ListContainersResponse
- type ListEnabledBuiltInVariablesResponse
- type ListEnvironmentsResponse
- type ListFoldersResponse
- type ListTagsResponse
- type ListTemplatesResponse
- type ListTriggersResponse
- type ListUserPermissionsResponse
- type ListVariablesResponse
- type ListWorkspacesResponse
- type ListZonesResponse
- type MergeConflict
- type Parameter
- type PublishContainerVersionResponse
- type QuickPreviewResponse
- type RevertBuiltInVariableResponse
- type RevertFolderResponse
- type RevertTagResponse
- type RevertTemplateResponse
- type RevertTriggerResponse
- type RevertVariableResponse
- type RevertZoneResponse
- type Service
- type SetupTag
- type SyncStatus
- type SyncWorkspaceResponse
- type Tag
- type TeardownTag
- type Trigger
- type UserPermission
- type Variable
- type VariableFormatValue
- type Workspace
- type Zone
- type ZoneBoundary
- type ZoneChildContainer
- type ZoneTypeRestriction
Constants ¶
const ( // Delete your Google Tag Manager containers TagmanagerDeleteContainersScope = "https://www.googleapis.com/auth/tagmanager.delete.containers" // Manage your Google Tag Manager container and its subcomponents, // excluding versioning and publishing TagmanagerEditContainersScope = "https://www.googleapis.com/auth/tagmanager.edit.containers" // Manage your Google Tag Manager container versions TagmanagerEditContainerversionsScope = "https://www.googleapis.com/auth/tagmanager.edit.containerversions" // View and manage your Google Tag Manager accounts TagmanagerManageAccountsScope = "https://www.googleapis.com/auth/tagmanager.manage.accounts" // Manage user permissions of your Google Tag Manager account and // container TagmanagerManageUsersScope = "https://www.googleapis.com/auth/tagmanager.manage.users" // Publish your Google Tag Manager container versions TagmanagerPublishScope = "https://www.googleapis.com/auth/tagmanager.publish" // View your Google Tag Manager container and its subcomponents TagmanagerReadonlyScope = "https://www.googleapis.com/auth/tagmanager.readonly" )
OAuth2 scopes used by this API.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { // AccountId: The Account ID uniquely identifies the GTM Account. AccountId string `json:"accountId,omitempty"` // Fingerprint: The fingerprint of the GTM Account as computed at // storage time. This value is recomputed whenever the account is // modified. Fingerprint string `json:"fingerprint,omitempty"` // Name: Account display name. @mutable tagmanager.accounts.create // @mutable tagmanager.accounts.update Name string `json:"name,omitempty"` // Path: GTM Account's API relative path. Path string `json:"path,omitempty"` // and others. This flag enables benchmarking by sharing your data in an // anonymous form. Google will remove all identifiable information about // your website, combine the data with hundreds of other anonymous sites // and report aggregate trends in the benchmarking service. @mutable // tagmanager.accounts.create @mutable tagmanager.accounts.update ShareData bool `json:"shareData,omitempty"` // TagManagerUrl: Auto generated link to the tag manager UI TagManagerUrl string `json:"tagManagerUrl,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AccountId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AccountId") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Account: Represents a Google Tag Manager Account.
func (*Account) MarshalJSON ¶
type AccountAccess ¶
type AccountAccess struct { // Permission: Whether the user has no access, user access, or admin // access to an account. @mutable tagmanager.accounts.permissions.create // @mutable tagmanager.accounts.permissions.update // // Possible values: // "accountPermissionUnspecified" // "noAccess" // "user" // "admin" Permission string `json:"permission,omitempty"` // ForceSendFields is a list of field names (e.g. "Permission") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Permission") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
AccountAccess: Defines the Google Tag Manager Account access permissions.
func (*AccountAccess) MarshalJSON ¶
func (s *AccountAccess) MarshalJSON() ([]byte, error)
type AccountsContainersCreateCall ¶
type AccountsContainersCreateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersCreateCall) Context ¶
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 ¶
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 ¶
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 ¶
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 ¶
type AccountsContainersDeleteCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersDeleteCall) Context ¶
func (c *AccountsContainersDeleteCall) Context(ctx context.Context) *AccountsContainersDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersDeleteCall) Do ¶
func (c *AccountsContainersDeleteCall) Do(opts ...googleapi.CallOption) error
Do executes the "tagmanager.accounts.containers.delete" call.
func (*AccountsContainersDeleteCall) Fields ¶
func (c *AccountsContainersDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersDeleteCall) Header ¶
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 ¶
type AccountsContainersEnvironmentsCreateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersEnvironmentsCreateCall) Context ¶
func (c *AccountsContainersEnvironmentsCreateCall) Context(ctx context.Context) *AccountsContainersEnvironmentsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersEnvironmentsCreateCall) Do ¶
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 ¶
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 ¶
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 ¶
type AccountsContainersEnvironmentsDeleteCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersEnvironmentsDeleteCall) Context ¶
func (c *AccountsContainersEnvironmentsDeleteCall) Context(ctx context.Context) *AccountsContainersEnvironmentsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersEnvironmentsDeleteCall) Do ¶
func (c *AccountsContainersEnvironmentsDeleteCall) Do(opts ...googleapi.CallOption) error
Do executes the "tagmanager.accounts.containers.environments.delete" call.
func (*AccountsContainersEnvironmentsDeleteCall) Fields ¶
func (c *AccountsContainersEnvironmentsDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersEnvironmentsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersEnvironmentsDeleteCall) Header ¶
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 ¶
type AccountsContainersEnvironmentsGetCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersEnvironmentsGetCall) Context ¶
func (c *AccountsContainersEnvironmentsGetCall) Context(ctx context.Context) *AccountsContainersEnvironmentsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersEnvironmentsGetCall) Do ¶
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 ¶
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 ¶
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 ¶
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 ¶
type AccountsContainersEnvironmentsListCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersEnvironmentsListCall) Context ¶
func (c *AccountsContainersEnvironmentsListCall) Context(ctx context.Context) *AccountsContainersEnvironmentsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersEnvironmentsListCall) Do ¶
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 ¶
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 ¶
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 ¶
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.
func (*AccountsContainersEnvironmentsListCall) PageToken ¶
func (c *AccountsContainersEnvironmentsListCall) PageToken(pageToken string) *AccountsContainersEnvironmentsListCall
PageToken sets the optional parameter "pageToken": Continuation token for fetching the next page of results.
func (*AccountsContainersEnvironmentsListCall) Pages ¶
func (c *AccountsContainersEnvironmentsListCall) Pages(ctx context.Context, f func(*ListEnvironmentsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type AccountsContainersEnvironmentsReauthorizeCall ¶
type AccountsContainersEnvironmentsReauthorizeCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersEnvironmentsReauthorizeCall) Context ¶
func (c *AccountsContainersEnvironmentsReauthorizeCall) Context(ctx context.Context) *AccountsContainersEnvironmentsReauthorizeCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersEnvironmentsReauthorizeCall) Do ¶
func (c *AccountsContainersEnvironmentsReauthorizeCall) Do(opts ...googleapi.CallOption) (*Environment, error)
Do executes the "tagmanager.accounts.containers.environments.reauthorize" call. Exactly one of *Environment or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Environment.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersEnvironmentsReauthorizeCall) Fields ¶
func (c *AccountsContainersEnvironmentsReauthorizeCall) Fields(s ...googleapi.Field) *AccountsContainersEnvironmentsReauthorizeCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersEnvironmentsReauthorizeCall) Header ¶
func (c *AccountsContainersEnvironmentsReauthorizeCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsContainersEnvironmentsService ¶
type AccountsContainersEnvironmentsService struct {
// contains filtered or unexported fields
}
func NewAccountsContainersEnvironmentsService ¶
func NewAccountsContainersEnvironmentsService(s *Service) *AccountsContainersEnvironmentsService
func (*AccountsContainersEnvironmentsService) Create ¶
func (r *AccountsContainersEnvironmentsService) Create(parent string, environment *Environment) *AccountsContainersEnvironmentsCreateCall
Create: Creates a GTM Environment.
- parent: GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}.
func (*AccountsContainersEnvironmentsService) Delete ¶
func (r *AccountsContainersEnvironmentsService) Delete(path string) *AccountsContainersEnvironmentsDeleteCall
Delete: Deletes a GTM Environment.
- path: GTM Environment's API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{enviro nment_id}.
func (*AccountsContainersEnvironmentsService) Get ¶
func (r *AccountsContainersEnvironmentsService) Get(path string) *AccountsContainersEnvironmentsGetCall
Get: Gets a GTM Environment.
- path: GTM Environment's API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{enviro nment_id}.
func (*AccountsContainersEnvironmentsService) List ¶
func (r *AccountsContainersEnvironmentsService) List(parent string) *AccountsContainersEnvironmentsListCall
List: Lists all GTM Environments of a GTM Container.
- parent: GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}.
func (*AccountsContainersEnvironmentsService) Reauthorize ¶
func (r *AccountsContainersEnvironmentsService) Reauthorize(path string, environment *Environment) *AccountsContainersEnvironmentsReauthorizeCall
Reauthorize: Re-generates the authorization code for a GTM Environment.
- path: GTM Environment's API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{enviro nment_id}.
func (*AccountsContainersEnvironmentsService) Update ¶
func (r *AccountsContainersEnvironmentsService) Update(path string, environment *Environment) *AccountsContainersEnvironmentsUpdateCall
Update: Updates a GTM Environment.
- path: GTM Environment's API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{enviro nment_id}.
type AccountsContainersEnvironmentsUpdateCall ¶
type AccountsContainersEnvironmentsUpdateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersEnvironmentsUpdateCall) Context ¶
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 ¶
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 ¶
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 ¶
func (c *AccountsContainersEnvironmentsUpdateCall) Fingerprint(fingerprint string) *AccountsContainersEnvironmentsUpdateCall
Fingerprint sets the optional parameter "fingerprint": When provided, this fingerprint must match the fingerprint of the environment in storage.
func (*AccountsContainersEnvironmentsUpdateCall) Header ¶
func (c *AccountsContainersEnvironmentsUpdateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsContainersGetCall ¶
type AccountsContainersGetCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersGetCall) Context ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (c *AccountsContainersGetCall) IfNoneMatch(entityTag string) *AccountsContainersGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type AccountsContainersListCall ¶
type AccountsContainersListCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersListCall) Context ¶
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 ¶
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 ¶
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 ¶
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 ¶
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.
func (*AccountsContainersListCall) PageToken ¶
func (c *AccountsContainersListCall) PageToken(pageToken string) *AccountsContainersListCall
PageToken sets the optional parameter "pageToken": Continuation token for fetching the next page of results.
func (*AccountsContainersListCall) Pages ¶
func (c *AccountsContainersListCall) Pages(ctx context.Context, f func(*ListContainersResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type AccountsContainersService ¶
type AccountsContainersService struct { Environments *AccountsContainersEnvironmentsService VersionHeaders *AccountsContainersVersionHeadersService Versions *AccountsContainersVersionsService Workspaces *AccountsContainersWorkspacesService // contains filtered or unexported fields }
func NewAccountsContainersService ¶
func NewAccountsContainersService(s *Service) *AccountsContainersService
func (*AccountsContainersService) Create ¶
func (r *AccountsContainersService) Create(parent string, container *Container) *AccountsContainersCreateCall
Create: Creates a Container.
- parent: GTM Account's API relative path. Example: accounts/{account_id}.
func (*AccountsContainersService) Delete ¶
func (r *AccountsContainersService) Delete(path string) *AccountsContainersDeleteCall
Delete: Deletes a Container.
- path: GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}.
func (*AccountsContainersService) Get ¶
func (r *AccountsContainersService) Get(path string) *AccountsContainersGetCall
Get: Gets a Container.
- path: GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}.
func (*AccountsContainersService) List ¶
func (r *AccountsContainersService) List(parent string) *AccountsContainersListCall
List: Lists all Containers that belongs to a GTM Account.
- parent: GTM Accounts's API relative path. Example: accounts/{account_id}.
func (*AccountsContainersService) Update ¶
func (r *AccountsContainersService) Update(path string, container *Container) *AccountsContainersUpdateCall
Update: Updates a Container.
- path: GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}.
type AccountsContainersUpdateCall ¶
type AccountsContainersUpdateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersUpdateCall) Context ¶
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 ¶
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 ¶
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 ¶
func (c *AccountsContainersUpdateCall) Fingerprint(fingerprint string) *AccountsContainersUpdateCall
Fingerprint sets the optional parameter "fingerprint": When provided, this fingerprint must match the fingerprint of the container in storage.
func (*AccountsContainersUpdateCall) Header ¶
func (c *AccountsContainersUpdateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsContainersVersionHeadersLatestCall ¶
type AccountsContainersVersionHeadersLatestCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersVersionHeadersLatestCall) Context ¶
func (c *AccountsContainersVersionHeadersLatestCall) Context(ctx context.Context) *AccountsContainersVersionHeadersLatestCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersVersionHeadersLatestCall) Do ¶
func (c *AccountsContainersVersionHeadersLatestCall) Do(opts ...googleapi.CallOption) (*ContainerVersionHeader, error)
Do executes the "tagmanager.accounts.containers.version_headers.latest" call. Exactly one of *ContainerVersionHeader or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ContainerVersionHeader.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersVersionHeadersLatestCall) Fields ¶
func (c *AccountsContainersVersionHeadersLatestCall) Fields(s ...googleapi.Field) *AccountsContainersVersionHeadersLatestCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersVersionHeadersLatestCall) Header ¶
func (c *AccountsContainersVersionHeadersLatestCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AccountsContainersVersionHeadersLatestCall) IfNoneMatch ¶
func (c *AccountsContainersVersionHeadersLatestCall) IfNoneMatch(entityTag string) *AccountsContainersVersionHeadersLatestCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type AccountsContainersVersionHeadersListCall ¶
type AccountsContainersVersionHeadersListCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersVersionHeadersListCall) Context ¶
func (c *AccountsContainersVersionHeadersListCall) Context(ctx context.Context) *AccountsContainersVersionHeadersListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersVersionHeadersListCall) Do ¶
func (c *AccountsContainersVersionHeadersListCall) Do(opts ...googleapi.CallOption) (*ListContainerVersionsResponse, error)
Do executes the "tagmanager.accounts.containers.version_headers.list" call. Exactly one of *ListContainerVersionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListContainerVersionsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersVersionHeadersListCall) Fields ¶
func (c *AccountsContainersVersionHeadersListCall) Fields(s ...googleapi.Field) *AccountsContainersVersionHeadersListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersVersionHeadersListCall) Header ¶
func (c *AccountsContainersVersionHeadersListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AccountsContainersVersionHeadersListCall) IfNoneMatch ¶
func (c *AccountsContainersVersionHeadersListCall) IfNoneMatch(entityTag string) *AccountsContainersVersionHeadersListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AccountsContainersVersionHeadersListCall) IncludeDeleted ¶
func (c *AccountsContainersVersionHeadersListCall) IncludeDeleted(includeDeleted bool) *AccountsContainersVersionHeadersListCall
IncludeDeleted sets the optional parameter "includeDeleted": Also retrieve deleted (archived) versions when true.
func (*AccountsContainersVersionHeadersListCall) PageToken ¶
func (c *AccountsContainersVersionHeadersListCall) PageToken(pageToken string) *AccountsContainersVersionHeadersListCall
PageToken sets the optional parameter "pageToken": Continuation token for fetching the next page of results.
func (*AccountsContainersVersionHeadersListCall) Pages ¶
func (c *AccountsContainersVersionHeadersListCall) Pages(ctx context.Context, f func(*ListContainerVersionsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type AccountsContainersVersionHeadersService ¶
type AccountsContainersVersionHeadersService struct {
// contains filtered or unexported fields
}
func NewAccountsContainersVersionHeadersService ¶
func NewAccountsContainersVersionHeadersService(s *Service) *AccountsContainersVersionHeadersService
func (*AccountsContainersVersionHeadersService) Latest ¶
func (r *AccountsContainersVersionHeadersService) Latest(parent string) *AccountsContainersVersionHeadersLatestCall
Latest: Gets the latest container version header
- parent: GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}.
func (*AccountsContainersVersionHeadersService) List ¶
func (r *AccountsContainersVersionHeadersService) List(parent string) *AccountsContainersVersionHeadersListCall
List: Lists all Container Versions of a GTM Container.
- parent: GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}.
type AccountsContainersVersionsDeleteCall ¶
type AccountsContainersVersionsDeleteCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersVersionsDeleteCall) Context ¶
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 ¶
func (c *AccountsContainersVersionsDeleteCall) Do(opts ...googleapi.CallOption) error
Do executes the "tagmanager.accounts.containers.versions.delete" call.
func (*AccountsContainersVersionsDeleteCall) Fields ¶
func (c *AccountsContainersVersionsDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersVersionsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersVersionsDeleteCall) Header ¶
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 ¶
type AccountsContainersVersionsGetCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersVersionsGetCall) ContainerVersionId ¶
func (c *AccountsContainersVersionsGetCall) ContainerVersionId(containerVersionId string) *AccountsContainersVersionsGetCall
ContainerVersionId sets the optional parameter "containerVersionId": The GTM ContainerVersion ID. Specify published to retrieve the currently published version.
func (*AccountsContainersVersionsGetCall) Context ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 AccountsContainersVersionsLiveCall ¶
type AccountsContainersVersionsLiveCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersVersionsLiveCall) Context ¶
func (c *AccountsContainersVersionsLiveCall) Context(ctx context.Context) *AccountsContainersVersionsLiveCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersVersionsLiveCall) Do ¶
func (c *AccountsContainersVersionsLiveCall) Do(opts ...googleapi.CallOption) (*ContainerVersion, error)
Do executes the "tagmanager.accounts.containers.versions.live" call. Exactly one of *ContainerVersion or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ContainerVersion.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersVersionsLiveCall) Fields ¶
func (c *AccountsContainersVersionsLiveCall) Fields(s ...googleapi.Field) *AccountsContainersVersionsLiveCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersVersionsLiveCall) Header ¶
func (c *AccountsContainersVersionsLiveCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AccountsContainersVersionsLiveCall) IfNoneMatch ¶
func (c *AccountsContainersVersionsLiveCall) IfNoneMatch(entityTag string) *AccountsContainersVersionsLiveCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type AccountsContainersVersionsPublishCall ¶
type AccountsContainersVersionsPublishCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersVersionsPublishCall) Context ¶
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 ¶
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 ¶
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 ¶
func (c *AccountsContainersVersionsPublishCall) Fingerprint(fingerprint string) *AccountsContainersVersionsPublishCall
Fingerprint sets the optional parameter "fingerprint": When provided, this fingerprint must match the fingerprint of the container version in storage.
func (*AccountsContainersVersionsPublishCall) Header ¶
func (c *AccountsContainersVersionsPublishCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsContainersVersionsService ¶
type AccountsContainersVersionsService struct {
// contains filtered or unexported fields
}
func NewAccountsContainersVersionsService ¶
func NewAccountsContainersVersionsService(s *Service) *AccountsContainersVersionsService
func (*AccountsContainersVersionsService) Delete ¶
func (r *AccountsContainersVersionsService) Delete(path string) *AccountsContainersVersionsDeleteCall
Delete: Deletes a Container Version.
- path: GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id }.
func (*AccountsContainersVersionsService) Get ¶
func (r *AccountsContainersVersionsService) Get(path string) *AccountsContainersVersionsGetCall
Get: Gets a Container Version.
- path: GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id }.
func (*AccountsContainersVersionsService) Live ¶
func (r *AccountsContainersVersionsService) Live(parent string) *AccountsContainersVersionsLiveCall
Live: Gets the live (i.e. published) container version
- parent: GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}.
func (*AccountsContainersVersionsService) Publish ¶
func (r *AccountsContainersVersionsService) Publish(path string) *AccountsContainersVersionsPublishCall
Publish: Publishes a Container Version.
- path: GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id }.
func (*AccountsContainersVersionsService) SetLatest ¶
func (r *AccountsContainersVersionsService) SetLatest(path string) *AccountsContainersVersionsSetLatestCall
SetLatest: Sets the latest version used for synchronization of workspaces when detecting conflicts and errors.
- path: GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id }.
func (*AccountsContainersVersionsService) Undelete ¶
func (r *AccountsContainersVersionsService) Undelete(path string) *AccountsContainersVersionsUndeleteCall
Undelete: Undeletes a Container Version.
- path: GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id }.
func (*AccountsContainersVersionsService) Update ¶
func (r *AccountsContainersVersionsService) Update(path string, containerversion *ContainerVersion) *AccountsContainersVersionsUpdateCall
Update: Updates a Container Version.
- path: GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id }.
type AccountsContainersVersionsSetLatestCall ¶
type AccountsContainersVersionsSetLatestCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersVersionsSetLatestCall) Context ¶
func (c *AccountsContainersVersionsSetLatestCall) Context(ctx context.Context) *AccountsContainersVersionsSetLatestCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersVersionsSetLatestCall) Do ¶
func (c *AccountsContainersVersionsSetLatestCall) Do(opts ...googleapi.CallOption) (*ContainerVersion, error)
Do executes the "tagmanager.accounts.containers.versions.set_latest" call. Exactly one of *ContainerVersion or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ContainerVersion.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersVersionsSetLatestCall) Fields ¶
func (c *AccountsContainersVersionsSetLatestCall) Fields(s ...googleapi.Field) *AccountsContainersVersionsSetLatestCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersVersionsSetLatestCall) Header ¶
func (c *AccountsContainersVersionsSetLatestCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsContainersVersionsUndeleteCall ¶
type AccountsContainersVersionsUndeleteCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersVersionsUndeleteCall) Context ¶
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 ¶
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 ¶
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 ¶
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 ¶
type AccountsContainersVersionsUpdateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersVersionsUpdateCall) Context ¶
func (c *AccountsContainersVersionsUpdateCall) Context(ctx context.Context) *AccountsContainersVersionsUpdateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersVersionsUpdateCall) Do ¶
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 ¶
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 ¶
func (c *AccountsContainersVersionsUpdateCall) Fingerprint(fingerprint string) *AccountsContainersVersionsUpdateCall
Fingerprint sets the optional parameter "fingerprint": When provided, this fingerprint must match the fingerprint of the container version in storage.
func (*AccountsContainersVersionsUpdateCall) Header ¶
func (c *AccountsContainersVersionsUpdateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsContainersWorkspacesBuiltInVariablesCreateCall ¶
type AccountsContainersWorkspacesBuiltInVariablesCreateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesBuiltInVariablesCreateCall) Context ¶
func (c *AccountsContainersWorkspacesBuiltInVariablesCreateCall) Context(ctx context.Context) *AccountsContainersWorkspacesBuiltInVariablesCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesBuiltInVariablesCreateCall) Do ¶
func (c *AccountsContainersWorkspacesBuiltInVariablesCreateCall) Do(opts ...googleapi.CallOption) (*CreateBuiltInVariableResponse, error)
Do executes the "tagmanager.accounts.containers.workspaces.built_in_variables.create" call. Exactly one of *CreateBuiltInVariableResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CreateBuiltInVariableResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesBuiltInVariablesCreateCall) Fields ¶
func (c *AccountsContainersWorkspacesBuiltInVariablesCreateCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesBuiltInVariablesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesBuiltInVariablesCreateCall) Header ¶
func (c *AccountsContainersWorkspacesBuiltInVariablesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AccountsContainersWorkspacesBuiltInVariablesCreateCall) Type ¶
func (c *AccountsContainersWorkspacesBuiltInVariablesCreateCall) Type(type_ ...string) *AccountsContainersWorkspacesBuiltInVariablesCreateCall
Type sets the optional parameter "type": The types of built-in variables to enable.
Possible values:
"builtInVariableTypeUnspecified" "pageUrl" "pageHostname" "pagePath" "referrer" "event" - For web or mobile. "clickElement" "clickClasses" "clickId" "clickTarget" "clickUrl" "clickText" "firstPartyServingUrl" "formElement" "formClasses" "formId" "formTarget" "formUrl" "formText" "errorMessage" "errorUrl" "errorLine" "newHistoryUrl" "oldHistoryUrl" "newHistoryFragment" "oldHistoryFragment" "newHistoryState" "oldHistoryState" "historySource" "containerVersion" - For web or mobile. "debugMode" "randomNumber" - For web or mobile. "containerId" - For web or mobile. "appId" "appName" "appVersionCode" "appVersionName" "language" "osVersion" "platform" "sdkVersion" "deviceName" "resolution" "advertiserId" "advertisingTrackingEnabled" "htmlId" "environmentName" "ampBrowserLanguage" "ampCanonicalPath" "ampCanonicalUrl" "ampCanonicalHost" "ampReferrer" "ampTitle" "ampClientId" "ampClientTimezone" "ampClientTimestamp" "ampClientScreenWidth" "ampClientScreenHeight" "ampClientScrollX" "ampClientScrollY" "ampClientMaxScrollX" "ampClientMaxScrollY" "ampTotalEngagedTime" "ampPageViewId" "ampPageLoadTime" "ampPageDownloadTime" "ampGtmEvent" "eventName" "firebaseEventParameterCampaign" "firebaseEventParameterCampaignAclid" "firebaseEventParameterCampaignAnid" "firebaseEventParameterCampaignClickTimestamp" "firebaseEventParameterCampaignContent" "firebaseEventParameterCampaignCp1" "firebaseEventParameterCampaignGclid" "firebaseEventParameterCampaignSource" "firebaseEventParameterCampaignTerm" "firebaseEventParameterCurrency" "firebaseEventParameterDynamicLinkAcceptTime" "firebaseEventParameterDynamicLinkLinkid" "firebaseEventParameterNotificationMessageDeviceTime" "firebaseEventParameterNotificationMessageId" "firebaseEventParameterNotificationMessageName" "firebaseEventParameterNotificationMessageTime" "firebaseEventParameterNotificationTopic" "firebaseEventParameterPreviousAppVersion" "firebaseEventParameterPreviousOsVersion" "firebaseEventParameterPrice" "firebaseEventParameterProductId" "firebaseEventParameterQuantity" "firebaseEventParameterValue" "videoProvider" "videoUrl" "videoTitle" "videoDuration" "videoPercent" "videoVisible" "videoStatus" "videoCurrentTime" "scrollDepthThreshold" "scrollDepthUnits" "scrollDepthDirection" "elementVisibilityRatio" "elementVisibilityTime" "elementVisibilityFirstTime" "elementVisibilityRecentTime" "requestPath" "requestMethod" "clientName" "queryString"
type AccountsContainersWorkspacesBuiltInVariablesDeleteCall ¶
type AccountsContainersWorkspacesBuiltInVariablesDeleteCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesBuiltInVariablesDeleteCall) Context ¶
func (c *AccountsContainersWorkspacesBuiltInVariablesDeleteCall) Context(ctx context.Context) *AccountsContainersWorkspacesBuiltInVariablesDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesBuiltInVariablesDeleteCall) Do ¶
func (c *AccountsContainersWorkspacesBuiltInVariablesDeleteCall) Do(opts ...googleapi.CallOption) error
Do executes the "tagmanager.accounts.containers.workspaces.built_in_variables.delete" call.
func (*AccountsContainersWorkspacesBuiltInVariablesDeleteCall) Fields ¶
func (c *AccountsContainersWorkspacesBuiltInVariablesDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesBuiltInVariablesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesBuiltInVariablesDeleteCall) Header ¶
func (c *AccountsContainersWorkspacesBuiltInVariablesDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AccountsContainersWorkspacesBuiltInVariablesDeleteCall) Type ¶
func (c *AccountsContainersWorkspacesBuiltInVariablesDeleteCall) Type(type_ ...string) *AccountsContainersWorkspacesBuiltInVariablesDeleteCall
Type sets the optional parameter "type": The types of built-in variables to delete.
Possible values:
"builtInVariableTypeUnspecified" "pageUrl" "pageHostname" "pagePath" "referrer" "event" - For web or mobile. "clickElement" "clickClasses" "clickId" "clickTarget" "clickUrl" "clickText" "firstPartyServingUrl" "formElement" "formClasses" "formId" "formTarget" "formUrl" "formText" "errorMessage" "errorUrl" "errorLine" "newHistoryUrl" "oldHistoryUrl" "newHistoryFragment" "oldHistoryFragment" "newHistoryState" "oldHistoryState" "historySource" "containerVersion" - For web or mobile. "debugMode" "randomNumber" - For web or mobile. "containerId" - For web or mobile. "appId" "appName" "appVersionCode" "appVersionName" "language" "osVersion" "platform" "sdkVersion" "deviceName" "resolution" "advertiserId" "advertisingTrackingEnabled" "htmlId" "environmentName" "ampBrowserLanguage" "ampCanonicalPath" "ampCanonicalUrl" "ampCanonicalHost" "ampReferrer" "ampTitle" "ampClientId" "ampClientTimezone" "ampClientTimestamp" "ampClientScreenWidth" "ampClientScreenHeight" "ampClientScrollX" "ampClientScrollY" "ampClientMaxScrollX" "ampClientMaxScrollY" "ampTotalEngagedTime" "ampPageViewId" "ampPageLoadTime" "ampPageDownloadTime" "ampGtmEvent" "eventName" "firebaseEventParameterCampaign" "firebaseEventParameterCampaignAclid" "firebaseEventParameterCampaignAnid" "firebaseEventParameterCampaignClickTimestamp" "firebaseEventParameterCampaignContent" "firebaseEventParameterCampaignCp1" "firebaseEventParameterCampaignGclid" "firebaseEventParameterCampaignSource" "firebaseEventParameterCampaignTerm" "firebaseEventParameterCurrency" "firebaseEventParameterDynamicLinkAcceptTime" "firebaseEventParameterDynamicLinkLinkid" "firebaseEventParameterNotificationMessageDeviceTime" "firebaseEventParameterNotificationMessageId" "firebaseEventParameterNotificationMessageName" "firebaseEventParameterNotificationMessageTime" "firebaseEventParameterNotificationTopic" "firebaseEventParameterPreviousAppVersion" "firebaseEventParameterPreviousOsVersion" "firebaseEventParameterPrice" "firebaseEventParameterProductId" "firebaseEventParameterQuantity" "firebaseEventParameterValue" "videoProvider" "videoUrl" "videoTitle" "videoDuration" "videoPercent" "videoVisible" "videoStatus" "videoCurrentTime" "scrollDepthThreshold" "scrollDepthUnits" "scrollDepthDirection" "elementVisibilityRatio" "elementVisibilityTime" "elementVisibilityFirstTime" "elementVisibilityRecentTime" "requestPath" "requestMethod" "clientName" "queryString"
type AccountsContainersWorkspacesBuiltInVariablesListCall ¶
type AccountsContainersWorkspacesBuiltInVariablesListCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesBuiltInVariablesListCall) Context ¶
func (c *AccountsContainersWorkspacesBuiltInVariablesListCall) Context(ctx context.Context) *AccountsContainersWorkspacesBuiltInVariablesListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesBuiltInVariablesListCall) Do ¶
func (c *AccountsContainersWorkspacesBuiltInVariablesListCall) Do(opts ...googleapi.CallOption) (*ListEnabledBuiltInVariablesResponse, error)
Do executes the "tagmanager.accounts.containers.workspaces.built_in_variables.list" call. Exactly one of *ListEnabledBuiltInVariablesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListEnabledBuiltInVariablesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesBuiltInVariablesListCall) Fields ¶
func (c *AccountsContainersWorkspacesBuiltInVariablesListCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesBuiltInVariablesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesBuiltInVariablesListCall) Header ¶
func (c *AccountsContainersWorkspacesBuiltInVariablesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AccountsContainersWorkspacesBuiltInVariablesListCall) IfNoneMatch ¶
func (c *AccountsContainersWorkspacesBuiltInVariablesListCall) IfNoneMatch(entityTag string) *AccountsContainersWorkspacesBuiltInVariablesListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AccountsContainersWorkspacesBuiltInVariablesListCall) PageToken ¶
func (c *AccountsContainersWorkspacesBuiltInVariablesListCall) PageToken(pageToken string) *AccountsContainersWorkspacesBuiltInVariablesListCall
PageToken sets the optional parameter "pageToken": Continuation token for fetching the next page of results.
func (*AccountsContainersWorkspacesBuiltInVariablesListCall) Pages ¶
func (c *AccountsContainersWorkspacesBuiltInVariablesListCall) Pages(ctx context.Context, f func(*ListEnabledBuiltInVariablesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type AccountsContainersWorkspacesBuiltInVariablesRevertCall ¶
type AccountsContainersWorkspacesBuiltInVariablesRevertCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesBuiltInVariablesRevertCall) Context ¶
func (c *AccountsContainersWorkspacesBuiltInVariablesRevertCall) Context(ctx context.Context) *AccountsContainersWorkspacesBuiltInVariablesRevertCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesBuiltInVariablesRevertCall) Do ¶
func (c *AccountsContainersWorkspacesBuiltInVariablesRevertCall) Do(opts ...googleapi.CallOption) (*RevertBuiltInVariableResponse, error)
Do executes the "tagmanager.accounts.containers.workspaces.built_in_variables.revert" call. Exactly one of *RevertBuiltInVariableResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *RevertBuiltInVariableResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesBuiltInVariablesRevertCall) Fields ¶
func (c *AccountsContainersWorkspacesBuiltInVariablesRevertCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesBuiltInVariablesRevertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesBuiltInVariablesRevertCall) Header ¶
func (c *AccountsContainersWorkspacesBuiltInVariablesRevertCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AccountsContainersWorkspacesBuiltInVariablesRevertCall) Type ¶
func (c *AccountsContainersWorkspacesBuiltInVariablesRevertCall) Type(type_ string) *AccountsContainersWorkspacesBuiltInVariablesRevertCall
Type sets the optional parameter "type": The type of built-in variable to revert.
Possible values:
"builtInVariableTypeUnspecified" "pageUrl" "pageHostname" "pagePath" "referrer" "event" - For web or mobile. "clickElement" "clickClasses" "clickId" "clickTarget" "clickUrl" "clickText" "firstPartyServingUrl" "formElement" "formClasses" "formId" "formTarget" "formUrl" "formText" "errorMessage" "errorUrl" "errorLine" "newHistoryUrl" "oldHistoryUrl" "newHistoryFragment" "oldHistoryFragment" "newHistoryState" "oldHistoryState" "historySource" "containerVersion" - For web or mobile. "debugMode" "randomNumber" - For web or mobile. "containerId" - For web or mobile. "appId" "appName" "appVersionCode" "appVersionName" "language" "osVersion" "platform" "sdkVersion" "deviceName" "resolution" "advertiserId" "advertisingTrackingEnabled" "htmlId" "environmentName" "ampBrowserLanguage" "ampCanonicalPath" "ampCanonicalUrl" "ampCanonicalHost" "ampReferrer" "ampTitle" "ampClientId" "ampClientTimezone" "ampClientTimestamp" "ampClientScreenWidth" "ampClientScreenHeight" "ampClientScrollX" "ampClientScrollY" "ampClientMaxScrollX" "ampClientMaxScrollY" "ampTotalEngagedTime" "ampPageViewId" "ampPageLoadTime" "ampPageDownloadTime" "ampGtmEvent" "eventName" "firebaseEventParameterCampaign" "firebaseEventParameterCampaignAclid" "firebaseEventParameterCampaignAnid" "firebaseEventParameterCampaignClickTimestamp" "firebaseEventParameterCampaignContent" "firebaseEventParameterCampaignCp1" "firebaseEventParameterCampaignGclid" "firebaseEventParameterCampaignSource" "firebaseEventParameterCampaignTerm" "firebaseEventParameterCurrency" "firebaseEventParameterDynamicLinkAcceptTime" "firebaseEventParameterDynamicLinkLinkid" "firebaseEventParameterNotificationMessageDeviceTime" "firebaseEventParameterNotificationMessageId" "firebaseEventParameterNotificationMessageName" "firebaseEventParameterNotificationMessageTime" "firebaseEventParameterNotificationTopic" "firebaseEventParameterPreviousAppVersion" "firebaseEventParameterPreviousOsVersion" "firebaseEventParameterPrice" "firebaseEventParameterProductId" "firebaseEventParameterQuantity" "firebaseEventParameterValue" "videoProvider" "videoUrl" "videoTitle" "videoDuration" "videoPercent" "videoVisible" "videoStatus" "videoCurrentTime" "scrollDepthThreshold" "scrollDepthUnits" "scrollDepthDirection" "elementVisibilityRatio" "elementVisibilityTime" "elementVisibilityFirstTime" "elementVisibilityRecentTime" "requestPath" "requestMethod" "clientName" "queryString"
type AccountsContainersWorkspacesBuiltInVariablesService ¶
type AccountsContainersWorkspacesBuiltInVariablesService struct {
// contains filtered or unexported fields
}
func NewAccountsContainersWorkspacesBuiltInVariablesService ¶
func NewAccountsContainersWorkspacesBuiltInVariablesService(s *Service) *AccountsContainersWorkspacesBuiltInVariablesService
func (*AccountsContainersWorkspacesBuiltInVariablesService) Create ¶
func (r *AccountsContainersWorkspacesBuiltInVariablesService) Create(parent string) *AccountsContainersWorkspacesBuiltInVariablesCreateCall
Create: Creates one or more GTM Built-In Variables.
- parent: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.
func (*AccountsContainersWorkspacesBuiltInVariablesService) Delete ¶
func (r *AccountsContainersWorkspacesBuiltInVariablesService) Delete(path string) *AccountsContainersWorkspacesBuiltInVariablesDeleteCall
Delete: Deletes one or more GTM Built-In Variables.
- path: GTM BuiltInVariable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/built_in_variables.
func (*AccountsContainersWorkspacesBuiltInVariablesService) List ¶
func (r *AccountsContainersWorkspacesBuiltInVariablesService) List(parent string) *AccountsContainersWorkspacesBuiltInVariablesListCall
List: Lists all the enabled Built-In Variables of a GTM Container.
- parent: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.
func (*AccountsContainersWorkspacesBuiltInVariablesService) Revert ¶
func (r *AccountsContainersWorkspacesBuiltInVariablesService) Revert(path string) *AccountsContainersWorkspacesBuiltInVariablesRevertCall
Revert: Reverts changes to a GTM Built-In Variables in a GTM Workspace.
- path: GTM BuiltInVariable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/built_in_variables.
type AccountsContainersWorkspacesCreateCall ¶
type AccountsContainersWorkspacesCreateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesCreateCall) Context ¶
func (c *AccountsContainersWorkspacesCreateCall) Context(ctx context.Context) *AccountsContainersWorkspacesCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesCreateCall) Do ¶
func (c *AccountsContainersWorkspacesCreateCall) Do(opts ...googleapi.CallOption) (*Workspace, error)
Do executes the "tagmanager.accounts.containers.workspaces.create" call. Exactly one of *Workspace or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Workspace.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesCreateCall) Fields ¶
func (c *AccountsContainersWorkspacesCreateCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesCreateCall) Header ¶
func (c *AccountsContainersWorkspacesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsContainersWorkspacesCreateVersionCall ¶
type AccountsContainersWorkspacesCreateVersionCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesCreateVersionCall) Context ¶
func (c *AccountsContainersWorkspacesCreateVersionCall) Context(ctx context.Context) *AccountsContainersWorkspacesCreateVersionCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesCreateVersionCall) Do ¶
func (c *AccountsContainersWorkspacesCreateVersionCall) Do(opts ...googleapi.CallOption) (*CreateContainerVersionResponse, error)
Do executes the "tagmanager.accounts.containers.workspaces.create_version" call. Exactly one of *CreateContainerVersionResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CreateContainerVersionResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesCreateVersionCall) Fields ¶
func (c *AccountsContainersWorkspacesCreateVersionCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesCreateVersionCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesCreateVersionCall) Header ¶
func (c *AccountsContainersWorkspacesCreateVersionCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsContainersWorkspacesDeleteCall ¶
type AccountsContainersWorkspacesDeleteCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesDeleteCall) Context ¶
func (c *AccountsContainersWorkspacesDeleteCall) Context(ctx context.Context) *AccountsContainersWorkspacesDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesDeleteCall) Do ¶
func (c *AccountsContainersWorkspacesDeleteCall) Do(opts ...googleapi.CallOption) error
Do executes the "tagmanager.accounts.containers.workspaces.delete" call.
func (*AccountsContainersWorkspacesDeleteCall) Fields ¶
func (c *AccountsContainersWorkspacesDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesDeleteCall) Header ¶
func (c *AccountsContainersWorkspacesDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsContainersWorkspacesFoldersCreateCall ¶
type AccountsContainersWorkspacesFoldersCreateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesFoldersCreateCall) Context ¶
func (c *AccountsContainersWorkspacesFoldersCreateCall) Context(ctx context.Context) *AccountsContainersWorkspacesFoldersCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesFoldersCreateCall) Do ¶
func (c *AccountsContainersWorkspacesFoldersCreateCall) Do(opts ...googleapi.CallOption) (*Folder, error)
Do executes the "tagmanager.accounts.containers.workspaces.folders.create" call. Exactly one of *Folder or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Folder.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesFoldersCreateCall) Fields ¶
func (c *AccountsContainersWorkspacesFoldersCreateCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesFoldersCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesFoldersCreateCall) Header ¶
func (c *AccountsContainersWorkspacesFoldersCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsContainersWorkspacesFoldersDeleteCall ¶
type AccountsContainersWorkspacesFoldersDeleteCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesFoldersDeleteCall) Context ¶
func (c *AccountsContainersWorkspacesFoldersDeleteCall) Context(ctx context.Context) *AccountsContainersWorkspacesFoldersDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesFoldersDeleteCall) Do ¶
func (c *AccountsContainersWorkspacesFoldersDeleteCall) Do(opts ...googleapi.CallOption) error
Do executes the "tagmanager.accounts.containers.workspaces.folders.delete" call.
func (*AccountsContainersWorkspacesFoldersDeleteCall) Fields ¶
func (c *AccountsContainersWorkspacesFoldersDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesFoldersDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesFoldersDeleteCall) Header ¶
func (c *AccountsContainersWorkspacesFoldersDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsContainersWorkspacesFoldersEntitiesCall ¶
type AccountsContainersWorkspacesFoldersEntitiesCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesFoldersEntitiesCall) Context ¶
func (c *AccountsContainersWorkspacesFoldersEntitiesCall) Context(ctx context.Context) *AccountsContainersWorkspacesFoldersEntitiesCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesFoldersEntitiesCall) Do ¶
func (c *AccountsContainersWorkspacesFoldersEntitiesCall) Do(opts ...googleapi.CallOption) (*FolderEntities, error)
Do executes the "tagmanager.accounts.containers.workspaces.folders.entities" call. Exactly one of *FolderEntities or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *FolderEntities.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesFoldersEntitiesCall) Fields ¶
func (c *AccountsContainersWorkspacesFoldersEntitiesCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesFoldersEntitiesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesFoldersEntitiesCall) Header ¶
func (c *AccountsContainersWorkspacesFoldersEntitiesCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AccountsContainersWorkspacesFoldersEntitiesCall) PageToken ¶
func (c *AccountsContainersWorkspacesFoldersEntitiesCall) PageToken(pageToken string) *AccountsContainersWorkspacesFoldersEntitiesCall
PageToken sets the optional parameter "pageToken": Continuation token for fetching the next page of results.
func (*AccountsContainersWorkspacesFoldersEntitiesCall) Pages ¶
func (c *AccountsContainersWorkspacesFoldersEntitiesCall) Pages(ctx context.Context, f func(*FolderEntities) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type AccountsContainersWorkspacesFoldersGetCall ¶
type AccountsContainersWorkspacesFoldersGetCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesFoldersGetCall) Context ¶
func (c *AccountsContainersWorkspacesFoldersGetCall) Context(ctx context.Context) *AccountsContainersWorkspacesFoldersGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesFoldersGetCall) Do ¶
func (c *AccountsContainersWorkspacesFoldersGetCall) Do(opts ...googleapi.CallOption) (*Folder, error)
Do executes the "tagmanager.accounts.containers.workspaces.folders.get" call. Exactly one of *Folder or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Folder.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesFoldersGetCall) Fields ¶
func (c *AccountsContainersWorkspacesFoldersGetCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesFoldersGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesFoldersGetCall) Header ¶
func (c *AccountsContainersWorkspacesFoldersGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AccountsContainersWorkspacesFoldersGetCall) IfNoneMatch ¶
func (c *AccountsContainersWorkspacesFoldersGetCall) IfNoneMatch(entityTag string) *AccountsContainersWorkspacesFoldersGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type AccountsContainersWorkspacesFoldersListCall ¶
type AccountsContainersWorkspacesFoldersListCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesFoldersListCall) Context ¶
func (c *AccountsContainersWorkspacesFoldersListCall) Context(ctx context.Context) *AccountsContainersWorkspacesFoldersListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesFoldersListCall) Do ¶
func (c *AccountsContainersWorkspacesFoldersListCall) Do(opts ...googleapi.CallOption) (*ListFoldersResponse, error)
Do executes the "tagmanager.accounts.containers.workspaces.folders.list" call. Exactly one of *ListFoldersResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListFoldersResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesFoldersListCall) Fields ¶
func (c *AccountsContainersWorkspacesFoldersListCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesFoldersListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesFoldersListCall) Header ¶
func (c *AccountsContainersWorkspacesFoldersListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AccountsContainersWorkspacesFoldersListCall) IfNoneMatch ¶
func (c *AccountsContainersWorkspacesFoldersListCall) IfNoneMatch(entityTag string) *AccountsContainersWorkspacesFoldersListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AccountsContainersWorkspacesFoldersListCall) PageToken ¶
func (c *AccountsContainersWorkspacesFoldersListCall) PageToken(pageToken string) *AccountsContainersWorkspacesFoldersListCall
PageToken sets the optional parameter "pageToken": Continuation token for fetching the next page of results.
func (*AccountsContainersWorkspacesFoldersListCall) Pages ¶
func (c *AccountsContainersWorkspacesFoldersListCall) Pages(ctx context.Context, f func(*ListFoldersResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall ¶
type AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall) Context ¶
func (c *AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall) Context(ctx context.Context) *AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall) Do ¶
func (c *AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall) Do(opts ...googleapi.CallOption) error
Do executes the "tagmanager.accounts.containers.workspaces.folders.move_entities_to_folder" call.
func (*AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall) Fields ¶
func (c *AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall) Header ¶
func (c *AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall) TagId ¶
func (c *AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall) TagId(tagId ...string) *AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall
TagId sets the optional parameter "tagId": The tags to be moved to the folder.
func (*AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall) TriggerId ¶
func (c *AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall) TriggerId(triggerId ...string) *AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall
TriggerId sets the optional parameter "triggerId": The triggers to be moved to the folder.
func (*AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall) VariableId ¶
func (c *AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall) VariableId(variableId ...string) *AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall
VariableId sets the optional parameter "variableId": The variables to be moved to the folder.
type AccountsContainersWorkspacesFoldersRevertCall ¶
type AccountsContainersWorkspacesFoldersRevertCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesFoldersRevertCall) Context ¶
func (c *AccountsContainersWorkspacesFoldersRevertCall) Context(ctx context.Context) *AccountsContainersWorkspacesFoldersRevertCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesFoldersRevertCall) Do ¶
func (c *AccountsContainersWorkspacesFoldersRevertCall) Do(opts ...googleapi.CallOption) (*RevertFolderResponse, error)
Do executes the "tagmanager.accounts.containers.workspaces.folders.revert" call. Exactly one of *RevertFolderResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *RevertFolderResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesFoldersRevertCall) Fields ¶
func (c *AccountsContainersWorkspacesFoldersRevertCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesFoldersRevertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesFoldersRevertCall) Fingerprint ¶
func (c *AccountsContainersWorkspacesFoldersRevertCall) Fingerprint(fingerprint string) *AccountsContainersWorkspacesFoldersRevertCall
Fingerprint sets the optional parameter "fingerprint": When provided, this fingerprint must match the fingerprint of the tag in storage.
func (*AccountsContainersWorkspacesFoldersRevertCall) Header ¶
func (c *AccountsContainersWorkspacesFoldersRevertCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsContainersWorkspacesFoldersService ¶
type AccountsContainersWorkspacesFoldersService struct {
// contains filtered or unexported fields
}
func NewAccountsContainersWorkspacesFoldersService ¶
func NewAccountsContainersWorkspacesFoldersService(s *Service) *AccountsContainersWorkspacesFoldersService
func (*AccountsContainersWorkspacesFoldersService) Create ¶
func (r *AccountsContainersWorkspacesFoldersService) Create(parent string, folder *Folder) *AccountsContainersWorkspacesFoldersCreateCall
Create: Creates a GTM Folder.
- parent: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.
func (*AccountsContainersWorkspacesFoldersService) Delete ¶
func (r *AccountsContainersWorkspacesFoldersService) Delete(path string) *AccountsContainersWorkspacesFoldersDeleteCall
Delete: Deletes a GTM Folder.
- path: GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/folders/{folder_id}.
func (*AccountsContainersWorkspacesFoldersService) Entities ¶
func (r *AccountsContainersWorkspacesFoldersService) Entities(path string) *AccountsContainersWorkspacesFoldersEntitiesCall
Entities: List all entities in a GTM Folder.
- path: GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/folders/{folder_id}.
func (*AccountsContainersWorkspacesFoldersService) Get ¶
func (r *AccountsContainersWorkspacesFoldersService) Get(path string) *AccountsContainersWorkspacesFoldersGetCall
Get: Gets a GTM Folder.
- path: GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/folders/{folder_id}.
func (*AccountsContainersWorkspacesFoldersService) List ¶
func (r *AccountsContainersWorkspacesFoldersService) List(parent string) *AccountsContainersWorkspacesFoldersListCall
List: Lists all GTM Folders of a Container.
- parent: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.
func (*AccountsContainersWorkspacesFoldersService) MoveEntitiesToFolder ¶
func (r *AccountsContainersWorkspacesFoldersService) MoveEntitiesToFolder(path string, folder *Folder) *AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall
MoveEntitiesToFolder: Moves entities to a GTM Folder.
- path: GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/folders/{folder_id}.
func (*AccountsContainersWorkspacesFoldersService) Revert ¶
func (r *AccountsContainersWorkspacesFoldersService) Revert(path string) *AccountsContainersWorkspacesFoldersRevertCall
Revert: Reverts changes to a GTM Folder in a GTM Workspace.
- path: GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/folders/{folder_id}.
func (*AccountsContainersWorkspacesFoldersService) Update ¶
func (r *AccountsContainersWorkspacesFoldersService) Update(path string, folder *Folder) *AccountsContainersWorkspacesFoldersUpdateCall
Update: Updates a GTM Folder.
- path: GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/folders/{folder_id}.
type AccountsContainersWorkspacesFoldersUpdateCall ¶
type AccountsContainersWorkspacesFoldersUpdateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesFoldersUpdateCall) Context ¶
func (c *AccountsContainersWorkspacesFoldersUpdateCall) Context(ctx context.Context) *AccountsContainersWorkspacesFoldersUpdateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesFoldersUpdateCall) Do ¶
func (c *AccountsContainersWorkspacesFoldersUpdateCall) Do(opts ...googleapi.CallOption) (*Folder, error)
Do executes the "tagmanager.accounts.containers.workspaces.folders.update" call. Exactly one of *Folder or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Folder.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesFoldersUpdateCall) Fields ¶
func (c *AccountsContainersWorkspacesFoldersUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesFoldersUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesFoldersUpdateCall) Fingerprint ¶
func (c *AccountsContainersWorkspacesFoldersUpdateCall) Fingerprint(fingerprint string) *AccountsContainersWorkspacesFoldersUpdateCall
Fingerprint sets the optional parameter "fingerprint": When provided, this fingerprint must match the fingerprint of the folder in storage.
func (*AccountsContainersWorkspacesFoldersUpdateCall) Header ¶
func (c *AccountsContainersWorkspacesFoldersUpdateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsContainersWorkspacesGetCall ¶
type AccountsContainersWorkspacesGetCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesGetCall) Context ¶
func (c *AccountsContainersWorkspacesGetCall) Context(ctx context.Context) *AccountsContainersWorkspacesGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesGetCall) Do ¶
func (c *AccountsContainersWorkspacesGetCall) Do(opts ...googleapi.CallOption) (*Workspace, error)
Do executes the "tagmanager.accounts.containers.workspaces.get" call. Exactly one of *Workspace or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Workspace.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesGetCall) Fields ¶
func (c *AccountsContainersWorkspacesGetCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesGetCall) Header ¶
func (c *AccountsContainersWorkspacesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AccountsContainersWorkspacesGetCall) IfNoneMatch ¶
func (c *AccountsContainersWorkspacesGetCall) IfNoneMatch(entityTag string) *AccountsContainersWorkspacesGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type AccountsContainersWorkspacesGetStatusCall ¶
type AccountsContainersWorkspacesGetStatusCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesGetStatusCall) Context ¶
func (c *AccountsContainersWorkspacesGetStatusCall) Context(ctx context.Context) *AccountsContainersWorkspacesGetStatusCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesGetStatusCall) Do ¶
func (c *AccountsContainersWorkspacesGetStatusCall) Do(opts ...googleapi.CallOption) (*GetWorkspaceStatusResponse, error)
Do executes the "tagmanager.accounts.containers.workspaces.getStatus" call. Exactly one of *GetWorkspaceStatusResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GetWorkspaceStatusResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesGetStatusCall) Fields ¶
func (c *AccountsContainersWorkspacesGetStatusCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesGetStatusCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesGetStatusCall) Header ¶
func (c *AccountsContainersWorkspacesGetStatusCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AccountsContainersWorkspacesGetStatusCall) IfNoneMatch ¶
func (c *AccountsContainersWorkspacesGetStatusCall) IfNoneMatch(entityTag string) *AccountsContainersWorkspacesGetStatusCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type AccountsContainersWorkspacesListCall ¶
type AccountsContainersWorkspacesListCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesListCall) Context ¶
func (c *AccountsContainersWorkspacesListCall) Context(ctx context.Context) *AccountsContainersWorkspacesListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesListCall) Do ¶
func (c *AccountsContainersWorkspacesListCall) Do(opts ...googleapi.CallOption) (*ListWorkspacesResponse, error)
Do executes the "tagmanager.accounts.containers.workspaces.list" call. Exactly one of *ListWorkspacesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListWorkspacesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesListCall) Fields ¶
func (c *AccountsContainersWorkspacesListCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesListCall) Header ¶
func (c *AccountsContainersWorkspacesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AccountsContainersWorkspacesListCall) IfNoneMatch ¶
func (c *AccountsContainersWorkspacesListCall) IfNoneMatch(entityTag string) *AccountsContainersWorkspacesListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AccountsContainersWorkspacesListCall) PageToken ¶
func (c *AccountsContainersWorkspacesListCall) PageToken(pageToken string) *AccountsContainersWorkspacesListCall
PageToken sets the optional parameter "pageToken": Continuation token for fetching the next page of results.
func (*AccountsContainersWorkspacesListCall) Pages ¶
func (c *AccountsContainersWorkspacesListCall) Pages(ctx context.Context, f func(*ListWorkspacesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type AccountsContainersWorkspacesQuickPreviewCall ¶
type AccountsContainersWorkspacesQuickPreviewCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesQuickPreviewCall) Context ¶
func (c *AccountsContainersWorkspacesQuickPreviewCall) Context(ctx context.Context) *AccountsContainersWorkspacesQuickPreviewCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesQuickPreviewCall) Do ¶
func (c *AccountsContainersWorkspacesQuickPreviewCall) Do(opts ...googleapi.CallOption) (*QuickPreviewResponse, error)
Do executes the "tagmanager.accounts.containers.workspaces.quick_preview" call. Exactly one of *QuickPreviewResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *QuickPreviewResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesQuickPreviewCall) Fields ¶
func (c *AccountsContainersWorkspacesQuickPreviewCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesQuickPreviewCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesQuickPreviewCall) Header ¶
func (c *AccountsContainersWorkspacesQuickPreviewCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsContainersWorkspacesResolveConflictCall ¶
type AccountsContainersWorkspacesResolveConflictCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesResolveConflictCall) Context ¶
func (c *AccountsContainersWorkspacesResolveConflictCall) Context(ctx context.Context) *AccountsContainersWorkspacesResolveConflictCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesResolveConflictCall) Do ¶
func (c *AccountsContainersWorkspacesResolveConflictCall) Do(opts ...googleapi.CallOption) error
Do executes the "tagmanager.accounts.containers.workspaces.resolve_conflict" call.
func (*AccountsContainersWorkspacesResolveConflictCall) Fields ¶
func (c *AccountsContainersWorkspacesResolveConflictCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesResolveConflictCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesResolveConflictCall) Fingerprint ¶
func (c *AccountsContainersWorkspacesResolveConflictCall) Fingerprint(fingerprint string) *AccountsContainersWorkspacesResolveConflictCall
Fingerprint sets the optional parameter "fingerprint": When provided, this fingerprint must match the fingerprint of the entity_in_workspace in the merge conflict.
func (*AccountsContainersWorkspacesResolveConflictCall) Header ¶
func (c *AccountsContainersWorkspacesResolveConflictCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsContainersWorkspacesService ¶
type AccountsContainersWorkspacesService struct { BuiltInVariables *AccountsContainersWorkspacesBuiltInVariablesService Folders *AccountsContainersWorkspacesFoldersService Tags *AccountsContainersWorkspacesTagsService Templates *AccountsContainersWorkspacesTemplatesService Triggers *AccountsContainersWorkspacesTriggersService Variables *AccountsContainersWorkspacesVariablesService Zones *AccountsContainersWorkspacesZonesService // contains filtered or unexported fields }
func NewAccountsContainersWorkspacesService ¶
func NewAccountsContainersWorkspacesService(s *Service) *AccountsContainersWorkspacesService
func (*AccountsContainersWorkspacesService) Create ¶
func (r *AccountsContainersWorkspacesService) Create(parent string, workspace *Workspace) *AccountsContainersWorkspacesCreateCall
Create: Creates a Workspace.
- parent: GTM parent Container's API relative path. Example: accounts/{account_id}/containers/{container_id}.
func (*AccountsContainersWorkspacesService) CreateVersion ¶
func (r *AccountsContainersWorkspacesService) CreateVersion(path string, createcontainerversionrequestversionoptions *CreateContainerVersionRequestVersionOptions) *AccountsContainersWorkspacesCreateVersionCall
CreateVersion: Creates a Container Version from the entities present in the workspace, deletes the workspace, and sets the base container version to the newly created version.
- path: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.
func (*AccountsContainersWorkspacesService) Delete ¶
func (r *AccountsContainersWorkspacesService) Delete(path string) *AccountsContainersWorkspacesDeleteCall
Delete: Deletes a Workspace.
- path: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.
func (*AccountsContainersWorkspacesService) Get ¶
func (r *AccountsContainersWorkspacesService) Get(path string) *AccountsContainersWorkspacesGetCall
Get: Gets a Workspace.
- path: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.
func (*AccountsContainersWorkspacesService) GetStatus ¶
func (r *AccountsContainersWorkspacesService) GetStatus(path string) *AccountsContainersWorkspacesGetStatusCall
GetStatus: Finds conflicting and modified entities in the workspace.
- path: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.
func (*AccountsContainersWorkspacesService) List ¶
func (r *AccountsContainersWorkspacesService) List(parent string) *AccountsContainersWorkspacesListCall
List: Lists all Workspaces that belong to a GTM Container.
- parent: GTM parent Container's API relative path. Example: accounts/{account_id}/containers/{container_id}.
func (*AccountsContainersWorkspacesService) QuickPreview ¶
func (r *AccountsContainersWorkspacesService) QuickPreview(path string) *AccountsContainersWorkspacesQuickPreviewCall
QuickPreview: Quick previews a workspace by creating a fake container version from all entities in the provided workspace.
- path: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.
func (*AccountsContainersWorkspacesService) ResolveConflict ¶
func (r *AccountsContainersWorkspacesService) ResolveConflict(path string, entity *Entity) *AccountsContainersWorkspacesResolveConflictCall
ResolveConflict: Resolves a merge conflict for a workspace entity by updating it to the resolved entity passed in the request.
- path: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.
func (*AccountsContainersWorkspacesService) Sync ¶
func (r *AccountsContainersWorkspacesService) Sync(path string) *AccountsContainersWorkspacesSyncCall
Sync: Syncs a workspace to the latest container version by updating all unmodified workspace entities and displaying conflicts for modified entities.
- path: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.
func (*AccountsContainersWorkspacesService) Update ¶
func (r *AccountsContainersWorkspacesService) Update(path string, workspace *Workspace) *AccountsContainersWorkspacesUpdateCall
Update: Updates a Workspace.
- path: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.
type AccountsContainersWorkspacesSyncCall ¶
type AccountsContainersWorkspacesSyncCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesSyncCall) Context ¶
func (c *AccountsContainersWorkspacesSyncCall) Context(ctx context.Context) *AccountsContainersWorkspacesSyncCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesSyncCall) Do ¶
func (c *AccountsContainersWorkspacesSyncCall) Do(opts ...googleapi.CallOption) (*SyncWorkspaceResponse, error)
Do executes the "tagmanager.accounts.containers.workspaces.sync" call. Exactly one of *SyncWorkspaceResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SyncWorkspaceResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesSyncCall) Fields ¶
func (c *AccountsContainersWorkspacesSyncCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesSyncCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesSyncCall) Header ¶
func (c *AccountsContainersWorkspacesSyncCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsContainersWorkspacesTagsCreateCall ¶
type AccountsContainersWorkspacesTagsCreateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesTagsCreateCall) Context ¶
func (c *AccountsContainersWorkspacesTagsCreateCall) Context(ctx context.Context) *AccountsContainersWorkspacesTagsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesTagsCreateCall) Do ¶
func (c *AccountsContainersWorkspacesTagsCreateCall) Do(opts ...googleapi.CallOption) (*Tag, error)
Do executes the "tagmanager.accounts.containers.workspaces.tags.create" call. Exactly one of *Tag or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Tag.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesTagsCreateCall) Fields ¶
func (c *AccountsContainersWorkspacesTagsCreateCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesTagsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesTagsCreateCall) Header ¶
func (c *AccountsContainersWorkspacesTagsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsContainersWorkspacesTagsDeleteCall ¶
type AccountsContainersWorkspacesTagsDeleteCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesTagsDeleteCall) Context ¶
func (c *AccountsContainersWorkspacesTagsDeleteCall) Context(ctx context.Context) *AccountsContainersWorkspacesTagsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesTagsDeleteCall) Do ¶
func (c *AccountsContainersWorkspacesTagsDeleteCall) Do(opts ...googleapi.CallOption) error
Do executes the "tagmanager.accounts.containers.workspaces.tags.delete" call.
func (*AccountsContainersWorkspacesTagsDeleteCall) Fields ¶
func (c *AccountsContainersWorkspacesTagsDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesTagsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesTagsDeleteCall) Header ¶
func (c *AccountsContainersWorkspacesTagsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsContainersWorkspacesTagsGetCall ¶
type AccountsContainersWorkspacesTagsGetCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesTagsGetCall) Context ¶
func (c *AccountsContainersWorkspacesTagsGetCall) Context(ctx context.Context) *AccountsContainersWorkspacesTagsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesTagsGetCall) Do ¶
func (c *AccountsContainersWorkspacesTagsGetCall) Do(opts ...googleapi.CallOption) (*Tag, error)
Do executes the "tagmanager.accounts.containers.workspaces.tags.get" call. Exactly one of *Tag or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Tag.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesTagsGetCall) Fields ¶
func (c *AccountsContainersWorkspacesTagsGetCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesTagsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesTagsGetCall) Header ¶
func (c *AccountsContainersWorkspacesTagsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AccountsContainersWorkspacesTagsGetCall) IfNoneMatch ¶
func (c *AccountsContainersWorkspacesTagsGetCall) IfNoneMatch(entityTag string) *AccountsContainersWorkspacesTagsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type AccountsContainersWorkspacesTagsListCall ¶
type AccountsContainersWorkspacesTagsListCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesTagsListCall) Context ¶
func (c *AccountsContainersWorkspacesTagsListCall) Context(ctx context.Context) *AccountsContainersWorkspacesTagsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesTagsListCall) Do ¶
func (c *AccountsContainersWorkspacesTagsListCall) Do(opts ...googleapi.CallOption) (*ListTagsResponse, error)
Do executes the "tagmanager.accounts.containers.workspaces.tags.list" call. Exactly one of *ListTagsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListTagsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesTagsListCall) Fields ¶
func (c *AccountsContainersWorkspacesTagsListCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesTagsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesTagsListCall) Header ¶
func (c *AccountsContainersWorkspacesTagsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AccountsContainersWorkspacesTagsListCall) IfNoneMatch ¶
func (c *AccountsContainersWorkspacesTagsListCall) IfNoneMatch(entityTag string) *AccountsContainersWorkspacesTagsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AccountsContainersWorkspacesTagsListCall) PageToken ¶
func (c *AccountsContainersWorkspacesTagsListCall) PageToken(pageToken string) *AccountsContainersWorkspacesTagsListCall
PageToken sets the optional parameter "pageToken": Continuation token for fetching the next page of results.
func (*AccountsContainersWorkspacesTagsListCall) Pages ¶
func (c *AccountsContainersWorkspacesTagsListCall) Pages(ctx context.Context, f func(*ListTagsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type AccountsContainersWorkspacesTagsRevertCall ¶
type AccountsContainersWorkspacesTagsRevertCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesTagsRevertCall) Context ¶
func (c *AccountsContainersWorkspacesTagsRevertCall) Context(ctx context.Context) *AccountsContainersWorkspacesTagsRevertCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesTagsRevertCall) Do ¶
func (c *AccountsContainersWorkspacesTagsRevertCall) Do(opts ...googleapi.CallOption) (*RevertTagResponse, error)
Do executes the "tagmanager.accounts.containers.workspaces.tags.revert" call. Exactly one of *RevertTagResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *RevertTagResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesTagsRevertCall) Fields ¶
func (c *AccountsContainersWorkspacesTagsRevertCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesTagsRevertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesTagsRevertCall) Fingerprint ¶
func (c *AccountsContainersWorkspacesTagsRevertCall) Fingerprint(fingerprint string) *AccountsContainersWorkspacesTagsRevertCall
Fingerprint sets the optional parameter "fingerprint": When provided, this fingerprint must match the fingerprint of thetag in storage.
func (*AccountsContainersWorkspacesTagsRevertCall) Header ¶
func (c *AccountsContainersWorkspacesTagsRevertCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsContainersWorkspacesTagsService ¶
type AccountsContainersWorkspacesTagsService struct {
// contains filtered or unexported fields
}
func NewAccountsContainersWorkspacesTagsService ¶
func NewAccountsContainersWorkspacesTagsService(s *Service) *AccountsContainersWorkspacesTagsService
func (*AccountsContainersWorkspacesTagsService) Create ¶
func (r *AccountsContainersWorkspacesTagsService) Create(parent string, tag *Tag) *AccountsContainersWorkspacesTagsCreateCall
Create: Creates a GTM Tag.
- parent: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.
func (*AccountsContainersWorkspacesTagsService) Delete ¶
func (r *AccountsContainersWorkspacesTagsService) Delete(path string) *AccountsContainersWorkspacesTagsDeleteCall
Delete: Deletes a GTM Tag.
- path: GTM Tag's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/tags/{tag_id}.
func (*AccountsContainersWorkspacesTagsService) Get ¶
func (r *AccountsContainersWorkspacesTagsService) Get(path string) *AccountsContainersWorkspacesTagsGetCall
Get: Gets a GTM Tag.
- path: GTM Tag's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/tags/{tag_id}.
func (*AccountsContainersWorkspacesTagsService) List ¶
func (r *AccountsContainersWorkspacesTagsService) List(parent string) *AccountsContainersWorkspacesTagsListCall
List: Lists all GTM Tags of a Container.
- parent: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.
func (*AccountsContainersWorkspacesTagsService) Revert ¶
func (r *AccountsContainersWorkspacesTagsService) Revert(path string) *AccountsContainersWorkspacesTagsRevertCall
Revert: Reverts changes to a GTM Tag in a GTM Workspace.
- path: GTM Tag's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/tags/{tag_id}.
func (*AccountsContainersWorkspacesTagsService) Update ¶
func (r *AccountsContainersWorkspacesTagsService) Update(path string, tag *Tag) *AccountsContainersWorkspacesTagsUpdateCall
Update: Updates a GTM Tag.
- path: GTM Tag's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/tags/{tag_id}.
type AccountsContainersWorkspacesTagsUpdateCall ¶
type AccountsContainersWorkspacesTagsUpdateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesTagsUpdateCall) Context ¶
func (c *AccountsContainersWorkspacesTagsUpdateCall) Context(ctx context.Context) *AccountsContainersWorkspacesTagsUpdateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesTagsUpdateCall) Do ¶
func (c *AccountsContainersWorkspacesTagsUpdateCall) Do(opts ...googleapi.CallOption) (*Tag, error)
Do executes the "tagmanager.accounts.containers.workspaces.tags.update" call. Exactly one of *Tag or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Tag.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesTagsUpdateCall) Fields ¶
func (c *AccountsContainersWorkspacesTagsUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesTagsUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesTagsUpdateCall) Fingerprint ¶
func (c *AccountsContainersWorkspacesTagsUpdateCall) Fingerprint(fingerprint string) *AccountsContainersWorkspacesTagsUpdateCall
Fingerprint sets the optional parameter "fingerprint": When provided, this fingerprint must match the fingerprint of the tag in storage.
func (*AccountsContainersWorkspacesTagsUpdateCall) Header ¶
func (c *AccountsContainersWorkspacesTagsUpdateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsContainersWorkspacesTemplatesCreateCall ¶
type AccountsContainersWorkspacesTemplatesCreateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesTemplatesCreateCall) Context ¶
func (c *AccountsContainersWorkspacesTemplatesCreateCall) Context(ctx context.Context) *AccountsContainersWorkspacesTemplatesCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesTemplatesCreateCall) Do ¶
func (c *AccountsContainersWorkspacesTemplatesCreateCall) Do(opts ...googleapi.CallOption) (*CustomTemplate, error)
Do executes the "tagmanager.accounts.containers.workspaces.templates.create" call. Exactly one of *CustomTemplate or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CustomTemplate.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesTemplatesCreateCall) Fields ¶
func (c *AccountsContainersWorkspacesTemplatesCreateCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesTemplatesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesTemplatesCreateCall) Header ¶
func (c *AccountsContainersWorkspacesTemplatesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsContainersWorkspacesTemplatesDeleteCall ¶
type AccountsContainersWorkspacesTemplatesDeleteCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesTemplatesDeleteCall) Context ¶
func (c *AccountsContainersWorkspacesTemplatesDeleteCall) Context(ctx context.Context) *AccountsContainersWorkspacesTemplatesDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesTemplatesDeleteCall) Do ¶
func (c *AccountsContainersWorkspacesTemplatesDeleteCall) Do(opts ...googleapi.CallOption) error
Do executes the "tagmanager.accounts.containers.workspaces.templates.delete" call.
func (*AccountsContainersWorkspacesTemplatesDeleteCall) Fields ¶
func (c *AccountsContainersWorkspacesTemplatesDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesTemplatesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesTemplatesDeleteCall) Header ¶
func (c *AccountsContainersWorkspacesTemplatesDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsContainersWorkspacesTemplatesGetCall ¶
type AccountsContainersWorkspacesTemplatesGetCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesTemplatesGetCall) Context ¶
func (c *AccountsContainersWorkspacesTemplatesGetCall) Context(ctx context.Context) *AccountsContainersWorkspacesTemplatesGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesTemplatesGetCall) Do ¶
func (c *AccountsContainersWorkspacesTemplatesGetCall) Do(opts ...googleapi.CallOption) (*CustomTemplate, error)
Do executes the "tagmanager.accounts.containers.workspaces.templates.get" call. Exactly one of *CustomTemplate or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CustomTemplate.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesTemplatesGetCall) Fields ¶
func (c *AccountsContainersWorkspacesTemplatesGetCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesTemplatesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesTemplatesGetCall) Header ¶
func (c *AccountsContainersWorkspacesTemplatesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AccountsContainersWorkspacesTemplatesGetCall) IfNoneMatch ¶
func (c *AccountsContainersWorkspacesTemplatesGetCall) IfNoneMatch(entityTag string) *AccountsContainersWorkspacesTemplatesGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type AccountsContainersWorkspacesTemplatesListCall ¶
type AccountsContainersWorkspacesTemplatesListCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesTemplatesListCall) Context ¶
func (c *AccountsContainersWorkspacesTemplatesListCall) Context(ctx context.Context) *AccountsContainersWorkspacesTemplatesListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesTemplatesListCall) Do ¶
func (c *AccountsContainersWorkspacesTemplatesListCall) Do(opts ...googleapi.CallOption) (*ListTemplatesResponse, error)
Do executes the "tagmanager.accounts.containers.workspaces.templates.list" call. Exactly one of *ListTemplatesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListTemplatesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesTemplatesListCall) Fields ¶
func (c *AccountsContainersWorkspacesTemplatesListCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesTemplatesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesTemplatesListCall) Header ¶
func (c *AccountsContainersWorkspacesTemplatesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AccountsContainersWorkspacesTemplatesListCall) IfNoneMatch ¶
func (c *AccountsContainersWorkspacesTemplatesListCall) IfNoneMatch(entityTag string) *AccountsContainersWorkspacesTemplatesListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AccountsContainersWorkspacesTemplatesListCall) PageToken ¶
func (c *AccountsContainersWorkspacesTemplatesListCall) PageToken(pageToken string) *AccountsContainersWorkspacesTemplatesListCall
PageToken sets the optional parameter "pageToken": Continuation token for fetching the next page of results.
func (*AccountsContainersWorkspacesTemplatesListCall) Pages ¶
func (c *AccountsContainersWorkspacesTemplatesListCall) Pages(ctx context.Context, f func(*ListTemplatesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type AccountsContainersWorkspacesTemplatesRevertCall ¶
type AccountsContainersWorkspacesTemplatesRevertCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesTemplatesRevertCall) Context ¶
func (c *AccountsContainersWorkspacesTemplatesRevertCall) Context(ctx context.Context) *AccountsContainersWorkspacesTemplatesRevertCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesTemplatesRevertCall) Do ¶
func (c *AccountsContainersWorkspacesTemplatesRevertCall) Do(opts ...googleapi.CallOption) (*RevertTemplateResponse, error)
Do executes the "tagmanager.accounts.containers.workspaces.templates.revert" call. Exactly one of *RevertTemplateResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *RevertTemplateResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesTemplatesRevertCall) Fields ¶
func (c *AccountsContainersWorkspacesTemplatesRevertCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesTemplatesRevertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesTemplatesRevertCall) Fingerprint ¶
func (c *AccountsContainersWorkspacesTemplatesRevertCall) Fingerprint(fingerprint string) *AccountsContainersWorkspacesTemplatesRevertCall
Fingerprint sets the optional parameter "fingerprint": When provided, this fingerprint must match the fingerprint of the template in storage.
func (*AccountsContainersWorkspacesTemplatesRevertCall) Header ¶
func (c *AccountsContainersWorkspacesTemplatesRevertCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsContainersWorkspacesTemplatesService ¶
type AccountsContainersWorkspacesTemplatesService struct {
// contains filtered or unexported fields
}
func NewAccountsContainersWorkspacesTemplatesService ¶
func NewAccountsContainersWorkspacesTemplatesService(s *Service) *AccountsContainersWorkspacesTemplatesService
func (*AccountsContainersWorkspacesTemplatesService) Create ¶
func (r *AccountsContainersWorkspacesTemplatesService) Create(parent string, customtemplate *CustomTemplate) *AccountsContainersWorkspacesTemplatesCreateCall
Create: Creates a GTM Custom Template.
- parent: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.
func (*AccountsContainersWorkspacesTemplatesService) Delete ¶
func (r *AccountsContainersWorkspacesTemplatesService) Delete(path string) *AccountsContainersWorkspacesTemplatesDeleteCall
Delete: Deletes a GTM Template.
- path: GTM Custom Template's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/templates/{template_id}.
func (*AccountsContainersWorkspacesTemplatesService) Get ¶
func (r *AccountsContainersWorkspacesTemplatesService) Get(path string) *AccountsContainersWorkspacesTemplatesGetCall
Get: Gets a GTM Template.
- path: GTM Custom Template's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/templates/{template_id}.
func (*AccountsContainersWorkspacesTemplatesService) List ¶
func (r *AccountsContainersWorkspacesTemplatesService) List(parent string) *AccountsContainersWorkspacesTemplatesListCall
List: Lists all GTM Templates of a GTM container workspace.
- parent: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.
func (*AccountsContainersWorkspacesTemplatesService) Revert ¶
func (r *AccountsContainersWorkspacesTemplatesService) Revert(path string) *AccountsContainersWorkspacesTemplatesRevertCall
Revert: Reverts changes to a GTM Template in a GTM Workspace.
- path: GTM Custom Template's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/templates/{template_id}.
func (*AccountsContainersWorkspacesTemplatesService) Update ¶
func (r *AccountsContainersWorkspacesTemplatesService) Update(path string, customtemplate *CustomTemplate) *AccountsContainersWorkspacesTemplatesUpdateCall
Update: Updates a GTM Template.
- path: GTM Custom Template's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/templates/{template_id}.
type AccountsContainersWorkspacesTemplatesUpdateCall ¶
type AccountsContainersWorkspacesTemplatesUpdateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesTemplatesUpdateCall) Context ¶
func (c *AccountsContainersWorkspacesTemplatesUpdateCall) Context(ctx context.Context) *AccountsContainersWorkspacesTemplatesUpdateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesTemplatesUpdateCall) Do ¶
func (c *AccountsContainersWorkspacesTemplatesUpdateCall) Do(opts ...googleapi.CallOption) (*CustomTemplate, error)
Do executes the "tagmanager.accounts.containers.workspaces.templates.update" call. Exactly one of *CustomTemplate or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CustomTemplate.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesTemplatesUpdateCall) Fields ¶
func (c *AccountsContainersWorkspacesTemplatesUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesTemplatesUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesTemplatesUpdateCall) Fingerprint ¶
func (c *AccountsContainersWorkspacesTemplatesUpdateCall) Fingerprint(fingerprint string) *AccountsContainersWorkspacesTemplatesUpdateCall
Fingerprint sets the optional parameter "fingerprint": When provided, this fingerprint must match the fingerprint of the templates in storage.
func (*AccountsContainersWorkspacesTemplatesUpdateCall) Header ¶
func (c *AccountsContainersWorkspacesTemplatesUpdateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsContainersWorkspacesTriggersCreateCall ¶
type AccountsContainersWorkspacesTriggersCreateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesTriggersCreateCall) Context ¶
func (c *AccountsContainersWorkspacesTriggersCreateCall) Context(ctx context.Context) *AccountsContainersWorkspacesTriggersCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesTriggersCreateCall) Do ¶
func (c *AccountsContainersWorkspacesTriggersCreateCall) Do(opts ...googleapi.CallOption) (*Trigger, error)
Do executes the "tagmanager.accounts.containers.workspaces.triggers.create" call. Exactly one of *Trigger or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Trigger.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesTriggersCreateCall) Fields ¶
func (c *AccountsContainersWorkspacesTriggersCreateCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesTriggersCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesTriggersCreateCall) Header ¶
func (c *AccountsContainersWorkspacesTriggersCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsContainersWorkspacesTriggersDeleteCall ¶
type AccountsContainersWorkspacesTriggersDeleteCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesTriggersDeleteCall) Context ¶
func (c *AccountsContainersWorkspacesTriggersDeleteCall) Context(ctx context.Context) *AccountsContainersWorkspacesTriggersDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesTriggersDeleteCall) Do ¶
func (c *AccountsContainersWorkspacesTriggersDeleteCall) Do(opts ...googleapi.CallOption) error
Do executes the "tagmanager.accounts.containers.workspaces.triggers.delete" call.
func (*AccountsContainersWorkspacesTriggersDeleteCall) Fields ¶
func (c *AccountsContainersWorkspacesTriggersDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesTriggersDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesTriggersDeleteCall) Header ¶
func (c *AccountsContainersWorkspacesTriggersDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsContainersWorkspacesTriggersGetCall ¶
type AccountsContainersWorkspacesTriggersGetCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesTriggersGetCall) Context ¶
func (c *AccountsContainersWorkspacesTriggersGetCall) Context(ctx context.Context) *AccountsContainersWorkspacesTriggersGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesTriggersGetCall) Do ¶
func (c *AccountsContainersWorkspacesTriggersGetCall) Do(opts ...googleapi.CallOption) (*Trigger, error)
Do executes the "tagmanager.accounts.containers.workspaces.triggers.get" call. Exactly one of *Trigger or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Trigger.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesTriggersGetCall) Fields ¶
func (c *AccountsContainersWorkspacesTriggersGetCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesTriggersGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesTriggersGetCall) Header ¶
func (c *AccountsContainersWorkspacesTriggersGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AccountsContainersWorkspacesTriggersGetCall) IfNoneMatch ¶
func (c *AccountsContainersWorkspacesTriggersGetCall) IfNoneMatch(entityTag string) *AccountsContainersWorkspacesTriggersGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type AccountsContainersWorkspacesTriggersListCall ¶
type AccountsContainersWorkspacesTriggersListCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesTriggersListCall) Context ¶
func (c *AccountsContainersWorkspacesTriggersListCall) Context(ctx context.Context) *AccountsContainersWorkspacesTriggersListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesTriggersListCall) Do ¶
func (c *AccountsContainersWorkspacesTriggersListCall) Do(opts ...googleapi.CallOption) (*ListTriggersResponse, error)
Do executes the "tagmanager.accounts.containers.workspaces.triggers.list" call. Exactly one of *ListTriggersResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListTriggersResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesTriggersListCall) Fields ¶
func (c *AccountsContainersWorkspacesTriggersListCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesTriggersListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesTriggersListCall) Header ¶
func (c *AccountsContainersWorkspacesTriggersListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AccountsContainersWorkspacesTriggersListCall) IfNoneMatch ¶
func (c *AccountsContainersWorkspacesTriggersListCall) IfNoneMatch(entityTag string) *AccountsContainersWorkspacesTriggersListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AccountsContainersWorkspacesTriggersListCall) PageToken ¶
func (c *AccountsContainersWorkspacesTriggersListCall) PageToken(pageToken string) *AccountsContainersWorkspacesTriggersListCall
PageToken sets the optional parameter "pageToken": Continuation token for fetching the next page of results.
func (*AccountsContainersWorkspacesTriggersListCall) Pages ¶
func (c *AccountsContainersWorkspacesTriggersListCall) Pages(ctx context.Context, f func(*ListTriggersResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type AccountsContainersWorkspacesTriggersRevertCall ¶
type AccountsContainersWorkspacesTriggersRevertCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesTriggersRevertCall) Context ¶
func (c *AccountsContainersWorkspacesTriggersRevertCall) Context(ctx context.Context) *AccountsContainersWorkspacesTriggersRevertCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesTriggersRevertCall) Do ¶
func (c *AccountsContainersWorkspacesTriggersRevertCall) Do(opts ...googleapi.CallOption) (*RevertTriggerResponse, error)
Do executes the "tagmanager.accounts.containers.workspaces.triggers.revert" call. Exactly one of *RevertTriggerResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *RevertTriggerResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesTriggersRevertCall) Fields ¶
func (c *AccountsContainersWorkspacesTriggersRevertCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesTriggersRevertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesTriggersRevertCall) Fingerprint ¶
func (c *AccountsContainersWorkspacesTriggersRevertCall) Fingerprint(fingerprint string) *AccountsContainersWorkspacesTriggersRevertCall
Fingerprint sets the optional parameter "fingerprint": When provided, this fingerprint must match the fingerprint of the trigger in storage.
func (*AccountsContainersWorkspacesTriggersRevertCall) Header ¶
func (c *AccountsContainersWorkspacesTriggersRevertCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsContainersWorkspacesTriggersService ¶
type AccountsContainersWorkspacesTriggersService struct {
// contains filtered or unexported fields
}
func NewAccountsContainersWorkspacesTriggersService ¶
func NewAccountsContainersWorkspacesTriggersService(s *Service) *AccountsContainersWorkspacesTriggersService
func (*AccountsContainersWorkspacesTriggersService) Create ¶
func (r *AccountsContainersWorkspacesTriggersService) Create(parent string, trigger *Trigger) *AccountsContainersWorkspacesTriggersCreateCall
Create: Creates a GTM Trigger.
- parent: GTM Workspaces's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.
func (*AccountsContainersWorkspacesTriggersService) Delete ¶
func (r *AccountsContainersWorkspacesTriggersService) Delete(path string) *AccountsContainersWorkspacesTriggersDeleteCall
Delete: Deletes a GTM Trigger.
- path: GTM Trigger's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/triggers/{trigger_id}.
func (*AccountsContainersWorkspacesTriggersService) Get ¶
func (r *AccountsContainersWorkspacesTriggersService) Get(path string) *AccountsContainersWorkspacesTriggersGetCall
Get: Gets a GTM Trigger.
- path: GTM Trigger's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/triggers/{trigger_id}.
func (*AccountsContainersWorkspacesTriggersService) List ¶
func (r *AccountsContainersWorkspacesTriggersService) List(parent string) *AccountsContainersWorkspacesTriggersListCall
List: Lists all GTM Triggers of a Container.
- parent: GTM Workspaces's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.
func (*AccountsContainersWorkspacesTriggersService) Revert ¶
func (r *AccountsContainersWorkspacesTriggersService) Revert(path string) *AccountsContainersWorkspacesTriggersRevertCall
Revert: Reverts changes to a GTM Trigger in a GTM Workspace.
- path: GTM Trigger's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/triggers/{trigger_id}.
func (*AccountsContainersWorkspacesTriggersService) Update ¶
func (r *AccountsContainersWorkspacesTriggersService) Update(path string, trigger *Trigger) *AccountsContainersWorkspacesTriggersUpdateCall
Update: Updates a GTM Trigger.
- path: GTM Trigger's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/triggers/{trigger_id}.
type AccountsContainersWorkspacesTriggersUpdateCall ¶
type AccountsContainersWorkspacesTriggersUpdateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesTriggersUpdateCall) Context ¶
func (c *AccountsContainersWorkspacesTriggersUpdateCall) Context(ctx context.Context) *AccountsContainersWorkspacesTriggersUpdateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesTriggersUpdateCall) Do ¶
func (c *AccountsContainersWorkspacesTriggersUpdateCall) Do(opts ...googleapi.CallOption) (*Trigger, error)
Do executes the "tagmanager.accounts.containers.workspaces.triggers.update" call. Exactly one of *Trigger or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Trigger.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesTriggersUpdateCall) Fields ¶
func (c *AccountsContainersWorkspacesTriggersUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesTriggersUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesTriggersUpdateCall) Fingerprint ¶
func (c *AccountsContainersWorkspacesTriggersUpdateCall) Fingerprint(fingerprint string) *AccountsContainersWorkspacesTriggersUpdateCall
Fingerprint sets the optional parameter "fingerprint": When provided, this fingerprint must match the fingerprint of the trigger in storage.
func (*AccountsContainersWorkspacesTriggersUpdateCall) Header ¶
func (c *AccountsContainersWorkspacesTriggersUpdateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsContainersWorkspacesUpdateCall ¶
type AccountsContainersWorkspacesUpdateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesUpdateCall) Context ¶
func (c *AccountsContainersWorkspacesUpdateCall) Context(ctx context.Context) *AccountsContainersWorkspacesUpdateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesUpdateCall) Do ¶
func (c *AccountsContainersWorkspacesUpdateCall) Do(opts ...googleapi.CallOption) (*Workspace, error)
Do executes the "tagmanager.accounts.containers.workspaces.update" call. Exactly one of *Workspace or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Workspace.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesUpdateCall) Fields ¶
func (c *AccountsContainersWorkspacesUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesUpdateCall) Fingerprint ¶
func (c *AccountsContainersWorkspacesUpdateCall) Fingerprint(fingerprint string) *AccountsContainersWorkspacesUpdateCall
Fingerprint sets the optional parameter "fingerprint": When provided, this fingerprint must match the fingerprint of the workspace in storage.
func (*AccountsContainersWorkspacesUpdateCall) Header ¶
func (c *AccountsContainersWorkspacesUpdateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsContainersWorkspacesVariablesCreateCall ¶
type AccountsContainersWorkspacesVariablesCreateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesVariablesCreateCall) Context ¶
func (c *AccountsContainersWorkspacesVariablesCreateCall) Context(ctx context.Context) *AccountsContainersWorkspacesVariablesCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesVariablesCreateCall) Do ¶
func (c *AccountsContainersWorkspacesVariablesCreateCall) Do(opts ...googleapi.CallOption) (*Variable, error)
Do executes the "tagmanager.accounts.containers.workspaces.variables.create" call. Exactly one of *Variable or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Variable.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesVariablesCreateCall) Fields ¶
func (c *AccountsContainersWorkspacesVariablesCreateCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesVariablesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesVariablesCreateCall) Header ¶
func (c *AccountsContainersWorkspacesVariablesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsContainersWorkspacesVariablesDeleteCall ¶
type AccountsContainersWorkspacesVariablesDeleteCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesVariablesDeleteCall) Context ¶
func (c *AccountsContainersWorkspacesVariablesDeleteCall) Context(ctx context.Context) *AccountsContainersWorkspacesVariablesDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesVariablesDeleteCall) Do ¶
func (c *AccountsContainersWorkspacesVariablesDeleteCall) Do(opts ...googleapi.CallOption) error
Do executes the "tagmanager.accounts.containers.workspaces.variables.delete" call.
func (*AccountsContainersWorkspacesVariablesDeleteCall) Fields ¶
func (c *AccountsContainersWorkspacesVariablesDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesVariablesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesVariablesDeleteCall) Header ¶
func (c *AccountsContainersWorkspacesVariablesDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsContainersWorkspacesVariablesGetCall ¶
type AccountsContainersWorkspacesVariablesGetCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesVariablesGetCall) Context ¶
func (c *AccountsContainersWorkspacesVariablesGetCall) Context(ctx context.Context) *AccountsContainersWorkspacesVariablesGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesVariablesGetCall) Do ¶
func (c *AccountsContainersWorkspacesVariablesGetCall) Do(opts ...googleapi.CallOption) (*Variable, error)
Do executes the "tagmanager.accounts.containers.workspaces.variables.get" call. Exactly one of *Variable or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Variable.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesVariablesGetCall) Fields ¶
func (c *AccountsContainersWorkspacesVariablesGetCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesVariablesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesVariablesGetCall) Header ¶
func (c *AccountsContainersWorkspacesVariablesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AccountsContainersWorkspacesVariablesGetCall) IfNoneMatch ¶
func (c *AccountsContainersWorkspacesVariablesGetCall) IfNoneMatch(entityTag string) *AccountsContainersWorkspacesVariablesGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type AccountsContainersWorkspacesVariablesListCall ¶
type AccountsContainersWorkspacesVariablesListCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesVariablesListCall) Context ¶
func (c *AccountsContainersWorkspacesVariablesListCall) Context(ctx context.Context) *AccountsContainersWorkspacesVariablesListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesVariablesListCall) Do ¶
func (c *AccountsContainersWorkspacesVariablesListCall) Do(opts ...googleapi.CallOption) (*ListVariablesResponse, error)
Do executes the "tagmanager.accounts.containers.workspaces.variables.list" call. Exactly one of *ListVariablesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListVariablesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesVariablesListCall) Fields ¶
func (c *AccountsContainersWorkspacesVariablesListCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesVariablesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesVariablesListCall) Header ¶
func (c *AccountsContainersWorkspacesVariablesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AccountsContainersWorkspacesVariablesListCall) IfNoneMatch ¶
func (c *AccountsContainersWorkspacesVariablesListCall) IfNoneMatch(entityTag string) *AccountsContainersWorkspacesVariablesListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AccountsContainersWorkspacesVariablesListCall) PageToken ¶
func (c *AccountsContainersWorkspacesVariablesListCall) PageToken(pageToken string) *AccountsContainersWorkspacesVariablesListCall
PageToken sets the optional parameter "pageToken": Continuation token for fetching the next page of results.
func (*AccountsContainersWorkspacesVariablesListCall) Pages ¶
func (c *AccountsContainersWorkspacesVariablesListCall) Pages(ctx context.Context, f func(*ListVariablesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type AccountsContainersWorkspacesVariablesRevertCall ¶
type AccountsContainersWorkspacesVariablesRevertCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesVariablesRevertCall) Context ¶
func (c *AccountsContainersWorkspacesVariablesRevertCall) Context(ctx context.Context) *AccountsContainersWorkspacesVariablesRevertCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesVariablesRevertCall) Do ¶
func (c *AccountsContainersWorkspacesVariablesRevertCall) Do(opts ...googleapi.CallOption) (*RevertVariableResponse, error)
Do executes the "tagmanager.accounts.containers.workspaces.variables.revert" call. Exactly one of *RevertVariableResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *RevertVariableResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesVariablesRevertCall) Fields ¶
func (c *AccountsContainersWorkspacesVariablesRevertCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesVariablesRevertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesVariablesRevertCall) Fingerprint ¶
func (c *AccountsContainersWorkspacesVariablesRevertCall) Fingerprint(fingerprint string) *AccountsContainersWorkspacesVariablesRevertCall
Fingerprint sets the optional parameter "fingerprint": When provided, this fingerprint must match the fingerprint of the variable in storage.
func (*AccountsContainersWorkspacesVariablesRevertCall) Header ¶
func (c *AccountsContainersWorkspacesVariablesRevertCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsContainersWorkspacesVariablesService ¶
type AccountsContainersWorkspacesVariablesService struct {
// contains filtered or unexported fields
}
func NewAccountsContainersWorkspacesVariablesService ¶
func NewAccountsContainersWorkspacesVariablesService(s *Service) *AccountsContainersWorkspacesVariablesService
func (*AccountsContainersWorkspacesVariablesService) Create ¶
func (r *AccountsContainersWorkspacesVariablesService) Create(parent string, variable *Variable) *AccountsContainersWorkspacesVariablesCreateCall
Create: Creates a GTM Variable.
- parent: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.
func (*AccountsContainersWorkspacesVariablesService) Delete ¶
func (r *AccountsContainersWorkspacesVariablesService) Delete(path string) *AccountsContainersWorkspacesVariablesDeleteCall
Delete: Deletes a GTM Variable.
- path: GTM Variable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/variables/{variable_id}.
func (*AccountsContainersWorkspacesVariablesService) Get ¶
func (r *AccountsContainersWorkspacesVariablesService) Get(path string) *AccountsContainersWorkspacesVariablesGetCall
Get: Gets a GTM Variable.
- path: GTM Variable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/variables/{variable_id}.
func (*AccountsContainersWorkspacesVariablesService) List ¶
func (r *AccountsContainersWorkspacesVariablesService) List(parent string) *AccountsContainersWorkspacesVariablesListCall
List: Lists all GTM Variables of a Container.
- parent: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.
func (*AccountsContainersWorkspacesVariablesService) Revert ¶
func (r *AccountsContainersWorkspacesVariablesService) Revert(path string) *AccountsContainersWorkspacesVariablesRevertCall
Revert: Reverts changes to a GTM Variable in a GTM Workspace.
- path: GTM Variable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/variables/{variable_id}.
func (*AccountsContainersWorkspacesVariablesService) Update ¶
func (r *AccountsContainersWorkspacesVariablesService) Update(path string, variable *Variable) *AccountsContainersWorkspacesVariablesUpdateCall
Update: Updates a GTM Variable.
- path: GTM Variable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/variables/{variable_id}.
type AccountsContainersWorkspacesVariablesUpdateCall ¶
type AccountsContainersWorkspacesVariablesUpdateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesVariablesUpdateCall) Context ¶
func (c *AccountsContainersWorkspacesVariablesUpdateCall) Context(ctx context.Context) *AccountsContainersWorkspacesVariablesUpdateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesVariablesUpdateCall) Do ¶
func (c *AccountsContainersWorkspacesVariablesUpdateCall) Do(opts ...googleapi.CallOption) (*Variable, error)
Do executes the "tagmanager.accounts.containers.workspaces.variables.update" call. Exactly one of *Variable or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Variable.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesVariablesUpdateCall) Fields ¶
func (c *AccountsContainersWorkspacesVariablesUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesVariablesUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesVariablesUpdateCall) Fingerprint ¶
func (c *AccountsContainersWorkspacesVariablesUpdateCall) Fingerprint(fingerprint string) *AccountsContainersWorkspacesVariablesUpdateCall
Fingerprint sets the optional parameter "fingerprint": When provided, this fingerprint must match the fingerprint of the variable in storage.
func (*AccountsContainersWorkspacesVariablesUpdateCall) Header ¶
func (c *AccountsContainersWorkspacesVariablesUpdateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsContainersWorkspacesZonesCreateCall ¶
type AccountsContainersWorkspacesZonesCreateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesZonesCreateCall) Context ¶
func (c *AccountsContainersWorkspacesZonesCreateCall) Context(ctx context.Context) *AccountsContainersWorkspacesZonesCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesZonesCreateCall) Do ¶
func (c *AccountsContainersWorkspacesZonesCreateCall) Do(opts ...googleapi.CallOption) (*Zone, error)
Do executes the "tagmanager.accounts.containers.workspaces.zones.create" call. Exactly one of *Zone or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Zone.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesZonesCreateCall) Fields ¶
func (c *AccountsContainersWorkspacesZonesCreateCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesZonesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesZonesCreateCall) Header ¶
func (c *AccountsContainersWorkspacesZonesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsContainersWorkspacesZonesDeleteCall ¶
type AccountsContainersWorkspacesZonesDeleteCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesZonesDeleteCall) Context ¶
func (c *AccountsContainersWorkspacesZonesDeleteCall) Context(ctx context.Context) *AccountsContainersWorkspacesZonesDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesZonesDeleteCall) Do ¶
func (c *AccountsContainersWorkspacesZonesDeleteCall) Do(opts ...googleapi.CallOption) error
Do executes the "tagmanager.accounts.containers.workspaces.zones.delete" call.
func (*AccountsContainersWorkspacesZonesDeleteCall) Fields ¶
func (c *AccountsContainersWorkspacesZonesDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesZonesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesZonesDeleteCall) Header ¶
func (c *AccountsContainersWorkspacesZonesDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsContainersWorkspacesZonesGetCall ¶
type AccountsContainersWorkspacesZonesGetCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesZonesGetCall) Context ¶
func (c *AccountsContainersWorkspacesZonesGetCall) Context(ctx context.Context) *AccountsContainersWorkspacesZonesGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesZonesGetCall) Do ¶
func (c *AccountsContainersWorkspacesZonesGetCall) Do(opts ...googleapi.CallOption) (*Zone, error)
Do executes the "tagmanager.accounts.containers.workspaces.zones.get" call. Exactly one of *Zone or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Zone.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesZonesGetCall) Fields ¶
func (c *AccountsContainersWorkspacesZonesGetCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesZonesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesZonesGetCall) Header ¶
func (c *AccountsContainersWorkspacesZonesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AccountsContainersWorkspacesZonesGetCall) IfNoneMatch ¶
func (c *AccountsContainersWorkspacesZonesGetCall) IfNoneMatch(entityTag string) *AccountsContainersWorkspacesZonesGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type AccountsContainersWorkspacesZonesListCall ¶
type AccountsContainersWorkspacesZonesListCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesZonesListCall) Context ¶
func (c *AccountsContainersWorkspacesZonesListCall) Context(ctx context.Context) *AccountsContainersWorkspacesZonesListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesZonesListCall) Do ¶
func (c *AccountsContainersWorkspacesZonesListCall) Do(opts ...googleapi.CallOption) (*ListZonesResponse, error)
Do executes the "tagmanager.accounts.containers.workspaces.zones.list" call. Exactly one of *ListZonesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListZonesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesZonesListCall) Fields ¶
func (c *AccountsContainersWorkspacesZonesListCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesZonesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesZonesListCall) Header ¶
func (c *AccountsContainersWorkspacesZonesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AccountsContainersWorkspacesZonesListCall) IfNoneMatch ¶
func (c *AccountsContainersWorkspacesZonesListCall) IfNoneMatch(entityTag string) *AccountsContainersWorkspacesZonesListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AccountsContainersWorkspacesZonesListCall) PageToken ¶
func (c *AccountsContainersWorkspacesZonesListCall) PageToken(pageToken string) *AccountsContainersWorkspacesZonesListCall
PageToken sets the optional parameter "pageToken": Continuation token for fetching the next page of results.
func (*AccountsContainersWorkspacesZonesListCall) Pages ¶
func (c *AccountsContainersWorkspacesZonesListCall) Pages(ctx context.Context, f func(*ListZonesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type AccountsContainersWorkspacesZonesRevertCall ¶
type AccountsContainersWorkspacesZonesRevertCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesZonesRevertCall) Context ¶
func (c *AccountsContainersWorkspacesZonesRevertCall) Context(ctx context.Context) *AccountsContainersWorkspacesZonesRevertCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesZonesRevertCall) Do ¶
func (c *AccountsContainersWorkspacesZonesRevertCall) Do(opts ...googleapi.CallOption) (*RevertZoneResponse, error)
Do executes the "tagmanager.accounts.containers.workspaces.zones.revert" call. Exactly one of *RevertZoneResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *RevertZoneResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesZonesRevertCall) Fields ¶
func (c *AccountsContainersWorkspacesZonesRevertCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesZonesRevertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesZonesRevertCall) Fingerprint ¶
func (c *AccountsContainersWorkspacesZonesRevertCall) Fingerprint(fingerprint string) *AccountsContainersWorkspacesZonesRevertCall
Fingerprint sets the optional parameter "fingerprint": When provided, this fingerprint must match the fingerprint of the zone in storage.
func (*AccountsContainersWorkspacesZonesRevertCall) Header ¶
func (c *AccountsContainersWorkspacesZonesRevertCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsContainersWorkspacesZonesService ¶
type AccountsContainersWorkspacesZonesService struct {
// contains filtered or unexported fields
}
func NewAccountsContainersWorkspacesZonesService ¶
func NewAccountsContainersWorkspacesZonesService(s *Service) *AccountsContainersWorkspacesZonesService
func (*AccountsContainersWorkspacesZonesService) Create ¶
func (r *AccountsContainersWorkspacesZonesService) Create(parent string, zone *Zone) *AccountsContainersWorkspacesZonesCreateCall
Create: Creates a GTM Zone.
- parent: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.
func (*AccountsContainersWorkspacesZonesService) Delete ¶
func (r *AccountsContainersWorkspacesZonesService) Delete(path string) *AccountsContainersWorkspacesZonesDeleteCall
Delete: Deletes a GTM Zone.
- path: GTM Zone's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/zones/{zone_id}.
func (*AccountsContainersWorkspacesZonesService) Get ¶
func (r *AccountsContainersWorkspacesZonesService) Get(path string) *AccountsContainersWorkspacesZonesGetCall
Get: Gets a GTM Zone.
- path: GTM Zone's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/zones/{zone_id}.
func (*AccountsContainersWorkspacesZonesService) List ¶
func (r *AccountsContainersWorkspacesZonesService) List(parent string) *AccountsContainersWorkspacesZonesListCall
List: Lists all GTM Zones of a GTM container workspace.
- parent: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}.
func (*AccountsContainersWorkspacesZonesService) Revert ¶
func (r *AccountsContainersWorkspacesZonesService) Revert(path string) *AccountsContainersWorkspacesZonesRevertCall
Revert: Reverts changes to a GTM Zone in a GTM Workspace.
- path: GTM Zone's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/zones/{zone_id}.
func (*AccountsContainersWorkspacesZonesService) Update ¶
func (r *AccountsContainersWorkspacesZonesService) Update(path string, zone *Zone) *AccountsContainersWorkspacesZonesUpdateCall
Update: Updates a GTM Zone.
- path: GTM Zone's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspac e_id}/zones/{zone_id}.
type AccountsContainersWorkspacesZonesUpdateCall ¶
type AccountsContainersWorkspacesZonesUpdateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersWorkspacesZonesUpdateCall) Context ¶
func (c *AccountsContainersWorkspacesZonesUpdateCall) Context(ctx context.Context) *AccountsContainersWorkspacesZonesUpdateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsContainersWorkspacesZonesUpdateCall) Do ¶
func (c *AccountsContainersWorkspacesZonesUpdateCall) Do(opts ...googleapi.CallOption) (*Zone, error)
Do executes the "tagmanager.accounts.containers.workspaces.zones.update" call. Exactly one of *Zone or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Zone.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsContainersWorkspacesZonesUpdateCall) Fields ¶
func (c *AccountsContainersWorkspacesZonesUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersWorkspacesZonesUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersWorkspacesZonesUpdateCall) Fingerprint ¶
func (c *AccountsContainersWorkspacesZonesUpdateCall) Fingerprint(fingerprint string) *AccountsContainersWorkspacesZonesUpdateCall
Fingerprint sets the optional parameter "fingerprint": When provided, this fingerprint must match the fingerprint of the zone in storage.
func (*AccountsContainersWorkspacesZonesUpdateCall) Header ¶
func (c *AccountsContainersWorkspacesZonesUpdateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsGetCall ¶
type AccountsGetCall struct {
// contains filtered or unexported fields
}
func (*AccountsGetCall) Context ¶
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 ¶
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 ¶
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 ¶
func (c *AccountsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AccountsGetCall) IfNoneMatch ¶
func (c *AccountsGetCall) IfNoneMatch(entityTag string) *AccountsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type AccountsListCall ¶
type AccountsListCall struct {
// contains filtered or unexported fields
}
func (*AccountsListCall) Context ¶
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 ¶
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 ¶
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 ¶
func (c *AccountsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AccountsListCall) IfNoneMatch ¶
func (c *AccountsListCall) IfNoneMatch(entityTag string) *AccountsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AccountsListCall) PageToken ¶
func (c *AccountsListCall) PageToken(pageToken string) *AccountsListCall
PageToken sets the optional parameter "pageToken": Continuation token for fetching the next page of results.
func (*AccountsListCall) Pages ¶
func (c *AccountsListCall) Pages(ctx context.Context, f func(*ListAccountsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type AccountsService ¶
type AccountsService struct { Containers *AccountsContainersService UserPermissions *AccountsUserPermissionsService // contains filtered or unexported fields }
func NewAccountsService ¶
func NewAccountsService(s *Service) *AccountsService
func (*AccountsService) Get ¶
func (r *AccountsService) Get(path string) *AccountsGetCall
Get: Gets a GTM Account.
- path: GTM Accounts's API relative path. Example: accounts/{account_id}.
func (*AccountsService) List ¶
func (r *AccountsService) List() *AccountsListCall
List: Lists all GTM Accounts that a user has access to.
func (*AccountsService) Update ¶
func (r *AccountsService) Update(path string, account *Account) *AccountsUpdateCall
Update: Updates a GTM Account.
- path: GTM Accounts's API relative path. Example: accounts/{account_id}.
type AccountsUpdateCall ¶
type AccountsUpdateCall struct {
// contains filtered or unexported fields
}
func (*AccountsUpdateCall) Context ¶
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 ¶
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 ¶
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 ¶
func (c *AccountsUpdateCall) Fingerprint(fingerprint string) *AccountsUpdateCall
Fingerprint sets the optional parameter "fingerprint": When provided, this fingerprint must match the fingerprint of the account in storage.
func (*AccountsUpdateCall) Header ¶
func (c *AccountsUpdateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsUserPermissionsCreateCall ¶
type AccountsUserPermissionsCreateCall struct {
// contains filtered or unexported fields
}
func (*AccountsUserPermissionsCreateCall) Context ¶
func (c *AccountsUserPermissionsCreateCall) Context(ctx context.Context) *AccountsUserPermissionsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsUserPermissionsCreateCall) Do ¶
func (c *AccountsUserPermissionsCreateCall) Do(opts ...googleapi.CallOption) (*UserPermission, error)
Do executes the "tagmanager.accounts.user_permissions.create" call. Exactly one of *UserPermission or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *UserPermission.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsUserPermissionsCreateCall) Fields ¶
func (c *AccountsUserPermissionsCreateCall) Fields(s ...googleapi.Field) *AccountsUserPermissionsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsUserPermissionsCreateCall) Header ¶
func (c *AccountsUserPermissionsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsUserPermissionsDeleteCall ¶
type AccountsUserPermissionsDeleteCall struct {
// contains filtered or unexported fields
}
func (*AccountsUserPermissionsDeleteCall) Context ¶
func (c *AccountsUserPermissionsDeleteCall) Context(ctx context.Context) *AccountsUserPermissionsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsUserPermissionsDeleteCall) Do ¶
func (c *AccountsUserPermissionsDeleteCall) Do(opts ...googleapi.CallOption) error
Do executes the "tagmanager.accounts.user_permissions.delete" call.
func (*AccountsUserPermissionsDeleteCall) Fields ¶
func (c *AccountsUserPermissionsDeleteCall) Fields(s ...googleapi.Field) *AccountsUserPermissionsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsUserPermissionsDeleteCall) Header ¶
func (c *AccountsUserPermissionsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsUserPermissionsGetCall ¶
type AccountsUserPermissionsGetCall struct {
// contains filtered or unexported fields
}
func (*AccountsUserPermissionsGetCall) Context ¶
func (c *AccountsUserPermissionsGetCall) Context(ctx context.Context) *AccountsUserPermissionsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsUserPermissionsGetCall) Do ¶
func (c *AccountsUserPermissionsGetCall) Do(opts ...googleapi.CallOption) (*UserPermission, error)
Do executes the "tagmanager.accounts.user_permissions.get" call. Exactly one of *UserPermission or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *UserPermission.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsUserPermissionsGetCall) Fields ¶
func (c *AccountsUserPermissionsGetCall) Fields(s ...googleapi.Field) *AccountsUserPermissionsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsUserPermissionsGetCall) Header ¶
func (c *AccountsUserPermissionsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AccountsUserPermissionsGetCall) IfNoneMatch ¶
func (c *AccountsUserPermissionsGetCall) IfNoneMatch(entityTag string) *AccountsUserPermissionsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type AccountsUserPermissionsListCall ¶
type AccountsUserPermissionsListCall struct {
// contains filtered or unexported fields
}
func (*AccountsUserPermissionsListCall) Context ¶
func (c *AccountsUserPermissionsListCall) Context(ctx context.Context) *AccountsUserPermissionsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsUserPermissionsListCall) Do ¶
func (c *AccountsUserPermissionsListCall) Do(opts ...googleapi.CallOption) (*ListUserPermissionsResponse, error)
Do executes the "tagmanager.accounts.user_permissions.list" call. Exactly one of *ListUserPermissionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListUserPermissionsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsUserPermissionsListCall) Fields ¶
func (c *AccountsUserPermissionsListCall) Fields(s ...googleapi.Field) *AccountsUserPermissionsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsUserPermissionsListCall) Header ¶
func (c *AccountsUserPermissionsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AccountsUserPermissionsListCall) IfNoneMatch ¶
func (c *AccountsUserPermissionsListCall) IfNoneMatch(entityTag string) *AccountsUserPermissionsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AccountsUserPermissionsListCall) PageToken ¶
func (c *AccountsUserPermissionsListCall) PageToken(pageToken string) *AccountsUserPermissionsListCall
PageToken sets the optional parameter "pageToken": Continuation token for fetching the next page of results.
func (*AccountsUserPermissionsListCall) Pages ¶
func (c *AccountsUserPermissionsListCall) Pages(ctx context.Context, f func(*ListUserPermissionsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type AccountsUserPermissionsService ¶
type AccountsUserPermissionsService struct {
// contains filtered or unexported fields
}
func NewAccountsUserPermissionsService ¶
func NewAccountsUserPermissionsService(s *Service) *AccountsUserPermissionsService
func (*AccountsUserPermissionsService) Create ¶
func (r *AccountsUserPermissionsService) Create(parent string, userpermission *UserPermission) *AccountsUserPermissionsCreateCall
Create: Creates a user's Account & Container access.
- parent: GTM Account's API relative path. Example: accounts/{account_id}.
func (*AccountsUserPermissionsService) Delete ¶
func (r *AccountsUserPermissionsService) Delete(path string) *AccountsUserPermissionsDeleteCall
Delete: Removes a user from the account, revoking access to it and all of its containers.
- path: GTM UserPermission's API relative path. Example: accounts/{account_id}/user_permissions/{user_permission_id}.
func (*AccountsUserPermissionsService) Get ¶
func (r *AccountsUserPermissionsService) Get(path string) *AccountsUserPermissionsGetCall
Get: Gets a user's Account & Container access.
- path: GTM UserPermission's API relative path. Example: accounts/{account_id}/user_permissions/{user_permission_id}.
func (*AccountsUserPermissionsService) List ¶
func (r *AccountsUserPermissionsService) List(parent string) *AccountsUserPermissionsListCall
List: List all users that have access to the account along with Account and Container user access granted to each of them.
- parent: GTM Accounts's API relative path. Example: accounts/{account_id}.
func (*AccountsUserPermissionsService) Update ¶
func (r *AccountsUserPermissionsService) Update(path string, userpermission *UserPermission) *AccountsUserPermissionsUpdateCall
Update: Updates a user's Account & Container access.
- path: GTM UserPermission's API relative path. Example: accounts/{account_id}/user_permissions/{user_permission_id}.
type AccountsUserPermissionsUpdateCall ¶
type AccountsUserPermissionsUpdateCall struct {
// contains filtered or unexported fields
}
func (*AccountsUserPermissionsUpdateCall) Context ¶
func (c *AccountsUserPermissionsUpdateCall) Context(ctx context.Context) *AccountsUserPermissionsUpdateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsUserPermissionsUpdateCall) Do ¶
func (c *AccountsUserPermissionsUpdateCall) Do(opts ...googleapi.CallOption) (*UserPermission, error)
Do executes the "tagmanager.accounts.user_permissions.update" call. Exactly one of *UserPermission or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *UserPermission.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsUserPermissionsUpdateCall) Fields ¶
func (c *AccountsUserPermissionsUpdateCall) Fields(s ...googleapi.Field) *AccountsUserPermissionsUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsUserPermissionsUpdateCall) Header ¶
func (c *AccountsUserPermissionsUpdateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type BuiltInVariable ¶
type BuiltInVariable struct { // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // ContainerId: GTM Container ID. ContainerId string `json:"containerId,omitempty"` // Name: Name of the built-in variable to be used to refer to the // built-in variable. Name string `json:"name,omitempty"` // Path: GTM BuiltInVariable's API relative path. Path string `json:"path,omitempty"` // Type: Type of built-in variable. // @required.tagmanager.accounts.containers.workspaces.built_in_variable. // update @mutable // tagmanager.accounts.containers.workspaces.built_in_variable.update // // Possible values: // "builtInVariableTypeUnspecified" // "pageUrl" // "pageHostname" // "pagePath" // "referrer" // "event" - For web or mobile. // "clickElement" // "clickClasses" // "clickId" // "clickTarget" // "clickUrl" // "clickText" // "firstPartyServingUrl" // "formElement" // "formClasses" // "formId" // "formTarget" // "formUrl" // "formText" // "errorMessage" // "errorUrl" // "errorLine" // "newHistoryUrl" // "oldHistoryUrl" // "newHistoryFragment" // "oldHistoryFragment" // "newHistoryState" // "oldHistoryState" // "historySource" // "containerVersion" - For web or mobile. // "debugMode" // "randomNumber" - For web or mobile. // "containerId" - For web or mobile. // "appId" // "appName" // "appVersionCode" // "appVersionName" // "language" // "osVersion" // "platform" // "sdkVersion" // "deviceName" // "resolution" // "advertiserId" // "advertisingTrackingEnabled" // "htmlId" // "environmentName" // "ampBrowserLanguage" // "ampCanonicalPath" // "ampCanonicalUrl" // "ampCanonicalHost" // "ampReferrer" // "ampTitle" // "ampClientId" // "ampClientTimezone" // "ampClientTimestamp" // "ampClientScreenWidth" // "ampClientScreenHeight" // "ampClientScrollX" // "ampClientScrollY" // "ampClientMaxScrollX" // "ampClientMaxScrollY" // "ampTotalEngagedTime" // "ampPageViewId" // "ampPageLoadTime" // "ampPageDownloadTime" // "ampGtmEvent" // "eventName" // "firebaseEventParameterCampaign" // "firebaseEventParameterCampaignAclid" // "firebaseEventParameterCampaignAnid" // "firebaseEventParameterCampaignClickTimestamp" // "firebaseEventParameterCampaignContent" // "firebaseEventParameterCampaignCp1" // "firebaseEventParameterCampaignGclid" // "firebaseEventParameterCampaignSource" // "firebaseEventParameterCampaignTerm" // "firebaseEventParameterCurrency" // "firebaseEventParameterDynamicLinkAcceptTime" // "firebaseEventParameterDynamicLinkLinkid" // "firebaseEventParameterNotificationMessageDeviceTime" // "firebaseEventParameterNotificationMessageId" // "firebaseEventParameterNotificationMessageName" // "firebaseEventParameterNotificationMessageTime" // "firebaseEventParameterNotificationTopic" // "firebaseEventParameterPreviousAppVersion" // "firebaseEventParameterPreviousOsVersion" // "firebaseEventParameterPrice" // "firebaseEventParameterProductId" // "firebaseEventParameterQuantity" // "firebaseEventParameterValue" // "videoProvider" // "videoUrl" // "videoTitle" // "videoDuration" // "videoPercent" // "videoVisible" // "videoStatus" // "videoCurrentTime" // "scrollDepthThreshold" // "scrollDepthUnits" // "scrollDepthDirection" // "elementVisibilityRatio" // "elementVisibilityTime" // "elementVisibilityFirstTime" // "elementVisibilityRecentTime" // "requestPath" // "requestMethod" // "clientName" // "queryString" Type string `json:"type,omitempty"` // WorkspaceId: GTM Workspace ID. WorkspaceId string `json:"workspaceId,omitempty"` // ForceSendFields is a list of field names (e.g. "AccountId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AccountId") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
BuiltInVariable: Built-in variables are a special category of variables that are pre-created and non-customizable. They provide common functionality like accessing propeties of the gtm data layer, monitoring clicks, or accessing elements of a page URL.
func (*BuiltInVariable) MarshalJSON ¶
func (s *BuiltInVariable) MarshalJSON() ([]byte, error)
type Client ¶
type Client struct { // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // ClientId: The Client ID uniquely identifies the GTM client. ClientId string `json:"clientId,omitempty"` // ContainerId: GTM Container ID. ContainerId string `json:"containerId,omitempty"` // Fingerprint: The fingerprint of the GTM Client as computed at storage // time. This value is recomputed whenever the client is modified. Fingerprint string `json:"fingerprint,omitempty"` // Name: Client display name. @mutable // tagmanager.accounts.containers.workspaces.clients.create @mutable // tagmanager.accounts.containers.workspaces.clients.update Name string `json:"name,omitempty"` // Notes: User notes on how to apply this tag in the container. @mutable // tagmanager.accounts.containers.workspaces.tags.create @mutable // tagmanager.accounts.containers.workspaces.tags.update Notes string `json:"notes,omitempty"` // Parameter: The client's parameters. @mutable // tagmanager.accounts.containers.workspaces.clients.create @mutable // tagmanager.accounts.containers.workspaces.clients.update Parameter []*Parameter `json:"parameter,omitempty"` // ParentFolderId: Parent folder id. ParentFolderId string `json:"parentFolderId,omitempty"` // Path: GTM client's API relative path. Path string `json:"path,omitempty"` // Priority: Priority determines relative firing order. @mutable // tagmanager.accounts.containers.workspaces.clients.create @mutable // tagmanager.accounts.containers.workspaces.clients.update Priority int64 `json:"priority,omitempty"` // TagManagerUrl: Auto generated link to the tag manager UI TagManagerUrl string `json:"tagManagerUrl,omitempty"` // Type: Client type. @mutable // tagmanager.accounts.containers.workspaces.clients.create @mutable // tagmanager.accounts.containers.workspaces.clients.update Type string `json:"type,omitempty"` // WorkspaceId: GTM Workspace ID. WorkspaceId string `json:"workspaceId,omitempty"` // ForceSendFields is a list of field names (e.g. "AccountId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AccountId") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
func (*Client) MarshalJSON ¶
type Condition ¶
type Condition struct { // Parameter: A list of named parameters (key/value), depending on the // condition's type. Notes: - For binary operators, include parameters // named arg0 and arg1 for specifying the left and right operands, // respectively. - At this time, the left operand (arg0) must be a // reference to a variable. - For case-insensitive Regex matching, // include a boolean parameter named ignore_case that is set to true. If // not specified or set to any other value, the matching will be case // sensitive. - To negate an operator, include a boolean parameter named // negate boolean parameter that is set to true. @mutable // tagmanager.accounts.containers.workspaces.triggers.create @mutable // tagmanager.accounts.containers.workspaces.triggers.update Parameter []*Parameter `json:"parameter,omitempty"` // Type: The type of operator for this condition. @mutable // tagmanager.accounts.containers.workspaces.triggers.create @mutable // tagmanager.accounts.containers.workspaces.triggers.update // // Possible values: // "conditionTypeUnspecified" // "equals" // "contains" // "startsWith" // "endsWith" // "matchRegex" // "greater" // "greaterOrEquals" // "less" // "lessOrEquals" // "cssSelector" // "urlMatches" - NOTE(lanzone): When defining a ConditionType here, // don't forget to also define a matching PredicateType (in // condition.proto). Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Parameter") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Parameter") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Condition: Represents a predicate.
func (*Condition) MarshalJSON ¶
type Container ¶
type Container struct { // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // ContainerId: The Container ID uniquely identifies the GTM Container. ContainerId string `json:"containerId,omitempty"` // DomainName: List of domain names associated with the Container. // @mutable tagmanager.accounts.containers.create @mutable // tagmanager.accounts.containers.update DomainName []string `json:"domainName,omitempty"` // Fingerprint: The fingerprint of the GTM Container as computed at // storage time. This value is recomputed whenever the account is // modified. Fingerprint string `json:"fingerprint,omitempty"` // Name: Container display name. @mutable // tagmanager.accounts.containers.create @mutable // tagmanager.accounts.containers.update Name string `json:"name,omitempty"` // Notes: Container Notes. @mutable // tagmanager.accounts.containers.create @mutable // tagmanager.accounts.containers.update Notes string `json:"notes,omitempty"` // Path: GTM Container's API relative path. Path string `json:"path,omitempty"` // PublicId: Container Public ID. PublicId string `json:"publicId,omitempty"` // TagManagerUrl: Auto generated link to the tag manager UI TagManagerUrl string `json:"tagManagerUrl,omitempty"` // UsageContext: List of Usage Contexts for the Container. Valid values // include: web, android, or ios. @mutable // tagmanager.accounts.containers.create @mutable // tagmanager.accounts.containers.update // // Possible values: // "usageContextUnspecified" // "web" // "android" // "ios" // "androidSdk5" // "iosSdk5" // "amp" // "server" UsageContext []string `json:"usageContext,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AccountId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AccountId") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Container: Represents a Google Tag Manager Container, which specifies the platform tags will run on, manages workspaces, and retains container versions.
func (*Container) MarshalJSON ¶
type ContainerAccess ¶
type ContainerAccess struct { // ContainerId: GTM Container ID. @mutable // tagmanager.accounts.permissions.create @mutable // tagmanager.accounts.permissions.update ContainerId string `json:"containerId,omitempty"` // Permission: List of Container permissions. @mutable // tagmanager.accounts.permissions.create @mutable // tagmanager.accounts.permissions.update // // Possible values: // "containerPermissionUnspecified" // "noAccess" // "read" // "edit" // "approve" // "publish" Permission string `json:"permission,omitempty"` // ForceSendFields is a list of field names (e.g. "ContainerId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ContainerId") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ContainerAccess: Defines the Google Tag Manager Container access permissions.
func (*ContainerAccess) MarshalJSON ¶
func (s *ContainerAccess) MarshalJSON() ([]byte, error)
type ContainerVersion ¶
type ContainerVersion struct { // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // BuiltInVariable: The built-in variables in the container that this // version was taken from. BuiltInVariable []*BuiltInVariable `json:"builtInVariable,omitempty"` // Client: The clients in the container that this version was taken // from. Client []*Client `json:"client,omitempty"` // Container: The container that this version was taken from. Container *Container `json:"container,omitempty"` // ContainerId: GTM Container ID. ContainerId string `json:"containerId,omitempty"` // ContainerVersionId: The Container Version ID uniquely identifies the // GTM Container Version. ContainerVersionId string `json:"containerVersionId,omitempty"` // CustomTemplate: The custom templates in the container that this // version was taken from. CustomTemplate []*CustomTemplate `json:"customTemplate,omitempty"` // Deleted: A value of true indicates this container version has been // deleted. Deleted bool `json:"deleted,omitempty"` // Description: Container version description. @mutable // tagmanager.accounts.containers.versions.update Description string `json:"description,omitempty"` // Fingerprint: The fingerprint of the GTM Container Version as computed // at storage time. This value is recomputed whenever the container // version is modified. Fingerprint string `json:"fingerprint,omitempty"` // Folder: The folders in the container that this version was taken // from. Folder []*Folder `json:"folder,omitempty"` // Name: Container version display name. @mutable // tagmanager.accounts.containers.versions.update Name string `json:"name,omitempty"` // Path: GTM ContainerVersions's API relative path. Path string `json:"path,omitempty"` // Tag: The tags in the container that this version was taken from. Tag []*Tag `json:"tag,omitempty"` // TagManagerUrl: Auto generated link to the tag manager UI TagManagerUrl string `json:"tagManagerUrl,omitempty"` // Trigger: The triggers in the container that this version was taken // from. Trigger []*Trigger `json:"trigger,omitempty"` // Variable: The variables in the container that this version was taken // from. Variable []*Variable `json:"variable,omitempty"` // Zone: The zones in the container that this version was taken from. Zone []*Zone `json:"zone,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AccountId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AccountId") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ContainerVersion: Represents a Google Tag Manager Container Version.
func (*ContainerVersion) MarshalJSON ¶
func (s *ContainerVersion) MarshalJSON() ([]byte, error)
type ContainerVersionHeader ¶
type ContainerVersionHeader struct { // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // ContainerId: GTM Container ID. ContainerId string `json:"containerId,omitempty"` // ContainerVersionId: The Container Version ID uniquely identifies the // GTM Container Version. ContainerVersionId string `json:"containerVersionId,omitempty"` // Deleted: A value of true indicates this container version has been // deleted. Deleted bool `json:"deleted,omitempty"` // Name: Container version display name. Name string `json:"name,omitempty"` // NumClients: Number of clients in the container version. NumClients string `json:"numClients,omitempty"` // NumCustomTemplates: Number of custom templates in the container // version. NumCustomTemplates string `json:"numCustomTemplates,omitempty"` // NumMacros: Number of macros in the container version. NumMacros string `json:"numMacros,omitempty"` // NumRules: Number of rules in the container version. NumRules string `json:"numRules,omitempty"` // NumTags: Number of tags in the container version. NumTags string `json:"numTags,omitempty"` // NumTriggers: Number of triggers in the container version. NumTriggers string `json:"numTriggers,omitempty"` // NumVariables: Number of variables in the container version. NumVariables string `json:"numVariables,omitempty"` // NumZones: Number of zones in the container version. NumZones string `json:"numZones,omitempty"` // Path: GTM Container Versions's API relative path. Path string `json:"path,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AccountId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AccountId") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ContainerVersionHeader: Represents a Google Tag Manager Container Version Header.
func (*ContainerVersionHeader) MarshalJSON ¶
func (s *ContainerVersionHeader) MarshalJSON() ([]byte, error)
type CreateBuiltInVariableResponse ¶
type CreateBuiltInVariableResponse struct { // BuiltInVariable: List of created built-in variables. BuiltInVariable []*BuiltInVariable `json:"builtInVariable,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "BuiltInVariable") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BuiltInVariable") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
func (*CreateBuiltInVariableResponse) MarshalJSON ¶
func (s *CreateBuiltInVariableResponse) MarshalJSON() ([]byte, error)
type CreateContainerVersionRequestVersionOptions ¶
type CreateContainerVersionRequestVersionOptions struct { // Name: The name of the container version to be created. Name string `json:"name,omitempty"` // Notes: The notes of the container version to be created. Notes string `json:"notes,omitempty"` // ForceSendFields is a list of field names (e.g. "Name") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Name") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
CreateContainerVersionRequestVersionOptions: Options for new container versions.
func (*CreateContainerVersionRequestVersionOptions) MarshalJSON ¶
func (s *CreateContainerVersionRequestVersionOptions) MarshalJSON() ([]byte, error)
type CreateContainerVersionResponse ¶
type CreateContainerVersionResponse struct { // CompilerError: Compiler errors or not. CompilerError bool `json:"compilerError,omitempty"` // ContainerVersion: The container version created. ContainerVersion *ContainerVersion `json:"containerVersion,omitempty"` // NewWorkspacePath: Auto generated workspace path created as a result // of version creation. This field should only be populated if the // created version was not a quick preview. NewWorkspacePath string `json:"newWorkspacePath,omitempty"` // SyncStatus: Whether version creation failed when syncing the // workspace to the latest container version. SyncStatus *SyncStatus `json:"syncStatus,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CompilerError") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CompilerError") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
CreateContainerVersionResponse: Create container versions response.
func (*CreateContainerVersionResponse) MarshalJSON ¶
func (s *CreateContainerVersionResponse) MarshalJSON() ([]byte, error)
type CustomTemplate ¶
type CustomTemplate struct { // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // ContainerId: GTM Container ID. ContainerId string `json:"containerId,omitempty"` // Fingerprint: The fingerprint of the GTM Custom Template as computed // at storage time. This value is recomputed whenever the template is // modified. Fingerprint string `json:"fingerprint,omitempty"` // GalleryReference: A reference to the Community Template Gallery // entry. GalleryReference *GalleryReference `json:"galleryReference,omitempty"` // Name: Custom Template display name. Name string `json:"name,omitempty"` // Path: GTM Custom Template's API relative path. Path string `json:"path,omitempty"` // TagManagerUrl: Auto generated link to the tag manager UI TagManagerUrl string `json:"tagManagerUrl,omitempty"` // TemplateData: The custom template in text format. TemplateData string `json:"templateData,omitempty"` // TemplateId: The Custom Template ID uniquely identifies the GTM custom // template. TemplateId string `json:"templateId,omitempty"` // WorkspaceId: GTM Workspace ID. WorkspaceId string `json:"workspaceId,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AccountId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AccountId") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
CustomTemplate: Represents a Google Tag Manager Custom Template's contents.
func (*CustomTemplate) MarshalJSON ¶
func (s *CustomTemplate) MarshalJSON() ([]byte, error)
type Entity ¶
type Entity struct { // ChangeStatus: Represents how the entity has been changed in the // workspace. // // Possible values: // "changeStatusUnspecified" // "none" - The entity has never been changed. // "added" - The entity is added to the workspace. // "deleted" - The entity is deleted from the workspace. // "updated" - The entity has been updated in the workspace. ChangeStatus string `json:"changeStatus,omitempty"` // Client: The client being represented by the entity. Client *Client `json:"client,omitempty"` // Folder: The folder being represented by the entity. Folder *Folder `json:"folder,omitempty"` // Tag: The tag being represented by the entity. Tag *Tag `json:"tag,omitempty"` // Trigger: The trigger being represented by the entity. Trigger *Trigger `json:"trigger,omitempty"` // Variable: The variable being represented by the entity. Variable *Variable `json:"variable,omitempty"` // ForceSendFields is a list of field names (e.g. "ChangeStatus") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ChangeStatus") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Entity: A workspace entity that may represent a tag, trigger, variable, or folder in addition to its status in the workspace.
func (*Entity) MarshalJSON ¶
type Environment ¶
type Environment struct { // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // AuthorizationCode: The environment authorization code. AuthorizationCode string `json:"authorizationCode,omitempty"` // AuthorizationTimestamp: The last update time-stamp for the // authorization code. AuthorizationTimestamp string `json:"authorizationTimestamp,omitempty"` // ContainerId: GTM Container ID. ContainerId string `json:"containerId,omitempty"` // ContainerVersionId: Represents a link to a container version. ContainerVersionId string `json:"containerVersionId,omitempty"` // Description: The environment description. Can be set or changed only // on USER type environments. @mutable // tagmanager.accounts.containers.environments.create @mutable // tagmanager.accounts.containers.environments.update Description string `json:"description,omitempty"` // EnableDebug: Whether or not to enable debug by default for the // environment. @mutable // tagmanager.accounts.containers.environments.create @mutable // tagmanager.accounts.containers.environments.update EnableDebug bool `json:"enableDebug,omitempty"` // EnvironmentId: GTM Environment ID uniquely identifies the GTM // Environment. EnvironmentId string `json:"environmentId,omitempty"` // Fingerprint: The fingerprint of the GTM environment as computed at // storage time. This value is recomputed whenever the environment is // modified. Fingerprint string `json:"fingerprint,omitempty"` // Name: The environment display name. Can be set or changed only on // USER type environments. @mutable // tagmanager.accounts.containers.environments.create @mutable // tagmanager.accounts.containers.environments.update Name string `json:"name,omitempty"` // Path: GTM Environment's API relative path. Path string `json:"path,omitempty"` // TagManagerUrl: Auto generated link to the tag manager UI TagManagerUrl string `json:"tagManagerUrl,omitempty"` // Type: The type of this environment. // // Possible values: // "user" - Points to a user defined environment. // "live" - Points to the current live container version. // "latest" - Points to the latest container version. // "workspace" - Automatically managed environment that points to a // workspace preview or version created by a workspace. Type string `json:"type,omitempty"` // Url: Default preview page url for the environment. @mutable // tagmanager.accounts.containers.environments.create @mutable // tagmanager.accounts.containers.environments.update Url string `json:"url,omitempty"` // WorkspaceId: Represents a link to a quick preview of a workspace. WorkspaceId string `json:"workspaceId,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AccountId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AccountId") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Environment: Represents a Google Tag Manager Environment. Note that a user can create, delete and update environments of type USER, but can only update the enable_debug and url fields of environments of other types.
func (*Environment) MarshalJSON ¶
func (s *Environment) MarshalJSON() ([]byte, error)
type Folder ¶
type Folder struct { // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // ContainerId: GTM Container ID. ContainerId string `json:"containerId,omitempty"` // Fingerprint: The fingerprint of the GTM Folder as computed at storage // time. This value is recomputed whenever the folder is modified. Fingerprint string `json:"fingerprint,omitempty"` // FolderId: The Folder ID uniquely identifies the GTM Folder. FolderId string `json:"folderId,omitempty"` // Name: Folder display name. @mutable // tagmanager.accounts.containers.workspaces.folders.create @mutable // tagmanager.accounts.containers.workspaces.folders.update Name string `json:"name,omitempty"` // Notes: User notes on how to apply this folder in the container. // @mutable tagmanager.accounts.containers.workspaces.folders.create // @mutable tagmanager.accounts.containers.workspaces.folders.update Notes string `json:"notes,omitempty"` // Path: GTM Folder's API relative path. Path string `json:"path,omitempty"` // TagManagerUrl: Auto generated link to the tag manager UI TagManagerUrl string `json:"tagManagerUrl,omitempty"` // WorkspaceId: GTM Workspace ID. WorkspaceId string `json:"workspaceId,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AccountId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AccountId") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Folder: Represents a Google Tag Manager Folder.
func (*Folder) MarshalJSON ¶
type FolderEntities ¶
type FolderEntities struct { // NextPageToken: Continuation token for fetching the next page of // results. NextPageToken string `json:"nextPageToken,omitempty"` // Tag: The list of tags inside the folder. Tag []*Tag `json:"tag,omitempty"` // Trigger: The list of triggers inside the folder. Trigger []*Trigger `json:"trigger,omitempty"` // Variable: The list of variables inside the folder. Variable []*Variable `json:"variable,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
FolderEntities: Represents a Google Tag Manager Folder's contents.
func (*FolderEntities) MarshalJSON ¶
func (s *FolderEntities) MarshalJSON() ([]byte, error)
type GalleryReference ¶
type GalleryReference struct { // Host: The name of the host for the community gallery template. Host string `json:"host,omitempty"` // IsModified: If a user has manually edited the community gallery // template. IsModified bool `json:"isModified,omitempty"` // Owner: The name of the owner for the community gallery template. Owner string `json:"owner,omitempty"` // Repository: The name of the repository for the community gallery // template. Repository string `json:"repository,omitempty"` // Signature: The signature of the community gallery template as // computed at import time. This value is recomputed whenever the // template is updated from the gallery. Signature string `json:"signature,omitempty"` // Version: The version of the community gallery template. Version string `json:"version,omitempty"` // ForceSendFields is a list of field names (e.g. "Host") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Host") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GalleryReference: Represents the link between a custom template and an entry on the Community Template Gallery site.
func (*GalleryReference) MarshalJSON ¶
func (s *GalleryReference) MarshalJSON() ([]byte, error)
type GetWorkspaceStatusResponse ¶
type GetWorkspaceStatusResponse struct { // MergeConflict: The merge conflict after sync. MergeConflict []*MergeConflict `json:"mergeConflict,omitempty"` // WorkspaceChange: Entities that have been changed in the workspace. WorkspaceChange []*Entity `json:"workspaceChange,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "MergeConflict") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MergeConflict") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GetWorkspaceStatusResponse: The changes that have occurred in the workspace since the base container version.
func (*GetWorkspaceStatusResponse) MarshalJSON ¶
func (s *GetWorkspaceStatusResponse) MarshalJSON() ([]byte, error)
type ListAccountsResponse ¶
type ListAccountsResponse struct { // Account: List of GTM Accounts that a user has access to. Account []*Account `json:"account,omitempty"` // NextPageToken: Continuation token for fetching the next page of // results. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Account") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Account") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ListAccountsResponse: List Accounts Response.
func (*ListAccountsResponse) MarshalJSON ¶
func (s *ListAccountsResponse) MarshalJSON() ([]byte, error)
type ListContainerVersionsResponse ¶
type ListContainerVersionsResponse struct { // ContainerVersionHeader: All container version headers of a GTM // Container. ContainerVersionHeader []*ContainerVersionHeader `json:"containerVersionHeader,omitempty"` // NextPageToken: Continuation token for fetching the next page of // results. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. // "ContainerVersionHeader") to unconditionally include in API requests. // By default, fields with empty values are omitted from API requests. // However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ContainerVersionHeader") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
ListContainerVersionsResponse: List container versions response.
func (*ListContainerVersionsResponse) MarshalJSON ¶
func (s *ListContainerVersionsResponse) MarshalJSON() ([]byte, error)
type ListContainersResponse ¶
type ListContainersResponse struct { // Container: All Containers of a GTM Account. Container []*Container `json:"container,omitempty"` // NextPageToken: Continuation token for fetching the next page of // results. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Container") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Container") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ListContainersResponse: List Containers Response.
func (*ListContainersResponse) MarshalJSON ¶
func (s *ListContainersResponse) MarshalJSON() ([]byte, error)
type ListEnabledBuiltInVariablesResponse ¶
type ListEnabledBuiltInVariablesResponse struct { // BuiltInVariable: All GTM BuiltInVariables of a GTM container. BuiltInVariable []*BuiltInVariable `json:"builtInVariable,omitempty"` // NextPageToken: Continuation token for fetching the next page of // results. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "BuiltInVariable") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BuiltInVariable") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
ListEnabledBuiltInVariablesResponse: A list of enabled built-in variables.
func (*ListEnabledBuiltInVariablesResponse) MarshalJSON ¶
func (s *ListEnabledBuiltInVariablesResponse) MarshalJSON() ([]byte, error)
type ListEnvironmentsResponse ¶
type ListEnvironmentsResponse struct { // Environment: All Environments of a GTM Container. Environment []*Environment `json:"environment,omitempty"` // NextPageToken: Continuation token for fetching the next page of // results. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Environment") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Environment") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ListEnvironmentsResponse: List Environments Response.
func (*ListEnvironmentsResponse) MarshalJSON ¶
func (s *ListEnvironmentsResponse) MarshalJSON() ([]byte, error)
type ListFoldersResponse ¶
type ListFoldersResponse struct { // Folder: All GTM Folders of a GTM Container. Folder []*Folder `json:"folder,omitempty"` // NextPageToken: Continuation token for fetching the next page of // results. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Folder") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Folder") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ListFoldersResponse: List Folders Response.
func (*ListFoldersResponse) MarshalJSON ¶
func (s *ListFoldersResponse) MarshalJSON() ([]byte, error)
type ListTagsResponse ¶
type ListTagsResponse struct { // NextPageToken: Continuation token for fetching the next page of // results. NextPageToken string `json:"nextPageToken,omitempty"` // Tag: All GTM Tags of a GTM Container. Tag []*Tag `json:"tag,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ListTagsResponse: List Tags Response.
func (*ListTagsResponse) MarshalJSON ¶
func (s *ListTagsResponse) MarshalJSON() ([]byte, error)
type ListTemplatesResponse ¶
type ListTemplatesResponse struct { // NextPageToken: Continuation token for fetching the next page of // results. NextPageToken string `json:"nextPageToken,omitempty"` // Template: All GTM Custom Templates of a GTM Container. Template []*CustomTemplate `json:"template,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
func (*ListTemplatesResponse) MarshalJSON ¶
func (s *ListTemplatesResponse) MarshalJSON() ([]byte, error)
type ListTriggersResponse ¶
type ListTriggersResponse struct { // NextPageToken: Continuation token for fetching the next page of // results. NextPageToken string `json:"nextPageToken,omitempty"` // Trigger: All GTM Triggers of a GTM Container. Trigger []*Trigger `json:"trigger,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ListTriggersResponse: List triggers response.
func (*ListTriggersResponse) MarshalJSON ¶
func (s *ListTriggersResponse) MarshalJSON() ([]byte, error)
type ListUserPermissionsResponse ¶
type ListUserPermissionsResponse struct { // NextPageToken: Continuation token for fetching the next page of // results. NextPageToken string `json:"nextPageToken,omitempty"` // UserPermission: All GTM UserPermissions of a GTM Account. UserPermission []*UserPermission `json:"userPermission,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ListUserPermissionsResponse: List user permissions response.
func (*ListUserPermissionsResponse) MarshalJSON ¶
func (s *ListUserPermissionsResponse) MarshalJSON() ([]byte, error)
type ListVariablesResponse ¶
type ListVariablesResponse struct { // NextPageToken: Continuation token for fetching the next page of // results. NextPageToken string `json:"nextPageToken,omitempty"` // Variable: All GTM Variables of a GTM Container. Variable []*Variable `json:"variable,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ListVariablesResponse: List Variables Response.
func (*ListVariablesResponse) MarshalJSON ¶
func (s *ListVariablesResponse) MarshalJSON() ([]byte, error)
type ListWorkspacesResponse ¶
type ListWorkspacesResponse struct { // NextPageToken: Continuation token for fetching the next page of // results. NextPageToken string `json:"nextPageToken,omitempty"` // Workspace: All Workspaces of a GTM Container. Workspace []*Workspace `json:"workspace,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ListWorkspacesResponse: A list of workspaces in a container.
func (*ListWorkspacesResponse) MarshalJSON ¶
func (s *ListWorkspacesResponse) MarshalJSON() ([]byte, error)
type ListZonesResponse ¶
type ListZonesResponse struct { // NextPageToken: Continuation token for fetching the next page of // results. NextPageToken string `json:"nextPageToken,omitempty"` // Zone: All GTM Zones of a GTM Container. Zone []*Zone `json:"zone,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
func (*ListZonesResponse) MarshalJSON ¶
func (s *ListZonesResponse) MarshalJSON() ([]byte, error)
type MergeConflict ¶
type MergeConflict struct { // EntityInBaseVersion: The base version entity (since the latest sync // operation) that has conflicting changes compared to the workspace. If // this field is missing, it means the workspace entity is deleted from // the base version. EntityInBaseVersion *Entity `json:"entityInBaseVersion,omitempty"` // EntityInWorkspace: The workspace entity that has conflicting changes // compared to the base version. If an entity is deleted in a workspace, // it will still appear with a deleted change status. EntityInWorkspace *Entity `json:"entityInWorkspace,omitempty"` // ForceSendFields is a list of field names (e.g. "EntityInBaseVersion") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EntityInBaseVersion") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
MergeConflict: Represents a merge conflict.
func (*MergeConflict) MarshalJSON ¶
func (s *MergeConflict) MarshalJSON() ([]byte, error)
type Parameter ¶
type Parameter struct { // Key: The named key that uniquely identifies a parameter. Required for // top-level parameters, as well as map values. Ignored for list values. // @mutable tagmanager.accounts.containers.workspaces.variables.create // @mutable tagmanager.accounts.containers.workspaces.variables.update // @mutable tagmanager.accounts.containers.workspaces.triggers.create // @mutable tagmanager.accounts.containers.workspaces.triggers.update // @mutable tagmanager.accounts.containers.workspaces.tags.create // @mutable tagmanager.accounts.containers.workspaces.tags.update Key string `json:"key,omitempty"` // List: This list parameter's parameters (keys will be ignored). // @mutable tagmanager.accounts.containers.workspaces.variables.create // @mutable tagmanager.accounts.containers.workspaces.variables.update // @mutable tagmanager.accounts.containers.workspaces.triggers.create // @mutable tagmanager.accounts.containers.workspaces.triggers.update // @mutable tagmanager.accounts.containers.workspaces.tags.create // @mutable tagmanager.accounts.containers.workspaces.tags.update List []*Parameter `json:"list,omitempty"` // Map: This map parameter's parameters (must have keys; keys must be // unique). @mutable // tagmanager.accounts.containers.workspaces.variables.create @mutable // tagmanager.accounts.containers.workspaces.variables.update @mutable // tagmanager.accounts.containers.workspaces.triggers.create @mutable // tagmanager.accounts.containers.workspaces.triggers.update @mutable // tagmanager.accounts.containers.workspaces.tags.create @mutable // tagmanager.accounts.containers.workspaces.tags.update Map []*Parameter `json:"map,omitempty"` // Type: The parameter type. Valid values are: - boolean: The value // represents a boolean, represented as 'true' or 'false' - integer: The // value represents a 64-bit signed integer value, in base 10 - list: A // list of parameters should be specified - map: A map of parameters // should be specified - template: The value represents any text; this // can include variable references (even variable references that might // return non-string types) - trigger_reference: The value represents a // trigger, represented as the trigger id - tag_reference: The value // represents a tag, represented as the tag name @mutable // tagmanager.accounts.containers.workspaces.variables.create @mutable // tagmanager.accounts.containers.workspaces.variables.update @mutable // tagmanager.accounts.containers.workspaces.triggers.create @mutable // tagmanager.accounts.containers.workspaces.triggers.update @mutable // tagmanager.accounts.containers.workspaces.tags.create @mutable // tagmanager.accounts.containers.workspaces.tags.update // // Possible values: // "typeUnspecified" // "template" - May include variable references (such as // "{{myVariable}}"). // "integer" // "boolean" // "list" // "map" // "triggerReference" // "tagReference" Type string `json:"type,omitempty"` // Value: A parameter's value (may contain variable references such as // "{{myVariable}}") as appropriate to the specified type. @mutable // tagmanager.accounts.containers.workspaces.variables.create @mutable // tagmanager.accounts.containers.workspaces.variables.update @mutable // tagmanager.accounts.containers.workspaces.triggers.create @mutable // tagmanager.accounts.containers.workspaces.triggers.update @mutable // tagmanager.accounts.containers.workspaces.tags.create @mutable // tagmanager.accounts.containers.workspaces.tags.update Value string `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "Key") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Key") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Parameter: Represents a Google Tag Manager Parameter.
func (*Parameter) MarshalJSON ¶
type PublishContainerVersionResponse ¶
type PublishContainerVersionResponse struct { // CompilerError: Compiler errors or not. CompilerError bool `json:"compilerError,omitempty"` // ContainerVersion: The container version created. ContainerVersion *ContainerVersion `json:"containerVersion,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CompilerError") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CompilerError") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
PublishContainerVersionResponse: Publish container version response.
func (*PublishContainerVersionResponse) MarshalJSON ¶
func (s *PublishContainerVersionResponse) MarshalJSON() ([]byte, error)
type QuickPreviewResponse ¶
type QuickPreviewResponse struct { // CompilerError: Were there compiler errors or not. CompilerError bool `json:"compilerError,omitempty"` // ContainerVersion: The quick previewed container version. ContainerVersion *ContainerVersion `json:"containerVersion,omitempty"` // SyncStatus: Whether quick previewing failed when syncing the // workspace to the latest container version. SyncStatus *SyncStatus `json:"syncStatus,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CompilerError") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CompilerError") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
QuickPreviewResponse: Response to quick previewing a workspace.
func (*QuickPreviewResponse) MarshalJSON ¶
func (s *QuickPreviewResponse) MarshalJSON() ([]byte, error)
type RevertBuiltInVariableResponse ¶
type RevertBuiltInVariableResponse struct { // Enabled: Whether the built-in variable is enabled after reversion. Enabled bool `json:"enabled,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Enabled") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Enabled") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
RevertBuiltInVariableResponse: The result of reverting a built-in variable in a workspace.
func (*RevertBuiltInVariableResponse) MarshalJSON ¶
func (s *RevertBuiltInVariableResponse) MarshalJSON() ([]byte, error)
type RevertFolderResponse ¶
type RevertFolderResponse struct { // Folder: Folder as it appears in the latest container version since // the last workspace synchronization operation. If no folder is // present, that means the folder was deleted in the latest container // version. Folder *Folder `json:"folder,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Folder") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Folder") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
RevertFolderResponse: The result of reverting folder changes in a workspace.
func (*RevertFolderResponse) MarshalJSON ¶
func (s *RevertFolderResponse) MarshalJSON() ([]byte, error)
type RevertTagResponse ¶
type RevertTagResponse struct { // Tag: Tag as it appears in the latest container version since the last // workspace synchronization operation. If no tag is present, that means // the tag was deleted in the latest container version. Tag *Tag `json:"tag,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Tag") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Tag") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
RevertTagResponse: The result of reverting a tag in a workspace.
func (*RevertTagResponse) MarshalJSON ¶
func (s *RevertTagResponse) MarshalJSON() ([]byte, error)
type RevertTemplateResponse ¶
type RevertTemplateResponse struct { // Template: Template as it appears in the latest container version // since the last workspace synchronization operation. If no template is // present, that means the template was deleted in the latest container // version. Template *CustomTemplate `json:"template,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Template") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Template") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
RevertTemplateResponse: The result of reverting a template in a workspace.
func (*RevertTemplateResponse) MarshalJSON ¶
func (s *RevertTemplateResponse) MarshalJSON() ([]byte, error)
type RevertTriggerResponse ¶
type RevertTriggerResponse struct { // Trigger: Trigger as it appears in the latest container version since // the last workspace synchronization operation. If no trigger is // present, that means the trigger was deleted in the latest container // version. Trigger *Trigger `json:"trigger,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Trigger") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Trigger") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
RevertTriggerResponse: The result of reverting a trigger in a workspace.
func (*RevertTriggerResponse) MarshalJSON ¶
func (s *RevertTriggerResponse) MarshalJSON() ([]byte, error)
type RevertVariableResponse ¶
type RevertVariableResponse struct { // Variable: Variable as it appears in the latest container version // since the last workspace synchronization operation. If no variable is // present, that means the variable was deleted in the latest container // version. Variable *Variable `json:"variable,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Variable") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Variable") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
RevertVariableResponse: The result of reverting a variable in a workspace.
func (*RevertVariableResponse) MarshalJSON ¶
func (s *RevertVariableResponse) MarshalJSON() ([]byte, error)
type RevertZoneResponse ¶
type RevertZoneResponse struct { // Zone: Zone as it appears in the latest container version since the // last workspace synchronization operation. If no zone is present, that // means the zone was deleted in the latest container version. Zone *Zone `json:"zone,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Zone") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Zone") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
RevertZoneResponse: The result of reverting a zone in a workspace.
func (*RevertZoneResponse) MarshalJSON ¶
func (s *RevertZoneResponse) MarshalJSON() ([]byte, error)
type Service ¶
type Service struct { BasePath string // API endpoint base URL UserAgent string // optional additional User-Agent fragment Accounts *AccountsService // contains filtered or unexported fields }
func New
deprecated
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 ¶
NewService creates a new Service.
type SetupTag ¶
type SetupTag struct { // StopOnSetupFailure: If true, fire the main tag if and only if the // setup tag fires successfully. If false, fire the main tag regardless // of setup tag firing status. StopOnSetupFailure bool `json:"stopOnSetupFailure,omitempty"` // TagName: The name of the setup tag. TagName string `json:"tagName,omitempty"` // ForceSendFields is a list of field names (e.g. "StopOnSetupFailure") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "StopOnSetupFailure") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
SetupTag: Represents a reference to atag that fires before another tag in order to set up dependencies.
func (*SetupTag) MarshalJSON ¶
type SyncStatus ¶
type SyncStatus struct { // MergeConflict: Synchornization operation detected a merge conflict. MergeConflict bool `json:"mergeConflict,omitempty"` // SyncError: An error occurred during the synchronization operation. SyncError bool `json:"syncError,omitempty"` // ForceSendFields is a list of field names (e.g. "MergeConflict") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MergeConflict") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
SyncStatus: The status of a workspace after synchronization.
func (*SyncStatus) MarshalJSON ¶
func (s *SyncStatus) MarshalJSON() ([]byte, error)
type SyncWorkspaceResponse ¶
type SyncWorkspaceResponse struct { // MergeConflict: The merge conflict after sync. If this field is not // empty, the sync is still treated as successful. But a version cannot // be created until all conflicts are resolved. MergeConflict []*MergeConflict `json:"mergeConflict,omitempty"` // SyncStatus: Indicates whether synchronization caused a merge conflict // or sync error. SyncStatus *SyncStatus `json:"syncStatus,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "MergeConflict") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MergeConflict") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
SyncWorkspaceResponse: A response after synchronizing the workspace to the latest container version.
func (*SyncWorkspaceResponse) MarshalJSON ¶
func (s *SyncWorkspaceResponse) MarshalJSON() ([]byte, error)
type Tag ¶
type Tag struct { // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // BlockingRuleId: Blocking rule IDs. If any of the listed rules // evaluate to true, the tag will not fire. @mutable // tagmanager.accounts.containers.workspaces.tags.create @mutable // tagmanager.accounts.containers.workspaces.tags.update BlockingRuleId []string `json:"blockingRuleId,omitempty"` // BlockingTriggerId: Blocking trigger IDs. If any of the listed // triggers evaluate to true, the tag will not fire. @mutable // tagmanager.accounts.containers.workspaces.tags.create @mutable // tagmanager.accounts.containers.workspaces.tags.update BlockingTriggerId []string `json:"blockingTriggerId,omitempty"` // ContainerId: GTM Container ID. ContainerId string `json:"containerId,omitempty"` // Fingerprint: The fingerprint of the GTM Tag as computed at storage // time. This value is recomputed whenever the tag is modified. Fingerprint string `json:"fingerprint,omitempty"` // FiringRuleId: Firing rule IDs. A tag will fire when any of the listed // rules are true and all of its blockingRuleIds (if any specified) are // false. @mutable tagmanager.accounts.containers.workspaces.tags.create // @mutable tagmanager.accounts.containers.workspaces.tags.update FiringRuleId []string `json:"firingRuleId,omitempty"` // FiringTriggerId: Firing trigger IDs. A tag will fire when any of the // listed triggers are true and all of its blockingTriggerIds (if any // specified) are false. @mutable // tagmanager.accounts.containers.workspaces.tags.create @mutable // tagmanager.accounts.containers.workspaces.tags.update FiringTriggerId []string `json:"firingTriggerId,omitempty"` // LiveOnly: If set to true, this tag will only fire in the live // environment (e.g. not in preview or debug mode). @mutable // tagmanager.accounts.containers.workspaces.tags.create @mutable // tagmanager.accounts.containers.workspaces.tags.update LiveOnly bool `json:"liveOnly,omitempty"` // MonitoringMetadata: A map of key-value pairs of tag metadata to be // included in the event data for tag monitoring. Notes: - This // parameter must be type MAP. - Each parameter in the map are type // TEMPLATE, however cannot contain variable references. @mutable // tagmanager.accounts.containers.workspaces.tags.create @mutable // tagmanager.accounts.containers.workspaces.tags.update MonitoringMetadata *Parameter `json:"monitoringMetadata,omitempty"` // MonitoringMetadataTagNameKey: If non-empty, then the tag display name // will be included in the monitoring metadata map using the key // specified. @mutable // tagmanager.accounts.containers.workspaces.tags.create @mutable // tagmanager.accounts.containers.workspaces.tags.update MonitoringMetadataTagNameKey string `json:"monitoringMetadataTagNameKey,omitempty"` // Name: Tag display name. @mutable // tagmanager.accounts.containers.workspaces.tags.create @mutable // tagmanager.accounts.containers.workspaces.tags.update Name string `json:"name,omitempty"` // Notes: User notes on how to apply this tag in the container. @mutable // tagmanager.accounts.containers.workspaces.tags.create @mutable // tagmanager.accounts.containers.workspaces.tags.update Notes string `json:"notes,omitempty"` // Parameter: The tag's parameters. @mutable // tagmanager.accounts.containers.workspaces.tags.create @mutable // tagmanager.accounts.containers.workspaces.tags.update Parameter []*Parameter `json:"parameter,omitempty"` // ParentFolderId: Parent folder id. ParentFolderId string `json:"parentFolderId,omitempty"` // Path: GTM Tag's API relative path. Path string `json:"path,omitempty"` // Paused: Indicates whether the tag is paused, which prevents the tag // from firing. @mutable // tagmanager.accounts.containers.workspaces.tags.create @mutable // tagmanager.accounts.containers.workspaces.tags.update Paused bool `json:"paused,omitempty"` // Priority: User defined numeric priority of the tag. Tags are fired // asynchronously in order of priority. Tags with higher numeric value // fire first. A tag's priority can be a positive or negative value. The // default value is 0. @mutable // tagmanager.accounts.containers.workspaces.tags.create @mutable // tagmanager.accounts.containers.workspaces.tags.update Priority *Parameter `json:"priority,omitempty"` // ScheduleEndMs: The end timestamp in milliseconds to schedule a tag. // @mutable tagmanager.accounts.containers.workspaces.tags.create // @mutable tagmanager.accounts.containers.workspaces.tags.update ScheduleEndMs int64 `json:"scheduleEndMs,omitempty,string"` // ScheduleStartMs: The start timestamp in milliseconds to schedule a // tag. @mutable tagmanager.accounts.containers.workspaces.tags.create // @mutable tagmanager.accounts.containers.workspaces.tags.update ScheduleStartMs int64 `json:"scheduleStartMs,omitempty,string"` // SetupTag: The list of setup tags. Currently we only allow one. SetupTag []*SetupTag `json:"setupTag,omitempty"` // TagFiringOption: Option to fire this tag. // // Possible values: // "tagFiringOptionUnspecified" // "unlimited" - Tag can be fired multiple times per event. // "oncePerEvent" - Tag can only be fired per event but can be fired // multiple times per load (e.g., app load or page load). // "oncePerLoad" - Tag can only be fired per load (e.g., app load or // page load). TagFiringOption string `json:"tagFiringOption,omitempty"` // TagId: The Tag ID uniquely identifies the GTM Tag. TagId string `json:"tagId,omitempty"` // TagManagerUrl: Auto generated link to the tag manager UI TagManagerUrl string `json:"tagManagerUrl,omitempty"` // TeardownTag: The list of teardown tags. Currently we only allow one. TeardownTag []*TeardownTag `json:"teardownTag,omitempty"` // Type: GTM Tag Type. @mutable // tagmanager.accounts.containers.workspaces.tags.create @mutable // tagmanager.accounts.containers.workspaces.tags.update Type string `json:"type,omitempty"` // WorkspaceId: GTM Workspace ID. WorkspaceId string `json:"workspaceId,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AccountId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AccountId") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Tag: Represents a Google Tag Manager Tag.
func (*Tag) MarshalJSON ¶
type TeardownTag ¶
type TeardownTag struct { // StopTeardownOnFailure: If true, fire the teardown tag if and only if // the main tag fires successfully. If false, fire the teardown tag // regardless of main tag firing status. StopTeardownOnFailure bool `json:"stopTeardownOnFailure,omitempty"` // TagName: The name of the teardown tag. TagName string `json:"tagName,omitempty"` // ForceSendFields is a list of field names (e.g. // "StopTeardownOnFailure") to unconditionally include in API requests. // By default, fields with empty values are omitted from API requests. // However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "StopTeardownOnFailure") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
TeardownTag: Represents a tag that fires after another tag in order to tear down dependencies.
func (*TeardownTag) MarshalJSON ¶
func (s *TeardownTag) MarshalJSON() ([]byte, error)
type Trigger ¶
type Trigger struct { // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // AutoEventFilter: Used in the case of auto event tracking. @mutable // tagmanager.accounts.containers.workspaces.triggers.create @mutable // tagmanager.accounts.containers.workspaces.triggers.update AutoEventFilter []*Condition `json:"autoEventFilter,omitempty"` // CheckValidation: Whether or not we should only fire tags if the form // submit or link click event is not cancelled by some other event // handler (e.g. because of validation). Only valid for Form Submission // and Link Click triggers. @mutable // tagmanager.accounts.containers.workspaces.triggers.create @mutable // tagmanager.accounts.containers.workspaces.triggers.update CheckValidation *Parameter `json:"checkValidation,omitempty"` // ContainerId: GTM Container ID. ContainerId string `json:"containerId,omitempty"` // ContinuousTimeMinMilliseconds: A visibility trigger minimum // continuous visible time (in milliseconds). Only valid for AMP // Visibility trigger. @mutable // tagmanager.accounts.containers.workspaces.triggers.create @mutable // tagmanager.accounts.containers.workspaces.triggers.update ContinuousTimeMinMilliseconds *Parameter `json:"continuousTimeMinMilliseconds,omitempty"` // CustomEventFilter: Used in the case of custom event, which is fired // iff all Conditions are true. @mutable // tagmanager.accounts.containers.workspaces.triggers.create @mutable // tagmanager.accounts.containers.workspaces.triggers.update CustomEventFilter []*Condition `json:"customEventFilter,omitempty"` // EventName: Name of the GTM event that is fired. Only valid for Timer // triggers. @mutable // tagmanager.accounts.containers.workspaces.triggers.create @mutable // tagmanager.accounts.containers.workspaces.triggers.update EventName *Parameter `json:"eventName,omitempty"` // Filter: The trigger will only fire iff all Conditions are true. // @mutable tagmanager.accounts.containers.workspaces.triggers.create // @mutable tagmanager.accounts.containers.workspaces.triggers.update Filter []*Condition `json:"filter,omitempty"` // Fingerprint: The fingerprint of the GTM Trigger as computed at // storage time. This value is recomputed whenever the trigger is // modified. Fingerprint string `json:"fingerprint,omitempty"` // HorizontalScrollPercentageList: List of integer percentage values for // scroll triggers. The trigger will fire when each percentage is // reached when the view is scrolled horizontally. Only valid for AMP // scroll triggers. @mutable // tagmanager.accounts.containers.workspaces.triggers.create @mutable // tagmanager.accounts.containers.workspaces.triggers.update HorizontalScrollPercentageList *Parameter `json:"horizontalScrollPercentageList,omitempty"` // Interval: Time between triggering recurring Timer Events (in // milliseconds). Only valid for Timer triggers. @mutable // tagmanager.accounts.containers.workspaces.triggers.create @mutable // tagmanager.accounts.containers.workspaces.triggers.update Interval *Parameter `json:"interval,omitempty"` // IntervalSeconds: Time between Timer Events to fire (in seconds). Only // valid for AMP Timer trigger. @mutable // tagmanager.accounts.containers.workspaces.triggers.create @mutable // tagmanager.accounts.containers.workspaces.triggers.update IntervalSeconds *Parameter `json:"intervalSeconds,omitempty"` // Limit: Limit of the number of GTM events this Timer Trigger will // fire. If no limit is set, we will continue to fire GTM events until // the user leaves the page. Only valid for Timer triggers. @mutable // tagmanager.accounts.containers.workspaces.triggers.create @mutable // tagmanager.accounts.containers.workspaces.triggers.update Limit *Parameter `json:"limit,omitempty"` // MaxTimerLengthSeconds: Max time to fire Timer Events (in seconds). // Only valid for AMP Timer trigger. @mutable // tagmanager.accounts.containers.workspaces.triggers.create @mutable // tagmanager.accounts.containers.workspaces.triggers.update MaxTimerLengthSeconds *Parameter `json:"maxTimerLengthSeconds,omitempty"` // Name: Trigger display name. @mutable // tagmanager.accounts.containers.workspaces.triggers.create @mutable // tagmanager.accounts.containers.workspaces.triggers.update Name string `json:"name,omitempty"` // Notes: User notes on how to apply this trigger in the container. // @mutable tagmanager.accounts.containers.workspaces.triggers.create // @mutable tagmanager.accounts.containers.workspaces.triggers.update Notes string `json:"notes,omitempty"` // Parameter: Additional parameters. @mutable // tagmanager.accounts.containers.workspaces.triggers.create @mutable // tagmanager.accounts.containers.workspaces.triggers.update Parameter []*Parameter `json:"parameter,omitempty"` // ParentFolderId: Parent folder id. ParentFolderId string `json:"parentFolderId,omitempty"` // Path: GTM Trigger's API relative path. Path string `json:"path,omitempty"` // Selector: A click trigger CSS selector (i.e. "a", "button" etc.). // Only valid for AMP Click trigger. @mutable // tagmanager.accounts.containers.workspaces.triggers.create @mutable // tagmanager.accounts.containers.workspaces.triggers.update Selector *Parameter `json:"selector,omitempty"` // TagManagerUrl: Auto generated link to the tag manager UI TagManagerUrl string `json:"tagManagerUrl,omitempty"` // TotalTimeMinMilliseconds: A visibility trigger minimum total visible // time (in milliseconds). Only valid for AMP Visibility trigger. // @mutable tagmanager.accounts.containers.workspaces.triggers.create // @mutable tagmanager.accounts.containers.workspaces.triggers.update TotalTimeMinMilliseconds *Parameter `json:"totalTimeMinMilliseconds,omitempty"` // TriggerId: The Trigger ID uniquely identifies the GTM Trigger. TriggerId string `json:"triggerId,omitempty"` // Type: Defines the data layer event that causes this trigger. @mutable // tagmanager.accounts.containers.workspaces.triggers.create @mutable // tagmanager.accounts.containers.workspaces.triggers.update // // Possible values: // "eventTypeUnspecified" // "pageview" // "domReady" // "windowLoaded" // "customEvent" // "triggerGroup" // "init" // "consentInit" // "serverPageview" // "always" // "firebaseAppException" // "firebaseAppUpdate" // "firebaseCampaign" // "firebaseFirstOpen" // "firebaseInAppPurchase" // "firebaseNotificationDismiss" // "firebaseNotificationForeground" // "firebaseNotificationOpen" // "firebaseNotificationReceive" // "firebaseOsUpdate" // "firebaseSessionStart" // "firebaseUserEngagement" // "formSubmission" // "click" // "linkClick" // "jsError" // "historyChange" // "timer" // "ampClick" // "ampTimer" // "ampScroll" // "ampVisibility" // "youTubeVideo" // "scrollDepth" // "elementVisibility" Type string `json:"type,omitempty"` // UniqueTriggerId: Globally unique id of the trigger that // auto-generates this (a Form Submit, Link Click or Timer listener) if // any. Used to make incompatible auto-events work together with trigger // filtering based on trigger ids. This value is populated during output // generation since the tags implied by triggers don't exist until then. // Only valid for Form Submit, Link Click and Timer triggers. @mutable // tagmanager.accounts.containers.workspaces.triggers.create @mutable // tagmanager.accounts.containers.workspaces.triggers.update UniqueTriggerId *Parameter `json:"uniqueTriggerId,omitempty"` // VerticalScrollPercentageList: List of integer percentage values for // scroll triggers. The trigger will fire when each percentage is // reached when the view is scrolled vertically. Only valid for AMP // scroll triggers. @mutable // tagmanager.accounts.containers.workspaces.triggers.create @mutable // tagmanager.accounts.containers.workspaces.triggers.update VerticalScrollPercentageList *Parameter `json:"verticalScrollPercentageList,omitempty"` // VisibilitySelector: A visibility trigger CSS selector (i.e. "#id"). // Only valid for AMP Visibility trigger. @mutable // tagmanager.accounts.containers.workspaces.triggers.create @mutable // tagmanager.accounts.containers.workspaces.triggers.update VisibilitySelector *Parameter `json:"visibilitySelector,omitempty"` // VisiblePercentageMax: A visibility trigger maximum percent // visibility. Only valid for AMP Visibility trigger. @mutable // tagmanager.accounts.containers.workspaces.triggers.create @mutable // tagmanager.accounts.containers.workspaces.triggers.update VisiblePercentageMax *Parameter `json:"visiblePercentageMax,omitempty"` // VisiblePercentageMin: A visibility trigger minimum percent // visibility. Only valid for AMP Visibility trigger. @mutable // tagmanager.accounts.containers.workspaces.triggers.create @mutable // tagmanager.accounts.containers.workspaces.triggers.update VisiblePercentageMin *Parameter `json:"visiblePercentageMin,omitempty"` // WaitForTags: Whether or not we should delay the form submissions or // link opening until all of the tags have fired (by preventing the // default action and later simulating the default action). Only valid // for Form Submission and Link Click triggers. @mutable // tagmanager.accounts.containers.workspaces.triggers.create @mutable // tagmanager.accounts.containers.workspaces.triggers.update WaitForTags *Parameter `json:"waitForTags,omitempty"` // WaitForTagsTimeout: How long to wait (in milliseconds) for tags to // fire when 'waits_for_tags' above evaluates to true. Only valid for // Form Submission and Link Click triggers. @mutable // tagmanager.accounts.containers.workspaces.triggers.create @mutable // tagmanager.accounts.containers.workspaces.triggers.update WaitForTagsTimeout *Parameter `json:"waitForTagsTimeout,omitempty"` // WorkspaceId: GTM Workspace ID. WorkspaceId string `json:"workspaceId,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AccountId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AccountId") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Trigger: Represents a Google Tag Manager Trigger
func (*Trigger) MarshalJSON ¶
type UserPermission ¶
type UserPermission struct { // AccountAccess: GTM Account access permissions. @mutable // tagmanager.accounts.permissions.create @mutable // tagmanager.accounts.permissions.update AccountAccess *AccountAccess `json:"accountAccess,omitempty"` // AccountId: The Account ID uniquely identifies the GTM Account. AccountId string `json:"accountId,omitempty"` // ContainerAccess: GTM Container access permissions. @mutable // tagmanager.accounts.permissions.create @mutable // tagmanager.accounts.permissions.update ContainerAccess []*ContainerAccess `json:"containerAccess,omitempty"` // EmailAddress: User's email address. @mutable // tagmanager.accounts.permissions.create EmailAddress string `json:"emailAddress,omitempty"` // Path: GTM UserPermission's API relative path. Path string `json:"path,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AccountAccess") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AccountAccess") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
UserPermission: Represents a user's permissions to an account and its container.
func (*UserPermission) MarshalJSON ¶
func (s *UserPermission) MarshalJSON() ([]byte, error)
type Variable ¶
type Variable struct { // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // ContainerId: GTM Container ID. ContainerId string `json:"containerId,omitempty"` // DisablingTriggerId: For mobile containers only: A list of trigger IDs // for disabling conditional variables; the variable is enabled if one // of the enabling trigger is true while all the disabling trigger are // false. Treated as an unordered set. @mutable // tagmanager.accounts.containers.workspaces.variables.create @mutable // tagmanager.accounts.containers.workspaces.variables.update DisablingTriggerId []string `json:"disablingTriggerId,omitempty"` // EnablingTriggerId: For mobile containers only: A list of trigger IDs // for enabling conditional variables; the variable is enabled if one of // the enabling triggers is true while all the disabling triggers are // false. Treated as an unordered set. @mutable // tagmanager.accounts.containers.workspaces.variables.create @mutable // tagmanager.accounts.containers.workspaces.variables.update EnablingTriggerId []string `json:"enablingTriggerId,omitempty"` // Fingerprint: The fingerprint of the GTM Variable as computed at // storage time. This value is recomputed whenever the variable is // modified. Fingerprint string `json:"fingerprint,omitempty"` // FormatValue: Option to convert a variable value to other value. FormatValue *VariableFormatValue `json:"formatValue,omitempty"` // Name: Variable display name. @mutable // tagmanager.accounts.containers.workspaces.variables.create @mutable // tagmanager.accounts.containers.workspaces.variables.update Name string `json:"name,omitempty"` // Notes: User notes on how to apply this variable in the container. // @mutable tagmanager.accounts.containers.workspaces.variables.create // @mutable tagmanager.accounts.containers.workspaces.variables.update Notes string `json:"notes,omitempty"` // Parameter: The variable's parameters. @mutable // tagmanager.accounts.containers.workspaces.variables.create @mutable // tagmanager.accounts.containers.workspaces.variables.update Parameter []*Parameter `json:"parameter,omitempty"` // ParentFolderId: Parent folder id. ParentFolderId string `json:"parentFolderId,omitempty"` // Path: GTM Variable's API relative path. Path string `json:"path,omitempty"` // ScheduleEndMs: The end timestamp in milliseconds to schedule a // variable. @mutable // tagmanager.accounts.containers.workspaces.variables.create @mutable // tagmanager.accounts.containers.workspaces.variables.update ScheduleEndMs int64 `json:"scheduleEndMs,omitempty,string"` // ScheduleStartMs: The start timestamp in milliseconds to schedule a // variable. @mutable // tagmanager.accounts.containers.workspaces.variables.create @mutable // tagmanager.accounts.containers.workspaces.variables.update ScheduleStartMs int64 `json:"scheduleStartMs,omitempty,string"` // TagManagerUrl: Auto generated link to the tag manager UI TagManagerUrl string `json:"tagManagerUrl,omitempty"` // Type: GTM Variable Type. @mutable // tagmanager.accounts.containers.workspaces.variables.create @mutable // tagmanager.accounts.containers.workspaces.variables.update Type string `json:"type,omitempty"` // VariableId: The Variable ID uniquely identifies the GTM Variable. VariableId string `json:"variableId,omitempty"` // WorkspaceId: GTM Workspace ID. WorkspaceId string `json:"workspaceId,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AccountId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AccountId") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Variable: Represents a Google Tag Manager Variable.
func (*Variable) MarshalJSON ¶
type VariableFormatValue ¶
type VariableFormatValue struct { // CaseConversionType: The option to convert a string-type variable // value to either lowercase or uppercase. // // Possible values: // "none" // "lowercase" - The option to convert a variable value to lowercase. // "uppercase" - The option to convert a variable value to uppercase. CaseConversionType string `json:"caseConversionType,omitempty"` // ConvertFalseToValue: The value to convert if a variable value is // false. ConvertFalseToValue *Parameter `json:"convertFalseToValue,omitempty"` // ConvertNullToValue: The value to convert if a variable value is null. ConvertNullToValue *Parameter `json:"convertNullToValue,omitempty"` // ConvertTrueToValue: The value to convert if a variable value is true. ConvertTrueToValue *Parameter `json:"convertTrueToValue,omitempty"` // ConvertUndefinedToValue: The value to convert if a variable value is // undefined. ConvertUndefinedToValue *Parameter `json:"convertUndefinedToValue,omitempty"` // ForceSendFields is a list of field names (e.g. "CaseConversionType") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CaseConversionType") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
func (*VariableFormatValue) MarshalJSON ¶
func (s *VariableFormatValue) MarshalJSON() ([]byte, error)
type Workspace ¶
type Workspace struct { // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // ContainerId: GTM Container ID. ContainerId string `json:"containerId,omitempty"` // Description: Workspace description. @mutable // tagmanager.accounts.containers.workspaces.create @mutable // tagmanager.accounts.containers.workspaces.update Description string `json:"description,omitempty"` // Fingerprint: The fingerprint of the GTM Workspace as computed at // storage time. This value is recomputed whenever the workspace is // modified. Fingerprint string `json:"fingerprint,omitempty"` // Name: Workspace display name. @mutable // tagmanager.accounts.containers.workspaces.create @mutable // tagmanager.accounts.containers.workspaces.update Name string `json:"name,omitempty"` // Path: GTM Workspace's API relative path. Path string `json:"path,omitempty"` // TagManagerUrl: Auto generated link to the tag manager UI TagManagerUrl string `json:"tagManagerUrl,omitempty"` // WorkspaceId: The Workspace ID uniquely identifies the GTM Workspace. WorkspaceId string `json:"workspaceId,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AccountId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AccountId") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Workspace: Represents a Google Tag Manager Container Workspace.
func (*Workspace) MarshalJSON ¶
type Zone ¶
type Zone struct { // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // Boundary: This Zone's boundary. Boundary *ZoneBoundary `json:"boundary,omitempty"` // ChildContainer: Containers that are children of this Zone. ChildContainer []*ZoneChildContainer `json:"childContainer,omitempty"` // ContainerId: GTM Container ID. ContainerId string `json:"containerId,omitempty"` // Fingerprint: The fingerprint of the GTM Zone as computed at storage // time. This value is recomputed whenever the zone is modified. Fingerprint string `json:"fingerprint,omitempty"` // Name: Zone display name. Name string `json:"name,omitempty"` // Notes: User notes on how to apply this zone in the container. Notes string `json:"notes,omitempty"` // Path: GTM Zone's API relative path. Path string `json:"path,omitempty"` // TagManagerUrl: Auto generated link to the tag manager UI TagManagerUrl string `json:"tagManagerUrl,omitempty"` // TypeRestriction: This Zone's type restrictions. TypeRestriction *ZoneTypeRestriction `json:"typeRestriction,omitempty"` // WorkspaceId: GTM Workspace ID. WorkspaceId string `json:"workspaceId,omitempty"` // ZoneId: The Zone ID uniquely identifies the GTM Zone. ZoneId string `json:"zoneId,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AccountId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AccountId") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Zone: Represents a Google Tag Manager Zone's contents.
func (*Zone) MarshalJSON ¶
type ZoneBoundary ¶
type ZoneBoundary struct { // Condition: The conditions that, when conjoined, make up the boundary. Condition []*Condition `json:"condition,omitempty"` // CustomEvaluationTriggerId: Custom evaluation trigger IDs. A zone will // evaluate its boundary conditions when any of the listed triggers are // true. CustomEvaluationTriggerId []string `json:"customEvaluationTriggerId,omitempty"` // ForceSendFields is a list of field names (e.g. "Condition") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Condition") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ZoneBoundary: Represents a Zone's boundaries.
func (*ZoneBoundary) MarshalJSON ¶
func (s *ZoneBoundary) MarshalJSON() ([]byte, error)
type ZoneChildContainer ¶
type ZoneChildContainer struct { // Nickname: The zone's nickname for the child container. Nickname string `json:"nickname,omitempty"` // PublicId: The child container's public id. PublicId string `json:"publicId,omitempty"` // ForceSendFields is a list of field names (e.g. "Nickname") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Nickname") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ZoneChildContainer: Represents a child container of a Zone.
func (*ZoneChildContainer) MarshalJSON ¶
func (s *ZoneChildContainer) MarshalJSON() ([]byte, error)
type ZoneTypeRestriction ¶
type ZoneTypeRestriction struct { // Enable: True if type restrictions have been enabled for this Zone. Enable bool `json:"enable,omitempty"` // WhitelistedTypeId: List of type public ids that have been whitelisted // for use in this Zone. WhitelistedTypeId []string `json:"whitelistedTypeId,omitempty"` // ForceSendFields is a list of field names (e.g. "Enable") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Enable") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ZoneTypeRestriction: Represents a Zone's type restrictions.
func (*ZoneTypeRestriction) MarshalJSON ¶
func (s *ZoneTypeRestriction) MarshalJSON() ([]byte, error)