Struct google_tagmanager1::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_tagmanager1 as tagmanager1; use std::default::Default; use oauth2::{Authenticator, DefaultAuthenticatorDelegate, ApplicationSecret, MemoryStorage}; use tagmanager1::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_update(...)`, `containers_folders_create(...)`, `containers_folders_delete(...)`, `containers_folders_entities_list(...)`, `containers_folders_get(...)`, `containers_folders_list(...)`, `containers_folders_update(...)`, `containers_get(...)`, `containers_list(...)`, `containers_move_folders_update(...)`, `containers_reauthorize_environments_update(...)`, `containers_tags_create(...)`, `containers_tags_delete(...)`, `containers_tags_get(...)`, `containers_tags_list(...)`, `containers_tags_update(...)`, `containers_triggers_create(...)`, `containers_triggers_delete(...)`, `containers_triggers_get(...)`, `containers_triggers_list(...)`, `containers_triggers_update(...)`, `containers_update(...)`, `containers_variables_create(...)`, `containers_variables_delete(...)`, `containers_variables_get(...)`, `containers_variables_list(...)`, `containers_variables_update(...)`, `containers_versions_create(...)`, `containers_versions_delete(...)`, `containers_versions_get(...)`, `containers_versions_list(...)`, `containers_versions_publish(...)`, `containers_versions_restore(...)`, `containers_versions_undelete(...)`, `containers_versions_update(...)`, `get(...)`, `list(...)`, `permissions_create(...)`, `permissions_delete(...)`, `permissions_get(...)`, `permissions_list(...)`, `permissions_update(...)` and `update(...)` // to build up your call. let rb = hub.accounts();
Methods
impl<'a, C, A> AccountMethods<'a, C, A>
[src]
fn containers_list(
&self,
account_id: &str
) -> AccountContainerListCall<'a, C, A>
&self,
account_id: &str
) -> AccountContainerListCall<'a, C, A>
Create a builder to help you perform the following task:
Lists all Containers that belongs to a GTM Account.
Arguments
accountId
- The GTM Account ID.
fn permissions_list(
&self,
account_id: &str
) -> AccountPermissionListCall<'a, C, A>
&self,
account_id: &str
) -> AccountPermissionListCall<'a, C, A>
Create a builder to help you perform the following task:
List all users that have access to the account along with Account and Container Permissions granted to each of them.
Arguments
accountId
- The GTM Account ID. @required tagmanager.accounts.permissions.list
fn containers_environments_create(
&self,
request: Environment,
account_id: &str,
container_id: &str
) -> AccountContainerEnvironmentCreateCall<'a, C, A>
&self,
request: Environment,
account_id: &str,
container_id: &str
) -> AccountContainerEnvironmentCreateCall<'a, C, A>
Create a builder to help you perform the following task:
Creates a GTM Environment.
Arguments
request
- No description provided.accountId
- The GTM Account ID.containerId
- The GTM Container ID.
fn permissions_create(
&self,
request: UserAccess,
account_id: &str
) -> AccountPermissionCreateCall<'a, C, A>
&self,
request: UserAccess,
account_id: &str
) -> AccountPermissionCreateCall<'a, C, A>
Create a builder to help you perform the following task:
Creates a user's Account & Container Permissions.
Arguments
request
- No description provided.accountId
- The GTM Account ID.
fn containers_environments_delete(
&self,
account_id: &str,
container_id: &str,
environment_id: &str
) -> AccountContainerEnvironmentDeleteCall<'a, C, A>
&self,
account_id: &str,
container_id: &str,
environment_id: &str
) -> AccountContainerEnvironmentDeleteCall<'a, C, A>
Create a builder to help you perform the following task:
Deletes a GTM Environment.
Arguments
accountId
- The GTM Account ID.containerId
- The GTM Container ID.environmentId
- The GTM Environment ID.
fn permissions_delete(
&self,
account_id: &str,
permission_id: &str
) -> AccountPermissionDeleteCall<'a, C, A>
&self,
account_id: &str,
permission_id: &str
) -> AccountPermissionDeleteCall<'a, C, A>
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
accountId
- The GTM Account ID.permissionId
- The GTM User ID.
fn containers_get(
&self,
account_id: &str,
container_id: &str
) -> AccountContainerGetCall<'a, C, A>
&self,
account_id: &str,
container_id: &str
) -> AccountContainerGetCall<'a, C, A>
Create a builder to help you perform the following task:
Gets a Container.
Arguments
accountId
- The GTM Account ID.containerId
- The GTM Container ID.
fn containers_environments_patch(
&self,
request: Environment,
account_id: &str,
container_id: &str,
environment_id: &str
) -> AccountContainerEnvironmentPatchCall<'a, C, A>
&self,
request: Environment,
account_id: &str,
container_id: &str,
environment_id: &str
) -> AccountContainerEnvironmentPatchCall<'a, C, A>
Create a builder to help you perform the following task:
Updates a GTM Environment. This method supports patch semantics.
Arguments
request
- No description provided.accountId
- The GTM Account ID.containerId
- The GTM Container ID.environmentId
- The GTM Environment ID.
fn containers_versions_list(
&self,
account_id: &str,
container_id: &str
) -> AccountContainerVersionListCall<'a, C, A>
&self,
account_id: &str,
container_id: &str
) -> AccountContainerVersionListCall<'a, C, A>
Create a builder to help you perform the following task:
Lists all Container Versions of a GTM Container.
Arguments
accountId
- The GTM Account ID.containerId
- The GTM Container ID.
fn containers_triggers_update(
&self,
request: Trigger,
account_id: &str,
container_id: &str,
trigger_id: &str
) -> AccountContainerTriggerUpdateCall<'a, C, A>
&self,
request: Trigger,
account_id: &str,
container_id: &str,
trigger_id: &str
) -> AccountContainerTriggerUpdateCall<'a, C, A>
Create a builder to help you perform the following task:
Updates a GTM Trigger.
Arguments
request
- No description provided.accountId
- The GTM Account ID.containerId
- The GTM Container ID.triggerId
- The GTM Trigger ID.
fn containers_triggers_get(
&self,
account_id: &str,
container_id: &str,
trigger_id: &str
) -> AccountContainerTriggerGetCall<'a, C, A>
&self,
account_id: &str,
container_id: &str,
trigger_id: &str
) -> AccountContainerTriggerGetCall<'a, C, A>
Create a builder to help you perform the following task:
Gets a GTM Trigger.
Arguments
accountId
- The GTM Account ID.containerId
- The GTM Container ID.triggerId
- The GTM Trigger ID.
fn containers_delete(
&self,
account_id: &str,
container_id: &str
) -> AccountContainerDeleteCall<'a, C, A>
&self,
account_id: &str,
container_id: &str
) -> AccountContainerDeleteCall<'a, C, A>
Create a builder to help you perform the following task:
Deletes a Container.
Arguments
accountId
- The GTM Account ID.containerId
- The GTM Container ID.
fn containers_folders_delete(
&self,
account_id: &str,
container_id: &str,
folder_id: &str
) -> AccountContainerFolderDeleteCall<'a, C, A>
&self,
account_id: &str,
container_id: &str,
folder_id: &str
) -> AccountContainerFolderDeleteCall<'a, C, A>
Create a builder to help you perform the following task:
Deletes a GTM Folder.
Arguments
accountId
- The GTM Account ID.containerId
- The GTM Container ID.folderId
- The GTM Folder ID.
fn containers_create(
&self,
request: Container,
account_id: &str
) -> AccountContainerCreateCall<'a, C, A>
&self,
request: Container,
account_id: &str
) -> AccountContainerCreateCall<'a, C, A>
Create a builder to help you perform the following task:
Creates a Container.
Arguments
request
- No description provided.accountId
- The GTM Account ID.
Create a builder to help you perform the following task:
Deletes a GTM Tag.
Arguments
accountId
- The GTM Account ID.containerId
- The GTM Container ID.tagId
- The GTM Tag ID.
fn containers_folders_entities_list(
&self,
account_id: &str,
container_id: &str,
folder_id: &str
) -> AccountContainerFolderEntityListCall<'a, C, A>
&self,
account_id: &str,
container_id: &str,
folder_id: &str
) -> AccountContainerFolderEntityListCall<'a, C, A>
Create a builder to help you perform the following task:
List all entities in a GTM Folder.
Arguments
accountId
- The GTM Account ID.containerId
- The GTM Container ID.folderId
- The GTM Folder ID.
fn containers_versions_undelete(
&self,
account_id: &str,
container_id: &str,
container_version_id: &str
) -> AccountContainerVersionUndeleteCall<'a, C, A>
&self,
account_id: &str,
container_id: &str,
container_version_id: &str
) -> AccountContainerVersionUndeleteCall<'a, C, A>
Create a builder to help you perform the following task:
Undeletes a Container Version.
Arguments
accountId
- The GTM Account ID.containerId
- The GTM Container ID.containerVersionId
- The GTM Container Version ID.
fn containers_environments_list(
&self,
account_id: &str,
container_id: &str
) -> AccountContainerEnvironmentListCall<'a, C, A>
&self,
account_id: &str,
container_id: &str
) -> AccountContainerEnvironmentListCall<'a, C, A>
Create a builder to help you perform the following task:
Lists all GTM Environments of a GTM Container.
Arguments
accountId
- The GTM Account ID.containerId
- The GTM Container ID.
Create a builder to help you perform the following task:
Lists all GTM Tags of a Container.
Arguments
accountId
- The GTM Account ID.containerId
- The GTM Container ID.
fn containers_versions_publish(
&self,
account_id: &str,
container_id: &str,
container_version_id: &str
) -> AccountContainerVersionPublishCall<'a, C, A>
&self,
account_id: &str,
container_id: &str,
container_version_id: &str
) -> AccountContainerVersionPublishCall<'a, C, A>
Create a builder to help you perform the following task:
Publishes a Container Version.
Arguments
accountId
- The GTM Account ID.containerId
- The GTM Container ID.containerVersionId
- The GTM Container Version ID.
fn containers_folders_get(
&self,
account_id: &str,
container_id: &str,
folder_id: &str
) -> AccountContainerFolderGetCall<'a, C, A>
&self,
account_id: &str,
container_id: &str,
folder_id: &str
) -> AccountContainerFolderGetCall<'a, C, A>
Create a builder to help you perform the following task:
Gets a GTM Folder.
Arguments
accountId
- The GTM Account ID.containerId
- The GTM Container ID.folderId
- The GTM Folder ID.
fn containers_environments_get(
&self,
account_id: &str,
container_id: &str,
environment_id: &str
) -> AccountContainerEnvironmentGetCall<'a, C, A>
&self,
account_id: &str,
container_id: &str,
environment_id: &str
) -> AccountContainerEnvironmentGetCall<'a, C, A>
Create a builder to help you perform the following task:
Gets a GTM Environment.
Arguments
accountId
- The GTM Account ID.containerId
- The GTM Container ID.environmentId
- The GTM Environment ID.
Create a builder to help you perform the following task:
Creates a GTM Tag.
Arguments
request
- No description provided.accountId
- The GTM Account ID.containerId
- The GTM Container ID.
fn containers_triggers_list(
&self,
account_id: &str,
container_id: &str
) -> AccountContainerTriggerListCall<'a, C, A>
&self,
account_id: &str,
container_id: &str
) -> AccountContainerTriggerListCall<'a, C, A>
Create a builder to help you perform the following task:
Lists all GTM Triggers of a Container.
Arguments
accountId
- The GTM Account ID.containerId
- The GTM Container ID.
fn containers_versions_delete(
&self,
account_id: &str,
container_id: &str,
container_version_id: &str
) -> AccountContainerVersionDeleteCall<'a, C, A>
&self,
account_id: &str,
container_id: &str,
container_version_id: &str
) -> AccountContainerVersionDeleteCall<'a, C, A>
Create a builder to help you perform the following task:
Deletes a Container Version.
Arguments
accountId
- The GTM Account ID.containerId
- The GTM Container ID.containerVersionId
- The GTM Container Version ID.
fn update(
&self,
request: Account,
account_id: &str
) -> AccountUpdateCall<'a, C, A>
&self,
request: Account,
account_id: &str
) -> AccountUpdateCall<'a, C, A>
Create a builder to help you perform the following task:
Updates a GTM Account.
Arguments
request
- No description provided.accountId
- The GTM Account ID.
fn containers_versions_create(
&self,
request: CreateContainerVersionRequestVersionOptions,
account_id: &str,
container_id: &str
) -> AccountContainerVersionCreateCall<'a, C, A>
&self,
request: CreateContainerVersionRequestVersionOptions,
account_id: &str,
container_id: &str
) -> AccountContainerVersionCreateCall<'a, C, A>
Create a builder to help you perform the following task:
Creates a Container Version.
Arguments
request
- No description provided.accountId
- The GTM Account ID.containerId
- The GTM Container ID.
fn permissions_get(
&self,
account_id: &str,
permission_id: &str
) -> AccountPermissionGetCall<'a, C, A>
&self,
account_id: &str,
permission_id: &str
) -> AccountPermissionGetCall<'a, C, A>
Create a builder to help you perform the following task:
Gets a user's Account & Container Permissions.
Arguments
accountId
- The GTM Account ID.permissionId
- The GTM User ID.
fn containers_move_folders_update(
&self,
request: Folder,
account_id: &str,
container_id: &str,
folder_id: &str
) -> AccountContainerMoveFolderUpdateCall<'a, C, A>
&self,
request: Folder,
account_id: &str,
container_id: &str,
folder_id: &str
) -> AccountContainerMoveFolderUpdateCall<'a, C, A>
Create a builder to help you perform the following task:
Moves entities to a GTM Folder.
Arguments
request
- No description provided.accountId
- The GTM Account ID.containerId
- The GTM Container ID.folderId
- The GTM Folder ID.
fn containers_versions_restore(
&self,
account_id: &str,
container_id: &str,
container_version_id: &str
) -> AccountContainerVersionRestoreCall<'a, C, A>
&self,
account_id: &str,
container_id: &str,
container_version_id: &str
) -> AccountContainerVersionRestoreCall<'a, C, A>
Create a builder to help you perform the following task:
Restores a Container Version. This will overwrite the container's current configuration (including its variables, triggers and tags). The operation will not have any effect on the version that is being served (i.e. the published version).
Arguments
accountId
- The GTM Account ID.containerId
- The GTM Container ID.containerVersionId
- The GTM Container Version ID.
fn containers_variables_create(
&self,
request: Variable,
account_id: &str,
container_id: &str
) -> AccountContainerVariableCreateCall<'a, C, A>
&self,
request: Variable,
account_id: &str,
container_id: &str
) -> AccountContainerVariableCreateCall<'a, C, A>
Create a builder to help you perform the following task:
Creates a GTM Variable.
Arguments
request
- No description provided.accountId
- The GTM Account ID.containerId
- The GTM Container ID.
fn containers_variables_list(
&self,
account_id: &str,
container_id: &str
) -> AccountContainerVariableListCall<'a, C, A>
&self,
account_id: &str,
container_id: &str
) -> AccountContainerVariableListCall<'a, C, A>
Create a builder to help you perform the following task:
Lists all GTM Variables of a Container.
Arguments
accountId
- The GTM Account ID.containerId
- The GTM Container ID.
Create a builder to help you perform the following task:
Gets a GTM Tag.
Arguments
accountId
- The GTM Account ID.containerId
- The GTM Container ID.tagId
- The GTM Tag ID.
fn containers_variables_get(
&self,
account_id: &str,
container_id: &str,
variable_id: &str
) -> AccountContainerVariableGetCall<'a, C, A>
&self,
account_id: &str,
container_id: &str,
variable_id: &str
) -> AccountContainerVariableGetCall<'a, C, A>
Create a builder to help you perform the following task:
Gets a GTM Variable.
Arguments
accountId
- The GTM Account ID.containerId
- The GTM Container ID.variableId
- The GTM Variable ID.
fn containers_triggers_delete(
&self,
account_id: &str,
container_id: &str,
trigger_id: &str
) -> AccountContainerTriggerDeleteCall<'a, C, A>
&self,
account_id: &str,
container_id: &str,
trigger_id: &str
) -> AccountContainerTriggerDeleteCall<'a, C, A>
Create a builder to help you perform the following task:
Deletes a GTM Trigger.
Arguments
accountId
- The GTM Account ID.containerId
- The GTM Container ID.triggerId
- The GTM Trigger ID.
fn containers_triggers_create(
&self,
request: Trigger,
account_id: &str,
container_id: &str
) -> AccountContainerTriggerCreateCall<'a, C, A>
&self,
request: Trigger,
account_id: &str,
container_id: &str
) -> AccountContainerTriggerCreateCall<'a, C, A>
Create a builder to help you perform the following task:
Creates a GTM Trigger.
Arguments
request
- No description provided.accountId
- The GTM Account ID.containerId
- The GTM Container ID.
fn containers_folders_update(
&self,
request: Folder,
account_id: &str,
container_id: &str,
folder_id: &str
) -> AccountContainerFolderUpdateCall<'a, C, A>
&self,
request: Folder,
account_id: &str,
container_id: &str,
folder_id: &str
) -> AccountContainerFolderUpdateCall<'a, C, A>
Create a builder to help you perform the following task:
Updates a GTM Folder.
Arguments
request
- No description provided.accountId
- The GTM Account ID.containerId
- The GTM Container ID.folderId
- The GTM Folder ID.
fn list(&self) -> AccountListCall<'a, C, A>
Create a builder to help you perform the following task:
Lists all GTM Accounts that a user has access to.
fn permissions_update(
&self,
request: UserAccess,
account_id: &str,
permission_id: &str
) -> AccountPermissionUpdateCall<'a, C, A>
&self,
request: UserAccess,
account_id: &str,
permission_id: &str
) -> AccountPermissionUpdateCall<'a, C, A>
Create a builder to help you perform the following task:
Updates a user's Account & Container Permissions.
Arguments
request
- No description provided.accountId
- The GTM Account ID.permissionId
- The GTM User ID.
fn containers_variables_delete(
&self,
account_id: &str,
container_id: &str,
variable_id: &str
) -> AccountContainerVariableDeleteCall<'a, C, A>
&self,
account_id: &str,
container_id: &str,
variable_id: &str
) -> AccountContainerVariableDeleteCall<'a, C, A>
Create a builder to help you perform the following task:
Deletes a GTM Variable.
Arguments
accountId
- The GTM Account ID.containerId
- The GTM Container ID.variableId
- The GTM Variable 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.accountId
- The GTM Account ID.containerId
- The GTM Container ID.environmentId
- The GTM Environment ID.
fn get(&self, account_id: &str) -> AccountGetCall<'a, C, A>
Create a builder to help you perform the following task:
Gets a GTM Account.
Arguments
accountId
- The GTM Account ID.
fn containers_update(
&self,
request: Container,
account_id: &str,
container_id: &str
) -> AccountContainerUpdateCall<'a, C, A>
&self,
request: Container,
account_id: &str,
container_id: &str
) -> AccountContainerUpdateCall<'a, C, A>
Create a builder to help you perform the following task:
Updates a Container.
Arguments
request
- No description provided.accountId
- The GTM Account ID.containerId
- The GTM Container ID.
Create a builder to help you perform the following task:
Updates a GTM Tag.
Arguments
request
- No description provided.accountId
- The GTM Account ID.containerId
- The GTM Container ID.tagId
- The GTM Tag ID.
fn containers_environments_update(
&self,
request: Environment,
account_id: &str,
container_id: &str,
environment_id: &str
) -> AccountContainerEnvironmentUpdateCall<'a, C, A>
&self,
request: Environment,
account_id: &str,
container_id: &str,
environment_id: &str
) -> AccountContainerEnvironmentUpdateCall<'a, C, A>
Create a builder to help you perform the following task:
Updates a GTM Environment.
Arguments
request
- No description provided.accountId
- The GTM Account ID.containerId
- The GTM Container ID.environmentId
- The GTM Environment ID.
fn containers_folders_create(
&self,
request: Folder,
account_id: &str,
container_id: &str
) -> AccountContainerFolderCreateCall<'a, C, A>
&self,
request: Folder,
account_id: &str,
container_id: &str
) -> AccountContainerFolderCreateCall<'a, C, A>
Create a builder to help you perform the following task:
Creates a GTM Folder.
Arguments
request
- No description provided.accountId
- The GTM Account ID.containerId
- The GTM Container ID.
fn containers_folders_list(
&self,
account_id: &str,
container_id: &str
) -> AccountContainerFolderListCall<'a, C, A>
&self,
account_id: &str,
container_id: &str
) -> AccountContainerFolderListCall<'a, C, A>
Create a builder to help you perform the following task:
Lists all GTM Folders of a Container.
Arguments
accountId
- The GTM Account ID.containerId
- The GTM Container ID.
fn containers_versions_update(
&self,
request: ContainerVersion,
account_id: &str,
container_id: &str,
container_version_id: &str
) -> AccountContainerVersionUpdateCall<'a, C, A>
&self,
request: ContainerVersion,
account_id: &str,
container_id: &str,
container_version_id: &str
) -> AccountContainerVersionUpdateCall<'a, C, A>
Create a builder to help you perform the following task:
Updates a Container Version.
Arguments
request
- No description provided.accountId
- The GTM Account ID.containerId
- The GTM Container ID.containerVersionId
- The GTM Container Version ID.
fn containers_variables_update(
&self,
request: Variable,
account_id: &str,
container_id: &str,
variable_id: &str
) -> AccountContainerVariableUpdateCall<'a, C, A>
&self,
request: Variable,
account_id: &str,
container_id: &str,
variable_id: &str
) -> AccountContainerVariableUpdateCall<'a, C, A>
Create a builder to help you perform the following task:
Updates a GTM Variable.
Arguments
request
- No description provided.accountId
- The GTM Account ID.containerId
- The GTM Container ID.variableId
- The GTM Variable ID.
fn containers_versions_get(
&self,
account_id: &str,
container_id: &str,
container_version_id: &str
) -> AccountContainerVersionGetCall<'a, C, A>
&self,
account_id: &str,
container_id: &str,
container_version_id: &str
) -> AccountContainerVersionGetCall<'a, C, A>
Create a builder to help you perform the following task:
Gets a Container Version.
Arguments
accountId
- The GTM Account ID.containerId
- The GTM Container ID.containerVersionId
- The GTM Container Version ID. Specify published to retrieve the currently published version.