pub struct AccountMethods<'a> { /* private fields */ }
Expand description

A builder providing access to all methods supported on account resources. It is not used directly, but through the TagManager hub.

Example

Instantiate a resource builder

extern crate hyper;
extern crate hyper_rustls;
extern crate google_tagmanager2 as tagmanager2;
 
use std::default::Default;
use tagmanager2::{TagManager, oauth2, hyper, hyper_rustls};
 
let secret: oauth2::ApplicationSecret = Default::default();
let auth = oauth2::InstalledFlowAuthenticator::builder(
        secret,
        oauth2::InstalledFlowReturnMethod::HTTPRedirect,
    ).build().await.unwrap();
let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
// Usually you wouldn't bind this to a variable, but keep calling *CallBuilders*
// like `containers_create(...)`, `containers_delete(...)`, `containers_environments_create(...)`, `containers_environments_delete(...)`, `containers_environments_get(...)`, `containers_environments_list(...)`, `containers_environments_reauthorize(...)`, `containers_environments_update(...)`, `containers_get(...)`, `containers_list(...)`, `containers_update(...)`, `containers_version_headers_latest(...)`, `containers_version_headers_list(...)`, `containers_versions_delete(...)`, `containers_versions_get(...)`, `containers_versions_live(...)`, `containers_versions_publish(...)`, `containers_versions_set_latest(...)`, `containers_versions_undelete(...)`, `containers_versions_update(...)`, `containers_workspaces_built_in_variables_create(...)`, `containers_workspaces_built_in_variables_delete(...)`, `containers_workspaces_built_in_variables_list(...)`, `containers_workspaces_built_in_variables_revert(...)`, `containers_workspaces_clients_create(...)`, `containers_workspaces_clients_delete(...)`, `containers_workspaces_clients_get(...)`, `containers_workspaces_clients_list(...)`, `containers_workspaces_clients_revert(...)`, `containers_workspaces_clients_update(...)`, `containers_workspaces_create(...)`, `containers_workspaces_create_version(...)`, `containers_workspaces_delete(...)`, `containers_workspaces_folders_create(...)`, `containers_workspaces_folders_delete(...)`, `containers_workspaces_folders_entities(...)`, `containers_workspaces_folders_get(...)`, `containers_workspaces_folders_list(...)`, `containers_workspaces_folders_move_entities_to_folder(...)`, `containers_workspaces_folders_revert(...)`, `containers_workspaces_folders_update(...)`, `containers_workspaces_get(...)`, `containers_workspaces_get_status(...)`, `containers_workspaces_list(...)`, `containers_workspaces_quick_preview(...)`, `containers_workspaces_resolve_conflict(...)`, `containers_workspaces_sync(...)`, `containers_workspaces_tags_create(...)`, `containers_workspaces_tags_delete(...)`, `containers_workspaces_tags_get(...)`, `containers_workspaces_tags_list(...)`, `containers_workspaces_tags_revert(...)`, `containers_workspaces_tags_update(...)`, `containers_workspaces_templates_create(...)`, `containers_workspaces_templates_delete(...)`, `containers_workspaces_templates_get(...)`, `containers_workspaces_templates_list(...)`, `containers_workspaces_templates_revert(...)`, `containers_workspaces_templates_update(...)`, `containers_workspaces_triggers_create(...)`, `containers_workspaces_triggers_delete(...)`, `containers_workspaces_triggers_get(...)`, `containers_workspaces_triggers_list(...)`, `containers_workspaces_triggers_revert(...)`, `containers_workspaces_triggers_update(...)`, `containers_workspaces_update(...)`, `containers_workspaces_variables_create(...)`, `containers_workspaces_variables_delete(...)`, `containers_workspaces_variables_get(...)`, `containers_workspaces_variables_list(...)`, `containers_workspaces_variables_revert(...)`, `containers_workspaces_variables_update(...)`, `containers_workspaces_zones_create(...)`, `containers_workspaces_zones_delete(...)`, `containers_workspaces_zones_get(...)`, `containers_workspaces_zones_list(...)`, `containers_workspaces_zones_revert(...)`, `containers_workspaces_zones_update(...)`, `get(...)`, `list(...)`, `update(...)`, `user_permissions_create(...)`, `user_permissions_delete(...)`, `user_permissions_get(...)`, `user_permissions_list(...)` and `user_permissions_update(...)`
// to build up your call.
let rb = hub.accounts();

Implementations

Create a builder to help you perform the following task:

Creates a GTM Environment.

Arguments
  • request - No description provided.
  • parent - GTM Container’s API relative path. Example: accounts/{account_id}/containers/{container_id}

Create a builder to help you perform the following task:

Deletes a GTM Environment.

Arguments
  • path - GTM Environment’s API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{environment_id}

Create a builder to help you perform the following task:

Gets a GTM Environment.

Arguments
  • path - GTM Environment’s API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{environment_id}

Create a builder to help you perform the following task:

Lists all GTM Environments of a GTM Container.

Arguments
  • parent - GTM Container’s API relative path. Example: accounts/{account_id}/containers/{container_id}

Create a builder to help you perform the following task:

Re-generates the authorization code for a GTM Environment.

Arguments
  • request - No description provided.
  • path - GTM Environment’s API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{environment_id}

Create a builder to help you perform the following task:

Updates a GTM Environment.

Arguments
  • request - No description provided.
  • path - GTM Environment’s API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{environment_id}

Create a builder to help you perform the following task:

Gets the latest container version header

Arguments
  • parent - GTM Container’s API relative path. Example: accounts/{account_id}/containers/{container_id}

Create a builder to help you perform the following task:

Lists all Container Versions of a GTM Container.

Arguments
  • parent - GTM Container’s API relative path. Example: accounts/{account_id}/containers/{container_id}

Create a builder to help you perform the following task:

Deletes a Container Version.

Arguments
  • path - GTM ContainerVersion’s API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}

Create a builder to help you perform the following task:

Gets a Container Version.

Arguments
  • path - GTM ContainerVersion’s API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}

Create a builder to help you perform the following task:

Gets the live (i.e. published) container version

Arguments
  • parent - GTM Container’s API relative path. Example: accounts/{account_id}/containers/{container_id}

Create a builder to help you perform the following task:

Publishes a Container Version.

Arguments
  • path - GTM ContainerVersion’s API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}

Create a builder to help you perform the following task:

Sets the latest version used for synchronization of workspaces when detecting conflicts and errors.

Arguments
  • path - GTM ContainerVersion’s API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}

Create a builder to help you perform the following task:

Undeletes a Container Version.

Arguments
  • path - GTM ContainerVersion’s API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}

Create a builder to help you perform the following task:

Updates a Container Version.

Arguments
  • request - No description provided.
  • path - GTM ContainerVersion’s API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}

Create a builder to help you perform the following task:

Creates one or more GTM Built-In Variables.

Arguments
  • parent - GTM Workspace’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}

Create a builder to help you perform the following task:

Deletes one or more GTM Built-In Variables.

Arguments
  • path - GTM BuiltInVariable’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/built_in_variables

Create a builder to help you perform the following task:

Lists all the enabled Built-In Variables of a GTM Container.

Arguments
  • parent - GTM Workspace’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}

Create a builder to help you perform the following task:

Reverts changes to a GTM Built-In Variables in a GTM Workspace.

Arguments
  • path - GTM BuiltInVariable’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/built_in_variables

Create a builder to help you perform the following task:

Creates a GTM Client.

Arguments
  • request - No description provided.
  • parent - GTM Workspace’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}

Create a builder to help you perform the following task:

Deletes a GTM Client.

Arguments
  • path - GTM Client’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/clients/{client_id}

Create a builder to help you perform the following task:

Gets a GTM Client.

Arguments
  • path - GTM Client’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/clients/{client_id}

Create a builder to help you perform the following task:

Lists all GTM Clients of a GTM container workspace.

Arguments
  • parent - GTM Workspace’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}

Create a builder to help you perform the following task:

Reverts changes to a GTM Client in a GTM Workspace.

Arguments
  • path - GTM Client’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/clients/{client_id}

Create a builder to help you perform the following task:

Updates a GTM Client.

Arguments
  • request - No description provided.
  • path - GTM Client’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/clients/{client_id}

Create a builder to help you perform the following task:

Creates a GTM Folder.

Arguments
  • request - No description provided.
  • parent - GTM Workspace’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}

Create a builder to help you perform the following task:

Deletes a GTM Folder.

Arguments
  • path - GTM Folder’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}

Create a builder to help you perform the following task:

List all entities in a GTM Folder.

Arguments
  • path - GTM Folder’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}

Create a builder to help you perform the following task:

Gets a GTM Folder.

Arguments
  • path - GTM Folder’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}

Create a builder to help you perform the following task:

Lists all GTM Folders of a Container.

Arguments
  • parent - GTM Workspace’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}

