Class: Google::Apis::TagmanagerV2::TagManagerService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::TagmanagerV2::TagManagerService
- Defined in:
- lib/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 49 50 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 45 def initialize super('https://tagmanager.googleapis.com/', '', client_name: 'google-apis-tagmanager_v2', client_version: Google::Apis::TagmanagerV2::GEM_VERSION) @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 'lib/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 'lib/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.
170 171 172 173 174 175 176 177 178 179 180 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 170 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.
335 336 337 338 339 340 341 342 343 344 345 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 335 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.
834 835 836 837 838 839 840 841 842 843 844 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 834 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.
1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 1169 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.
1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 1302 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.
1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 1578 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.
1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 1779 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.
1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 1980 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.
2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 2181 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.
870 871 872 873 874 875 876 877 878 879 880 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 870 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.
2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 2382 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.
2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 2582 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.
203 204 205 206 207 208 209 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 203 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.
368 369 370 371 372 373 374 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 368 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.
602 603 604 605 606 607 608 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 602 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.
903 904 905 906 907 908 909 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 903 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.
1203 1204 1205 1206 1207 1208 1209 1210 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 1203 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.
1335 1336 1337 1338 1339 1340 1341 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 1335 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.
1611 1612 1613 1614 1615 1616 1617 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 1611 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.
1812 1813 1814 1815 1816 1817 1818 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 1812 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.
2013 2014 2015 2016 2017 2018 2019 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 2013 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.
2214 2215 2216 2217 2218 2219 2220 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 2214 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.
2415 2416 2417 2418 2419 2420 2421 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 2415 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.
2616 2617 2618 2619 2620 2621 2622 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 2616 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.
1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 1366 def entities_account_container_workspace_folder(path, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'tagmanager/v2/{+path}:entities', ) command.response_representation = Google::Apis::TagmanagerV2::FolderEntities::Representation command.response_class = Google::Apis::TagmanagerV2::FolderEntities command.params['path'] = path unless path.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_account(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Account
Gets a GTM Account.
72 73 74 75 76 77 78 79 80 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 72 def get_account(path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'tagmanager/v2/{+path}', ) command.response_representation = Google::Apis::TagmanagerV2::Account::Representation command.response_class = Google::Apis::TagmanagerV2::Account command.params['path'] = path unless path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_account_container(path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::Container
Gets a Container.
232 233 234 235 236 237 238 239 240 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 232 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.
397 398 399 400 401 402 403 404 405 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 397 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.
634 635 636 637 638 639 640 641 642 643 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 634 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.
932 933 934 935 936 937 938 939 940 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 932 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.
1398 1399 1400 1401 1402 1403 1404 1405 1406 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 1398 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.
963 964 965 966 967 968 969 970 971 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 963 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.
1640 1641 1642 1643 1644 1645 1646 1647 1648 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 1640 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.
1841 1842 1843 1844 1845 1846 1847 1848 1849 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 1841 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.
2042 2043 2044 2045 2046 2047 2048 2049 2050 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 2042 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.
2243 2244 2245 2246 2247 2248 2249 2250 2251 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 2243 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.
2444 2445 2446 2447 2448 2449 2450 2451 2452 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 2444 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.
2645 2646 2647 2648 2649 2650 2651 2652 2653 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 2645 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
534 535 536 537 538 539 540 541 542 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 534 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.
430 431 432 433 434 435 436 437 438 439 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 430 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.
569 570 571 572 573 574 575 576 577 578 579 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 569 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.
1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 1235 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.
1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 1431 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.
1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 1673 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.
1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 1874 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.
2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 2075 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.
2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 2276 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.
2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 2477 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.
996 997 998 999 1000 1001 1002 1003 1004 1005 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 996 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.
264 265 266 267 268 269 270 271 272 273 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 264 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.
2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 2678 def (parent, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'tagmanager/v2/{+parent}/user_permissions', ) command.response_representation = Google::Apis::TagmanagerV2::ListUserPermissionsResponse::Representation command.response_class = Google::Apis::TagmanagerV2::ListUserPermissionsResponse command.params['parent'] = parent unless parent.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_accounts(page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ListAccountsResponse
Lists all GTM Accounts that a user has access to.
102 103 104 105 106 107 108 109 110 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 102 def list_accounts(page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'tagmanager/v2/accounts', ) command.response_representation = Google::Apis::TagmanagerV2::ListAccountsResponse::Representation command.response_class = Google::Apis::TagmanagerV2::ListAccountsResponse command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#live_account_container_version(parent, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::TagmanagerV2::ContainerVersion
Gets the live (i.e. published) container version
666 667 668 669 670 671 672 673 674 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 666 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.
1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 1470 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.
700 701 702 703 704 705 706 707 708 709 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 700 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.
1029 1030 1031 1032 1033 1034 1035 1036 1037 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 1029 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.
463 464 465 466 467 468 469 470 471 472 473 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 463 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.
1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 1065 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.
1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 1269 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.
1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 1507 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.
1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 1708 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.
1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 1909 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.
2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 2110 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.
2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 2311 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.
2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 2512 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.
733 734 735 736 737 738 739 740 741 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 733 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.
1098 1099 1100 1101 1102 1103 1104 1105 1106 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 1098 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.
764 765 766 767 768 769 770 771 772 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 764 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.
136 137 138 139 140 141 142 143 144 145 146 147 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 136 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.
300 301 302 303 304 305 306 307 308 309 310 311 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 300 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.
500 501 502 503 504 505 506 507 508 509 510 511 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 500 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.
799 800 801 802 803 804 805 806 807 808 809 810 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 799 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.
1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 1133 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.
1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 1543 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.
1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 1744 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.
1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 1945 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.
2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 2146 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.
2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 2347 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.
2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 2548 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.
2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 |
# File 'lib/google/apis/tagmanager_v2/service.rb', line 2711 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 |