Struct google_tagmanager2::AccountMethods[][src]

pub struct AccountMethods<'a, C, A> where
    C: 'a,
    A: 'a, 
{ /* fields omitted */ }

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 yup_oauth2 as oauth2;
extern crate google_tagmanager2 as tagmanager2;
 
use std::default::Default;
use oauth2::{Authenticator, DefaultAuthenticatorDelegate, ApplicationSecret, MemoryStorage};
use tagmanager2::TagManager;
 
let secret: ApplicationSecret = Default::default();
let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate,
                              hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())),
                              <MemoryStorage as Default>::default(), None);
let mut hub = TagManager::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), 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_patch(...)`, `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_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_proposal(...)`, `containers_workspaces_get_status(...)`, `containers_workspaces_list(...)`, `containers_workspaces_proposal_create(...)`, `containers_workspaces_proposal_delete(...)`, `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_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_update_proposal(...)`, `containers_workspaces_variables_create(...)`, `containers_workspaces_variables_delete(...)`, `containers_workspaces_variables_get(...)`, `containers_workspaces_variables_list(...)`, `containers_workspaces_variables_revert(...)`, `containers_workspaces_variables_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();

Methods

impl<'a, C, A> AccountMethods<'a, C, A>
[src]

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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 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 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:

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:

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:

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:

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 GTM Workspace Proposal.

Arguments

  • path - GTM workspace proposal's relative path: Example: accounts/{aid}/containers/{cid}/workspace/{wid}/workspace_proposal

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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 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:

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:

Updates a GTM Account.

Arguments

  • request - No description provided.
  • path - GTM Accounts's API relative path. Example: accounts/{account_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:

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:

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 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 Account.

Arguments

  • path - GTM Accounts's API relative path. Example: accounts/{account_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:

Lists all GTM Accounts that a user has access to.

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:

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:

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:

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:

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:

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:

Updates a GTM Environment. This method supports patch semantics.

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 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 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 a GTM Workspace Proposal.

Arguments

  • path - GTM workspace proposal's relative path: Example: accounts/{aid}/containers/{cid}/workspace/{wid}/workspace_proposal

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:

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:

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:

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:

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:

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 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:

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:

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:

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:

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 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:

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:

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 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:

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:

Creates a GTM Workspace Proposal.

Arguments

  • request - No description provided.
  • parent - GTM Workspace's API relative path. Example: accounts/{aid}/containers/{cid}/workspace/{wid}

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:

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:

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:

Updates a GTM Workspace Proposal.

Arguments

  • request - No description provided.
  • path - GTM workspace proposal's relative path: Example: accounts/{aid}/containers/{cid}/workspace/{wid}/workspace_proposal

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}

Trait Implementations

impl<'a, C, A> MethodsBuilder for AccountMethods<'a, C, A>
[src]

Auto Trait Implementations

impl<'a, C, A> !Send for AccountMethods<'a, C, A>

impl<'a, C, A> !Sync for AccountMethods<'a, C, A>