Class: Google::Apis::TagmanagerV2::TagManagerService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::TagmanagerV2::TagManagerService
- Defined in:
- generated/google/apis/tagmanager_v2/service.rb
Overview
Tag Manager API
This API allows clients to access and modify container and tag configuration.
Instance Attribute Summary collapse
-
#key ⇒ String
API key.
-
#quota_user ⇒ String
Available to use for quota purposes for server-side applications.
Attributes inherited from Core::BaseService
#authorization, #base_path, #batch_path, #client, #client_options, #request_options, #root_url, #upload_path
Instance Method Summary collapse
-
#create_account_container(parent, container_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Container
Creates a Container.
-
#create_account_container_environment(parent, environment_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Environment
Creates a GTM Environment.
-
#create_account_container_workspace(parent, workspace_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Workspace
Creates a Workspace.
-
#create_account_container_workspace_built_in_variable(parent, type: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::CreateBuiltInVariableResponse
Creates one or more GTM Built-In Variables.
-
#create_account_container_workspace_folder(parent, folder_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Folder
Creates a GTM Folder.
-
#create_account_container_workspace_tag(parent, tag_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Tag
Creates a GTM Tag.
-
#create_account_container_workspace_template(parent, custom_template_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::CustomTemplate
Creates a GTM Custom Template.
-
#create_account_container_workspace_trigger(parent, trigger_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Trigger
Creates a GTM Trigger.
-
#create_account_container_workspace_variable(parent, variable_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Variable
Creates a GTM Variable.
-
#create_account_container_workspace_version(path, create_container_version_request_version_options_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::CreateContainerVersionResponse
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.
-
#create_account_container_workspace_zone(parent, zone_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Zone
Creates a GTM Zone.
-
#create_account_user_permission(parent, user_permission_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::UserPermission
Creates a user's Account & Container access.
-
#delete_account_container(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
Deletes a Container.
-
#delete_account_container_environment(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
Deletes a GTM Environment.
-
#delete_account_container_version(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
Deletes a Container Version.
-
#delete_account_container_workspace(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
Deletes a Workspace.
-
#delete_account_container_workspace_built_in_variable(path, type: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
Deletes one or more GTM Built-In Variables.
-
#delete_account_container_workspace_folder(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
Deletes a GTM Folder.
-
#delete_account_container_workspace_tag(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
Deletes a GTM Tag.
-
#delete_account_container_workspace_template(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
Deletes a GTM Template.
-
#delete_account_container_workspace_trigger(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
Deletes a GTM Trigger.
-
#delete_account_container_workspace_variable(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
Deletes a GTM Variable.
-
#delete_account_container_workspace_zone(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
Deletes a GTM Zone.
-
#delete_account_user_permission(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
Removes a user from the account, revoking access to it and all of its containers.
-
#entities_account_container_workspace_folder(path, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::FolderEntities
List all entities in a GTM Folder.
-
#get_account(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Account
Gets a GTM Account.
-
#get_account_container(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Container
Gets a Container.
-
#get_account_container_environment(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Environment
Gets a GTM Environment.
-
#get_account_container_version(path, container_version_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ContainerVersion
Gets a Container Version.
-
#get_account_container_workspace(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Workspace
Gets a Workspace.
-
#get_account_container_workspace_folder(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Folder
Gets a GTM Folder.
-
#get_account_container_workspace_status(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::GetWorkspaceStatusResponse
Finds conflicting and modified entities in the workspace.
-
#get_account_container_workspace_tag(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Tag
Gets a GTM Tag.
-
#get_account_container_workspace_template(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::CustomTemplate
Gets a GTM Template.
-
#get_account_container_workspace_trigger(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Trigger
Gets a GTM Trigger.
-
#get_account_container_workspace_variable(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Variable
Gets a GTM Variable.
-
#get_account_container_workspace_zone(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Zone
Gets a GTM Zone.
-
#get_account_user_permission(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::UserPermission
Gets a user's Account & Container access.
-
#initialize ⇒ TagManagerService
constructor
A new instance of TagManagerService.
-
#latest_account_container_version_header(parent, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ContainerVersionHeader
Gets the latest container version header.
-
#list_account_container_environments(parent, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ListEnvironmentsResponse
Lists all GTM Environments of a GTM Container.
-
#list_account_container_version_headers(parent, include_deleted: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ListContainerVersionsResponse
Lists all Container Versions of a GTM Container.
-
#list_account_container_workspace_built_in_variables(parent, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ListEnabledBuiltInVariablesResponse
Lists all the enabled Built-In Variables of a GTM Container.
-
#list_account_container_workspace_folders(parent, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ListFoldersResponse
Lists all GTM Folders of a Container.
-
#list_account_container_workspace_tags(parent, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ListTagsResponse
Lists all GTM Tags of a Container.
-
#list_account_container_workspace_templates(parent, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ListTemplatesResponse
Lists all GTM Templates of a GTM container workspace.
-
#list_account_container_workspace_triggers(parent, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ListTriggersResponse
Lists all GTM Triggers of a Container.
-
#list_account_container_workspace_variables(parent, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ListVariablesResponse
Lists all GTM Variables of a Container.
-
#list_account_container_workspace_zones(parent, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ListZonesResponse
Lists all GTM Zones of a GTM container workspace.
-
#list_account_container_workspaces(parent, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ListWorkspacesResponse
Lists all Workspaces that belong to a GTM Container.
-
#list_account_containers(parent, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ListContainersResponse
Lists all Containers that belongs to a GTM Account.
-
#list_account_user_permissions(parent, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ListUserPermissionsResponse
List all users that have access to the account along with Account and Container user access granted to each of them.
-
#list_accounts(page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ListAccountsResponse
Lists all GTM Accounts that a user has access to.
-
#live_account_container_version(parent, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ContainerVersion
Gets the live (i.e. published) container version.
-
#move_account_container_workspace_folder_entities_to_folder(path, folder_object = nil, tag_id: nil, trigger_id: nil, variable_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
Moves entities to a GTM Folder.
-
#publish_account_container_version(path, fingerprint: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::PublishContainerVersionResponse
Publishes a Container Version.
-
#quick_account_container_workspace_preview(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::QuickPreviewResponse
Quick previews a workspace by creating a fake container version from all entities in the provided workspace.
-
#reauthorize_account_container_environment(path, environment_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Environment
Re-generates the authorization code for a GTM Environment.
-
#resolve_account_container_workspace_conflict(path, entity_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
Resolves a merge conflict for a workspace entity by updating it to the resolved entity passed in the request.
-
#revert_account_container_workspace_built_in_variable(path, type: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::RevertBuiltInVariableResponse
Reverts changes to a GTM Built-In Variables in a GTM Workspace.
-
#revert_account_container_workspace_folder(path, fingerprint: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::RevertFolderResponse
Reverts changes to a GTM Folder in a GTM Workspace.
-
#revert_account_container_workspace_tag(path, fingerprint: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::RevertTagResponse
Reverts changes to a GTM Tag in a GTM Workspace.
-
#revert_account_container_workspace_template(path, fingerprint: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::RevertTemplateResponse
Reverts changes to a GTM Template in a GTM Workspace.
-
#revert_account_container_workspace_trigger(path, fingerprint: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::RevertTriggerResponse
Reverts changes to a GTM Trigger in a GTM Workspace.
-
#revert_account_container_workspace_variable(path, fingerprint: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::RevertVariableResponse
Reverts changes to a GTM Variable in a GTM Workspace.
-
#revert_account_container_workspace_zone(path, fingerprint: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::RevertZoneResponse
Reverts changes to a GTM Zone in a GTM Workspace.
-
#set_account_container_version_latest(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ContainerVersion
Sets the latest version used for synchronization of workspaces when detecting conflicts and errors.
-
#sync_account_container_workspace(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::SyncWorkspaceResponse
Syncs a workspace to the latest container version by updating all unmodified workspace entities and displaying conflicts for modified entities.
-
#undelete_account_container_version(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ContainerVersion
Undeletes a Container Version.
-
#update_account(path, account_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Account
Updates a GTM Account.
-
#update_account_container(path, container_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Container
Updates a Container.
-
#update_account_container_environment(path, environment_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Environment
Updates a GTM Environment.
-
#update_account_container_version(path, container_version_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ContainerVersion
Updates a Container Version.
-
#update_account_container_workspace(path, workspace_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Workspace
Updates a Workspace.
-
#update_account_container_workspace_folder(path, folder_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Folder
Updates a GTM Folder.
-
#update_account_container_workspace_tag(path, tag_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Tag
Updates a GTM Tag.
-
#update_account_container_workspace_template(path, custom_template_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::CustomTemplate
Updates a GTM Template.
-
#update_account_container_workspace_trigger(path, trigger_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Trigger
Updates a GTM Trigger.
-
#update_account_container_workspace_variable(path, variable_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Variable
Updates a GTM Variable.
-
#update_account_container_workspace_zone(path, zone_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Zone
Updates a GTM Zone.
-
#update_account_user_permission(path, user_permission_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::UserPermission
Updates a user's Account & Container access.
Methods inherited from Core::BaseService
#batch, #batch_upload, #fetch_all, #http
Methods included from Core::Logging
Constructor Details
#initialize ⇒ TagManagerService
Returns a new instance of TagManagerService.
46 47 48 49 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 46 def initialize super('https://www.googleapis.com/', '') @batch_path = 'batch' end |
Instance Attribute Details
#key ⇒ String
Returns API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
39 40 41 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 39 def key @key end |
#quota_user ⇒ String
Returns Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
44 45 46 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 44 def quota_user @quota_user end |
Instance Method Details
#create_account_container(parent, container_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Container
Creates a Container.
172 173 174 175 176 177 178 179 180 181 182 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 172 def create_account_container(parent, container_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'tagmanager/v2/{+parent}/containers', ) command.request_representation = Google::Apis::TagmanagerV2::Container::Representation command.request_object = container_object command.response_representation = Google::Apis::TagmanagerV2::Container::Representation command.response_class = Google::Apis::TagmanagerV2::Container command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_account_container_environment(parent, environment_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Environment
Creates a GTM Environment.
338 339 340 341 342 343 344 345 346 347 348 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 338 def create_account_container_environment(parent, environment_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'tagmanager/v2/{+parent}/environments', ) command.request_representation = Google::Apis::TagmanagerV2::Environment::Representation command.request_object = environment_object command.response_representation = Google::Apis::TagmanagerV2::Environment::Representation command.response_class = Google::Apis::TagmanagerV2::Environment command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_account_container_workspace(parent, workspace_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Workspace
Creates a Workspace.
847 848 849 850 851 852 853 854 855 856 857 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 847 def create_account_container_workspace(parent, workspace_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'tagmanager/v2/{+parent}/workspaces', ) command.request_representation = Google::Apis::TagmanagerV2::Workspace::Representation command.request_object = workspace_object command.response_representation = Google::Apis::TagmanagerV2::Workspace::Representation command.response_class = Google::Apis::TagmanagerV2::Workspace command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_account_container_workspace_built_in_variable(parent, type: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::CreateBuiltInVariableResponse
Creates one or more GTM Built-In Variables.
1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1192 def create_account_container_workspace_built_in_variable(parent, type: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'tagmanager/v2/{+parent}/built_in_variables', ) command.response_representation = Google::Apis::TagmanagerV2::CreateBuiltInVariableResponse::Representation command.response_class = Google::Apis::TagmanagerV2::CreateBuiltInVariableResponse command.params['parent'] = parent unless parent.nil? command.query['type'] = type unless type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_account_container_workspace_folder(parent, folder_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Folder
Creates a GTM Folder.
1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1331 def create_account_container_workspace_folder(parent, folder_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'tagmanager/v2/{+parent}/folders', ) command.request_representation = Google::Apis::TagmanagerV2::Folder::Representation command.request_object = folder_object command.response_representation = Google::Apis::TagmanagerV2::Folder::Representation command.response_class = Google::Apis::TagmanagerV2::Folder command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_account_container_workspace_tag(parent, tag_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Tag
Creates a GTM Tag.
1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1621 def create_account_container_workspace_tag(parent, tag_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'tagmanager/v2/{+parent}/tags', ) command.request_representation = Google::Apis::TagmanagerV2::Tag::Representation command.request_object = tag_object command.response_representation = Google::Apis::TagmanagerV2::Tag::Representation command.response_class = Google::Apis::TagmanagerV2::Tag command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_account_container_workspace_template(parent, custom_template_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::CustomTemplate
Creates a GTM Custom Template.
1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1832 def create_account_container_workspace_template(parent, custom_template_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'tagmanager/v2/{+parent}/templates', ) command.request_representation = Google::Apis::TagmanagerV2::CustomTemplate::Representation command.request_object = custom_template_object command.response_representation = Google::Apis::TagmanagerV2::CustomTemplate::Representation command.response_class = Google::Apis::TagmanagerV2::CustomTemplate command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_account_container_workspace_trigger(parent, trigger_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Trigger
Creates a GTM Trigger.
2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2043 def create_account_container_workspace_trigger(parent, trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'tagmanager/v2/{+parent}/triggers', ) command.request_representation = Google::Apis::TagmanagerV2::Trigger::Representation command.request_object = trigger_object command.response_representation = Google::Apis::TagmanagerV2::Trigger::Representation command.response_class = Google::Apis::TagmanagerV2::Trigger command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_account_container_workspace_variable(parent, variable_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Variable
Creates a GTM Variable.
2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2254 def create_account_container_workspace_variable(parent, variable_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'tagmanager/v2/{+parent}/variables', ) command.request_representation = Google::Apis::TagmanagerV2::Variable::Representation command.request_object = variable_object command.response_representation = Google::Apis::TagmanagerV2::Variable::Representation command.response_class = Google::Apis::TagmanagerV2::Variable command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_account_container_workspace_version(path, create_container_version_request_version_options_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::CreateContainerVersionResponse
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.
884 885 886 887 888 889 890 891 892 893 894 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 884 def create_account_container_workspace_version(path, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'tagmanager/v2/{+path}:create_version', ) command.request_representation = Google::Apis::TagmanagerV2::CreateContainerVersionRequestVersionOptions::Representation command.request_object = command.response_representation = Google::Apis::TagmanagerV2::CreateContainerVersionResponse::Representation command.response_class = Google::Apis::TagmanagerV2::CreateContainerVersionResponse command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_account_container_workspace_zone(parent, zone_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Zone
Creates a GTM Zone.
2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2465 def create_account_container_workspace_zone(parent, zone_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'tagmanager/v2/{+parent}/zones', ) command.request_representation = Google::Apis::TagmanagerV2::Zone::Representation command.request_object = zone_object command.response_representation = Google::Apis::TagmanagerV2::Zone::Representation command.response_class = Google::Apis::TagmanagerV2::Zone command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_account_user_permission(parent, user_permission_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::UserPermission
Creates a user's Account & Container access.
2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2675 def (parent, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'tagmanager/v2/{+parent}/user_permissions', ) command.request_representation = Google::Apis::TagmanagerV2::UserPermission::Representation command.request_object = command.response_representation = Google::Apis::TagmanagerV2::UserPermission::Representation command.response_class = Google::Apis::TagmanagerV2::UserPermission command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_account_container(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes a Container.
205 206 207 208 209 210 211 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 205 def delete_account_container(path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'tagmanager/v2/{+path}', ) command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_account_container_environment(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes a GTM Environment.
372 373 374 375 376 377 378 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 372 def delete_account_container_environment(path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'tagmanager/v2/{+path}', ) command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_account_container_version(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes a Container Version.
610 611 612 613 614 615 616 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 610 def delete_account_container_version(path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'tagmanager/v2/{+path}', ) command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_account_container_workspace(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes a Workspace.
918 919 920 921 922 923 924 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 918 def delete_account_container_workspace(path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'tagmanager/v2/{+path}', ) command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_account_container_workspace_built_in_variable(path, type: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes one or more GTM Built-In Variables.
1228 1229 1230 1231 1232 1233 1234 1235 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1228 def delete_account_container_workspace_built_in_variable(path, type: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'tagmanager/v2/{+path}', ) command.params['path'] = path unless path.nil? command.query['type'] = type unless type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_account_container_workspace_folder(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes a GTM Folder.
1366 1367 1368 1369 1370 1371 1372 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1366 def delete_account_container_workspace_folder(path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'tagmanager/v2/{+path}', ) command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_account_container_workspace_tag(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes a GTM Tag.
1656 1657 1658 1659 1660 1661 1662 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1656 def delete_account_container_workspace_tag(path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'tagmanager/v2/{+path}', ) command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_account_container_workspace_template(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes a GTM Template.
1867 1868 1869 1870 1871 1872 1873 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1867 def delete_account_container_workspace_template(path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'tagmanager/v2/{+path}', ) command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_account_container_workspace_trigger(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes a GTM Trigger.
2078 2079 2080 2081 2082 2083 2084 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2078 def delete_account_container_workspace_trigger(path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'tagmanager/v2/{+path}', ) command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_account_container_workspace_variable(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes a GTM Variable.
2289 2290 2291 2292 2293 2294 2295 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2289 def delete_account_container_workspace_variable(path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'tagmanager/v2/{+path}', ) command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_account_container_workspace_zone(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes a GTM Zone.
2500 2501 2502 2503 2504 2505 2506 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2500 def delete_account_container_workspace_zone(path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'tagmanager/v2/{+path}', ) command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_account_user_permission(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Removes a user from the account, revoking access to it and all of its containers.
2709 2710 2711 2712 2713 2714 2715 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2709 def (path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'tagmanager/v2/{+path}', ) command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#entities_account_container_workspace_folder(path, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::FolderEntities
List all entities in a GTM Folder.
1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1399 def entities_account_container_workspace_folder(path, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'tagmanager/v2/{+path}:entities', ) command.response_representation = Google::Apis::TagmanagerV2::FolderEntities::Representation command.response_class = Google::Apis::TagmanagerV2::FolderEntities command.params['path'] = path unless path.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_account(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Account
Gets a GTM Account.
72 73 74 75 76 77 78 79 80 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 72 def get_account(path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'tagmanager/v2/{+path}', ) command.response_representation = Google::Apis::TagmanagerV2::Account::Representation command.response_class = Google::Apis::TagmanagerV2::Account command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_account_container(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Container
Gets a Container.
234 235 236 237 238 239 240 241 242 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 234 def get_account_container(path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'tagmanager/v2/{+path}', ) command.response_representation = Google::Apis::TagmanagerV2::Container::Representation command.response_class = Google::Apis::TagmanagerV2::Container command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_account_container_environment(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Environment
Gets a GTM Environment.
402 403 404 405 406 407 408 409 410 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 402 def get_account_container_environment(path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'tagmanager/v2/{+path}', ) command.response_representation = Google::Apis::TagmanagerV2::Environment::Representation command.response_class = Google::Apis::TagmanagerV2::Environment command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_account_container_version(path, container_version_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ContainerVersion
Gets a Container Version.
643 644 645 646 647 648 649 650 651 652 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 643 def get_account_container_version(path, container_version_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'tagmanager/v2/{+path}', ) command.response_representation = Google::Apis::TagmanagerV2::ContainerVersion::Representation command.response_class = Google::Apis::TagmanagerV2::ContainerVersion command.params['path'] = path unless path.nil? command.query['containerVersionId'] = container_version_id unless container_version_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_account_container_workspace(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Workspace
Gets a Workspace.
948 949 950 951 952 953 954 955 956 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 948 def get_account_container_workspace(path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'tagmanager/v2/{+path}', ) command.response_representation = Google::Apis::TagmanagerV2::Workspace::Representation command.response_class = Google::Apis::TagmanagerV2::Workspace command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_account_container_workspace_folder(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Folder
Gets a GTM Folder.
1433 1434 1435 1436 1437 1438 1439 1440 1441 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1433 def get_account_container_workspace_folder(path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'tagmanager/v2/{+path}', ) command.response_representation = Google::Apis::TagmanagerV2::Folder::Representation command.response_class = Google::Apis::TagmanagerV2::Folder command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_account_container_workspace_status(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::GetWorkspaceStatusResponse
Finds conflicting and modified entities in the workspace.
980 981 982 983 984 985 986 987 988 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 980 def get_account_container_workspace_status(path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'tagmanager/v2/{+path}/status', ) command.response_representation = Google::Apis::TagmanagerV2::GetWorkspaceStatusResponse::Representation command.response_class = Google::Apis::TagmanagerV2::GetWorkspaceStatusResponse command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_account_container_workspace_tag(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Tag
Gets a GTM Tag.
1687 1688 1689 1690 1691 1692 1693 1694 1695 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1687 def get_account_container_workspace_tag(path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'tagmanager/v2/{+path}', ) command.response_representation = Google::Apis::TagmanagerV2::Tag::Representation command.response_class = Google::Apis::TagmanagerV2::Tag command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_account_container_workspace_template(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::CustomTemplate
Gets a GTM Template.
1898 1899 1900 1901 1902 1903 1904 1905 1906 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1898 def get_account_container_workspace_template(path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'tagmanager/v2/{+path}', ) command.response_representation = Google::Apis::TagmanagerV2::CustomTemplate::Representation command.response_class = Google::Apis::TagmanagerV2::CustomTemplate command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_account_container_workspace_trigger(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Trigger
Gets a GTM Trigger.
2109 2110 2111 2112 2113 2114 2115 2116 2117 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2109 def get_account_container_workspace_trigger(path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'tagmanager/v2/{+path}', ) command.response_representation = Google::Apis::TagmanagerV2::Trigger::Representation command.response_class = Google::Apis::TagmanagerV2::Trigger command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_account_container_workspace_variable(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Variable
Gets a GTM Variable.
2320 2321 2322 2323 2324 2325 2326 2327 2328 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2320 def get_account_container_workspace_variable(path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'tagmanager/v2/{+path}', ) command.response_representation = Google::Apis::TagmanagerV2::Variable::Representation command.response_class = Google::Apis::TagmanagerV2::Variable command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_account_container_workspace_zone(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Zone
Gets a GTM Zone.
2531 2532 2533 2534 2535 2536 2537 2538 2539 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2531 def get_account_container_workspace_zone(path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'tagmanager/v2/{+path}', ) command.response_representation = Google::Apis::TagmanagerV2::Zone::Representation command.response_class = Google::Apis::TagmanagerV2::Zone command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_account_user_permission(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::UserPermission
Gets a user's Account & Container access.
2738 2739 2740 2741 2742 2743 2744 2745 2746 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2738 def (path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'tagmanager/v2/{+path}', ) command.response_representation = Google::Apis::TagmanagerV2::UserPermission::Representation command.response_class = Google::Apis::TagmanagerV2::UserPermission command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#latest_account_container_version_header(parent, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ContainerVersionHeader
Gets the latest container version header
541 542 543 544 545 546 547 548 549 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 541 def latest_account_container_version_header(parent, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'tagmanager/v2/{+parent}/version_headers:latest', ) command.response_representation = Google::Apis::TagmanagerV2::ContainerVersionHeader::Representation command.response_class = Google::Apis::TagmanagerV2::ContainerVersionHeader command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_account_container_environments(parent, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ListEnvironmentsResponse
Lists all GTM Environments of a GTM Container.
435 436 437 438 439 440 441 442 443 444 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 435 def list_account_container_environments(parent, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'tagmanager/v2/{+parent}/environments', ) command.response_representation = Google::Apis::TagmanagerV2::ListEnvironmentsResponse::Representation command.response_class = Google::Apis::TagmanagerV2::ListEnvironmentsResponse command.params['parent'] = parent unless parent.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_account_container_version_headers(parent, include_deleted: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ListContainerVersionsResponse
Lists all Container Versions of a GTM Container.
576 577 578 579 580 581 582 583 584 585 586 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 576 def list_account_container_version_headers(parent, include_deleted: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'tagmanager/v2/{+parent}/version_headers', ) command.response_representation = Google::Apis::TagmanagerV2::ListContainerVersionsResponse::Representation command.response_class = Google::Apis::TagmanagerV2::ListContainerVersionsResponse command.params['parent'] = parent unless parent.nil? command.query['includeDeleted'] = include_deleted unless include_deleted.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_account_container_workspace_built_in_variables(parent, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ListEnabledBuiltInVariablesResponse
Lists all the enabled Built-In Variables of a GTM Container.
1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1261 def list_account_container_workspace_built_in_variables(parent, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'tagmanager/v2/{+parent}/built_in_variables', ) command.response_representation = Google::Apis::TagmanagerV2::ListEnabledBuiltInVariablesResponse::Representation command.response_class = Google::Apis::TagmanagerV2::ListEnabledBuiltInVariablesResponse command.params['parent'] = parent unless parent.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_account_container_workspace_folders(parent, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ListFoldersResponse
Lists all GTM Folders of a Container.
1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1467 def list_account_container_workspace_folders(parent, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'tagmanager/v2/{+parent}/folders', ) command.response_representation = Google::Apis::TagmanagerV2::ListFoldersResponse::Representation command.response_class = Google::Apis::TagmanagerV2::ListFoldersResponse command.params['parent'] = parent unless parent.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_account_container_workspace_tags(parent, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ListTagsResponse
Lists all GTM Tags of a Container.
1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1721 def (parent, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'tagmanager/v2/{+parent}/tags', ) command.response_representation = Google::Apis::TagmanagerV2::ListTagsResponse::Representation command.response_class = Google::Apis::TagmanagerV2::ListTagsResponse command.params['parent'] = parent unless parent.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_account_container_workspace_templates(parent, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ListTemplatesResponse
Lists all GTM Templates of a GTM container workspace.
1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1932 def list_account_container_workspace_templates(parent, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'tagmanager/v2/{+parent}/templates', ) command.response_representation = Google::Apis::TagmanagerV2::ListTemplatesResponse::Representation command.response_class = Google::Apis::TagmanagerV2::ListTemplatesResponse command.params['parent'] = parent unless parent.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_account_container_workspace_triggers(parent, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ListTriggersResponse
Lists all GTM Triggers of a Container.
2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2143 def list_account_container_workspace_triggers(parent, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'tagmanager/v2/{+parent}/triggers', ) command.response_representation = Google::Apis::TagmanagerV2::ListTriggersResponse::Representation command.response_class = Google::Apis::TagmanagerV2::ListTriggersResponse command.params['parent'] = parent unless parent.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_account_container_workspace_variables(parent, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ListVariablesResponse
Lists all GTM Variables of a Container.
2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2354 def list_account_container_workspace_variables(parent, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'tagmanager/v2/{+parent}/variables', ) command.response_representation = Google::Apis::TagmanagerV2::ListVariablesResponse::Representation command.response_class = Google::Apis::TagmanagerV2::ListVariablesResponse command.params['parent'] = parent unless parent.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_account_container_workspace_zones(parent, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ListZonesResponse
Lists all GTM Zones of a GTM container workspace.
2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2565 def list_account_container_workspace_zones(parent, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'tagmanager/v2/{+parent}/zones', ) command.response_representation = Google::Apis::TagmanagerV2::ListZonesResponse::Representation command.response_class = Google::Apis::TagmanagerV2::ListZonesResponse command.params['parent'] = parent unless parent.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_account_container_workspaces(parent, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ListWorkspacesResponse
Lists all Workspaces that belong to a GTM Container.
1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1013 def list_account_container_workspaces(parent, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'tagmanager/v2/{+parent}/workspaces', ) command.response_representation = Google::Apis::TagmanagerV2::ListWorkspacesResponse::Representation command.response_class = Google::Apis::TagmanagerV2::ListWorkspacesResponse command.params['parent'] = parent unless parent.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_account_containers(parent, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ListContainersResponse
Lists all Containers that belongs to a GTM Account.
267 268 269 270 271 272 273 274 275 276 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 267 def list_account_containers(parent, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'tagmanager/v2/{+parent}/containers', ) command.response_representation = Google::Apis::TagmanagerV2::ListContainersResponse::Representation command.response_class = Google::Apis::TagmanagerV2::ListContainersResponse command.params['parent'] = parent unless parent.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_account_user_permissions(parent, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ListUserPermissionsResponse
List all users that have access to the account along with Account and Container user access granted to each of them.
2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2772 def (parent, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'tagmanager/v2/{+parent}/user_permissions', ) command.response_representation = Google::Apis::TagmanagerV2::ListUserPermissionsResponse::Representation command.response_class = Google::Apis::TagmanagerV2::ListUserPermissionsResponse command.params['parent'] = parent unless parent.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_accounts(page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ListAccountsResponse
Lists all GTM Accounts that a user has access to.
102 103 104 105 106 107 108 109 110 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 102 def list_accounts(page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'tagmanager/v2/accounts', ) command.response_representation = Google::Apis::TagmanagerV2::ListAccountsResponse::Representation command.response_class = Google::Apis::TagmanagerV2::ListAccountsResponse command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#live_account_container_version(parent, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ContainerVersion
Gets the live (i.e. published) container version
675 676 677 678 679 680 681 682 683 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 675 def live_account_container_version(parent, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'tagmanager/v2/{+parent}/versions:live', ) command.response_representation = Google::Apis::TagmanagerV2::ContainerVersion::Representation command.response_class = Google::Apis::TagmanagerV2::ContainerVersion command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#move_account_container_workspace_folder_entities_to_folder(path, folder_object = nil, tag_id: nil, trigger_id: nil, variable_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Moves entities to a GTM Folder.
1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1508 def move_account_container_workspace_folder_entities_to_folder(path, folder_object = nil, tag_id: nil, trigger_id: nil, variable_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'tagmanager/v2/{+path}:move_entities_to_folder', ) command.request_representation = Google::Apis::TagmanagerV2::Folder::Representation command.request_object = folder_object command.params['path'] = path unless path.nil? command.query['tagId'] = tag_id unless tag_id.nil? command.query['triggerId'] = trigger_id unless trigger_id.nil? command.query['variableId'] = variable_id unless variable_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#publish_account_container_version(path, fingerprint: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::PublishContainerVersionResponse
Publishes a Container Version.
710 711 712 713 714 715 716 717 718 719 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 710 def publish_account_container_version(path, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'tagmanager/v2/{+path}:publish', ) command.response_representation = Google::Apis::TagmanagerV2::PublishContainerVersionResponse::Representation command.response_class = Google::Apis::TagmanagerV2::PublishContainerVersionResponse command.params['path'] = path unless path.nil? command.query['fingerprint'] = fingerprint unless fingerprint.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#quick_account_container_workspace_preview(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::QuickPreviewResponse
Quick previews a workspace by creating a fake container version from all entities in the provided workspace.
1047 1048 1049 1050 1051 1052 1053 1054 1055 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1047 def quick_account_container_workspace_preview(path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'tagmanager/v2/{+path}:quick_preview', ) command.response_representation = Google::Apis::TagmanagerV2::QuickPreviewResponse::Representation command.response_class = Google::Apis::TagmanagerV2::QuickPreviewResponse command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#reauthorize_account_container_environment(path, environment_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Environment
Re-generates the authorization code for a GTM Environment.
469 470 471 472 473 474 475 476 477 478 479 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 469 def (path, environment_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'tagmanager/v2/{+path}:reauthorize', ) command.request_representation = Google::Apis::TagmanagerV2::Environment::Representation command.request_object = environment_object command.response_representation = Google::Apis::TagmanagerV2::Environment::Representation command.response_class = Google::Apis::TagmanagerV2::Environment command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#resolve_account_container_workspace_conflict(path, entity_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Resolves a merge conflict for a workspace entity by updating it to the resolved entity passed in the request.
1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1084 def resolve_account_container_workspace_conflict(path, entity_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'tagmanager/v2/{+path}:resolve_conflict', ) command.request_representation = Google::Apis::TagmanagerV2::Entity::Representation command.request_object = entity_object command.params['path'] = path unless path.nil? command.query['fingerprint'] = fingerprint unless fingerprint.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#revert_account_container_workspace_built_in_variable(path, type: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::RevertBuiltInVariableResponse
Reverts changes to a GTM Built-In Variables in a GTM Workspace.
1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1297 def revert_account_container_workspace_built_in_variable(path, type: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'tagmanager/v2/{+path}/built_in_variables:revert', ) command.response_representation = Google::Apis::TagmanagerV2::RevertBuiltInVariableResponse::Representation command.response_class = Google::Apis::TagmanagerV2::RevertBuiltInVariableResponse command.params['path'] = path unless path.nil? command.query['type'] = type unless type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#revert_account_container_workspace_folder(path, fingerprint: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::RevertFolderResponse
Reverts changes to a GTM Folder in a GTM Workspace.
1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1547 def revert_account_container_workspace_folder(path, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'tagmanager/v2/{+path}:revert', ) command.response_representation = Google::Apis::TagmanagerV2::RevertFolderResponse::Representation command.response_class = Google::Apis::TagmanagerV2::RevertFolderResponse command.params['path'] = path unless path.nil? command.query['fingerprint'] = fingerprint unless fingerprint.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#revert_account_container_workspace_tag(path, fingerprint: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::RevertTagResponse
Reverts changes to a GTM Tag in a GTM Workspace.
1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1758 def revert_account_container_workspace_tag(path, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'tagmanager/v2/{+path}:revert', ) command.response_representation = Google::Apis::TagmanagerV2::RevertTagResponse::Representation command.response_class = Google::Apis::TagmanagerV2::RevertTagResponse command.params['path'] = path unless path.nil? command.query['fingerprint'] = fingerprint unless fingerprint.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#revert_account_container_workspace_template(path, fingerprint: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::RevertTemplateResponse
Reverts changes to a GTM Template in a GTM Workspace.
1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1969 def revert_account_container_workspace_template(path, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'tagmanager/v2/{+path}:revert', ) command.response_representation = Google::Apis::TagmanagerV2::RevertTemplateResponse::Representation command.response_class = Google::Apis::TagmanagerV2::RevertTemplateResponse command.params['path'] = path unless path.nil? command.query['fingerprint'] = fingerprint unless fingerprint.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#revert_account_container_workspace_trigger(path, fingerprint: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::RevertTriggerResponse
Reverts changes to a GTM Trigger in a GTM Workspace.
2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2180 def revert_account_container_workspace_trigger(path, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'tagmanager/v2/{+path}:revert', ) command.response_representation = Google::Apis::TagmanagerV2::RevertTriggerResponse::Representation command.response_class = Google::Apis::TagmanagerV2::RevertTriggerResponse command.params['path'] = path unless path.nil? command.query['fingerprint'] = fingerprint unless fingerprint.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#revert_account_container_workspace_variable(path, fingerprint: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::RevertVariableResponse
Reverts changes to a GTM Variable in a GTM Workspace.
2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2391 def revert_account_container_workspace_variable(path, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'tagmanager/v2/{+path}:revert', ) command.response_representation = Google::Apis::TagmanagerV2::RevertVariableResponse::Representation command.response_class = Google::Apis::TagmanagerV2::RevertVariableResponse command.params['path'] = path unless path.nil? command.query['fingerprint'] = fingerprint unless fingerprint.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#revert_account_container_workspace_zone(path, fingerprint: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::RevertZoneResponse
Reverts changes to a GTM Zone in a GTM Workspace.
2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2602 def revert_account_container_workspace_zone(path, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'tagmanager/v2/{+path}:revert', ) command.response_representation = Google::Apis::TagmanagerV2::RevertZoneResponse::Representation command.response_class = Google::Apis::TagmanagerV2::RevertZoneResponse command.params['path'] = path unless path.nil? command.query['fingerprint'] = fingerprint unless fingerprint.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_account_container_version_latest(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ContainerVersion
Sets the latest version used for synchronization of workspaces when detecting conflicts and errors.
744 745 746 747 748 749 750 751 752 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 744 def set_account_container_version_latest(path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'tagmanager/v2/{+path}:set_latest', ) command.response_representation = Google::Apis::TagmanagerV2::ContainerVersion::Representation command.response_class = Google::Apis::TagmanagerV2::ContainerVersion command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#sync_account_container_workspace(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::SyncWorkspaceResponse
Syncs a workspace to the latest container version by updating all unmodified workspace entities and displaying conflicts for modified entities.
1119 1120 1121 1122 1123 1124 1125 1126 1127 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1119 def sync_account_container_workspace(path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'tagmanager/v2/{+path}:sync', ) command.response_representation = Google::Apis::TagmanagerV2::SyncWorkspaceResponse::Representation command.response_class = Google::Apis::TagmanagerV2::SyncWorkspaceResponse command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#undelete_account_container_version(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ContainerVersion
Undeletes a Container Version.
776 777 778 779 780 781 782 783 784 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 776 def undelete_account_container_version(path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'tagmanager/v2/{+path}:undelete', ) command.response_representation = Google::Apis::TagmanagerV2::ContainerVersion::Representation command.response_class = Google::Apis::TagmanagerV2::ContainerVersion command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_account(path, account_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Account
Updates a GTM Account.
137 138 139 140 141 142 143 144 145 146 147 148 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 137 def update_account(path, account_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'tagmanager/v2/{+path}', ) command.request_representation = Google::Apis::TagmanagerV2::Account::Representation command.request_object = account_object command.response_representation = Google::Apis::TagmanagerV2::Account::Representation command.response_class = Google::Apis::TagmanagerV2::Account command.params['path'] = path unless path.nil? command.query['fingerprint'] = fingerprint unless fingerprint.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_account_container(path, container_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Container
Updates a Container.
303 304 305 306 307 308 309 310 311 312 313 314 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 303 def update_account_container(path, container_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'tagmanager/v2/{+path}', ) command.request_representation = Google::Apis::TagmanagerV2::Container::Representation command.request_object = container_object command.response_representation = Google::Apis::TagmanagerV2::Container::Representation command.response_class = Google::Apis::TagmanagerV2::Container command.params['path'] = path unless path.nil? command.query['fingerprint'] = fingerprint unless fingerprint.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_account_container_environment(path, environment_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Environment
Updates a GTM Environment.
507 508 509 510 511 512 513 514 515 516 517 518 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 507 def update_account_container_environment(path, environment_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'tagmanager/v2/{+path}', ) command.request_representation = Google::Apis::TagmanagerV2::Environment::Representation command.request_object = environment_object command.response_representation = Google::Apis::TagmanagerV2::Environment::Representation command.response_class = Google::Apis::TagmanagerV2::Environment command.params['path'] = path unless path.nil? command.query['fingerprint'] = fingerprint unless fingerprint.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_account_container_version(path, container_version_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ContainerVersion
Updates a Container Version.
812 813 814 815 816 817 818 819 820 821 822 823 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 812 def update_account_container_version(path, container_version_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'tagmanager/v2/{+path}', ) command.request_representation = Google::Apis::TagmanagerV2::ContainerVersion::Representation command.request_object = container_version_object command.response_representation = Google::Apis::TagmanagerV2::ContainerVersion::Representation command.response_class = Google::Apis::TagmanagerV2::ContainerVersion command.params['path'] = path unless path.nil? command.query['fingerprint'] = fingerprint unless fingerprint.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_account_container_workspace(path, workspace_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Workspace
Updates a Workspace.
1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1155 def update_account_container_workspace(path, workspace_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'tagmanager/v2/{+path}', ) command.request_representation = Google::Apis::TagmanagerV2::Workspace::Representation command.request_object = workspace_object command.response_representation = Google::Apis::TagmanagerV2::Workspace::Representation command.response_class = Google::Apis::TagmanagerV2::Workspace command.params['path'] = path unless path.nil? command.query['fingerprint'] = fingerprint unless fingerprint.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_account_container_workspace_folder(path, folder_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Folder
Updates a GTM Folder.
1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1585 def update_account_container_workspace_folder(path, folder_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'tagmanager/v2/{+path}', ) command.request_representation = Google::Apis::TagmanagerV2::Folder::Representation command.request_object = folder_object command.response_representation = Google::Apis::TagmanagerV2::Folder::Representation command.response_class = Google::Apis::TagmanagerV2::Folder command.params['path'] = path unless path.nil? command.query['fingerprint'] = fingerprint unless fingerprint.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_account_container_workspace_tag(path, tag_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Tag
Updates a GTM Tag.
1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1796 def update_account_container_workspace_tag(path, tag_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'tagmanager/v2/{+path}', ) command.request_representation = Google::Apis::TagmanagerV2::Tag::Representation command.request_object = tag_object command.response_representation = Google::Apis::TagmanagerV2::Tag::Representation command.response_class = Google::Apis::TagmanagerV2::Tag command.params['path'] = path unless path.nil? command.query['fingerprint'] = fingerprint unless fingerprint.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_account_container_workspace_template(path, custom_template_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::CustomTemplate
Updates a GTM Template.
2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2007 def update_account_container_workspace_template(path, custom_template_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'tagmanager/v2/{+path}', ) command.request_representation = Google::Apis::TagmanagerV2::CustomTemplate::Representation command.request_object = custom_template_object command.response_representation = Google::Apis::TagmanagerV2::CustomTemplate::Representation command.response_class = Google::Apis::TagmanagerV2::CustomTemplate command.params['path'] = path unless path.nil? command.query['fingerprint'] = fingerprint unless fingerprint.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_account_container_workspace_trigger(path, trigger_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Trigger
Updates a GTM Trigger.
2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2218 def update_account_container_workspace_trigger(path, trigger_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'tagmanager/v2/{+path}', ) command.request_representation = Google::Apis::TagmanagerV2::Trigger::Representation command.request_object = trigger_object command.response_representation = Google::Apis::TagmanagerV2::Trigger::Representation command.response_class = Google::Apis::TagmanagerV2::Trigger command.params['path'] = path unless path.nil? command.query['fingerprint'] = fingerprint unless fingerprint.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_account_container_workspace_variable(path, variable_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Variable
Updates a GTM Variable.
2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2429 def update_account_container_workspace_variable(path, variable_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'tagmanager/v2/{+path}', ) command.request_representation = Google::Apis::TagmanagerV2::Variable::Representation command.request_object = variable_object command.response_representation = Google::Apis::TagmanagerV2::Variable::Representation command.response_class = Google::Apis::TagmanagerV2::Variable command.params['path'] = path unless path.nil? command.query['fingerprint'] = fingerprint unless fingerprint.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_account_container_workspace_zone(path, zone_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Zone
Updates a GTM Zone.
2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2640 def update_account_container_workspace_zone(path, zone_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'tagmanager/v2/{+path}', ) command.request_representation = Google::Apis::TagmanagerV2::Zone::Representation command.request_object = zone_object command.response_representation = Google::Apis::TagmanagerV2::Zone::Representation command.response_class = Google::Apis::TagmanagerV2::Zone command.params['path'] = path unless path.nil? command.query['fingerprint'] = fingerprint unless fingerprint.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_account_user_permission(path, user_permission_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::UserPermission
Updates a user's Account & Container access.
2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2805 def (path, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'tagmanager/v2/{+path}', ) command.request_representation = Google::Apis::TagmanagerV2::UserPermission::Representation command.request_object = command.response_representation = Google::Apis::TagmanagerV2::UserPermission::Representation command.response_class = Google::Apis::TagmanagerV2::UserPermission command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |