Documentation ¶
Overview ¶
Package tagmanager provides access to the Tag Manager API.
See https://developers.google.com/tag-manager/api/v1/
Usage example:
import "google.golang.org/api/tagmanager/v1" ... tagmanagerService, err := tagmanager.New(oauthHttpClient)
Index ¶
- Constants
- type Account
- type AccountAccess
- type AccountsContainersCreateCall
- type AccountsContainersDeleteCall
- type AccountsContainersGetCall
- type AccountsContainersListCall
- type AccountsContainersMacrosCreateCall
- type AccountsContainersMacrosDeleteCall
- type AccountsContainersMacrosGetCall
- type AccountsContainersMacrosListCall
- type AccountsContainersMacrosService
- func (r *AccountsContainersMacrosService) Create(accountId string, containerId string, macro *Macro) *AccountsContainersMacrosCreateCall
- func (r *AccountsContainersMacrosService) Delete(accountId string, containerId string, macroId string) *AccountsContainersMacrosDeleteCall
- func (r *AccountsContainersMacrosService) Get(accountId string, containerId string, macroId string) *AccountsContainersMacrosGetCall
- func (r *AccountsContainersMacrosService) List(accountId string, containerId string) *AccountsContainersMacrosListCall
- func (r *AccountsContainersMacrosService) Update(accountId string, containerId string, macroId string, macro *Macro) *AccountsContainersMacrosUpdateCall
- type AccountsContainersMacrosUpdateCall
- type AccountsContainersRulesCreateCall
- type AccountsContainersRulesDeleteCall
- type AccountsContainersRulesGetCall
- type AccountsContainersRulesListCall
- type AccountsContainersRulesService
- func (r *AccountsContainersRulesService) Create(accountId string, containerId string, rule *Rule) *AccountsContainersRulesCreateCall
- func (r *AccountsContainersRulesService) Delete(accountId string, containerId string, ruleId string) *AccountsContainersRulesDeleteCall
- func (r *AccountsContainersRulesService) Get(accountId string, containerId string, ruleId string) *AccountsContainersRulesGetCall
- func (r *AccountsContainersRulesService) List(accountId string, containerId string) *AccountsContainersRulesListCall
- func (r *AccountsContainersRulesService) Update(accountId string, containerId string, ruleId string, rule *Rule) *AccountsContainersRulesUpdateCall
- type AccountsContainersRulesUpdateCall
- type AccountsContainersService
- func (r *AccountsContainersService) Create(accountId string, container *Container) *AccountsContainersCreateCall
- func (r *AccountsContainersService) Delete(accountId string, containerId string) *AccountsContainersDeleteCall
- func (r *AccountsContainersService) Get(accountId string, containerId string) *AccountsContainersGetCall
- func (r *AccountsContainersService) List(accountId string) *AccountsContainersListCall
- func (r *AccountsContainersService) Update(accountId string, containerId string, container *Container) *AccountsContainersUpdateCall
- type AccountsContainersTagsCreateCall
- type AccountsContainersTagsDeleteCall
- type AccountsContainersTagsGetCall
- type AccountsContainersTagsListCall
- type AccountsContainersTagsService
- func (r *AccountsContainersTagsService) Create(accountId string, containerId string, tag *Tag) *AccountsContainersTagsCreateCall
- func (r *AccountsContainersTagsService) Delete(accountId string, containerId string, tagId string) *AccountsContainersTagsDeleteCall
- func (r *AccountsContainersTagsService) Get(accountId string, containerId string, tagId string) *AccountsContainersTagsGetCall
- func (r *AccountsContainersTagsService) List(accountId string, containerId string) *AccountsContainersTagsListCall
- func (r *AccountsContainersTagsService) Update(accountId string, containerId string, tagId string, tag *Tag) *AccountsContainersTagsUpdateCall
- type AccountsContainersTagsUpdateCall
- type AccountsContainersTriggersCreateCall
- type AccountsContainersTriggersDeleteCall
- type AccountsContainersTriggersGetCall
- type AccountsContainersTriggersListCall
- type AccountsContainersTriggersService
- func (r *AccountsContainersTriggersService) Create(accountId string, containerId string, trigger *Trigger) *AccountsContainersTriggersCreateCall
- func (r *AccountsContainersTriggersService) Delete(accountId string, containerId string, triggerId string) *AccountsContainersTriggersDeleteCall
- func (r *AccountsContainersTriggersService) Get(accountId string, containerId string, triggerId string) *AccountsContainersTriggersGetCall
- func (r *AccountsContainersTriggersService) List(accountId string, containerId string) *AccountsContainersTriggersListCall
- func (r *AccountsContainersTriggersService) Update(accountId string, containerId string, triggerId string, trigger *Trigger) *AccountsContainersTriggersUpdateCall
- type AccountsContainersTriggersUpdateCall
- func (c *AccountsContainersTriggersUpdateCall) Do() (*Trigger, error)
- func (c *AccountsContainersTriggersUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersTriggersUpdateCall
- func (c *AccountsContainersTriggersUpdateCall) Fingerprint(fingerprint string) *AccountsContainersTriggersUpdateCall
- type AccountsContainersUpdateCall
- type AccountsContainersVariablesCreateCall
- type AccountsContainersVariablesDeleteCall
- type AccountsContainersVariablesGetCall
- type AccountsContainersVariablesListCall
- type AccountsContainersVariablesService
- func (r *AccountsContainersVariablesService) Create(accountId string, containerId string, variable *Variable) *AccountsContainersVariablesCreateCall
- func (r *AccountsContainersVariablesService) Delete(accountId string, containerId string, variableId string) *AccountsContainersVariablesDeleteCall
- func (r *AccountsContainersVariablesService) Get(accountId string, containerId string, variableId string) *AccountsContainersVariablesGetCall
- func (r *AccountsContainersVariablesService) List(accountId string, containerId string) *AccountsContainersVariablesListCall
- func (r *AccountsContainersVariablesService) Update(accountId string, containerId string, variableId string, variable *Variable) *AccountsContainersVariablesUpdateCall
- type AccountsContainersVariablesUpdateCall
- func (c *AccountsContainersVariablesUpdateCall) Do() (*Variable, error)
- func (c *AccountsContainersVariablesUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersVariablesUpdateCall
- func (c *AccountsContainersVariablesUpdateCall) Fingerprint(fingerprint string) *AccountsContainersVariablesUpdateCall
- type AccountsContainersVersionsCreateCall
- type AccountsContainersVersionsDeleteCall
- type AccountsContainersVersionsGetCall
- type AccountsContainersVersionsListCall
- func (c *AccountsContainersVersionsListCall) Do() (*ListContainerVersionsResponse, error)
- func (c *AccountsContainersVersionsListCall) Fields(s ...googleapi.Field) *AccountsContainersVersionsListCall
- func (c *AccountsContainersVersionsListCall) Headers(headers bool) *AccountsContainersVersionsListCall
- type AccountsContainersVersionsPublishCall
- func (c *AccountsContainersVersionsPublishCall) Do() (*PublishContainerVersionResponse, error)
- func (c *AccountsContainersVersionsPublishCall) Fields(s ...googleapi.Field) *AccountsContainersVersionsPublishCall
- func (c *AccountsContainersVersionsPublishCall) Fingerprint(fingerprint string) *AccountsContainersVersionsPublishCall
- type AccountsContainersVersionsRestoreCall
- type AccountsContainersVersionsService
- func (r *AccountsContainersVersionsService) Create(accountId string, containerId string, ...) *AccountsContainersVersionsCreateCall
- func (r *AccountsContainersVersionsService) Delete(accountId string, containerId string, containerVersionId string) *AccountsContainersVersionsDeleteCall
- func (r *AccountsContainersVersionsService) Get(accountId string, containerId string, containerVersionId string) *AccountsContainersVersionsGetCall
- func (r *AccountsContainersVersionsService) List(accountId string, containerId string) *AccountsContainersVersionsListCall
- func (r *AccountsContainersVersionsService) Publish(accountId string, containerId string, containerVersionId string) *AccountsContainersVersionsPublishCall
- func (r *AccountsContainersVersionsService) Restore(accountId string, containerId string, containerVersionId string) *AccountsContainersVersionsRestoreCall
- func (r *AccountsContainersVersionsService) Undelete(accountId string, containerId string, containerVersionId string) *AccountsContainersVersionsUndeleteCall
- func (r *AccountsContainersVersionsService) Update(accountId string, containerId string, containerVersionId string, ...) *AccountsContainersVersionsUpdateCall
- type AccountsContainersVersionsUndeleteCall
- type AccountsContainersVersionsUpdateCall
- func (c *AccountsContainersVersionsUpdateCall) Do() (*ContainerVersion, error)
- func (c *AccountsContainersVersionsUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersVersionsUpdateCall
- func (c *AccountsContainersVersionsUpdateCall) Fingerprint(fingerprint string) *AccountsContainersVersionsUpdateCall
- type AccountsGetCall
- type AccountsListCall
- type AccountsPermissionsCreateCall
- type AccountsPermissionsDeleteCall
- type AccountsPermissionsGetCall
- type AccountsPermissionsListCall
- type AccountsPermissionsService
- func (r *AccountsPermissionsService) Create(accountId string, useraccess *UserAccess) *AccountsPermissionsCreateCall
- func (r *AccountsPermissionsService) Delete(accountId string, permissionId string) *AccountsPermissionsDeleteCall
- func (r *AccountsPermissionsService) Get(accountId string, permissionId string) *AccountsPermissionsGetCall
- func (r *AccountsPermissionsService) List(accountId string) *AccountsPermissionsListCall
- func (r *AccountsPermissionsService) Update(accountId string, permissionId string, useraccess *UserAccess) *AccountsPermissionsUpdateCall
- type AccountsPermissionsUpdateCall
- type AccountsService
- type AccountsUpdateCall
- type Condition
- type Container
- type ContainerAccess
- type ContainerVersion
- type ContainerVersionHeader
- type CreateContainerVersionRequestVersionOptions
- type CreateContainerVersionResponse
- type ListAccountUsersResponse
- type ListAccountsResponse
- type ListContainerVersionsResponse
- type ListContainersResponse
- type ListMacrosResponse
- type ListRulesResponse
- type ListTagsResponse
- type ListTriggersResponse
- type ListVariablesResponse
- type Macro
- type Parameter
- type PublishContainerVersionResponse
- type Rule
- type Service
- type Tag
- type Trigger
- type UserAccess
- type Variable
Constants ¶
const ( // Delete your Google Tag Manager containers TagmanagerDeleteContainersScope = "https://www.googleapis.com/auth/tagmanager.delete.containers" // Manage your Google Tag Manager containers 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" // Manage your Google Tag Manager accounts TagmanagerManageAccountsScope = "https://www.googleapis.com/auth/tagmanager.manage.accounts" // Manage user permissions of your Google Tag Manager data TagmanagerManageUsersScope = "https://www.googleapis.com/auth/tagmanager.manage.users" // Publish your Google Tag Manager containers TagmanagerPublishScope = "https://www.googleapis.com/auth/tagmanager.publish" // View your Google Tag Manager containers TagmanagerReadonlyScope = "https://www.googleapis.com/auth/tagmanager.readonly" )
OAuth2 scopes used by this API.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { // AccountId: The Account ID uniquely identifies the GTM Account. AccountId string `json:"accountId,omitempty"` // Fingerprint: The fingerprint of the GTM Account as computed at // storage time. This value is recomputed whenever the account is // modified. Fingerprint string `json:"fingerprint,omitempty"` // Name: Account display name. Name string `json:"name,omitempty"` // and others. ShareData bool `json:"shareData,omitempty"` }
type AccountAccess ¶
type AccountAccess struct { // Permission: List of Account permissions. Valid account permissions // are read and manage. Permission []string `json:"permission,omitempty"` }
type AccountsContainersCreateCall ¶
type AccountsContainersCreateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersCreateCall) Do ¶
func (c *AccountsContainersCreateCall) Do() (*Container, error)
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.
type AccountsContainersDeleteCall ¶
type AccountsContainersDeleteCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersDeleteCall) Do ¶
func (c *AccountsContainersDeleteCall) Do() error
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.
type AccountsContainersGetCall ¶
type AccountsContainersGetCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersGetCall) Do ¶
func (c *AccountsContainersGetCall) Do() (*Container, error)
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.
type AccountsContainersListCall ¶
type AccountsContainersListCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersListCall) Do ¶
func (c *AccountsContainersListCall) Do() (*ListContainersResponse, error)
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.
type AccountsContainersMacrosCreateCall ¶
type AccountsContainersMacrosCreateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersMacrosCreateCall) Do ¶
func (c *AccountsContainersMacrosCreateCall) Do() (*Macro, error)
func (*AccountsContainersMacrosCreateCall) Fields ¶
func (c *AccountsContainersMacrosCreateCall) Fields(s ...googleapi.Field) *AccountsContainersMacrosCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type AccountsContainersMacrosDeleteCall ¶
type AccountsContainersMacrosDeleteCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersMacrosDeleteCall) Do ¶
func (c *AccountsContainersMacrosDeleteCall) Do() error
func (*AccountsContainersMacrosDeleteCall) Fields ¶
func (c *AccountsContainersMacrosDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersMacrosDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type AccountsContainersMacrosGetCall ¶
type AccountsContainersMacrosGetCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersMacrosGetCall) Do ¶
func (c *AccountsContainersMacrosGetCall) Do() (*Macro, error)
func (*AccountsContainersMacrosGetCall) Fields ¶
func (c *AccountsContainersMacrosGetCall) Fields(s ...googleapi.Field) *AccountsContainersMacrosGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type AccountsContainersMacrosListCall ¶
type AccountsContainersMacrosListCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersMacrosListCall) Do ¶
func (c *AccountsContainersMacrosListCall) Do() (*ListMacrosResponse, error)
func (*AccountsContainersMacrosListCall) Fields ¶
func (c *AccountsContainersMacrosListCall) Fields(s ...googleapi.Field) *AccountsContainersMacrosListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type AccountsContainersMacrosService ¶
type AccountsContainersMacrosService struct {
// contains filtered or unexported fields
}
func NewAccountsContainersMacrosService ¶
func NewAccountsContainersMacrosService(s *Service) *AccountsContainersMacrosService
func (*AccountsContainersMacrosService) Create ¶
func (r *AccountsContainersMacrosService) Create(accountId string, containerId string, macro *Macro) *AccountsContainersMacrosCreateCall
Create: Creates a GTM Macro.
func (*AccountsContainersMacrosService) Delete ¶
func (r *AccountsContainersMacrosService) Delete(accountId string, containerId string, macroId string) *AccountsContainersMacrosDeleteCall
Delete: Deletes a GTM Macro.
func (*AccountsContainersMacrosService) Get ¶
func (r *AccountsContainersMacrosService) Get(accountId string, containerId string, macroId string) *AccountsContainersMacrosGetCall
Get: Gets a GTM Macro.
func (*AccountsContainersMacrosService) List ¶
func (r *AccountsContainersMacrosService) List(accountId string, containerId string) *AccountsContainersMacrosListCall
List: Lists all GTM Macros of a Container.
func (*AccountsContainersMacrosService) Update ¶
func (r *AccountsContainersMacrosService) Update(accountId string, containerId string, macroId string, macro *Macro) *AccountsContainersMacrosUpdateCall
Update: Updates a GTM Macro.
type AccountsContainersMacrosUpdateCall ¶
type AccountsContainersMacrosUpdateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersMacrosUpdateCall) Do ¶
func (c *AccountsContainersMacrosUpdateCall) Do() (*Macro, error)
func (*AccountsContainersMacrosUpdateCall) Fields ¶
func (c *AccountsContainersMacrosUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersMacrosUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersMacrosUpdateCall) Fingerprint ¶
func (c *AccountsContainersMacrosUpdateCall) Fingerprint(fingerprint string) *AccountsContainersMacrosUpdateCall
Fingerprint sets the optional parameter "fingerprint": When provided, this fingerprint must match the fingerprint of the macro in storage.
type AccountsContainersRulesCreateCall ¶
type AccountsContainersRulesCreateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersRulesCreateCall) Do ¶
func (c *AccountsContainersRulesCreateCall) Do() (*Rule, error)
func (*AccountsContainersRulesCreateCall) Fields ¶
func (c *AccountsContainersRulesCreateCall) Fields(s ...googleapi.Field) *AccountsContainersRulesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type AccountsContainersRulesDeleteCall ¶
type AccountsContainersRulesDeleteCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersRulesDeleteCall) Do ¶
func (c *AccountsContainersRulesDeleteCall) Do() error
func (*AccountsContainersRulesDeleteCall) Fields ¶
func (c *AccountsContainersRulesDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersRulesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type AccountsContainersRulesGetCall ¶
type AccountsContainersRulesGetCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersRulesGetCall) Do ¶
func (c *AccountsContainersRulesGetCall) Do() (*Rule, error)
func (*AccountsContainersRulesGetCall) Fields ¶
func (c *AccountsContainersRulesGetCall) Fields(s ...googleapi.Field) *AccountsContainersRulesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type AccountsContainersRulesListCall ¶
type AccountsContainersRulesListCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersRulesListCall) Do ¶
func (c *AccountsContainersRulesListCall) Do() (*ListRulesResponse, error)
func (*AccountsContainersRulesListCall) Fields ¶
func (c *AccountsContainersRulesListCall) Fields(s ...googleapi.Field) *AccountsContainersRulesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type AccountsContainersRulesService ¶
type AccountsContainersRulesService struct {
// contains filtered or unexported fields
}
func NewAccountsContainersRulesService ¶
func NewAccountsContainersRulesService(s *Service) *AccountsContainersRulesService
func (*AccountsContainersRulesService) Create ¶
func (r *AccountsContainersRulesService) Create(accountId string, containerId string, rule *Rule) *AccountsContainersRulesCreateCall
Create: Creates a GTM Rule.
func (*AccountsContainersRulesService) Delete ¶
func (r *AccountsContainersRulesService) Delete(accountId string, containerId string, ruleId string) *AccountsContainersRulesDeleteCall
Delete: Deletes a GTM Rule.
func (*AccountsContainersRulesService) Get ¶
func (r *AccountsContainersRulesService) Get(accountId string, containerId string, ruleId string) *AccountsContainersRulesGetCall
Get: Gets a GTM Rule.
func (*AccountsContainersRulesService) List ¶
func (r *AccountsContainersRulesService) List(accountId string, containerId string) *AccountsContainersRulesListCall
List: Lists all GTM Rules of a Container.
func (*AccountsContainersRulesService) Update ¶
func (r *AccountsContainersRulesService) Update(accountId string, containerId string, ruleId string, rule *Rule) *AccountsContainersRulesUpdateCall
Update: Updates a GTM Rule.
type AccountsContainersRulesUpdateCall ¶
type AccountsContainersRulesUpdateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersRulesUpdateCall) Do ¶
func (c *AccountsContainersRulesUpdateCall) Do() (*Rule, error)
func (*AccountsContainersRulesUpdateCall) Fields ¶
func (c *AccountsContainersRulesUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersRulesUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersRulesUpdateCall) Fingerprint ¶
func (c *AccountsContainersRulesUpdateCall) Fingerprint(fingerprint string) *AccountsContainersRulesUpdateCall
Fingerprint sets the optional parameter "fingerprint": When provided, this fingerprint must match the fingerprint of the rule in storage.
type AccountsContainersService ¶
type AccountsContainersService struct { Macros *AccountsContainersMacrosService Rules *AccountsContainersRulesService Tags *AccountsContainersTagsService Triggers *AccountsContainersTriggersService Variables *AccountsContainersVariablesService Versions *AccountsContainersVersionsService // contains filtered or unexported fields }
func NewAccountsContainersService ¶
func NewAccountsContainersService(s *Service) *AccountsContainersService
func (*AccountsContainersService) Create ¶
func (r *AccountsContainersService) Create(accountId string, container *Container) *AccountsContainersCreateCall
Create: Creates a Container.
func (*AccountsContainersService) Delete ¶
func (r *AccountsContainersService) Delete(accountId string, containerId string) *AccountsContainersDeleteCall
Delete: Deletes a Container.
func (*AccountsContainersService) Get ¶
func (r *AccountsContainersService) Get(accountId string, containerId string) *AccountsContainersGetCall
Get: Gets a Container.
func (*AccountsContainersService) List ¶
func (r *AccountsContainersService) List(accountId string) *AccountsContainersListCall
List: Lists all Containers that belongs to a GTM Account.
func (*AccountsContainersService) Update ¶
func (r *AccountsContainersService) Update(accountId string, containerId string, container *Container) *AccountsContainersUpdateCall
Update: Updates a Container.
type AccountsContainersTagsCreateCall ¶
type AccountsContainersTagsCreateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersTagsCreateCall) Do ¶
func (c *AccountsContainersTagsCreateCall) Do() (*Tag, error)
func (*AccountsContainersTagsCreateCall) Fields ¶
func (c *AccountsContainersTagsCreateCall) Fields(s ...googleapi.Field) *AccountsContainersTagsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type AccountsContainersTagsDeleteCall ¶
type AccountsContainersTagsDeleteCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersTagsDeleteCall) Do ¶
func (c *AccountsContainersTagsDeleteCall) Do() error
func (*AccountsContainersTagsDeleteCall) Fields ¶
func (c *AccountsContainersTagsDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersTagsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type AccountsContainersTagsGetCall ¶
type AccountsContainersTagsGetCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersTagsGetCall) Do ¶
func (c *AccountsContainersTagsGetCall) Do() (*Tag, error)
func (*AccountsContainersTagsGetCall) Fields ¶
func (c *AccountsContainersTagsGetCall) Fields(s ...googleapi.Field) *AccountsContainersTagsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type AccountsContainersTagsListCall ¶
type AccountsContainersTagsListCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersTagsListCall) Do ¶
func (c *AccountsContainersTagsListCall) Do() (*ListTagsResponse, error)
func (*AccountsContainersTagsListCall) Fields ¶
func (c *AccountsContainersTagsListCall) Fields(s ...googleapi.Field) *AccountsContainersTagsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type AccountsContainersTagsService ¶
type AccountsContainersTagsService struct {
// contains filtered or unexported fields
}
func NewAccountsContainersTagsService ¶
func NewAccountsContainersTagsService(s *Service) *AccountsContainersTagsService
func (*AccountsContainersTagsService) Create ¶
func (r *AccountsContainersTagsService) Create(accountId string, containerId string, tag *Tag) *AccountsContainersTagsCreateCall
Create: Creates a GTM Tag.
func (*AccountsContainersTagsService) Delete ¶
func (r *AccountsContainersTagsService) Delete(accountId string, containerId string, tagId string) *AccountsContainersTagsDeleteCall
Delete: Deletes a GTM Tag.
func (*AccountsContainersTagsService) Get ¶
func (r *AccountsContainersTagsService) Get(accountId string, containerId string, tagId string) *AccountsContainersTagsGetCall
Get: Gets a GTM Tag.
func (*AccountsContainersTagsService) List ¶
func (r *AccountsContainersTagsService) List(accountId string, containerId string) *AccountsContainersTagsListCall
List: Lists all GTM Tags of a Container.
func (*AccountsContainersTagsService) Update ¶
func (r *AccountsContainersTagsService) Update(accountId string, containerId string, tagId string, tag *Tag) *AccountsContainersTagsUpdateCall
Update: Updates a GTM Tag.
type AccountsContainersTagsUpdateCall ¶
type AccountsContainersTagsUpdateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersTagsUpdateCall) Do ¶
func (c *AccountsContainersTagsUpdateCall) Do() (*Tag, error)
func (*AccountsContainersTagsUpdateCall) Fields ¶
func (c *AccountsContainersTagsUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersTagsUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersTagsUpdateCall) Fingerprint ¶
func (c *AccountsContainersTagsUpdateCall) Fingerprint(fingerprint string) *AccountsContainersTagsUpdateCall
Fingerprint sets the optional parameter "fingerprint": When provided, this fingerprint must match the fingerprint of the tag in storage.
type AccountsContainersTriggersCreateCall ¶
type AccountsContainersTriggersCreateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersTriggersCreateCall) Do ¶
func (c *AccountsContainersTriggersCreateCall) Do() (*Trigger, error)
func (*AccountsContainersTriggersCreateCall) Fields ¶
func (c *AccountsContainersTriggersCreateCall) Fields(s ...googleapi.Field) *AccountsContainersTriggersCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type AccountsContainersTriggersDeleteCall ¶
type AccountsContainersTriggersDeleteCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersTriggersDeleteCall) Do ¶
func (c *AccountsContainersTriggersDeleteCall) Do() error
func (*AccountsContainersTriggersDeleteCall) Fields ¶
func (c *AccountsContainersTriggersDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersTriggersDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type AccountsContainersTriggersGetCall ¶
type AccountsContainersTriggersGetCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersTriggersGetCall) Do ¶
func (c *AccountsContainersTriggersGetCall) Do() (*Trigger, error)
func (*AccountsContainersTriggersGetCall) Fields ¶
func (c *AccountsContainersTriggersGetCall) Fields(s ...googleapi.Field) *AccountsContainersTriggersGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type AccountsContainersTriggersListCall ¶
type AccountsContainersTriggersListCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersTriggersListCall) Do ¶
func (c *AccountsContainersTriggersListCall) Do() (*ListTriggersResponse, error)
func (*AccountsContainersTriggersListCall) Fields ¶
func (c *AccountsContainersTriggersListCall) Fields(s ...googleapi.Field) *AccountsContainersTriggersListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type AccountsContainersTriggersService ¶
type AccountsContainersTriggersService struct {
// contains filtered or unexported fields
}
func NewAccountsContainersTriggersService ¶
func NewAccountsContainersTriggersService(s *Service) *AccountsContainersTriggersService
func (*AccountsContainersTriggersService) Create ¶
func (r *AccountsContainersTriggersService) Create(accountId string, containerId string, trigger *Trigger) *AccountsContainersTriggersCreateCall
Create: Creates a GTM Trigger.
func (*AccountsContainersTriggersService) Delete ¶
func (r *AccountsContainersTriggersService) Delete(accountId string, containerId string, triggerId string) *AccountsContainersTriggersDeleteCall
Delete: Deletes a GTM Trigger.
func (*AccountsContainersTriggersService) Get ¶
func (r *AccountsContainersTriggersService) Get(accountId string, containerId string, triggerId string) *AccountsContainersTriggersGetCall
Get: Gets a GTM Trigger.
func (*AccountsContainersTriggersService) List ¶
func (r *AccountsContainersTriggersService) List(accountId string, containerId string) *AccountsContainersTriggersListCall
List: Lists all GTM Triggers of a Container.
func (*AccountsContainersTriggersService) Update ¶
func (r *AccountsContainersTriggersService) Update(accountId string, containerId string, triggerId string, trigger *Trigger) *AccountsContainersTriggersUpdateCall
Update: Updates a GTM Trigger.
type AccountsContainersTriggersUpdateCall ¶
type AccountsContainersTriggersUpdateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersTriggersUpdateCall) Do ¶
func (c *AccountsContainersTriggersUpdateCall) Do() (*Trigger, error)
func (*AccountsContainersTriggersUpdateCall) Fields ¶
func (c *AccountsContainersTriggersUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersTriggersUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersTriggersUpdateCall) Fingerprint ¶
func (c *AccountsContainersTriggersUpdateCall) Fingerprint(fingerprint string) *AccountsContainersTriggersUpdateCall
Fingerprint sets the optional parameter "fingerprint": When provided, this fingerprint must match the fingerprint of the trigger in storage.
type AccountsContainersUpdateCall ¶
type AccountsContainersUpdateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersUpdateCall) Do ¶
func (c *AccountsContainersUpdateCall) Do() (*Container, error)
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.
type AccountsContainersVariablesCreateCall ¶
type AccountsContainersVariablesCreateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersVariablesCreateCall) Do ¶
func (c *AccountsContainersVariablesCreateCall) Do() (*Variable, error)
func (*AccountsContainersVariablesCreateCall) Fields ¶
func (c *AccountsContainersVariablesCreateCall) Fields(s ...googleapi.Field) *AccountsContainersVariablesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type AccountsContainersVariablesDeleteCall ¶
type AccountsContainersVariablesDeleteCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersVariablesDeleteCall) Do ¶
func (c *AccountsContainersVariablesDeleteCall) Do() error
func (*AccountsContainersVariablesDeleteCall) Fields ¶
func (c *AccountsContainersVariablesDeleteCall) Fields(s ...googleapi.Field) *AccountsContainersVariablesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type AccountsContainersVariablesGetCall ¶
type AccountsContainersVariablesGetCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersVariablesGetCall) Do ¶
func (c *AccountsContainersVariablesGetCall) Do() (*Variable, error)
func (*AccountsContainersVariablesGetCall) Fields ¶
func (c *AccountsContainersVariablesGetCall) Fields(s ...googleapi.Field) *AccountsContainersVariablesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type AccountsContainersVariablesListCall ¶
type AccountsContainersVariablesListCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersVariablesListCall) Do ¶
func (c *AccountsContainersVariablesListCall) Do() (*ListVariablesResponse, error)
func (*AccountsContainersVariablesListCall) Fields ¶
func (c *AccountsContainersVariablesListCall) Fields(s ...googleapi.Field) *AccountsContainersVariablesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type AccountsContainersVariablesService ¶
type AccountsContainersVariablesService struct {
// contains filtered or unexported fields
}
func NewAccountsContainersVariablesService ¶
func NewAccountsContainersVariablesService(s *Service) *AccountsContainersVariablesService
func (*AccountsContainersVariablesService) Create ¶
func (r *AccountsContainersVariablesService) Create(accountId string, containerId string, variable *Variable) *AccountsContainersVariablesCreateCall
Create: Creates a GTM Variable.
func (*AccountsContainersVariablesService) Delete ¶
func (r *AccountsContainersVariablesService) Delete(accountId string, containerId string, variableId string) *AccountsContainersVariablesDeleteCall
Delete: Deletes a GTM Variable.
func (*AccountsContainersVariablesService) Get ¶
func (r *AccountsContainersVariablesService) Get(accountId string, containerId string, variableId string) *AccountsContainersVariablesGetCall
Get: Gets a GTM Variable.
func (*AccountsContainersVariablesService) List ¶
func (r *AccountsContainersVariablesService) List(accountId string, containerId string) *AccountsContainersVariablesListCall
List: Lists all GTM Variables of a Container.
func (*AccountsContainersVariablesService) Update ¶
func (r *AccountsContainersVariablesService) Update(accountId string, containerId string, variableId string, variable *Variable) *AccountsContainersVariablesUpdateCall
Update: Updates a GTM Variable.
type AccountsContainersVariablesUpdateCall ¶
type AccountsContainersVariablesUpdateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersVariablesUpdateCall) Do ¶
func (c *AccountsContainersVariablesUpdateCall) Do() (*Variable, error)
func (*AccountsContainersVariablesUpdateCall) Fields ¶
func (c *AccountsContainersVariablesUpdateCall) Fields(s ...googleapi.Field) *AccountsContainersVariablesUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersVariablesUpdateCall) Fingerprint ¶
func (c *AccountsContainersVariablesUpdateCall) Fingerprint(fingerprint string) *AccountsContainersVariablesUpdateCall
Fingerprint sets the optional parameter "fingerprint": When provided, this fingerprint must match the fingerprint of the variable in storage.
type AccountsContainersVersionsCreateCall ¶
type AccountsContainersVersionsCreateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersVersionsCreateCall) Do ¶
func (c *AccountsContainersVersionsCreateCall) Do() (*CreateContainerVersionResponse, error)
func (*AccountsContainersVersionsCreateCall) Fields ¶
func (c *AccountsContainersVersionsCreateCall) Fields(s ...googleapi.Field) *AccountsContainersVersionsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type AccountsContainersVersionsDeleteCall ¶
type AccountsContainersVersionsDeleteCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersVersionsDeleteCall) Do ¶
func (c *AccountsContainersVersionsDeleteCall) Do() error
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.
type AccountsContainersVersionsGetCall ¶
type AccountsContainersVersionsGetCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersVersionsGetCall) Do ¶
func (c *AccountsContainersVersionsGetCall) Do() (*ContainerVersion, error)
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.
type AccountsContainersVersionsListCall ¶
type AccountsContainersVersionsListCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersVersionsListCall) Do ¶
func (c *AccountsContainersVersionsListCall) Do() (*ListContainerVersionsResponse, error)
func (*AccountsContainersVersionsListCall) Fields ¶
func (c *AccountsContainersVersionsListCall) Fields(s ...googleapi.Field) *AccountsContainersVersionsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsContainersVersionsListCall) Headers ¶
func (c *AccountsContainersVersionsListCall) Headers(headers bool) *AccountsContainersVersionsListCall
Headers sets the optional parameter "headers": Retrieve headers only when true.
type AccountsContainersVersionsPublishCall ¶
type AccountsContainersVersionsPublishCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersVersionsPublishCall) Do ¶
func (c *AccountsContainersVersionsPublishCall) Do() (*PublishContainerVersionResponse, error)
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.
type AccountsContainersVersionsRestoreCall ¶
type AccountsContainersVersionsRestoreCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersVersionsRestoreCall) Do ¶
func (c *AccountsContainersVersionsRestoreCall) Do() (*ContainerVersion, error)
func (*AccountsContainersVersionsRestoreCall) Fields ¶
func (c *AccountsContainersVersionsRestoreCall) Fields(s ...googleapi.Field) *AccountsContainersVersionsRestoreCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type AccountsContainersVersionsService ¶
type AccountsContainersVersionsService struct {
// contains filtered or unexported fields
}
func NewAccountsContainersVersionsService ¶
func NewAccountsContainersVersionsService(s *Service) *AccountsContainersVersionsService
func (*AccountsContainersVersionsService) Create ¶
func (r *AccountsContainersVersionsService) Create(accountId string, containerId string, createcontainerversionrequestversionoptions *CreateContainerVersionRequestVersionOptions) *AccountsContainersVersionsCreateCall
Create: Creates a Container Version.
func (*AccountsContainersVersionsService) Delete ¶
func (r *AccountsContainersVersionsService) Delete(accountId string, containerId string, containerVersionId string) *AccountsContainersVersionsDeleteCall
Delete: Deletes a Container Version.
func (*AccountsContainersVersionsService) Get ¶
func (r *AccountsContainersVersionsService) Get(accountId string, containerId string, containerVersionId string) *AccountsContainersVersionsGetCall
Get: Gets a Container Version.
func (*AccountsContainersVersionsService) List ¶
func (r *AccountsContainersVersionsService) List(accountId string, containerId string) *AccountsContainersVersionsListCall
List: Lists all Container Versions of a GTM Container.
func (*AccountsContainersVersionsService) Publish ¶
func (r *AccountsContainersVersionsService) Publish(accountId string, containerId string, containerVersionId string) *AccountsContainersVersionsPublishCall
Publish: Publishes a Container Version.
func (*AccountsContainersVersionsService) Restore ¶
func (r *AccountsContainersVersionsService) Restore(accountId string, containerId string, containerVersionId string) *AccountsContainersVersionsRestoreCall
Restore: Restores a Container Version. This will overwrite the container's current configuration (including its macros, rules and tags). The operation will not have any effect on the version that is being served (i.e. the published version).
func (*AccountsContainersVersionsService) Undelete ¶
func (r *AccountsContainersVersionsService) Undelete(accountId string, containerId string, containerVersionId string) *AccountsContainersVersionsUndeleteCall
Undelete: Undeletes a Container Version.
func (*AccountsContainersVersionsService) Update ¶
func (r *AccountsContainersVersionsService) Update(accountId string, containerId string, containerVersionId string, containerversion *ContainerVersion) *AccountsContainersVersionsUpdateCall
Update: Updates a Container Version.
type AccountsContainersVersionsUndeleteCall ¶
type AccountsContainersVersionsUndeleteCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersVersionsUndeleteCall) Do ¶
func (c *AccountsContainersVersionsUndeleteCall) Do() (*ContainerVersion, error)
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.
type AccountsContainersVersionsUpdateCall ¶
type AccountsContainersVersionsUpdateCall struct {
// contains filtered or unexported fields
}
func (*AccountsContainersVersionsUpdateCall) Do ¶
func (c *AccountsContainersVersionsUpdateCall) Do() (*ContainerVersion, error)
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.
type AccountsGetCall ¶
type AccountsGetCall struct {
// contains filtered or unexported fields
}
func (*AccountsGetCall) Do ¶
func (c *AccountsGetCall) Do() (*Account, error)
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.
type AccountsListCall ¶
type AccountsListCall struct {
// contains filtered or unexported fields
}
func (*AccountsListCall) Do ¶
func (c *AccountsListCall) Do() (*ListAccountsResponse, error)
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.
type AccountsPermissionsCreateCall ¶
type AccountsPermissionsCreateCall struct {
// contains filtered or unexported fields
}
func (*AccountsPermissionsCreateCall) Do ¶
func (c *AccountsPermissionsCreateCall) Do() (*UserAccess, error)
func (*AccountsPermissionsCreateCall) Fields ¶
func (c *AccountsPermissionsCreateCall) Fields(s ...googleapi.Field) *AccountsPermissionsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type AccountsPermissionsDeleteCall ¶
type AccountsPermissionsDeleteCall struct {
// contains filtered or unexported fields
}
func (*AccountsPermissionsDeleteCall) Do ¶
func (c *AccountsPermissionsDeleteCall) Do() error
func (*AccountsPermissionsDeleteCall) Fields ¶
func (c *AccountsPermissionsDeleteCall) Fields(s ...googleapi.Field) *AccountsPermissionsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type AccountsPermissionsGetCall ¶
type AccountsPermissionsGetCall struct {
// contains filtered or unexported fields
}
func (*AccountsPermissionsGetCall) Do ¶
func (c *AccountsPermissionsGetCall) Do() (*UserAccess, error)
func (*AccountsPermissionsGetCall) Fields ¶
func (c *AccountsPermissionsGetCall) Fields(s ...googleapi.Field) *AccountsPermissionsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type AccountsPermissionsListCall ¶
type AccountsPermissionsListCall struct {
// contains filtered or unexported fields
}
func (*AccountsPermissionsListCall) Do ¶
func (c *AccountsPermissionsListCall) Do() (*ListAccountUsersResponse, error)
func (*AccountsPermissionsListCall) Fields ¶
func (c *AccountsPermissionsListCall) Fields(s ...googleapi.Field) *AccountsPermissionsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type AccountsPermissionsService ¶
type AccountsPermissionsService struct {
// contains filtered or unexported fields
}
func NewAccountsPermissionsService ¶
func NewAccountsPermissionsService(s *Service) *AccountsPermissionsService
func (*AccountsPermissionsService) Create ¶
func (r *AccountsPermissionsService) Create(accountId string, useraccess *UserAccess) *AccountsPermissionsCreateCall
Create: Creates a user's Account & Container Permissions.
func (*AccountsPermissionsService) Delete ¶
func (r *AccountsPermissionsService) Delete(accountId string, permissionId string) *AccountsPermissionsDeleteCall
Delete: Removes a user from the account, revoking access to it and all of its containers.
func (*AccountsPermissionsService) Get ¶
func (r *AccountsPermissionsService) Get(accountId string, permissionId string) *AccountsPermissionsGetCall
Get: Gets a user's Account & Container Permissions.
func (*AccountsPermissionsService) List ¶
func (r *AccountsPermissionsService) List(accountId string) *AccountsPermissionsListCall
List: List all users that have access to the account along with Account and Container Permissions granted to each of them.
func (*AccountsPermissionsService) Update ¶
func (r *AccountsPermissionsService) Update(accountId string, permissionId string, useraccess *UserAccess) *AccountsPermissionsUpdateCall
Update: Updates a user's Account & Container Permissions.
type AccountsPermissionsUpdateCall ¶
type AccountsPermissionsUpdateCall struct {
// contains filtered or unexported fields
}
func (*AccountsPermissionsUpdateCall) Do ¶
func (c *AccountsPermissionsUpdateCall) Do() (*UserAccess, error)
func (*AccountsPermissionsUpdateCall) Fields ¶
func (c *AccountsPermissionsUpdateCall) Fields(s ...googleapi.Field) *AccountsPermissionsUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type AccountsService ¶
type AccountsService struct { Containers *AccountsContainersService Permissions *AccountsPermissionsService // contains filtered or unexported fields }
func NewAccountsService ¶
func NewAccountsService(s *Service) *AccountsService
func (*AccountsService) Get ¶
func (r *AccountsService) Get(accountId string) *AccountsGetCall
Get: Gets a GTM Account.
func (*AccountsService) List ¶
func (r *AccountsService) List() *AccountsListCall
List: Lists all GTM Accounts that a user has access to.
func (*AccountsService) Update ¶
func (r *AccountsService) Update(accountId string, account *Account) *AccountsUpdateCall
Update: Updates a GTM Account.
type AccountsUpdateCall ¶
type AccountsUpdateCall struct {
// contains filtered or unexported fields
}
func (*AccountsUpdateCall) Do ¶
func (c *AccountsUpdateCall) Do() (*Account, error)
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.
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 macro. // - For case-insensitive Regex matching, include // a boolean parameter named ignore_case that is set to true. If not // specified or set to any other value, the matching will be case // sensitive. // - To negate an operator, include a boolean parameter // named negate boolean parameter that is set to true. Parameter []*Parameter `json:"parameter,omitempty"` // Type: The type of operator for this condition. Type string `json:"type,omitempty"` }
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: Optional list of domain names associated with the // Container. DomainName []string `json:"domainName,omitempty"` // EnabledBuiltInVariable: List of enabled built-in variables. Valid // values include: pageUrl, pageHostname, pagePath, referrer, event, // clickElement, clickClasses, clickId, clickTarget, clickUrl, // clickText, formElement, formClasses, formId, formTarget, formUrl, // formText, errorMessage, errorUrl, errorLine, newHistoryFragment, // oldHistoryFragment, newHistoryState, oldHistoryState, historySource, // containerVersion, debugMode, randomNumber, containerId. EnabledBuiltInVariable []string `json:"enabledBuiltInVariable,omitempty"` // Fingerprint: The fingerprint of the GTM Container as computed at // storage time. This value is recomputed whenever the account is // modified. Fingerprint string `json:"fingerprint,omitempty"` // Name: Container display name. Name string `json:"name,omitempty"` // Notes: Container Notes. Notes string `json:"notes,omitempty"` // PublicId: Container Public ID. PublicId string `json:"publicId,omitempty"` // TimeZoneCountryId: Container Country ID. TimeZoneCountryId string `json:"timeZoneCountryId,omitempty"` // TimeZoneId: Container Time Zone ID. TimeZoneId string `json:"timeZoneId,omitempty"` // UsageContext: List of Usage Contexts for the Container. Valid values // include: web, android, ios. UsageContext []string `json:"usageContext,omitempty"` }
type ContainerAccess ¶
type ContainerVersion ¶
type ContainerVersion struct { // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // Container: The container that this version was taken from. Container *Container `json:"container,omitempty"` // ContainerId: GTM Container ID. ContainerId string `json:"containerId,omitempty"` // ContainerVersionId: The Container Version ID uniquely identifies the // GTM Container Version. ContainerVersionId string `json:"containerVersionId,omitempty"` // Deleted: A value of true indicates this container version has been // deleted. Deleted bool `json:"deleted,omitempty"` // Fingerprint: The fingerprint of the GTM Container Version as computed // at storage time. This value is recomputed whenever the container // version is modified. Fingerprint string `json:"fingerprint,omitempty"` // Macro: The macros in the container that this version was taken from. Macro []*Macro `json:"macro,omitempty"` // Name: Container version display name. Name string `json:"name,omitempty"` // Notes: User notes on how to apply this container version in the // container. Notes string `json:"notes,omitempty"` // Rule: The rules in the container that this version was taken from. Rule []*Rule `json:"rule,omitempty"` // Tag: The tags in the container that this version was taken from. Tag []*Tag `json:"tag,omitempty"` // Trigger: The triggers in the container that this version was taken // from. Trigger []*Trigger `json:"trigger,omitempty"` // Variable: The variables in the container that this version was taken // from. Variable []*Variable `json:"variable,omitempty"` }
type ContainerVersionHeader ¶
type ContainerVersionHeader struct { // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // ContainerId: GTM Container ID. ContainerId string `json:"containerId,omitempty"` // ContainerVersionId: The Container Version ID uniquely identifies the // GTM Container Version. ContainerVersionId string `json:"containerVersionId,omitempty"` // Deleted: A value of true indicates this container version has been // deleted. Deleted bool `json:"deleted,omitempty"` // Name: Container version display name. Name string `json:"name,omitempty"` // NumMacros: Number of macros in the container version. NumMacros string `json:"numMacros,omitempty"` // NumRules: Number of rules in the container version. NumRules string `json:"numRules,omitempty"` // NumTags: Number of tags in the container version. NumTags string `json:"numTags,omitempty"` // NumTriggers: Number of triggers in the container version. NumTriggers string `json:"numTriggers,omitempty"` // NumVariables: Number of variables in the container version. NumVariables string `json:"numVariables,omitempty"` }
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"` // QuickPreview: The creation of this version may be for quick preview // and shouldn't be saved. QuickPreview bool `json:"quickPreview,omitempty"` }
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"` }
type ListAccountUsersResponse ¶
type ListAccountUsersResponse struct { // UserAccess: All GTM AccountUsers of a GTM Account. UserAccess []*UserAccess `json:"userAccess,omitempty"` }
type ListAccountsResponse ¶
type ListAccountsResponse struct { // Accounts: List of GTM Accounts that a user has access to. Accounts []*Account `json:"accounts,omitempty"` }
type ListContainerVersionsResponse ¶
type ListContainerVersionsResponse struct { // ContainerVersion: All versions of a GTM Container. ContainerVersion []*ContainerVersion `json:"containerVersion,omitempty"` // ContainerVersionHeader: All container version headers of a GTM // Container. ContainerVersionHeader []*ContainerVersionHeader `json:"containerVersionHeader,omitempty"` }
type ListContainersResponse ¶
type ListContainersResponse struct { // Containers: All Containers of a GTM Account. Containers []*Container `json:"containers,omitempty"` }
type ListMacrosResponse ¶
type ListMacrosResponse struct { // Macros: All GTM Macros of a GTM Container. Macros []*Macro `json:"macros,omitempty"` }
type ListRulesResponse ¶
type ListRulesResponse struct { // Rules: All GTM Rules of a GTM Container. Rules []*Rule `json:"rules,omitempty"` }
type ListTagsResponse ¶
type ListTagsResponse struct { // Tags: All GTM Tags of a GTM Container. Tags []*Tag `json:"tags,omitempty"` }
type ListTriggersResponse ¶
type ListTriggersResponse struct { // Triggers: All GTM Triggers of a GTM Container. Triggers []*Trigger `json:"triggers,omitempty"` }
type ListVariablesResponse ¶
type ListVariablesResponse struct { // Variables: All GTM Variables of a GTM Container. Variables []*Variable `json:"variables,omitempty"` }
type Macro ¶
type Macro struct { // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // ContainerId: GTM Container ID. ContainerId string `json:"containerId,omitempty"` // DisablingRuleId: For mobile containers only: A list of rule IDs for // disabling conditional macros; the macro is enabled if one of the // enabling rules is true while all the disabling rules are false. // Treated as an unordered set. DisablingRuleId []string `json:"disablingRuleId,omitempty"` // EnablingRuleId: For mobile containers only: A list of rule IDs for // enabling conditional macros; the macro is enabled if one of the // enabling rules is true while all the disabling rules are false. // Treated as an unordered set. EnablingRuleId []string `json:"enablingRuleId,omitempty"` // Fingerprint: The fingerprint of the GTM Macro as computed at storage // time. This value is recomputed whenever the macro is modified. Fingerprint string `json:"fingerprint,omitempty"` // MacroId: The Macro ID uniquely identifies the GTM Macro. MacroId string `json:"macroId,omitempty"` // Name: Macro display name. Name string `json:"name,omitempty"` // Notes: User notes on how to apply this macro in the container. Notes string `json:"notes,omitempty"` // Parameter: The macro's parameters. Parameter []*Parameter `json:"parameter,omitempty"` // ScheduleEndMs: The end timestamp in milliseconds to schedule a macro. ScheduleEndMs int64 `json:"scheduleEndMs,omitempty,string"` // ScheduleStartMs: The start timestamp in milliseconds to schedule a // macro. ScheduleStartMs int64 `json:"scheduleStartMs,omitempty,string"` // Type: GTM Macro Type. Type string `json:"type,omitempty"` }
type Parameter ¶
type Parameter struct { // Key: The named key that uniquely identifies a parameter. Required for // top-level parameters, as well as map values. Ignored for list values. Key string `json:"key,omitempty"` // List: This list parameter's parameters (keys will be ignored). List []*Parameter `json:"list,omitempty"` // Map: This map parameter's parameters (must have keys; keys must be // unique). Map []*Parameter `json:"map,omitempty"` // Type: The parameter type. Valid values are: // - boolean: The value // represents a boolean, represented as 'true' or 'false' // - integer: // The value represents a 64-bit signed integer value, in base 10 // - // list: A list of parameters should be specified // - map: A map of // parameters should be specified // - template: The value represents any // text; this can include macro references (even macro references that // might return non-string types) Type string `json:"type,omitempty"` // Value: A parameter's value (may contain macro references such as // "{{myMacro}}") as appropriate to the specified type. Value string `json:"value,omitempty"` }
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"` }
type Rule ¶
type Rule struct { // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // Condition: The list of conditions that make up this rule (implicit // AND between them). Condition []*Condition `json:"condition,omitempty"` // ContainerId: GTM Container ID. ContainerId string `json:"containerId,omitempty"` // Fingerprint: The fingerprint of the GTM Rule as computed at storage // time. This value is recomputed whenever the rule is modified. Fingerprint string `json:"fingerprint,omitempty"` // Name: Rule display name. Name string `json:"name,omitempty"` // Notes: User notes on how to apply this rule in the container. Notes string `json:"notes,omitempty"` // RuleId: The Rule ID uniquely identifies the GTM Rule. RuleId string `json:"ruleId,omitempty"` }
type Service ¶
type Service struct { BasePath string // API endpoint base URL Accounts *AccountsService // contains filtered or unexported fields }
type Tag ¶
type Tag struct { // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // BlockingRuleId: Blocking rule IDs. If any of the listed rules // evaluate to true, the tag will not fire. BlockingRuleId []string `json:"blockingRuleId,omitempty"` // BlockingTriggerId: Blocking trigger IDs. If any of the listed // triggers evaluate to true, the tag will not fire. BlockingTriggerId []string `json:"blockingTriggerId,omitempty"` // ContainerId: GTM Container ID. ContainerId string `json:"containerId,omitempty"` // Fingerprint: The fingerprint of the GTM Tag as computed at storage // time. This value is recomputed whenever the tag is modified. Fingerprint string `json:"fingerprint,omitempty"` // FiringRuleId: Firing rule IDs. A tag will fire when any of the listed // rules are true and all of its blockingRuleIds (if any specified) are // false. FiringRuleId []string `json:"firingRuleId,omitempty"` // FiringTriggerId: Firing trigger IDs. A tag will fire when any of the // listed triggers are true and all of its blockingTriggerIds (if any // specified) are false. FiringTriggerId []string `json:"firingTriggerId,omitempty"` // LiveOnly: If set to true, this tag will only fire in the live // environment (e.g. not in preview or debug mode). LiveOnly bool `json:"liveOnly,omitempty"` // Name: Tag display name. Name string `json:"name,omitempty"` // Notes: User notes on how to apply this tag in the container. Notes string `json:"notes,omitempty"` // Parameter: The tag's parameters. Parameter []*Parameter `json:"parameter,omitempty"` // Priority: User defined numeric priority of the tag. Tags are fired // asynchronously in order of priority. Tags with higher numeric value // fire first. A tag's priority can be a positive or negative value. The // default value is 0. Priority *Parameter `json:"priority,omitempty"` // ScheduleEndMs: The end timestamp in milliseconds to schedule a tag. ScheduleEndMs int64 `json:"scheduleEndMs,omitempty,string"` // ScheduleStartMs: The start timestamp in milliseconds to schedule a // tag. ScheduleStartMs int64 `json:"scheduleStartMs,omitempty,string"` // TagId: The Tag ID uniquely identifies the GTM Tag. TagId string `json:"tagId,omitempty"` // Type: GTM Tag Type. Type string `json:"type,omitempty"` }
type Trigger ¶
type Trigger struct { // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // AutoEventFilter: Used in the case of auto event tracking. AutoEventFilter []*Condition `json:"autoEventFilter,omitempty"` // CheckValidation: Whether or not we should only fire tags if the form // submit or link click event is not cancelled by some other event // handler (e.g. because of validation). Only valid for Form Submission // and Link Click triggers. CheckValidation *Parameter `json:"checkValidation,omitempty"` // ContainerId: GTM Container ID. ContainerId string `json:"containerId,omitempty"` // CustomEventFilter: Used in the case of custom event, which is fired // iff all Conditions are true. CustomEventFilter []*Condition `json:"customEventFilter,omitempty"` // EnableAllVideos: Reloads the videos in the page that don't already // have the YT API enabled. If false, only capture events from videos // that already have the API enabled. Only valid for YouTube triggers. EnableAllVideos *Parameter `json:"enableAllVideos,omitempty"` // EventName: Name of the GTM event that is fired. Only valid for Timer // triggers. EventName *Parameter `json:"eventName,omitempty"` // Filter: The trigger will only fire iff all Conditions are true. Filter []*Condition `json:"filter,omitempty"` // Fingerprint: The fingerprint of the GTM Trigger as computed at // storage time. This value is recomputed whenever the trigger is // modified. Fingerprint string `json:"fingerprint,omitempty"` // Interval: Time between triggering recurring Timer Events (in // milliseconds). Only valid for Timer triggers. Interval *Parameter `json:"interval,omitempty"` // Limit: Limit of the number of GTM events this Timer Trigger will // fire. If no limit is set, we will continue to fire GTM events until // the user leaves the page. Only valid for Timer triggers. Limit *Parameter `json:"limit,omitempty"` // Name: Trigger display name. Name string `json:"name,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. Type string `json:"type,omitempty"` // UniqueTriggerId: Globally unique id of the trigger that // auto-generates this (a Form Submit, Link Click or Timer listener) if // any. Used to make incompatible auto-events work together with trigger // filtering based on trigger ids. This value is populated during output // generation since the tags implied by triggers don't exist until then. // Only valid for Form Submit, Link Click and Timer triggers. UniqueTriggerId *Parameter `json:"uniqueTriggerId,omitempty"` // VideoPercentageList: List of integer percentage values. The trigger // will fire as each percentage is reached in any instrumented videos. // Only valid for YouTube triggers. VideoPercentageList *Parameter `json:"videoPercentageList,omitempty"` // WaitForTags: Whether or not we should delay the form submissions or // link opening until all of the tags have fired (by preventing the // default action and later simulating the default action). Only valid // for Form Submission and Link Click triggers. WaitForTags *Parameter `json:"waitForTags,omitempty"` // WaitForTagsTimeout: How long to wait (in milliseconds) for tags to // fire when 'waits_for_tags' above evaluates to true. Only valid for // Form Submission and Link Click triggers. WaitForTagsTimeout *Parameter `json:"waitForTagsTimeout,omitempty"` }
type UserAccess ¶
type UserAccess struct { // AccountAccess: GTM Account access permissions. AccountAccess *AccountAccess `json:"accountAccess,omitempty"` // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // ContainerAccess: GTM Container access permissions. ContainerAccess []*ContainerAccess `json:"containerAccess,omitempty"` // EmailAddress: User's email address. EmailAddress string `json:"emailAddress,omitempty"` // PermissionId: Account Permission ID. PermissionId string `json:"permissionId,omitempty"` }
type Variable ¶
type Variable struct { // AccountId: GTM Account ID. AccountId string `json:"accountId,omitempty"` // ContainerId: GTM Container ID. ContainerId string `json:"containerId,omitempty"` // DisablingTriggerId: For mobile containers only: A list of trigger IDs // for disabling conditional variables; the variable is enabled if one // of the enabling trigger is true while all the disabling trigger are // false. Treated as an unordered set. DisablingTriggerId []string `json:"disablingTriggerId,omitempty"` // EnablingTriggerId: For mobile containers only: A list of trigger IDs // for enabling conditional variables; the variable is enabled if one of // the enabling triggers is true while all the disabling triggers are // false. Treated as an unordered set. EnablingTriggerId []string `json:"enablingTriggerId,omitempty"` // Fingerprint: The fingerprint of the GTM Variable as computed at // storage time. This value is recomputed whenever the variable is // modified. Fingerprint string `json:"fingerprint,omitempty"` // Name: Variable display name. Name string `json:"name,omitempty"` // Notes: User notes on how to apply this variable in the container. Notes string `json:"notes,omitempty"` // Parameter: The variable's parameters. Parameter []*Parameter `json:"parameter,omitempty"` // ScheduleEndMs: The end timestamp in milliseconds to schedule a // variable. ScheduleEndMs int64 `json:"scheduleEndMs,omitempty,string"` // ScheduleStartMs: The start timestamp in milliseconds to schedule a // variable. ScheduleStartMs int64 `json:"scheduleStartMs,omitempty,string"` // Type: GTM Variable Type. Type string `json:"type,omitempty"` // VariableId: The Variable ID uniquely identifies the GTM Variable. VariableId string `json:"variableId,omitempty"` }