Struct AccountMethods

Source
pub struct AccountMethods<'a, C>
where C: '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 tagmanager2::{TagManager, FieldMask, hyper_rustls, hyper_util, yup_oauth2};

let secret: yup_oauth2::ApplicationSecret = Default::default();
let auth = yup_oauth2::InstalledFlowAuthenticator::builder(
    secret,
    yup_oauth2::InstalledFlowReturnMethod::HTTPRedirect,
).build().await.unwrap();

let client = hyper_util::client::legacy::Client::builder(
    hyper_util::rt::TokioExecutor::new()
)
.build(
    hyper_rustls::HttpsConnectorBuilder::new()
        .with_native_roots()
        .unwrap()
        .https_or_http()
        .enable_http1()
        .build()
);
let mut hub = TagManager::new(client, auth);
// Usually you wouldn't bind this to a variable, but keep calling *CallBuilders*
// like `containers_combine(...)`, `containers_create(...)`, `containers_delete(...)`, `containers_destinations_get(...)`, `containers_destinations_link(...)`, `containers_destinations_list(...)`, `containers_environments_create(...)`, `containers_environments_delete(...)`, `containers_environments_get(...)`, `containers_environments_list(...)`, `containers_environments_reauthorize(...)`, `containers_environments_update(...)`, `containers_get(...)`, `containers_list(...)`, `containers_lookup(...)`, `containers_move_tag_id(...)`, `containers_snippet(...)`, `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_gtag_config_create(...)`, `containers_workspaces_gtag_config_delete(...)`, `containers_workspaces_gtag_config_get(...)`, `containers_workspaces_gtag_config_list(...)`, `containers_workspaces_gtag_config_update(...)`, `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_transformations_create(...)`, `containers_workspaces_transformations_delete(...)`, `containers_workspaces_transformations_get(...)`, `containers_workspaces_transformations_list(...)`, `containers_workspaces_transformations_revert(...)`, `containers_workspaces_transformations_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§

Source§

impl<'a, C> AccountMethods<'a, C>

Source

pub fn containers_destinations_get( &self, path: &str, ) -> AccountContainerDestinationGetCall<'a, C>

Create a builder to help you perform the following task:

Gets a Destination.

§Arguments
  • path - Google Tag Destination’s API relative path. Example: accounts/{account_id}/containers/{container_id}/destinations/{destination_link_id}

Create a builder to help you perform the following task:

Adds a Destination to this Container and removes it from the Container to which it is currently linked.

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

pub fn containers_destinations_list( &self, parent: &str, ) -> AccountContainerDestinationListCall<'a, C>

Create a builder to help you perform the following task:

Lists all Destinations linked to a GTM Container.

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

pub fn containers_environments_create( &self, request: Environment, parent: &str, ) -> AccountContainerEnvironmentCreateCall<'a, C>

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}
Source

pub fn containers_environments_delete( &self, path: &str, ) -> AccountContainerEnvironmentDeleteCall<'a, C>

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}
Source

pub fn containers_environments_get( &self, path: &str, ) -> AccountContainerEnvironmentGetCall<'a, C>

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}
Source

pub fn containers_environments_list( &self, parent: &str, ) -> AccountContainerEnvironmentListCall<'a, C>

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}
Source

pub fn containers_environments_reauthorize( &self, request: Environment, path: &str, ) -> AccountContainerEnvironmentReauthorizeCall<'a, C>

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}
Source

pub fn containers_environments_update( &self, request: Environment, path: &str, ) -> AccountContainerEnvironmentUpdateCall<'a, C>

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}
Source

pub fn containers_version_headers_latest( &self, parent: &str, ) -> AccountContainerVersionHeaderLatestCall<'a, C>

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}
Source

pub fn containers_version_headers_list( &self, parent: &str, ) -> AccountContainerVersionHeaderListCall<'a, C>

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}
Source

pub fn containers_versions_delete( &self, path: &str, ) -> AccountContainerVersionDeleteCall<'a, C>

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}
Source

pub fn containers_versions_get( &self, path: &str, ) -> AccountContainerVersionGetCall<'a, C>

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}
Source

pub fn containers_versions_live( &self, parent: &str, ) -> AccountContainerVersionLiveCall<'a, C>

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}
Source

