Struct google_tagmanager2::Environment
source · pub struct Environment {Show 15 fields
pub authorization_code: Option<String>,
pub description: Option<String>,
pub environment_id: Option<String>,
pub url: Option<String>,
pub authorization_timestamp: Option<Timestamp>,
pub enable_debug: Option<bool>,
pub container_id: Option<String>,
pub workspace_id: Option<String>,
pub tag_manager_url: Option<String>,
pub container_version_id: Option<String>,
pub fingerprint: Option<String>,
pub path: Option<String>,
pub account_id: Option<String>,
pub type_: Option<String>,
pub name: Option<String>,
}
Expand description
Represents a Google Tag Manager Environment. Note that a user can create, delete and update environments of type USER, but can only update the enable_debug and url fields of environments of other types.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- containers environments create accounts (request|response)
- containers environments reauthorize accounts (request|response)
- containers environments patch accounts (request|response)
- containers environments update accounts (request|response)
- containers environments get accounts (response)
Fields§
The environment authorization code.
description: Option<String>
The environment description. Can be set or changed only on USER type environments.
environment_id: Option<String>
GTM Environment ID uniquely identifies the GTM Environment.
url: Option<String>
Default preview page url for the environment.
The last update time-stamp for the authorization code.
enable_debug: Option<bool>
Whether or not to enable debug by default for the environment.
container_id: Option<String>
GTM Container ID.
workspace_id: Option<String>
Represents a link to a quick preview of a workspace.
tag_manager_url: Option<String>
Auto generated link to the tag manager UI
container_version_id: Option<String>
Represents a link to a container version.
fingerprint: Option<String>
The fingerprint of the GTM environment as computed at storage time. This value is recomputed whenever the environment is modified.
path: Option<String>
GTM Environment’s API relative path.
account_id: Option<String>
GTM Account ID.
type_: Option<String>
The type of this environment.
name: Option<String>
The environment display name. Can be set or changed only on USER type environments.
Trait Implementations§
source§impl Clone for Environment
impl Clone for Environment
source§fn clone(&self) -> Environment
fn clone(&self) -> Environment
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Environment
impl Debug for Environment
source§impl Default for Environment
impl Default for Environment
source§fn default() -> Environment
fn default() -> Environment
source§impl<'de> Deserialize<'de> for Environment
impl<'de> Deserialize<'de> for Environment
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl Serialize for Environment
impl Serialize for Environment
impl RequestValue for Environment
impl ResponseResult for Environment
Auto Trait Implementations§
impl Freeze for Environment
impl RefUnwindSafe for Environment
impl Send for Environment
impl Sync for Environment
impl Unpin for Environment
impl UnwindSafe for Environment
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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