Class: Google::Apis::TagmanagerV2::Client

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

Instance Method Summary collapse

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_idString

GTM Account ID. Corresponds to the JSON property accountId

Returns:

  • (String)


197
198
199
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 197

def 
  @account_id
end

#client_idString

The Client ID uniquely identifies the GTM client. Corresponds to the JSON property clientId

Returns:

  • (String)


202
203
204
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 202

def client_id
  @client_id
end

#container_idString

GTM Container ID. Corresponds to the JSON property containerId

Returns:

  • (String)


207
208
209
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 207

def container_id
  @container_id
end

#fingerprintString

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

Returns:

  • (String)


213
214
215
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 213

def fingerprint
  @fingerprint
end

#nameString

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

Returns:

  • (String)


220
221
222
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 220

def name
  @name
end

#notesString

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

Returns:

  • (String)


227
228
229
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 227

def notes
  @notes
end

#parameterArray<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_idString

Parent folder id. Corresponds to the JSON property parentFolderId

Returns:

  • (String)


239
240
241
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 239

def parent_folder_id
  @parent_folder_id
end

#pathString

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

Returns:

  • (String)


244
245
246
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 244

def path
  @path
end

#priorityFixnum

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

Returns:

  • (Fixnum)


251
252
253
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 251

def priority
  @priority
end

#tag_manager_urlString

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

Returns:

  • (String)


256
257
258
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 256

def tag_manager_url
  @tag_manager_url
end

#typeString

Client type. @mutable tagmanager.accounts.containers.workspaces.clients.create Corresponds to the JSON property type

Returns:

  • (String)


262
263
264
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 262

def type
  @type
end

#workspace_idString

GTM Workspace ID. Corresponds to the JSON property workspaceId

Returns:

  • (String)


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