Class: Google::Apis::TagmanagerV2::Client
- Inherits:
-
Object
- Object
- Google::Apis::TagmanagerV2::Client
- 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
-
#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.
-
#parameter ⇒ Array<Google::Apis::TagmanagerV2::Parameter>
The client's parameters.
-
#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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
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_id ⇒ String
GTM Account ID.
Corresponds to the JSON property accountId
166 167 168 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 166 def account_id @account_id end |
#client_id ⇒ String
The Client ID uniquely identifies the GTM client.
Corresponds to the JSON property clientId
171 172 173 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 171 def client_id @client_id end |
#container_id ⇒ String
GTM Container ID.
Corresponds to the JSON property containerId
176 177 178 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 176 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
182 183 184 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 182 def fingerprint @fingerprint end |
#name ⇒ String
Client display name.
Corresponds to the JSON property name
189 190 191 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 189 def name @name end |
#parameter ⇒ Array<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 |
#path ⇒ String
GTM client's API relative path.
Corresponds to the JSON property path
201 202 203 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 201 def path @path end |
#priority ⇒ Fixnum
Priority determines relative firing order.
Corresponds to the JSON property priority
208 209 210 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 208 def priority @priority end |
#tag_manager_url ⇒ String
Auto generated link to the tag manager UI
Corresponds to the JSON property tagManagerUrl
213 214 215 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 213 def tag_manager_url @tag_manager_url end |
#type ⇒ String
Client type.
Corresponds to the JSON property type
220 221 222 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 220 def type @type end |
#workspace_id ⇒ String
GTM Workspace ID.
Corresponds to the JSON property workspaceId
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 |