Class: Google::Apis::TagmanagerV2::Workspace
- Inherits:
-
Object
- Object
- Google::Apis::TagmanagerV2::Workspace
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/tagmanager_v2/classes.rb,
generated/google/apis/tagmanager_v2/representations.rb,
generated/google/apis/tagmanager_v2/representations.rb
Overview
Represents a Google Tag Manager Container Workspace.
Instance Attribute Summary collapse
-
#account_id ⇒ String
GTM Account ID.
-
#container_id ⇒ String
GTM Container ID.
-
#description ⇒ String
Workspace description.
-
#fingerprint ⇒ String
The fingerprint of the GTM Workspace as computed at storage time.
-
#name ⇒ String
Workspace display name.
-
#path ⇒ String
GTM Workspace's API relative path.
-
#tag_manager_url ⇒ String
Auto generated link to the tag manager UI Corresponds to the JSON property
tagManagerUrl
. -
#workspace_id ⇒ String
The Workspace ID uniquely identifies the GTM Workspace.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Workspace
constructor
A new instance of Workspace.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Workspace
Returns a new instance of Workspace.
2548 2549 2550 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2548 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_id ⇒ String
GTM Account ID.
Corresponds to the JSON property accountId
2508 2509 2510 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2508 def account_id @account_id end |
#container_id ⇒ String
GTM Container ID.
Corresponds to the JSON property containerId
2513 2514 2515 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2513 def container_id @container_id end |
#description ⇒ String
Workspace description. @mutable tagmanager.accounts.containers.workspaces.
create @mutable tagmanager.accounts.containers.workspaces.update
Corresponds to the JSON property description
2519 2520 2521 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2519 def description @description end |
#fingerprint ⇒ String
The fingerprint of the GTM Workspace as computed at storage time. This value
is recomputed whenever the workspace is modified.
Corresponds to the JSON property fingerprint
2525 2526 2527 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2525 def fingerprint @fingerprint end |
#name ⇒ String
Workspace display name. @mutable tagmanager.accounts.containers.workspaces.
create @mutable tagmanager.accounts.containers.workspaces.update
Corresponds to the JSON property name
2531 2532 2533 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2531 def name @name end |
#path ⇒ String
GTM Workspace's API relative path.
Corresponds to the JSON property path
2536 2537 2538 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2536 def path @path end |
#tag_manager_url ⇒ String
Auto generated link to the tag manager UI
Corresponds to the JSON property tagManagerUrl
2541 2542 2543 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2541 def tag_manager_url @tag_manager_url end |
#workspace_id ⇒ String
The Workspace ID uniquely identifies the GTM Workspace.
Corresponds to the JSON property workspaceId
2546 2547 2548 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2546 def workspace_id @workspace_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2553 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @container_id = args[:container_id] if args.key?(:container_id) @description = args[:description] if args.key?(:description) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @name = args[:name] if args.key?(:name) @path = args[:path] if args.key?(:path) @tag_manager_url = args[:tag_manager_url] if args.key?(:tag_manager_url) @workspace_id = args[:workspace_id] if args.key?(:workspace_id) end |