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.
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.
Constructor Details
#initialize ⇒ TagManagerService
Returns a new instance of TagManagerService.
45 46 47 48 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 45 def initialize super('https://tagmanager.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.
38 39 40 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 38 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.
43 44 45 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 43 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.
168 169 170 171 172 173 174 175 176 177 178 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 168 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.
333 334 335 336 337 338 339 340 341 342 343 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 333 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.
832 833 834 835 836 837 838 839 840 841 842 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 832 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.
1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1167 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.
1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1300 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.
1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1576 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.
1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1777 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.
1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1978 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.
2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2179 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.
868 869 870 871 872 873 874 875 876 877 878 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 868 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.
2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2380 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.
2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2580 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.
201 202 203 204 205 206 207 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 201 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.
366 367 368 369 370 371 372 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 366 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.
600 601 602 603 604 605 606 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 600 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.
901 902 903 904 905 906 907 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 901 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.
1201 1202 1203 1204 1205 1206 1207 1208 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1201 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.
1333 1334 1335 1336 1337 1338 1339 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1333 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.
1609 1610 1611 1612 1613 1614 1615 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1609 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.
1810 1811 1812 1813 1814 1815 1816 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1810 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.
2011 2012 2013 2014 2015 2016 2017 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2011 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.
2212 2213 2214 2215 2216 2217 2218 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2212 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.
2413 2414 2415 2416 2417 2418 2419 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2413 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.
2614 2615 2616 2617 2618 2619 2620 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2614 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.
1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1364 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.
70 71 72 73 74 75 76 77 78 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 70 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.
230 231 232 233 234 235 236 237 238 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 230 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.
395 396 397 398 399 400 401 402 403 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 395 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.
632 633 634 635 636 637 638 639 640 641 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 632 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.
930 931 932 933 934 935 936 937 938 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 930 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.
1396 1397 1398 1399 1400 1401 1402 1403 1404 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1396 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.
961 962 963 964 965 966 967 968 969 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 961 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.
1638 1639 1640 1641 1642 1643 1644 1645 1646 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1638 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.
1839 1840 1841 1842 1843 1844 1845 1846 1847 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1839 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.
2040 2041 2042 2043 2044 2045 2046 2047 2048 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2040 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.
2241 2242 2243 2244 2245 2246 2247 2248 2249 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2241 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.
2442 2443 2444 2445 2446 2447 2448 2449 2450 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2442 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.
2643 2644 2645 2646 2647 2648 2649 2650 2651 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2643 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
532 533 534 535 536 537 538 539 540 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 532 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.
428 429 430 431 432 433 434 435 436 437 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 428 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.
567 568 569 570 571 572 573 574 575 576 577 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 567 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.
1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1233 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.
1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1429 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.
1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1671 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.
1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1872 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.
2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2073 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.
2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2274 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.
2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2475 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.
994 995 996 997 998 999 1000 1001 1002 1003 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 994 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.
262 263 264 265 266 267 268 269 270 271 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 262 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.
2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2676 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.
100 101 102 103 104 105 106 107 108 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 100 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
664 665 666 667 668 669 670 671 672 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 664 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.
1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1468 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.
698 699 700 701 702 703 704 705 706 707 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 698 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.
1027 1028 1029 1030 1031 1032 1033 1034 1035 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1027 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.
461 462 463 464 465 466 467 468 469 470 471 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 461 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.
1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1063 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.
1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1267 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.
1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1505 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.
1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1706 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.
1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1907 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.
2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2108 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.
2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2309 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.
2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2510 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.
731 732 733 734 735 736 737 738 739 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 731 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.
1096 1097 1098 1099 1100 1101 1102 1103 1104 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1096 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.
762 763 764 765 766 767 768 769 770 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 762 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.
134 135 136 137 138 139 140 141 142 143 144 145 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 134 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.
298 299 300 301 302 303 304 305 306 307 308 309 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 298 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.
498 499 500 501 502 503 504 505 506 507 508 509 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 498 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.
797 798 799 800 801 802 803 804 805 806 807 808 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 797 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.
1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1131 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.
1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1541 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.
1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1742 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.
1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1943 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.
2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2144 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.
2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2345 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.
2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2546 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.
2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2709 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 |