pub fn containers_versions_publish( &self, path: &str, ) -> AccountContainerVersionPublishCall<'a, C>

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}
Source

pub fn containers_versions_set_latest( &self, path: &str, ) -> AccountContainerVersionSetLatestCall<'a, C>

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}
Source

pub fn containers_versions_undelete( &self, path: &str, ) -> AccountContainerVersionUndeleteCall<'a, C>

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}
Source

pub fn containers_versions_update( &self, request: ContainerVersion, path: &str, ) -> AccountContainerVersionUpdateCall<'a, C>

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}
Source

pub fn containers_workspaces_built_in_variables_create( &self, parent: &str, ) -> AccountContainerWorkspaceBuiltInVariableCreateCall<'a, C>

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}
Source

pub fn containers_workspaces_built_in_variables_delete( &self, path: &str, ) -> AccountContainerWorkspaceBuiltInVariableDeleteCall<'a, C>

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
Source

pub fn containers_workspaces_built_in_variables_list( &self, parent: &str, ) -> AccountContainerWorkspaceBuiltInVariableListCall<'a, C>

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}
Source

pub fn containers_workspaces_built_in_variables_revert( &self, path: &str, ) -> AccountContainerWorkspaceBuiltInVariableRevertCall<'a, C>

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
Source

pub fn containers_workspaces_clients_create( &self, request: Client, parent: &str, ) -> AccountContainerWorkspaceClientCreateCall<'a, C>

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}
Source

pub fn containers_workspaces_clients_delete( &self, path: &str, ) -> AccountContainerWorkspaceClientDeleteCall<'a, C>

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}
Source

pub fn containers_workspaces_clients_get( &self, path: &str, ) -> AccountContainerWorkspaceClientGetCall<'a, C>

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}
Source

pub fn containers_workspaces_clients_list( &self, parent: &str, ) -> AccountContainerWorkspaceClientListCall<'a, C>

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}
Source

pub fn containers_workspaces_clients_revert( &self, path: &str, ) -> AccountContainerWorkspaceClientRevertCall<'a, C>

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}
Source

pub fn containers_workspaces_clients_update( &self, request: Client, path: &str, ) -> AccountContainerWorkspaceClientUpdateCall<'a, C>

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}
Source

pub fn containers_workspaces_folders_create( &self, request: Folder, parent: &str, ) -> AccountContainerWorkspaceFolderCreateCall<'a, C>

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}
Source

pub fn containers_workspaces_folders_delete( &self, path: &str, ) -> AccountContainerWorkspaceFolderDeleteCall<'a, C>

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}
Source

pub fn containers_workspaces_folders_entities( &self, path: &str, ) -> AccountContainerWorkspaceFolderEntityCall<'a, C>

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}
Source

pub fn containers_workspaces_folders_get( &self, path: &str, ) -> AccountContainerWorkspaceFolderGetCall<'a, C>

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}
Source

pub fn containers_workspaces_folders_list( &self, parent: &str, ) -> AccountContainerWorkspaceFolderListCall<'a, C>

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}
Source

pub fn containers_workspaces_folders_move_entities_to_folder( &self, request: Folder, path: &str, ) -> AccountContainerWorkspaceFolderMoveEntitiesToFolderCall<'a, C>

Create a builder to help you perform the following task:

Moves entities to a GTM Folder. If {folder_id} in the request path equals 0, this will instead move entities out of the folder they currently belong to.

§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}
Source

pub fn containers_workspaces_folders_revert( &self, path: &str, ) -> AccountContainerWorkspaceFolderRevertCall<'a, C>

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}
Source

pub fn containers_workspaces_folders_update( &self, request: Folder, path: &str, ) -> AccountContainerWorkspaceFolderUpdateCall<'a, C>

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}
Source

pub fn containers_workspaces_gtag_config_create( &self, request: GtagConfig, parent: &str, ) -> AccountContainerWorkspaceGtagConfigCreateCall<'a, C>

Create a builder to help you perform the following task:

Creates a Google tag config.

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

pub fn containers_workspaces_gtag_config_delete( &self, path: &str, ) -> AccountContainerWorkspaceGtagConfigDeleteCall<'a, C>

Create a builder to help you perform the following task:

