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
Accesses Tag Manager accounts and containers.
Instance Attribute Summary collapse
-
#key ⇒ String
API key.
-
#quota_user ⇒ String
Available to use for quota purposes for server-side applications.
-
#user_ip ⇒ String
IP address of the site where the request originates.
Attributes inherited from Core::BaseService
#authorization, #base_path, #batch_path, #client, #client_options, #request_options, #root_url, #upload_path
Instance Method Summary collapse
-
#create_account_container(parent, container_object = nil, fields: nil, quota_user: nil, user_ip: 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, user_ip: 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, user_ip: 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, user_ip: 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, user_ip: 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, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Tag
Creates a GTM Tag.
-
#create_account_container_workspace_trigger(parent, trigger_object = nil, fields: nil, quota_user: nil, user_ip: 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, user_ip: 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, user_ip: 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_user_permission(parent, user_permission_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::UserPermission
Creates a user's Account & Container access.
-
#create_workspace_proposal(parent, create_workspace_proposal_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::WorkspaceProposal
Creates a GTM Workspace Proposal.
-
#delete_account_container(path, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
Deletes a Container.
-
#delete_account_container_environment(path, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
Deletes a GTM Environment.
-
#delete_account_container_version(path, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
Deletes a Container Version.
-
#delete_account_container_workspace(path, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
Deletes a Workspace.
-
#delete_account_container_workspace_built_in_variable(path, type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
Deletes one or more GTM Built-In Variables.
-
#delete_account_container_workspace_folder(path, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
Deletes a GTM Folder.
-
#delete_account_container_workspace_proposal(path, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
Deletes a GTM Workspace Proposal.
-
#delete_account_container_workspace_tag(path, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
Deletes a GTM Tag.
-
#delete_account_container_workspace_trigger(path, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
Deletes a GTM Trigger.
-
#delete_account_container_workspace_variable(path, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
Deletes a GTM Variable.
-
#delete_account_user_permission(path, fields: nil, quota_user: nil, user_ip: 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, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::FolderEntities
List all entities in a GTM Folder.
-
#get_account(path, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Account
Gets a GTM Account.
-
#get_account_container(path, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Container
Gets a Container.
-
#get_account_container_environment(path, fields: nil, quota_user: nil, user_ip: 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, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ContainerVersion
Gets a Container Version.
-
#get_account_container_workspace(path, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Workspace
Gets a Workspace.
-
#get_account_container_workspace_folder(path, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Folder
Gets a GTM Folder.
-
#get_account_container_workspace_proposal(path, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::WorkspaceProposal
Gets a GTM Workspace Proposal.
-
#get_account_container_workspace_status(path, fields: nil, quota_user: nil, user_ip: 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, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Tag
Gets a GTM Tag.
-
#get_account_container_workspace_trigger(path, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Trigger
Gets a GTM Trigger.
-
#get_account_container_workspace_variable(path, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Variable
Gets a GTM Variable.
-
#get_account_user_permission(path, fields: nil, quota_user: nil, user_ip: 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, user_ip: 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, user_ip: 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, user_ip: 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, user_ip: 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, user_ip: 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, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ListTagsResponse
Lists all GTM Tags of a Container.
-
#list_account_container_workspace_triggers(parent, page_token: nil, fields: nil, quota_user: nil, user_ip: 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, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ListVariablesResponse
Lists all GTM Variables of a Container.
-
#list_account_container_workspaces(parent, page_token: nil, fields: nil, quota_user: nil, user_ip: 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, user_ip: 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, user_ip: 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, user_ip: 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, user_ip: 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, user_ip: nil, options: nil) {|result, err| ... }
Moves entities to a GTM Folder.
-
#patch_account_container_environment(path, environment_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Environment
Updates a GTM Environment.
-
#publish_account_container_version(path, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::PublishContainerVersionResponse
Publishes a Container Version.
-
#quick_account_container_workspace_preview(path, fields: nil, quota_user: nil, user_ip: 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, user_ip: 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, user_ip: 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, user_ip: 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, user_ip: 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, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::RevertTagResponse
Reverts changes to a GTM Tag in a GTM Workspace.
-
#revert_account_container_workspace_trigger(path, fingerprint: nil, fields: nil, quota_user: nil, user_ip: 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, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::RevertVariableResponse
Reverts changes to a GTM Variable in a GTM Workspace.
-
#set_account_container_version_latest(path, fields: nil, quota_user: nil, user_ip: 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, user_ip: 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, user_ip: 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, user_ip: 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, user_ip: 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, user_ip: 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, user_ip: 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, user_ip: 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, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Folder
Updates a GTM Folder.
-
#update_account_container_workspace_proposal(path, update_workspace_proposal_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::WorkspaceProposal
Updates a GTM Workspace Proposal.
-
#update_account_container_workspace_tag(path, tag_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Tag
Updates a GTM Tag.
-
#update_account_container_workspace_trigger(path, trigger_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: 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, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Variable
Updates a GTM Variable.
-
#update_account_user_permission(path, user_permission_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::UserPermission
Updates a user's Account & Container access.
Methods inherited from Core::BaseService
#batch, #batch_upload, #fetch_all, #http
Methods included from Core::Logging
Constructor Details
#initialize ⇒ TagManagerService
Returns a new instance of TagManagerService
51 52 53 54 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 51 def initialize super('https://www.googleapis.com/', 'tagmanager/v2/') @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. Overrides userIp if both are provided.
44 45 46 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 44 def quota_user @quota_user end |
#user_ip ⇒ String
Returns IP address of the site where the request originates. Use this if you want to enforce per-user limits.
49 50 51 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 49 def user_ip @user_ip end |
Instance Method Details
#create_account_container(parent, container_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Container
Creates a Container.
193 194 195 196 197 198 199 200 201 202 203 204 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 193 def create_account_container(parent, container_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#create_account_container_environment(parent, environment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Environment
Creates a GTM Environment.
383 384 385 386 387 388 389 390 391 392 393 394 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 383 def create_account_container_environment(parent, environment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#create_account_container_workspace(parent, workspace_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Workspace
Creates a Workspace.
1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1000 def create_account_container_workspace(parent, workspace_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#create_account_container_workspace_built_in_variable(parent, type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::CreateBuiltInVariableResponse
Creates one or more GTM Built-In Variables.
1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1460 def create_account_container_workspace_built_in_variable(parent, type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#create_account_container_workspace_folder(parent, folder_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Folder
Creates a GTM Folder.
1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1613 def create_account_container_workspace_folder(parent, folder_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#create_account_container_workspace_tag(parent, tag_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Tag
Creates a GTM Tag.
2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2002 def create_account_container_workspace_tag(parent, tag_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#create_account_container_workspace_trigger(parent, trigger_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Trigger
Creates a GTM Trigger.
2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2233 def create_account_container_workspace_trigger(parent, trigger_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#create_account_container_workspace_variable(parent, variable_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Variable
Creates a GTM Variable.
2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2464 def create_account_container_workspace_variable(parent, variable_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{+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? command.query['userIp'] = user_ip unless user_ip.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, user_ip: 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.
1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1041 def create_account_container_workspace_version(path, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#create_account_user_permission(parent, user_permission_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::UserPermission
Creates a user's Account & Container access.
2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2694 def (parent, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#create_workspace_proposal(parent, create_workspace_proposal_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::WorkspaceProposal
Creates a GTM Workspace Proposal.
1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1929 def create_workspace_proposal(parent, create_workspace_proposal_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{+parent}/proposal', ) command.request_representation = Google::Apis::TagmanagerV2::CreateWorkspaceProposalRequest::Representation command.request_object = create_workspace_proposal_request_object command.response_representation = Google::Apis::TagmanagerV2::WorkspaceProposal::Representation command.response_class = Google::Apis::TagmanagerV2::WorkspaceProposal command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_account_container(path, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes a Container.
231 232 233 234 235 236 237 238 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 231 def delete_account_container(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{+path}', ) command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_account_container_environment(path, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes a GTM Environment.
421 422 423 424 425 426 427 428 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 421 def delete_account_container_environment(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{+path}', ) command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_account_container_version(path, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes a Container Version.
733 734 735 736 737 738 739 740 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 733 def delete_account_container_version(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{+path}', ) command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_account_container_workspace(path, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes a Workspace.
1079 1080 1081 1082 1083 1084 1085 1086 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1079 def delete_account_container_workspace(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{+path}', ) command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_account_container_workspace_built_in_variable(path, type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes one or more GTM Built-In Variables.
1499 1500 1501 1502 1503 1504 1505 1506 1507 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1499 def delete_account_container_workspace_built_in_variable(path, type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_account_container_workspace_folder(path, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes a GTM Folder.
1651 1652 1653 1654 1655 1656 1657 1658 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1651 def delete_account_container_workspace_folder(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{+path}', ) command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_account_container_workspace_proposal(path, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes a GTM Workspace Proposal.
1967 1968 1969 1970 1971 1972 1973 1974 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1967 def delete_account_container_workspace_proposal(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{+path}', ) command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_account_container_workspace_tag(path, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes a GTM Tag.
2040 2041 2042 2043 2044 2045 2046 2047 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2040 def delete_account_container_workspace_tag(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{+path}', ) command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_account_container_workspace_trigger(path, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes a GTM Trigger.
2271 2272 2273 2274 2275 2276 2277 2278 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2271 def delete_account_container_workspace_trigger(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{+path}', ) command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_account_container_workspace_variable(path, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes a GTM Variable.
2502 2503 2504 2505 2506 2507 2508 2509 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2502 def delete_account_container_workspace_variable(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{+path}', ) command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_account_user_permission(path, fields: nil, quota_user: nil, user_ip: 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.
2733 2734 2735 2736 2737 2738 2739 2740 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2733 def (path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{+path}', ) command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#entities_account_container_workspace_folder(path, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::FolderEntities
List all entities in a GTM Folder.
1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1687 def entities_account_container_workspace_folder(path, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_account(path, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Account
Gets a GTM Account.
80 81 82 83 84 85 86 87 88 89 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 80 def get_account(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_account_container(path, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Container
Gets a Container.
265 266 267 268 269 270 271 272 273 274 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 265 def get_account_container(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_account_container_environment(path, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Environment
Gets a GTM Environment.
455 456 457 458 459 460 461 462 463 464 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 455 def get_account_container_environment(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_account_container_version(path, container_version_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ContainerVersion
Gets a Container Version.
770 771 772 773 774 775 776 777 778 779 780 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 770 def get_account_container_version(path, container_version_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_account_container_workspace(path, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Workspace
Gets a Workspace.
1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1113 def get_account_container_workspace(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_account_container_workspace_folder(path, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Folder
Gets a GTM Folder.
1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1724 def get_account_container_workspace_folder(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_account_container_workspace_proposal(path, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::WorkspaceProposal
Gets a GTM Workspace Proposal.
1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1149 def get_account_container_workspace_proposal(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{+path}', ) command.response_representation = Google::Apis::TagmanagerV2::WorkspaceProposal::Representation command.response_class = Google::Apis::TagmanagerV2::WorkspaceProposal command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_account_container_workspace_status(path, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::GetWorkspaceStatusResponse
Finds conflicting and modified entities in the workspace.
1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1185 def get_account_container_workspace_status(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_account_container_workspace_tag(path, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Tag
Gets a GTM Tag.
2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2074 def get_account_container_workspace_tag(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_account_container_workspace_trigger(path, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Trigger
Gets a GTM Trigger.
2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2305 def get_account_container_workspace_trigger(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_account_container_workspace_variable(path, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Variable
Gets a GTM Variable.
2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2536 def get_account_container_workspace_variable(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_account_user_permission(path, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::UserPermission
Gets a user's Account & Container access.
2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2767 def (path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#latest_account_container_version_header(parent, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ContainerVersionHeader
Gets the latest container version header
655 656 657 658 659 660 661 662 663 664 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 655 def latest_account_container_version_header(parent, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_account_container_environments(parent, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ListEnvironmentsResponse
Lists all GTM Environments of a GTM Container.
493 494 495 496 497 498 499 500 501 502 503 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 493 def list_account_container_environments(parent, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{+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? command.query['userIp'] = user_ip unless user_ip.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, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ListContainerVersionsResponse
Lists all Container Versions of a GTM Container.
695 696 697 698 699 700 701 702 703 704 705 706 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 695 def list_account_container_version_headers(parent, include_deleted: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_account_container_workspace_built_in_variables(parent, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ListEnabledBuiltInVariablesResponse
Lists all the enabled Built-In Variables of a GTM Container.
1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1536 def list_account_container_workspace_built_in_variables(parent, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_account_container_workspace_folders(parent, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ListFoldersResponse
Lists all GTM Folders of a Container.
1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1762 def list_account_container_workspace_folders(parent, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_account_container_workspace_tags(parent, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ListTagsResponse
Lists all GTM Tags of a Container.
2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2112 def (parent, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_account_container_workspace_triggers(parent, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ListTriggersResponse
Lists all GTM Triggers of a Container.
2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2343 def list_account_container_workspace_triggers(parent, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_account_container_workspace_variables(parent, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ListVariablesResponse
Lists all GTM Variables of a Container.
2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2574 def list_account_container_workspace_variables(parent, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_account_container_workspaces(parent, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ListWorkspacesResponse
Lists all Workspaces that belong to a GTM Container.
1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1223 def list_account_container_workspaces(parent, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_account_containers(parent, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ListContainersResponse
Lists all Containers that belongs to a GTM Account.
302 303 304 305 306 307 308 309 310 311 312 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 302 def list_account_containers(parent, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_account_user_permissions(parent, page_token: nil, fields: nil, quota_user: nil, user_ip: 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.
2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2805 def (parent, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_accounts(page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ListAccountsResponse
Lists all GTM Accounts that a user has access to.
115 116 117 118 119 120 121 122 123 124 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 115 def list_accounts(page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#live_account_container_version(parent, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ContainerVersion
Gets the live (i.e. published) container version
807 808 809 810 811 812 813 814 815 816 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 807 def live_account_container_version(parent, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{+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? command.query['userIp'] = user_ip unless user_ip.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, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Moves entities to a GTM Folder.
1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1806 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, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_account_container_environment(path, environment_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Environment
Updates a GTM Environment. This method supports patch semantics.
534 535 536 537 538 539 540 541 542 543 544 545 546 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 534 def patch_account_container_environment(path, environment_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#publish_account_container_version(path, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::PublishContainerVersionResponse
Publishes a Container Version.
846 847 848 849 850 851 852 853 854 855 856 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 846 def publish_account_container_version(path, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#quick_account_container_workspace_preview(path, fields: nil, quota_user: nil, user_ip: 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.
1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1261 def quick_account_container_workspace_preview(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#reauthorize_account_container_environment(path, environment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Environment
Re-generates the authorization code for a GTM Environment.
574 575 576 577 578 579 580 581 582 583 584 585 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 574 def (path, environment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#resolve_account_container_workspace_conflict(path, entity_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: 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.
1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1302 def resolve_account_container_workspace_conflict(path, entity_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#revert_account_container_workspace_built_in_variable(path, type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::RevertBuiltInVariableResponse
Reverts changes to a GTM Built-In Variables in a GTM Workspace.
1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1575 def revert_account_container_workspace_built_in_variable(path, type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#revert_account_container_workspace_folder(path, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::RevertFolderResponse
Reverts changes to a GTM Folder in a GTM Workspace.
1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1848 def revert_account_container_workspace_folder(path, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#revert_account_container_workspace_tag(path, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::RevertTagResponse
Reverts changes to a GTM Tag in a GTM Workspace.
2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2152 def revert_account_container_workspace_tag(path, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#revert_account_container_workspace_trigger(path, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::RevertTriggerResponse
Reverts changes to a GTM Trigger in a GTM Workspace.
2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2383 def revert_account_container_workspace_trigger(path, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#revert_account_container_workspace_variable(path, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::RevertVariableResponse
Reverts changes to a GTM Variable in a GTM Workspace.
2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2614 def revert_account_container_workspace_variable(path, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_account_container_version_latest(path, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ContainerVersion
Sets the latest version used for synchronization of workspaces when detecting conflicts and errors.
884 885 886 887 888 889 890 891 892 893 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 884 def set_account_container_version_latest(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#sync_account_container_workspace(path, fields: nil, quota_user: nil, user_ip: 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.
1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1340 def sync_account_container_workspace(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#undelete_account_container_version(path, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ContainerVersion
Undeletes a Container Version.
920 921 922 923 924 925 926 927 928 929 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 920 def undelete_account_container_version(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_account(path, account_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Account
Updates a GTM Account.
154 155 156 157 158 159 160 161 162 163 164 165 166 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 154 def update_account(path, account_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_account_container(path, container_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Container
Updates a Container.
343 344 345 346 347 348 349 350 351 352 353 354 355 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 343 def update_account_container(path, container_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_account_container_environment(path, environment_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Environment
Updates a GTM Environment.
616 617 618 619 620 621 622 623 624 625 626 627 628 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 616 def update_account_container_environment(path, environment_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_account_container_version(path, container_version_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ContainerVersion
Updates a Container Version.
960 961 962 963 964 965 966 967 968 969 970 971 972 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 960 def update_account_container_version(path, container_version_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_account_container_workspace(path, workspace_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Workspace
Updates a Workspace.
1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1380 def update_account_container_workspace(path, workspace_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_account_container_workspace_folder(path, folder_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Folder
Updates a GTM Folder.
1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1889 def update_account_container_workspace_folder(path, folder_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_account_container_workspace_proposal(path, update_workspace_proposal_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::WorkspaceProposal
Updates a GTM Workspace Proposal.
1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 1420 def update_account_container_workspace_proposal(path, update_workspace_proposal_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{+path}', ) command.request_representation = Google::Apis::TagmanagerV2::UpdateWorkspaceProposalRequest::Representation command.request_object = update_workspace_proposal_request_object command.response_representation = Google::Apis::TagmanagerV2::WorkspaceProposal::Representation command.response_class = Google::Apis::TagmanagerV2::WorkspaceProposal command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_account_container_workspace_tag(path, tag_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Tag
Updates a GTM Tag.
2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2193 def update_account_container_workspace_tag(path, tag_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_account_container_workspace_trigger(path, trigger_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Trigger
Updates a GTM Trigger.
2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2424 def update_account_container_workspace_trigger(path, trigger_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_account_container_workspace_variable(path, variable_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Variable
Updates a GTM Variable.
2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2655 def update_account_container_workspace_variable(path, variable_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_account_user_permission(path, user_permission_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::UserPermission
Updates a user's Account & Container access.
2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 |
# File 'generated/google/apis/tagmanager_v2/service.rb', line 2843 def (path, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{+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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |