Class: Google::Apis::TagmanagerV2::Client
- Inherits:
-
Object
- Object
- Google::Apis::TagmanagerV2::Client
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/tagmanager_v2/classes.rb,
lib/google/apis/tagmanager_v2/representations.rb,
lib/google/apis/tagmanager_v2/representations.rb
Instance Attribute Summary collapse
-
#account_id ⇒ String
GTM Account ID.
-
#client_id ⇒ String
The Client ID uniquely identifies the GTM client.
-
#container_id ⇒ String
GTM Container ID.
-
#fingerprint ⇒ String
The fingerprint of the GTM Client as computed at storage time.
-
#name ⇒ String
Client display name.
-
#notes ⇒ String
User notes on how to apply this tag in the container.
-
#parameter ⇒ Array<Google::Apis::TagmanagerV2::Parameter>
The client's parameters.
-
#parent_folder_id ⇒ String
Parent folder id.
-
#path ⇒ String
GTM client's API relative path.
-
#priority ⇒ Fixnum
Priority determines relative firing order.
-
#tag_manager_url ⇒ String
Auto generated link to the tag manager UI Corresponds to the JSON property
tagManagerUrl
. -
#type ⇒ String
Client type.
-
#workspace_id ⇒ String
GTM Workspace ID.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Client
constructor
A new instance of Client.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Client
Returns a new instance of Client.
269 270 271 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 269 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_id ⇒ String
GTM Account ID.
Corresponds to the JSON property accountId
197 198 199 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 197 def account_id @account_id end |
#client_id ⇒ String
The Client ID uniquely identifies the GTM client.
Corresponds to the JSON property clientId
202 203 204 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 202 def client_id @client_id end |
#container_id ⇒ String
GTM Container ID.
Corresponds to the JSON property containerId
207 208 209 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 207 def container_id @container_id end |
#fingerprint ⇒ String
The fingerprint of the GTM Client as computed at storage time. This value is
recomputed whenever the client is modified.
Corresponds to the JSON property fingerprint
213 214 215 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 213 def fingerprint @fingerprint end |
#name ⇒ String
Client display name. @mutable tagmanager.accounts.containers.workspaces.
clients.create @mutable tagmanager.accounts.containers.workspaces.clients.
update
Corresponds to the JSON property name
220 221 222 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 220 def name @name end |
#notes ⇒ String
User notes on how to apply this tag in the container. @mutable tagmanager.
accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.
containers.workspaces.tags.update
Corresponds to the JSON property notes
227 228 229 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 227 def notes @notes end |
#parameter ⇒ Array<Google::Apis::TagmanagerV2::Parameter>
The client's parameters. @mutable tagmanager.accounts.containers.workspaces.
clients.create @mutable tagmanager.accounts.containers.workspaces.clients.
update
Corresponds to the JSON property parameter
234 235 236 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 234 def parameter @parameter end |
#parent_folder_id ⇒ String
Parent folder id.
Corresponds to the JSON property parentFolderId
239 240 241 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 239 def parent_folder_id @parent_folder_id end |
#path ⇒ String
GTM client's API relative path.
Corresponds to the JSON property path
244 245 246 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 244 def path @path end |
#priority ⇒ Fixnum
Priority determines relative firing order. @mutable tagmanager.accounts.
containers.workspaces.clients.create @mutable tagmanager.accounts.containers.
workspaces.clients.update
Corresponds to the JSON property priority
251 252 253 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 251 def priority @priority end |
#tag_manager_url ⇒ String
Auto generated link to the tag manager UI
Corresponds to the JSON property tagManagerUrl
256 257 258 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 256 def tag_manager_url @tag_manager_url end |
#type ⇒ String
Client type. @mutable tagmanager.accounts.containers.workspaces.clients.create
Corresponds to the JSON property type
262 263 264 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 262 def type @type end |
#workspace_id ⇒ String
GTM Workspace ID.
Corresponds to the JSON property workspaceId
267 268 269 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 267 def workspace_id @workspace_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 274 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @client_id = args[:client_id] if args.key?(:client_id) @container_id = args[:container_id] if args.key?(:container_id) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @name = args[:name] if args.key?(:name) @notes = args[:notes] if args.key?(:notes) @parameter = args[:parameter] if args.key?(:parameter) @parent_folder_id = args[:parent_folder_id] if args.key?(:parent_folder_id) @path = args[:path] if args.key?(:path) @priority = args[:priority] if args.key?(:priority) @tag_manager_url = args[:tag_manager_url] if args.key?(:tag_manager_url) @type = args[:type] if args.key?(:type) @workspace_id = args[:workspace_id] if args.key?(:workspace_id) end |