Deletes a Google tag config.

§Arguments
  • path - Google tag config’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/gtag_config/{gtag_config_id}
Source

pub fn containers_workspaces_gtag_config_get( &self, path: &str, ) -> AccountContainerWorkspaceGtagConfigGetCall<'a, C>

Create a builder to help you perform the following task:

Gets a Google tag config.

§Arguments
  • path - Google tag config’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/gtag_config/{gtag_config_id}
Source

pub fn containers_workspaces_gtag_config_list( &self, parent: &str, ) -> AccountContainerWorkspaceGtagConfigListCall<'a, C>

Create a builder to help you perform the following task:

Lists all Google tag configs in a Container.

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

pub fn containers_workspaces_gtag_config_update( &self, request: GtagConfig, path: &str, ) -> AccountContainerWorkspaceGtagConfigUpdateCall<'a, C>

Create a builder to help you perform the following task:

Updates a Google tag config.

§Arguments
  • request - No description provided.
  • path - Google tag config’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/gtag_config/{gtag_config_id}
Source

pub fn containers_workspaces_tags_create( &self, request: Tag, parent: &str, ) -> AccountContainerWorkspaceTagCreateCall<'a, C>

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}
Source

pub fn containers_workspaces_tags_delete( &self, path: &str, ) -> AccountContainerWorkspaceTagDeleteCall<'a, C>

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}
Source

pub fn containers_workspaces_tags_get( &self, path: &str, ) -> AccountContainerWorkspaceTagGetCall<'a, C>

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}
Source

pub fn containers_workspaces_tags_list( &self, parent: &str, ) -> AccountContainerWorkspaceTagListCall<'a, C>

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}
Source

pub fn containers_workspaces_tags_revert( &self, path: &str, ) -> AccountContainerWorkspaceTagRevertCall<'a, C>

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}
Source

pub fn containers_workspaces_tags_update( &self, request: Tag, path: &str, ) -> AccountContainerWorkspaceTagUpdateCall<'a, C>

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}
Source

pub fn containers_workspaces_templates_create( &self, request: CustomTemplate, parent: &str, ) -> AccountContainerWorkspaceTemplateCreateCall<'a, C>

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}
Source

pub fn containers_workspaces_templates_delete( &self, path: &str, ) -> AccountContainerWorkspaceTemplateDeleteCall<'a, C>

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}
Source

pub fn containers_workspaces_templates_get( &self, path: &str, ) -> AccountContainerWorkspaceTemplateGetCall<'a, C>

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}
Source

pub fn containers_workspaces_templates_list( &self, parent: &str, ) -> AccountContainerWorkspaceTemplateListCall<'a, C>

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}
Source

pub fn containers_workspaces_templates_revert( &self, path: &str, ) -> AccountContainerWorkspaceTemplateRevertCall<'a, C>

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}
Source

pub fn containers_workspaces_templates_update( &self, request: CustomTemplate, path: &str, ) -> AccountContainerWorkspaceTemplateUpdateCall<'a, C>

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}
Source

pub fn containers_workspaces_transformations_create( &self, request: Transformation, parent: &str, ) -> AccountContainerWorkspaceTransformationCreateCall<'a, C>

Create a builder to help you perform the following task:

Creates a GTM Transformation.

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

pub fn containers_workspaces_transformations_delete( &self, path: &str, ) -> AccountContainerWorkspaceTransformationDeleteCall<'a, C>

Create a builder to help you perform the following task:

Deletes a GTM Transformation.

§Arguments
  • path - GTM Transformation’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/transformations/{transformation_id}
Source

pub fn containers_workspaces_transformations_get( &self, path: &str, ) -> AccountContainerWorkspaceTransformationGetCall<'a, C>

Create a builder to help you perform the following task:

Gets a GTM Transformation.

§Arguments
  • path - GTM Transformation’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/transformations/{transformation_id}
Source

pub fn containers_workspaces_transformations_list( &self, parent: &str, ) -> AccountContainerWorkspaceTransformationListCall<'a, C>

Create a builder to help you perform the following task:

Lists all GTM Transformations of a GTM container workspace.

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

pub fn containers_workspaces_transformations_revert( &self, path: &str, ) -> AccountContainerWorkspaceTransformationRevertCall<'a, C>