Create a builder to help you perform the following task:

Moves entities to a GTM Folder.

Arguments
  • request - No description provided.
  • path - GTM Folder’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}

Create a builder to help you perform the following task:

Reverts changes to a GTM Folder in a GTM Workspace.

Arguments
  • path - GTM Folder’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}

Create a builder to help you perform the following task:

Updates a GTM Folder.

Arguments
  • request - No description provided.
  • path - GTM Folder’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}

Create a builder to help you perform the following task:

Creates a GTM Tag.

Arguments
  • request - No description provided.
  • parent - GTM Workspace’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}

Create a builder to help you perform the following task:

Deletes a GTM Tag.

Arguments
  • path - GTM Tag’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/tags/{tag_id}

Create a builder to help you perform the following task:

Gets a GTM Tag.

Arguments
  • path - GTM Tag’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/tags/{tag_id}

Create a builder to help you perform the following task:

Lists all GTM Tags of a Container.

Arguments
  • parent - GTM Workspace’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}

Create a builder to help you perform the following task:

Reverts changes to a GTM Tag in a GTM Workspace.

Arguments
  • path - GTM Tag’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/tags/{tag_id}

Create a builder to help you perform the following task:

Updates a GTM Tag.

Arguments
  • request - No description provided.
  • path - GTM Tag’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/tags/{tag_id}

Create a builder to help you perform the following task:

Creates a GTM Custom Template.

Arguments
  • request - No description provided.
  • parent - GTM Workspace’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}

Create a builder to help you perform the following task:

Deletes a GTM Template.

Arguments
  • path - GTM Custom Template’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/templates/{template_id}

Create a builder to help you perform the following task:

Gets a GTM Template.

Arguments
  • path - GTM Custom Template’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/templates/{template_id}

Create a builder to help you perform the following task:

Lists all GTM Templates of a GTM container workspace.

Arguments
  • parent - GTM Workspace’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}

Create a builder to help you perform the following task:

Reverts changes to a GTM Template in a GTM Workspace.

Arguments
  • path - GTM Custom Template’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/templates/{template_id}

Create a builder to help you perform the following task:

Updates a GTM Template.

Arguments
  • request - No description provided.
  • path - GTM Custom Template’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/templates/{template_id}

Create a builder to help you perform the following task:

Creates a GTM Trigger.

Arguments
  • request - No description provided.
  • parent - GTM Workspaces’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}

Create a builder to help you perform the following task:

Deletes a GTM Trigger.

Arguments
  • path - GTM Trigger’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/triggers/{trigger_id}

Create a builder to help you perform the following task:

Gets a GTM Trigger.

Arguments
  • path - GTM Trigger’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/triggers/{trigger_id}

Create a builder to help you perform the following task:

Lists all GTM Triggers of a Container.

Arguments
  • parent - GTM Workspaces’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}

Create a builder to help you perform the following task:

Reverts changes to a GTM Trigger in a GTM Workspace.

Arguments
  • path - GTM Trigger’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/triggers/{trigger_id}

Create a builder to help you perform the following task:

Updates a GTM Trigger.

Arguments
  • request - No description provided.
  • path - GTM Trigger’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/triggers/{trigger_id}

Create a builder to help you perform the following task:

Creates a GTM Variable.

Arguments
  • request - No description provided.
  • parent - GTM Workspace’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}

Create a builder to help you perform the following task:

Deletes a GTM Variable.

Arguments
  • path - GTM Variable’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/variables/{variable_id}

Create a builder to help you perform the following task:

Gets a GTM Variable.

Arguments
  • path - GTM Variable’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/variables/{variable_id}

Create a builder to help you perform the following task:

Lists all GTM Variables of a Container.

Arguments
  • parent - GTM Workspace’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}

Create a builder to help you perform the following task:

Reverts changes to a GTM Variable in a GTM Workspace.

Arguments
  • path - GTM Variable’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/variables/{variable_id}

Create a builder to help you perform the following task:

Updates a GTM Variable.

Arguments
  • request - No description provided.
  • path - GTM Variable’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/variables/{variable_id}

Create a builder to help you perform the following task:

Creates a GTM Zone.

Arguments
  • request - No description provided.
  • parent - GTM Workspace’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}

Create a builder to help you perform the following task:

Deletes a GTM Zone.

Arguments
  • path - GTM Zone’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/zones/{zone_id}

Create a builder to help you perform the following task:

Gets a GTM Zone.

