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.
-
#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.
229 230 231 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 229 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_id ⇒ String
GTM Account ID.
Corresponds to the JSON property accountId
164 165 166 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 164 def account_id @account_id end |
#client_id ⇒ String
The Client ID uniquely identifies the GTM client.
Corresponds to the JSON property clientId
169 170 171 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 169 def client_id @client_id end |
#container_id ⇒ String
GTM Container ID.
Corresponds to the JSON property containerId
174 175 176 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 174 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
180 181 182 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 180 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
187 188 189 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 187 def name @name 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
194 195 196 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 194 def parameter @parameter end |
#parent_folder_id ⇒ String
Parent folder id.
Corresponds to the JSON property parentFolderId
199 200 201 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 199 def parent_folder_id @parent_folder_id end |
#path ⇒ String
GTM client's API relative path.
Corresponds to the JSON property path
204 205 206 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 204 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
211 212 213 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 211 def priority @priority end |
#tag_manager_url ⇒ String
Auto generated link to the tag manager UI
Corresponds to the JSON property tagManagerUrl
216 217 218 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 216 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
222 223 224 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 222 def type @type end |
#workspace_id ⇒ String
GTM Workspace ID.
Corresponds to the JSON property workspaceId
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 |