Create a builder to help you perform the following task:

Reverts changes to a GTM Transformation in a GTM Workspace.

§Arguments
  • path - GTM Transformation’s API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/transformations/{transformation_id}
Source

pub fn containers_workspaces_transformations_update( &self, request: Transformation, path: &str, ) -> AccountContainerWorkspaceTransformationUpdateCall<'a, C>

Create a builder to help you perform the following task:

Updates a GTM Transformation.

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

pub fn containers_workspaces_triggers_create( &self, request: Trigger, parent: &str, ) -> AccountContainerWorkspaceTriggerCreateCall<'a, C>

Create a builder to help you perform the following task:

Creates a GTM Trigger.

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

pub fn containers_workspaces_triggers_delete( &self, path: &str, ) -> AccountContainerWorkspaceTriggerDeleteCall<'a, C>

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}
Source

pub fn containers_workspaces_triggers_get( &self, path: &str, ) -> AccountContainerWorkspaceTriggerGetCall<'a, C>

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}
Source

pub fn containers_workspaces_triggers_list( &self, parent: &str, ) -> AccountContainerWorkspaceTriggerListCall<'a, C>

Create a builder to help you perform the following task:

Lists all GTM Triggers of a Container.

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

pub fn containers_workspaces_triggers_revert( &self, path: &str, ) -> AccountContainerWorkspaceTriggerRevertCall<'a, C>

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}
Source

pub fn containers_workspaces_triggers_update( &self, request: Trigger, path: &str, ) -> AccountContainerWorkspaceTriggerUpdateCall<'a, C>

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}
Source

pub fn containers_workspaces_variables_create( &self, request: Variable, parent: &str, ) -> AccountContainerWorkspaceVariableCreateCall<'a, C>

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}
Source

pub fn containers_workspaces_variables_delete( &self, path: &str, ) -> AccountContainerWorkspaceVariableDeleteCall<'a, C>

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}
Source

pub fn containers_workspaces_variables_get( &self, path: &str, ) -> AccountContainerWorkspaceVariableGetCall<'a, C>

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}
Source

pub fn containers_workspaces_variables_list( &self, parent: &str, ) -> AccountContainerWorkspaceVariableListCall<'a, C>

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}
Source

pub fn containers_workspaces_variables_revert( &self, path: &str, ) -> AccountContainerWorkspaceVariableRevertCall<'a, C>

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}
Source

pub fn containers_workspaces_variables_update( &self, request: Variable, path: &str, ) -> AccountContainerWorkspaceVariableUpdateCall<'a, C>

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}
Source

pub fn containers_workspaces_zones_create( &self, request: Zone, parent: &str, ) -> AccountContainerWorkspaceZoneCreateCall<'a, C>

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}
Source

pub fn containers_workspaces_zones_delete( &self, path: &str, ) -> AccountContainerWorkspaceZoneDeleteCall<'a, C>

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}
Source

pub fn containers_workspaces_zones_get( &self, path: &str, ) -> AccountContainerWorkspaceZoneGetCall<'a, C>

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}
Source

pub fn containers_workspaces_zones_list( &self, parent: &str, ) -> AccountContainerWorkspaceZoneListCall<'a, C>

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}
Source

pub fn containers_workspaces_zones_revert( &self, path: &str, ) -> AccountContainerWorkspaceZoneRevertCall<'a, C>

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}
Source

pub fn containers_workspaces_zones_update( &self, request: Zone, path: &str, ) -> AccountContainerWorkspaceZoneUpdateCall<'a, C>

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}
Source

pub fn containers_workspaces_create( &self, request: Workspace, parent: &str, ) -> AccountContainerWorkspaceCreateCall<'a, C>

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}
Source

pub fn containers_workspaces_create_version( &self, request: CreateContainerVersionRequestVersionOptions, path: &str, ) -> AccountContainerWorkspaceCreateVersionCall<'a, C>

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}
Source

pub fn containers_workspaces_delete( &self, path: &str, ) -> AccountContainerWorkspaceDeleteCall<'a, C>

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}
Source

pub fn containers_workspaces_get( &self, path: &str, ) -> AccountContainerWorkspaceGetCall<'a, C>

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}
Source