Arguments
  • path - GTM Zone’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/zones/{zone_id}

Create a builder to help you perform the following task:

Lists all GTM Zones of a GTM container workspace.

Arguments
  • parent - GTM Workspace’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}

Create a builder to help you perform the following task:

Reverts changes to a GTM Zone in a GTM Workspace.

Arguments
  • path - GTM Zone’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/zones/{zone_id}

Create a builder to help you perform the following task:

Updates a GTM Zone.

Arguments
  • request - No description provided.
  • path - GTM Zone’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/zones/{zone_id}

Create a builder to help you perform the following task:

Creates a Workspace.

Arguments
  • request - No description provided.
  • parent - GTM parent Container’s API relative path. Example: accounts/{account_id}/containers/{container_id}

Create a builder to help you perform the following task:

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.

Arguments
  • request - No description provided.
  • path - GTM Workspace’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}

Create a builder to help you perform the following task:

Deletes a Workspace.

Arguments
  • path - GTM Workspace’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}

Create a builder to help you perform the following task:

Gets a Workspace.

Arguments
  • path - GTM Workspace’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}

Create a builder to help you perform the following task:

Finds conflicting and modified entities in the workspace.

Arguments
  • path - GTM Workspace’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}

Create a builder to help you perform the following task:

Lists all Workspaces that belong to a GTM Container.

Arguments
  • parent - GTM parent Container’s API relative path. Example: accounts/{account_id}/containers/{container_id}

Create a builder to help you perform the following task:

Quick previews a workspace by creating a fake container version from all entities in the provided workspace.

Arguments
  • path - GTM Workspace’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}

Create a builder to help you perform the following task:

Resolves a merge conflict for a workspace entity by updating it to the resolved entity passed in the request.

Arguments
  • request - No description provided.
  • path - GTM Workspace’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}

Create a builder to help you perform the following task:

Syncs a workspace to the latest container version by updating all unmodified workspace entities and displaying conflicts for modified entities.

Arguments
  • path - GTM Workspace’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}

Create a builder to help you perform the following task:

Updates a Workspace.

Arguments
  • request - No description provided.
  • path - GTM Workspace’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}

Create a builder to help you perform the following task:

Creates a Container.

Arguments
  • request - No description provided.
  • parent - GTM Account’s API relative path. Example: accounts/{account_id}.

Create a builder to help you perform the following task:

Deletes a Container.

Arguments
  • path - GTM Container’s API relative path. Example: accounts/{account_id}/containers/{container_id}

Create a builder to help you perform the following task:

Gets a Container.

Arguments
  • path - GTM Container’s API relative path. Example: accounts/{account_id}/containers/{container_id}

Create a builder to help you perform the following task:

Lists all Containers that belongs to a GTM Account.

Arguments
  • parent - GTM Accounts’s API relative path. Example: accounts/{account_id}.

Create a builder to help you perform the following task:

Updates a Container.

Arguments
  • request - No description provided.
  • path - GTM Container’s API relative path. Example: accounts/{account_id}/containers/{container_id}

Create a builder to help you perform the following task:

Creates a user’s Account & Container access.

Arguments
  • request - No description provided.
  • parent - GTM Account’s API relative path. Example: accounts/{account_id}

Create a builder to help you perform the following task:

Removes a user from the account, revoking access to it and all of its containers.

Arguments
  • path - GTM UserPermission’s API relative path. Example: accounts/{account_id}/user_permissions/{user_permission_id}

Create a builder to help you perform the following task:

Gets a user’s Account & Container access.

Arguments
  • path - GTM UserPermission’s API relative path. Example: accounts/{account_id}/user_permissions/{user_permission_id}

Create a builder to help you perform the following task:

List all users that have access to the account along with Account and Container user access granted to each of them.

Arguments
  • parent - GTM Accounts’s API relative path. Example: accounts/{account_id}

Create a builder to help you perform the following task:

Updates a user’s Account & Container access.

Arguments
  • request - No description provided.
  • path - GTM UserPermission’s API relative path. Example: accounts/{account_id}/user_permissions/{user_permission_id}

Create a builder to help you perform the following task:

Gets a GTM Account.

Arguments
  • path - GTM Accounts’s API relative path. Example: accounts/{account_id}

Create a builder to help you perform the following task:

Lists all GTM Accounts that a user has access to.

Create a builder to help you perform the following task:

Updates a GTM Account.

Arguments
  • request - No description provided.
  • path - GTM Accounts’s API relative path. Example: accounts/{account_id}

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more