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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Client

Returns a new instance of Client.



229
230
231
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 229

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

Instance Attribute Details

#account_idString

GTM Account ID. Corresponds to the JSON property accountId

Returns:

  • (String)


164
165
166
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 164

def 
  @account_id
end

#client_idString

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

Returns:

  • (String)


169
170
171
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 169

def client_id
  @client_id
end

#container_idString

GTM Container ID. Corresponds to the JSON property containerId

Returns:

  • (String)


174
175
176
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 174

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)


180
181
182
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 180

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)


187
188
189
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 187

def name
  @name
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



194
195
196
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 194

def parameter
  @parameter
end

#parent_folder_idString

Parent folder id. Corresponds to the JSON property parentFolderId

Returns:

  • (String)


199
200
201
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 199

def parent_folder_id
  @parent_folder_id
end

#pathString

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

Returns:

  • (String)


204
205
206
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 204

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)


211
212
213
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 211

def priority
  @priority
end

#tag_manager_urlString

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

Returns:

  • (String)


216
217
218
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 216

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)


222
223
224
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 222

def type
  @type
end

#workspace_idString

GTM Workspace ID. Corresponds to the JSON property workspaceId

Returns:

  • (String)


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

def workspace_id
  @workspace_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



234
235
236
237
238
239
240
241
242
243
244
245
246
247
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 234

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)
  @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