pub fn containers_workspaces_get_status( &self, path: &str, ) -> AccountContainerWorkspaceGetStatuCall<'a, C>

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}
Source

pub fn containers_workspaces_list( &self, parent: &str, ) -> AccountContainerWorkspaceListCall<'a, C>

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}
Source

pub fn containers_workspaces_quick_preview( &self, path: &str, ) -> AccountContainerWorkspaceQuickPreviewCall<'a, C>

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}
Source

pub fn containers_workspaces_resolve_conflict( &self, request: Entity, path: &str, ) -> AccountContainerWorkspaceResolveConflictCall<'a, C>

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}
Source

pub fn containers_workspaces_sync( &self, path: &str, ) -> AccountContainerWorkspaceSyncCall<'a, C>

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}
Source

pub fn containers_workspaces_update( &self, request: Workspace, path: &str, ) -> AccountContainerWorkspaceUpdateCall<'a, C>

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}
Source

pub fn containers_combine( &self, path: &str, ) -> AccountContainerCombineCall<'a, C>

Create a builder to help you perform the following task:

Combines Containers.

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

pub fn containers_create( &self, request: Container, parent: &str, ) -> AccountContainerCreateCall<'a, C>

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}.
Source

pub fn containers_delete(&self, path: &str) -> AccountContainerDeleteCall<'a, C>

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}
Source

pub fn containers_get(&self, path: &str) -> AccountContainerGetCall<'a, C>

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}
Source

pub fn containers_list(&self, parent: &str) -> AccountContainerListCall<'a, C>

Create a builder to help you perform the following task:

Lists all Containers that belongs to a GTM Account.

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

pub fn containers_lookup(&self) -> AccountContainerLookupCall<'a, C>

Create a builder to help you perform the following task:

Looks up a Container by destination ID.

Source

pub fn containers_move_tag_id( &self, path: &str, ) -> AccountContainerMoveTagIdCall<'a, C>

Create a builder to help you perform the following task:

Move Tag ID out of a Container.

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

pub fn containers_snippet( &self, path: &str, ) -> AccountContainerSnippetCall<'a, C>

Create a builder to help you perform the following task:

Gets the tagging snippet for a Container.

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

pub fn containers_update( &self, request: Container, path: &str, ) -> AccountContainerUpdateCall<'a, C>

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}
Source

pub fn user_permissions_create( &self, request: UserPermission, parent: &str, ) -> AccountUserPermissionCreateCall<'a, C>

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}
Source

pub fn user_permissions_delete( &self, path: &str, ) -> AccountUserPermissionDeleteCall<'a, C>

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}
Source

pub fn user_permissions_get( &self, path: &str, ) -> AccountUserPermissionGetCall<'a, C>

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}
Source

pub fn user_permissions_list( &self, parent: &str, ) -> AccountUserPermissionListCall<'a, C>

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 Account’s API relative path. Example: accounts/{account_id}
Source

pub fn user_permissions_update( &self, request: UserPermission, path: &str, ) -> AccountUserPermissionUpdateCall<'a, C>

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}
Source

pub fn get(&self, path: &str) -> AccountGetCall<'a, C>

Create a builder to help you perform the following task:

Gets a GTM Account.

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

pub fn list(&self) -> AccountListCall<'a, C>

Create a builder to help you perform the following task:

Lists all GTM Accounts that a user has access to.

Source

pub fn update(&self, request: Account, path: &str) -> AccountUpdateCall<'a, C>

Create a builder to help you perform the following task:

Updates a GTM Account.

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

Trait Implementations§

Source§

impl<'a, C> MethodsBuilder for AccountMethods<'a, C>

Auto Trait Implementations§

§

impl<'a, C> Freeze for AccountMethods<'a, C>

§

impl<'a, C> !RefUnwindSafe for AccountMethods<'a, C>

§

impl<'a, C> Send for AccountMethods<'a, C>
where C: Sync,

§

impl<'a, C> Sync for AccountMethods<'a, C>
where C: Sync,

§

impl<'a, C> Unpin for AccountMethods<'a, C>

§

impl<'a, C> !UnwindSafe for AccountMethods<'a, C>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

impl<T> ErasedDestructor for T
where T: 'static,