Class: Google::Apis::TagmanagerV2::Workspace

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_idString

GTM Account ID. Corresponds to the JSON property accountId

Returns:

  • (String)


2508
2509
2510
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2508

def 
  @account_id
end

#container_idString

GTM Container ID. Corresponds to the JSON property containerId

Returns:

  • (String)


2513
2514
2515
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2513

def container_id
  @container_id
end

#descriptionString

Workspace description. @mutable tagmanager.accounts.containers.workspaces. create @mutable tagmanager.accounts.containers.workspaces.update Corresponds to the JSON property description

Returns:

  • (String)


2519
2520
2521
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2519

def description
  @description
end

#fingerprintString

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

Returns:

  • (String)


2525
2526
2527
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2525

def fingerprint
  @fingerprint
end

#nameString

Workspace display name. @mutable tagmanager.accounts.containers.workspaces. create @mutable tagmanager.accounts.containers.workspaces.update Corresponds to the JSON property name

Returns:

  • (String)


2531
2532
2533
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2531

def name
  @name
end

#pathString

GTM Workspace's API relative path. Corresponds to the JSON property path

Returns:

  • (String)


2536
2537
2538
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2536

def path
  @path
end

#tag_manager_urlString

Auto generated link to the tag manager UI Corresponds to the JSON property tagManagerUrl

Returns:

  • (String)


2541
2542
2543
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2541

def tag_manager_url
  @tag_manager_url
end

#workspace_idString

The Workspace ID uniquely identifies the GTM Workspace. Corresponds to the JSON property workspaceId

Returns:

  • (String)


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