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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Workspace

Returns a new instance of Workspace.



2576
2577
2578
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2576

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#account_idString

GTM Account ID. Corresponds to the JSON property accountId

Returns:

  • (String)


2534
2535
2536
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2534

def 
  @account_id
end

#container_idString

GTM Container ID. Corresponds to the JSON property containerId

Returns:

  • (String)


2539
2540
2541
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2539

def container_id
  @container_id
end

#descriptionString

Workspace description. Corresponds to the JSON property description

Returns:

  • (String)


2546
2547
2548
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2546

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)


2552
2553
2554
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2552

def fingerprint
  @fingerprint
end

#nameString

Workspace display name. Corresponds to the JSON property name

Returns:

  • (String)


2559
2560
2561
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2559

def name
  @name
end

#pathString

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

Returns:

  • (String)


2564
2565
2566
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2564

def path
  @path
end

#tag_manager_urlString

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

Returns:

  • (String)


2569
2570
2571
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2569

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)


2574
2575
2576
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2574

def workspace_id
  @workspace_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2581

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