google-apis-tagmanager_v2 0.22.0 → 0.23.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e81b247d61e7ec376d995b32d7a9a832bf1858cd04dd0e2dd2b7e89925c77df
|
4
|
+
data.tar.gz: 1f656d8a69ca5bbbe948e679dc0e6096e6f19f4e9709d05db23ede9b1cd831e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90c83d44139a0d1d903cac4c93e44e304401a9b3c2dc2680cfbd2f9785667186e644912247aede5d72cf3e8a29c0301e95de10ef91ece07b0597e844275c85eb
|
7
|
+
data.tar.gz: 181f0e261fc8e987f9f5ccb9743bb1c04328a0afa0352ed7b80121489bfe44f0ac7d8090d8bf0ec50b227c97844b348cdc1c8ef804cfa93ea8a05806732c54a8
|
data/CHANGELOG.md
CHANGED
@@ -497,6 +497,12 @@ module Google
|
|
497
497
|
attr_accessor :support_templates
|
498
498
|
alias_method :support_templates?, :support_templates
|
499
499
|
|
500
|
+
# Whether this Container supports transformations.
|
501
|
+
# Corresponds to the JSON property `supportTransformations`
|
502
|
+
# @return [Boolean]
|
503
|
+
attr_accessor :support_transformations
|
504
|
+
alias_method :support_transformations?, :support_transformations
|
505
|
+
|
500
506
|
# Whether this Container supports triggers.
|
501
507
|
# Corresponds to the JSON property `supportTriggers`
|
502
508
|
# @return [Boolean]
|
@@ -546,6 +552,7 @@ module Google
|
|
546
552
|
@support_gtag_configs = args[:support_gtag_configs] if args.key?(:support_gtag_configs)
|
547
553
|
@support_tags = args[:support_tags] if args.key?(:support_tags)
|
548
554
|
@support_templates = args[:support_templates] if args.key?(:support_templates)
|
555
|
+
@support_transformations = args[:support_transformations] if args.key?(:support_transformations)
|
549
556
|
@support_triggers = args[:support_triggers] if args.key?(:support_triggers)
|
550
557
|
@support_user_permissions = args[:support_user_permissions] if args.key?(:support_user_permissions)
|
551
558
|
@support_variables = args[:support_variables] if args.key?(:support_variables)
|
@@ -644,6 +651,11 @@ module Google
|
|
644
651
|
# @return [String]
|
645
652
|
attr_accessor :tag_manager_url
|
646
653
|
|
654
|
+
# The transformations in the container that this version was taken from.
|
655
|
+
# Corresponds to the JSON property `transformation`
|
656
|
+
# @return [Array<Google::Apis::TagmanagerV2::Transformation>]
|
657
|
+
attr_accessor :transformation
|
658
|
+
|
647
659
|
# The triggers in the container that this version was taken from.
|
648
660
|
# Corresponds to the JSON property `trigger`
|
649
661
|
# @return [Array<Google::Apis::TagmanagerV2::Trigger>]
|
@@ -681,6 +693,7 @@ module Google
|
|
681
693
|
@path = args[:path] if args.key?(:path)
|
682
694
|
@tag = args[:tag] if args.key?(:tag)
|
683
695
|
@tag_manager_url = args[:tag_manager_url] if args.key?(:tag_manager_url)
|
696
|
+
@transformation = args[:transformation] if args.key?(:transformation)
|
684
697
|
@trigger = args[:trigger] if args.key?(:trigger)
|
685
698
|
@variable = args[:variable] if args.key?(:variable)
|
686
699
|
@zone = args[:zone] if args.key?(:zone)
|
@@ -1042,6 +1055,11 @@ module Google
|
|
1042
1055
|
# @return [Google::Apis::TagmanagerV2::Tag]
|
1043
1056
|
attr_accessor :tag
|
1044
1057
|
|
1058
|
+
# Represents a Google Tag Manager Transformation.
|
1059
|
+
# Corresponds to the JSON property `transformation`
|
1060
|
+
# @return [Google::Apis::TagmanagerV2::Transformation]
|
1061
|
+
attr_accessor :transformation
|
1062
|
+
|
1045
1063
|
# Represents a Google Tag Manager Trigger
|
1046
1064
|
# Corresponds to the JSON property `trigger`
|
1047
1065
|
# @return [Google::Apis::TagmanagerV2::Trigger]
|
@@ -1062,6 +1080,7 @@ module Google
|
|
1062
1080
|
@client = args[:client] if args.key?(:client)
|
1063
1081
|
@folder = args[:folder] if args.key?(:folder)
|
1064
1082
|
@tag = args[:tag] if args.key?(:tag)
|
1083
|
+
@transformation = args[:transformation] if args.key?(:transformation)
|
1065
1084
|
@trigger = args[:trigger] if args.key?(:trigger)
|
1066
1085
|
@variable = args[:variable] if args.key?(:variable)
|
1067
1086
|
end
|
@@ -1737,6 +1756,31 @@ module Google
|
|
1737
1756
|
end
|
1738
1757
|
end
|
1739
1758
|
|
1759
|
+
#
|
1760
|
+
class ListTransformationsResponse
|
1761
|
+
include Google::Apis::Core::Hashable
|
1762
|
+
|
1763
|
+
# Continuation token for fetching the next page of results.
|
1764
|
+
# Corresponds to the JSON property `nextPageToken`
|
1765
|
+
# @return [String]
|
1766
|
+
attr_accessor :next_page_token
|
1767
|
+
|
1768
|
+
# All GTM Transformations of a GTM Container.
|
1769
|
+
# Corresponds to the JSON property `transformation`
|
1770
|
+
# @return [Array<Google::Apis::TagmanagerV2::Transformation>]
|
1771
|
+
attr_accessor :transformation
|
1772
|
+
|
1773
|
+
def initialize(**args)
|
1774
|
+
update!(**args)
|
1775
|
+
end
|
1776
|
+
|
1777
|
+
# Update properties of this object
|
1778
|
+
def update!(**args)
|
1779
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1780
|
+
@transformation = args[:transformation] if args.key?(:transformation)
|
1781
|
+
end
|
1782
|
+
end
|
1783
|
+
|
1740
1784
|
# List triggers response.
|
1741
1785
|
class ListTriggersResponse
|
1742
1786
|
include Google::Apis::Core::Hashable
|
@@ -2123,6 +2167,25 @@ module Google
|
|
2123
2167
|
end
|
2124
2168
|
end
|
2125
2169
|
|
2170
|
+
# The result of reverting a transformation in a workspace.
|
2171
|
+
class RevertTransformationResponse
|
2172
|
+
include Google::Apis::Core::Hashable
|
2173
|
+
|
2174
|
+
# Represents a Google Tag Manager Transformation.
|
2175
|
+
# Corresponds to the JSON property `transformation`
|
2176
|
+
# @return [Google::Apis::TagmanagerV2::Transformation]
|
2177
|
+
attr_accessor :transformation
|
2178
|
+
|
2179
|
+
def initialize(**args)
|
2180
|
+
update!(**args)
|
2181
|
+
end
|
2182
|
+
|
2183
|
+
# Update properties of this object
|
2184
|
+
def update!(**args)
|
2185
|
+
@transformation = args[:transformation] if args.key?(:transformation)
|
2186
|
+
end
|
2187
|
+
end
|
2188
|
+
|
2126
2189
|
# The result of reverting a trigger in a workspace.
|
2127
2190
|
class RevertTriggerResponse
|
2128
2191
|
include Google::Apis::Core::Hashable
|
@@ -2521,6 +2584,100 @@ module Google
|
|
2521
2584
|
end
|
2522
2585
|
end
|
2523
2586
|
|
2587
|
+
# Represents a Google Tag Manager Transformation.
|
2588
|
+
class Transformation
|
2589
|
+
include Google::Apis::Core::Hashable
|
2590
|
+
|
2591
|
+
# GTM Account ID.
|
2592
|
+
# Corresponds to the JSON property `accountId`
|
2593
|
+
# @return [String]
|
2594
|
+
attr_accessor :account_id
|
2595
|
+
|
2596
|
+
# GTM Container ID.
|
2597
|
+
# Corresponds to the JSON property `containerId`
|
2598
|
+
# @return [String]
|
2599
|
+
attr_accessor :container_id
|
2600
|
+
|
2601
|
+
# The fingerprint of the GTM Transformation as computed at storage time. This
|
2602
|
+
# value is recomputed whenever the transformation is modified.
|
2603
|
+
# Corresponds to the JSON property `fingerprint`
|
2604
|
+
# @return [String]
|
2605
|
+
attr_accessor :fingerprint
|
2606
|
+
|
2607
|
+
# Transformation display name. @mutable tagmanager.accounts.containers.
|
2608
|
+
# workspaces.transformations.create @mutable tagmanager.accounts.containers.
|
2609
|
+
# workspaces.transformations.update
|
2610
|
+
# Corresponds to the JSON property `name`
|
2611
|
+
# @return [String]
|
2612
|
+
attr_accessor :name
|
2613
|
+
|
2614
|
+
# User notes on how to apply this transformation in the container. @mutable
|
2615
|
+
# tagmanager.accounts.containers.workspaces.transformations.create @mutable
|
2616
|
+
# tagmanager.accounts.containers.workspaces.transformations.update
|
2617
|
+
# Corresponds to the JSON property `notes`
|
2618
|
+
# @return [String]
|
2619
|
+
attr_accessor :notes
|
2620
|
+
|
2621
|
+
# The transformation's parameters. @mutable tagmanager.accounts.containers.
|
2622
|
+
# workspaces.transformations.create @mutable tagmanager.accounts.containers.
|
2623
|
+
# workspaces.transformations.update
|
2624
|
+
# Corresponds to the JSON property `parameter`
|
2625
|
+
# @return [Array<Google::Apis::TagmanagerV2::Parameter>]
|
2626
|
+
attr_accessor :parameter
|
2627
|
+
|
2628
|
+
# Parent folder id.
|
2629
|
+
# Corresponds to the JSON property `parentFolderId`
|
2630
|
+
# @return [String]
|
2631
|
+
attr_accessor :parent_folder_id
|
2632
|
+
|
2633
|
+
# GTM transformation's API relative path.
|
2634
|
+
# Corresponds to the JSON property `path`
|
2635
|
+
# @return [String]
|
2636
|
+
attr_accessor :path
|
2637
|
+
|
2638
|
+
# Auto generated link to the tag manager UI
|
2639
|
+
# Corresponds to the JSON property `tagManagerUrl`
|
2640
|
+
# @return [String]
|
2641
|
+
attr_accessor :tag_manager_url
|
2642
|
+
|
2643
|
+
# The Transformation ID uniquely identifies the GTM transformation.
|
2644
|
+
# Corresponds to the JSON property `transformationId`
|
2645
|
+
# @return [String]
|
2646
|
+
attr_accessor :transformation_id
|
2647
|
+
|
2648
|
+
# Transformation type. @mutable tagmanager.accounts.containers.workspaces.
|
2649
|
+
# transformations.create @mutable tagmanager.accounts.containers.workspaces.
|
2650
|
+
# transformations.update
|
2651
|
+
# Corresponds to the JSON property `type`
|
2652
|
+
# @return [String]
|
2653
|
+
attr_accessor :type
|
2654
|
+
|
2655
|
+
# GTM Workspace ID.
|
2656
|
+
# Corresponds to the JSON property `workspaceId`
|
2657
|
+
# @return [String]
|
2658
|
+
attr_accessor :workspace_id
|
2659
|
+
|
2660
|
+
def initialize(**args)
|
2661
|
+
update!(**args)
|
2662
|
+
end
|
2663
|
+
|
2664
|
+
# Update properties of this object
|
2665
|
+
def update!(**args)
|
2666
|
+
@account_id = args[:account_id] if args.key?(:account_id)
|
2667
|
+
@container_id = args[:container_id] if args.key?(:container_id)
|
2668
|
+
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
2669
|
+
@name = args[:name] if args.key?(:name)
|
2670
|
+
@notes = args[:notes] if args.key?(:notes)
|
2671
|
+
@parameter = args[:parameter] if args.key?(:parameter)
|
2672
|
+
@parent_folder_id = args[:parent_folder_id] if args.key?(:parent_folder_id)
|
2673
|
+
@path = args[:path] if args.key?(:path)
|
2674
|
+
@tag_manager_url = args[:tag_manager_url] if args.key?(:tag_manager_url)
|
2675
|
+
@transformation_id = args[:transformation_id] if args.key?(:transformation_id)
|
2676
|
+
@type = args[:type] if args.key?(:type)
|
2677
|
+
@workspace_id = args[:workspace_id] if args.key?(:workspace_id)
|
2678
|
+
end
|
2679
|
+
end
|
2680
|
+
|
2524
2681
|
# Represents a Google Tag Manager Trigger
|
2525
2682
|
class Trigger
|
2526
2683
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module TagmanagerV2
|
18
18
|
# Version of the google-apis-tagmanager_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.23.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230614"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -232,6 +232,12 @@ module Google
|
|
232
232
|
include Google::Apis::Core::JsonObjectSupport
|
233
233
|
end
|
234
234
|
|
235
|
+
class ListTransformationsResponse
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
235
241
|
class ListTriggersResponse
|
236
242
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
243
|
|
@@ -316,6 +322,12 @@ module Google
|
|
316
322
|
include Google::Apis::Core::JsonObjectSupport
|
317
323
|
end
|
318
324
|
|
325
|
+
class RevertTransformationResponse
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
319
331
|
class RevertTriggerResponse
|
320
332
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
333
|
|
@@ -370,6 +382,12 @@ module Google
|
|
370
382
|
include Google::Apis::Core::JsonObjectSupport
|
371
383
|
end
|
372
384
|
|
385
|
+
class Transformation
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
|
+
|
388
|
+
include Google::Apis::Core::JsonObjectSupport
|
389
|
+
end
|
390
|
+
|
373
391
|
class Trigger
|
374
392
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
393
|
|
@@ -532,6 +550,7 @@ module Google
|
|
532
550
|
property :support_gtag_configs, as: 'supportGtagConfigs'
|
533
551
|
property :support_tags, as: 'supportTags'
|
534
552
|
property :support_templates, as: 'supportTemplates'
|
553
|
+
property :support_transformations, as: 'supportTransformations'
|
535
554
|
property :support_triggers, as: 'supportTriggers'
|
536
555
|
property :support_user_permissions, as: 'supportUserPermissions'
|
537
556
|
property :support_variables, as: 'supportVariables'
|
@@ -567,6 +586,8 @@ module Google
|
|
567
586
|
collection :tag, as: 'tag', class: Google::Apis::TagmanagerV2::Tag, decorator: Google::Apis::TagmanagerV2::Tag::Representation
|
568
587
|
|
569
588
|
property :tag_manager_url, as: 'tagManagerUrl'
|
589
|
+
collection :transformation, as: 'transformation', class: Google::Apis::TagmanagerV2::Transformation, decorator: Google::Apis::TagmanagerV2::Transformation::Representation
|
590
|
+
|
570
591
|
collection :trigger, as: 'trigger', class: Google::Apis::TagmanagerV2::Trigger, decorator: Google::Apis::TagmanagerV2::Trigger::Representation
|
571
592
|
|
572
593
|
collection :variable, as: 'variable', class: Google::Apis::TagmanagerV2::Variable, decorator: Google::Apis::TagmanagerV2::Variable::Representation
|
@@ -667,6 +688,8 @@ module Google
|
|
667
688
|
|
668
689
|
property :tag, as: 'tag', class: Google::Apis::TagmanagerV2::Tag, decorator: Google::Apis::TagmanagerV2::Tag::Representation
|
669
690
|
|
691
|
+
property :transformation, as: 'transformation', class: Google::Apis::TagmanagerV2::Transformation, decorator: Google::Apis::TagmanagerV2::Transformation::Representation
|
692
|
+
|
670
693
|
property :trigger, as: 'trigger', class: Google::Apis::TagmanagerV2::Trigger, decorator: Google::Apis::TagmanagerV2::Trigger::Representation
|
671
694
|
|
672
695
|
property :variable, as: 'variable', class: Google::Apis::TagmanagerV2::Variable, decorator: Google::Apis::TagmanagerV2::Variable::Representation
|
@@ -867,6 +890,15 @@ module Google
|
|
867
890
|
end
|
868
891
|
end
|
869
892
|
|
893
|
+
class ListTransformationsResponse
|
894
|
+
# @private
|
895
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
896
|
+
property :next_page_token, as: 'nextPageToken'
|
897
|
+
collection :transformation, as: 'transformation', class: Google::Apis::TagmanagerV2::Transformation, decorator: Google::Apis::TagmanagerV2::Transformation::Representation
|
898
|
+
|
899
|
+
end
|
900
|
+
end
|
901
|
+
|
870
902
|
class ListTriggersResponse
|
871
903
|
# @private
|
872
904
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -994,6 +1026,14 @@ module Google
|
|
994
1026
|
end
|
995
1027
|
end
|
996
1028
|
|
1029
|
+
class RevertTransformationResponse
|
1030
|
+
# @private
|
1031
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1032
|
+
property :transformation, as: 'transformation', class: Google::Apis::TagmanagerV2::Transformation, decorator: Google::Apis::TagmanagerV2::Transformation::Representation
|
1033
|
+
|
1034
|
+
end
|
1035
|
+
end
|
1036
|
+
|
997
1037
|
class RevertTriggerResponse
|
998
1038
|
# @private
|
999
1039
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1100,6 +1140,25 @@ module Google
|
|
1100
1140
|
end
|
1101
1141
|
end
|
1102
1142
|
|
1143
|
+
class Transformation
|
1144
|
+
# @private
|
1145
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1146
|
+
property :account_id, as: 'accountId'
|
1147
|
+
property :container_id, as: 'containerId'
|
1148
|
+
property :fingerprint, as: 'fingerprint'
|
1149
|
+
property :name, as: 'name'
|
1150
|
+
property :notes, as: 'notes'
|
1151
|
+
collection :parameter, as: 'parameter', class: Google::Apis::TagmanagerV2::Parameter, decorator: Google::Apis::TagmanagerV2::Parameter::Representation
|
1152
|
+
|
1153
|
+
property :parent_folder_id, as: 'parentFolderId'
|
1154
|
+
property :path, as: 'path'
|
1155
|
+
property :tag_manager_url, as: 'tagManagerUrl'
|
1156
|
+
property :transformation_id, as: 'transformationId'
|
1157
|
+
property :type, as: 'type'
|
1158
|
+
property :workspace_id, as: 'workspaceId'
|
1159
|
+
end
|
1160
|
+
end
|
1161
|
+
|
1103
1162
|
class Trigger
|
1104
1163
|
# @private
|
1105
1164
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2587,6 +2587,211 @@ module Google
|
|
2587
2587
|
execute_or_queue_command(command, &block)
|
2588
2588
|
end
|
2589
2589
|
|
2590
|
+
# Creates a GTM Transformation.
|
2591
|
+
# @param [String] parent
|
2592
|
+
# GTM Workspace's API relative path. Example: accounts/`account_id`/containers/`
|
2593
|
+
# container_id`/workspaces/`workspace_id`
|
2594
|
+
# @param [Google::Apis::TagmanagerV2::Transformation] transformation_object
|
2595
|
+
# @param [String] fields
|
2596
|
+
# Selector specifying which fields to include in a partial response.
|
2597
|
+
# @param [String] quota_user
|
2598
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2599
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2600
|
+
# @param [Google::Apis::RequestOptions] options
|
2601
|
+
# Request-specific options
|
2602
|
+
#
|
2603
|
+
# @yield [result, err] Result & error if block supplied
|
2604
|
+
# @yieldparam result [Google::Apis::TagmanagerV2::Transformation] parsed result object
|
2605
|
+
# @yieldparam err [StandardError] error object if request failed
|
2606
|
+
#
|
2607
|
+
# @return [Google::Apis::TagmanagerV2::Transformation]
|
2608
|
+
#
|
2609
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2610
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2611
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2612
|
+
def create_account_container_workspace_transformation(parent, transformation_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2613
|
+
command = make_simple_command(:post, 'tagmanager/v2/{+parent}/transformations', options)
|
2614
|
+
command.request_representation = Google::Apis::TagmanagerV2::Transformation::Representation
|
2615
|
+
command.request_object = transformation_object
|
2616
|
+
command.response_representation = Google::Apis::TagmanagerV2::Transformation::Representation
|
2617
|
+
command.response_class = Google::Apis::TagmanagerV2::Transformation
|
2618
|
+
command.params['parent'] = parent unless parent.nil?
|
2619
|
+
command.query['fields'] = fields unless fields.nil?
|
2620
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2621
|
+
execute_or_queue_command(command, &block)
|
2622
|
+
end
|
2623
|
+
|
2624
|
+
# Deletes a GTM Transformation.
|
2625
|
+
# @param [String] path
|
2626
|
+
# GTM Transformation's API relative path. Example: accounts/`account_id`/
|
2627
|
+
# containers/`container_id`/workspaces/`workspace_id`/transformations/`
|
2628
|
+
# transformation_id`
|
2629
|
+
# @param [String] fields
|
2630
|
+
# Selector specifying which fields to include in a partial response.
|
2631
|
+
# @param [String] quota_user
|
2632
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2633
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2634
|
+
# @param [Google::Apis::RequestOptions] options
|
2635
|
+
# Request-specific options
|
2636
|
+
#
|
2637
|
+
# @yield [result, err] Result & error if block supplied
|
2638
|
+
# @yieldparam result [NilClass] No result returned for this method
|
2639
|
+
# @yieldparam err [StandardError] error object if request failed
|
2640
|
+
#
|
2641
|
+
# @return [void]
|
2642
|
+
#
|
2643
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2644
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2645
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2646
|
+
def delete_account_container_workspace_transformation(path, fields: nil, quota_user: nil, options: nil, &block)
|
2647
|
+
command = make_simple_command(:delete, 'tagmanager/v2/{+path}', options)
|
2648
|
+
command.params['path'] = path unless path.nil?
|
2649
|
+
command.query['fields'] = fields unless fields.nil?
|
2650
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2651
|
+
execute_or_queue_command(command, &block)
|
2652
|
+
end
|
2653
|
+
|
2654
|
+
# Gets a GTM Transformation.
|
2655
|
+
# @param [String] path
|
2656
|
+
# GTM Transformation's API relative path. Example: accounts/`account_id`/
|
2657
|
+
# containers/`container_id`/workspaces/`workspace_id`/transformations/`
|
2658
|
+
# transformation_id`
|
2659
|
+
# @param [String] fields
|
2660
|
+
# Selector specifying which fields to include in a partial response.
|
2661
|
+
# @param [String] quota_user
|
2662
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2663
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2664
|
+
# @param [Google::Apis::RequestOptions] options
|
2665
|
+
# Request-specific options
|
2666
|
+
#
|
2667
|
+
# @yield [result, err] Result & error if block supplied
|
2668
|
+
# @yieldparam result [Google::Apis::TagmanagerV2::Transformation] parsed result object
|
2669
|
+
# @yieldparam err [StandardError] error object if request failed
|
2670
|
+
#
|
2671
|
+
# @return [Google::Apis::TagmanagerV2::Transformation]
|
2672
|
+
#
|
2673
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2674
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2675
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2676
|
+
def get_account_container_workspace_transformation(path, fields: nil, quota_user: nil, options: nil, &block)
|
2677
|
+
command = make_simple_command(:get, 'tagmanager/v2/{+path}', options)
|
2678
|
+
command.response_representation = Google::Apis::TagmanagerV2::Transformation::Representation
|
2679
|
+
command.response_class = Google::Apis::TagmanagerV2::Transformation
|
2680
|
+
command.params['path'] = path unless path.nil?
|
2681
|
+
command.query['fields'] = fields unless fields.nil?
|
2682
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2683
|
+
execute_or_queue_command(command, &block)
|
2684
|
+
end
|
2685
|
+
|
2686
|
+
# Lists all GTM Transformations of a GTM container workspace.
|
2687
|
+
# @param [String] parent
|
2688
|
+
# GTM Workspace's API relative path. Example: accounts/`account_id`/containers/`
|
2689
|
+
# container_id`/workspaces/`workspace_id`
|
2690
|
+
# @param [String] page_token
|
2691
|
+
# Continuation token for fetching the next page of results.
|
2692
|
+
# @param [String] fields
|
2693
|
+
# Selector specifying which fields to include in a partial response.
|
2694
|
+
# @param [String] quota_user
|
2695
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2696
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2697
|
+
# @param [Google::Apis::RequestOptions] options
|
2698
|
+
# Request-specific options
|
2699
|
+
#
|
2700
|
+
# @yield [result, err] Result & error if block supplied
|
2701
|
+
# @yieldparam result [Google::Apis::TagmanagerV2::ListTransformationsResponse] parsed result object
|
2702
|
+
# @yieldparam err [StandardError] error object if request failed
|
2703
|
+
#
|
2704
|
+
# @return [Google::Apis::TagmanagerV2::ListTransformationsResponse]
|
2705
|
+
#
|
2706
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2707
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2708
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2709
|
+
def list_account_container_workspace_transformations(parent, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2710
|
+
command = make_simple_command(:get, 'tagmanager/v2/{+parent}/transformations', options)
|
2711
|
+
command.response_representation = Google::Apis::TagmanagerV2::ListTransformationsResponse::Representation
|
2712
|
+
command.response_class = Google::Apis::TagmanagerV2::ListTransformationsResponse
|
2713
|
+
command.params['parent'] = parent unless parent.nil?
|
2714
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2715
|
+
command.query['fields'] = fields unless fields.nil?
|
2716
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2717
|
+
execute_or_queue_command(command, &block)
|
2718
|
+
end
|
2719
|
+
|
2720
|
+
# Reverts changes to a GTM Transformation in a GTM Workspace.
|
2721
|
+
# @param [String] path
|
2722
|
+
# GTM Transformation's API relative path. Example: accounts/`account_id`/
|
2723
|
+
# containers/`container_id`/workspaces/`workspace_id`/transformations/`
|
2724
|
+
# transformation_id`
|
2725
|
+
# @param [String] fingerprint
|
2726
|
+
# When provided, this fingerprint must match the fingerprint of the
|
2727
|
+
# transformation in storage.
|
2728
|
+
# @param [String] fields
|
2729
|
+
# Selector specifying which fields to include in a partial response.
|
2730
|
+
# @param [String] quota_user
|
2731
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2732
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2733
|
+
# @param [Google::Apis::RequestOptions] options
|
2734
|
+
# Request-specific options
|
2735
|
+
#
|
2736
|
+
# @yield [result, err] Result & error if block supplied
|
2737
|
+
# @yieldparam result [Google::Apis::TagmanagerV2::RevertTransformationResponse] parsed result object
|
2738
|
+
# @yieldparam err [StandardError] error object if request failed
|
2739
|
+
#
|
2740
|
+
# @return [Google::Apis::TagmanagerV2::RevertTransformationResponse]
|
2741
|
+
#
|
2742
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2743
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2744
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2745
|
+
def revert_account_container_workspace_transformation(path, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2746
|
+
command = make_simple_command(:post, 'tagmanager/v2/{+path}:revert', options)
|
2747
|
+
command.response_representation = Google::Apis::TagmanagerV2::RevertTransformationResponse::Representation
|
2748
|
+
command.response_class = Google::Apis::TagmanagerV2::RevertTransformationResponse
|
2749
|
+
command.params['path'] = path unless path.nil?
|
2750
|
+
command.query['fingerprint'] = fingerprint unless fingerprint.nil?
|
2751
|
+
command.query['fields'] = fields unless fields.nil?
|
2752
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2753
|
+
execute_or_queue_command(command, &block)
|
2754
|
+
end
|
2755
|
+
|
2756
|
+
# Updates a GTM Transformation.
|
2757
|
+
# @param [String] path
|
2758
|
+
# GTM Transformation's API relative path. Example: accounts/`account_id`/
|
2759
|
+
# containers/`container_id`/workspaces/`workspace_id`/transformations/`
|
2760
|
+
# transformation_id`
|
2761
|
+
# @param [Google::Apis::TagmanagerV2::Transformation] transformation_object
|
2762
|
+
# @param [String] fingerprint
|
2763
|
+
# When provided, this fingerprint must match the fingerprint of the
|
2764
|
+
# transformation in storage.
|
2765
|
+
# @param [String] fields
|
2766
|
+
# Selector specifying which fields to include in a partial response.
|
2767
|
+
# @param [String] quota_user
|
2768
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2769
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2770
|
+
# @param [Google::Apis::RequestOptions] options
|
2771
|
+
# Request-specific options
|
2772
|
+
#
|
2773
|
+
# @yield [result, err] Result & error if block supplied
|
2774
|
+
# @yieldparam result [Google::Apis::TagmanagerV2::Transformation] parsed result object
|
2775
|
+
# @yieldparam err [StandardError] error object if request failed
|
2776
|
+
#
|
2777
|
+
# @return [Google::Apis::TagmanagerV2::Transformation]
|
2778
|
+
#
|
2779
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2780
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2781
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2782
|
+
def update_account_container_workspace_transformation(path, transformation_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2783
|
+
command = make_simple_command(:put, 'tagmanager/v2/{+path}', options)
|
2784
|
+
command.request_representation = Google::Apis::TagmanagerV2::Transformation::Representation
|
2785
|
+
command.request_object = transformation_object
|
2786
|
+
command.response_representation = Google::Apis::TagmanagerV2::Transformation::Representation
|
2787
|
+
command.response_class = Google::Apis::TagmanagerV2::Transformation
|
2788
|
+
command.params['path'] = path unless path.nil?
|
2789
|
+
command.query['fingerprint'] = fingerprint unless fingerprint.nil?
|
2790
|
+
command.query['fields'] = fields unless fields.nil?
|
2791
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2792
|
+
execute_or_queue_command(command, &block)
|
2793
|
+
end
|
2794
|
+
|
2590
2795
|
# Creates a GTM Trigger.
|
2591
2796
|
# @param [String] parent
|
2592
2797
|
# GTM Workspace's API relative path. Example: accounts/`account_id`/containers/`
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-tagmanager_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.23.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-tagmanager_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-tagmanager_v2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-tagmanager_v2/v0.23.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-tagmanager_v2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|