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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Client

Returns a new instance of Client.



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

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

Instance Attribute Details

#account_idString

GTM Account ID. Corresponds to the JSON property accountId

Returns:

  • (String)


166
167
168
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 166

def 
  @account_id
end

#client_idString

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

Returns:

  • (String)


171
172
173
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 171

def client_id
  @client_id
end

#container_idString

GTM Container ID. Corresponds to the JSON property containerId

Returns:

  • (String)


176
177
178
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 176

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)


182
183
184
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 182

def fingerprint
  @fingerprint
end

#nameString

Client display name. Corresponds to the JSON property name

Returns:

  • (String)


189
190
191
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 189

def name
  @name
end

#parameterArray<Google::Apis::TagmanagerV2::Parameter>

The client's parameters. Corresponds to the JSON property parameter



196
197
198
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 196

def parameter
  @parameter
end

#pathString

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

Returns:

  • (String)


201
202
203
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 201

def path
  @path
end

#priorityFixnum

Priority determines relative firing order. Corresponds to the JSON property priority

Returns:

  • (Fixnum)


208
209
210
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 208

def priority
  @priority
end

#tag_manager_urlString

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

Returns:

  • (String)


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

def tag_manager_url
  @tag_manager_url
end

#typeString

Client type. Corresponds to the JSON property type

Returns:

  • (String)


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

def type
  @type
end

#workspace_idString

GTM Workspace ID. Corresponds to the JSON property workspaceId

Returns:

  • (String)


225
226
227
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 225

def workspace_id
  @workspace_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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