google-apis-tagmanager_v2 0.22.0 → 0.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 93bac67e06323ba9084c322b2f1568ea2874883357083e2ecbddf57d0630ea6e
4
- data.tar.gz: d2041b5b5e51300381551465ba4528fb931a34dc5af889400e96fdda6dead131
3
+ metadata.gz: 678a9cd6dd54dcf7ce5f7cbb17a0fffdbef4cc7b024fa855ee94682cf9b39094
4
+ data.tar.gz: 97c1294e89c91848230c04666ee4ccdb24ab8555ee3ecbe5438ca398bde85c30
5
5
  SHA512:
6
- metadata.gz: 6e7a9cb64f25b214d493ea01ed90b56720e2231a6bf95e18d9686f0d74687231ba9267fa01546925d6f04d71499978d1afe1033ff01a6b32ca66f68d9d6676bf
7
- data.tar.gz: 5a3d2c836bb6709ac6fba9cbbdf70cc8f559018dd54c1bd68a245241d42fc4fabd9f86e1c6f8fed8125a4ffafec7234e783043ade5e37c04177b17000384dac5
6
+ metadata.gz: a10f3e64af3b11f6f94056824492def1d90c78e7d1573cd843992dba2ba20d91de4f75b6e19472fe78e3d455b71b0d143dad3add861312a4b9ce03b83a230308
7
+ data.tar.gz: 7b8404951b2e12205ee21f4c1492d52ad551021edb979f3be23604eb35eace71c418a5cd7521ed733f117a37790f3dd7836e5d6fae8aa6495ca81c1021183eb0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-tagmanager_v2
2
2
 
3
+ ### v0.24.0 (2023-08-13)
4
+
5
+ * Regenerated from discovery document revision 20230807
6
+
7
+ ### v0.23.0 (2023-06-18)
8
+
9
+ * Regenerated from discovery document revision 20230614
10
+
3
11
  ### v0.22.0 (2023-04-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20230405
@@ -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
@@ -1893,6 +1937,14 @@ module Google
1893
1937
  class Parameter
1894
1938
  include Google::Apis::Core::Hashable
1895
1939
 
1940
+ # Whether or not a reference type parameter is strongly or weakly referenced. @
1941
+ # mutable tagmanager.accounts.containers.workspaces.transformations.create @
1942
+ # mutable tagmanager.accounts.containers.workspaces.transformations.update
1943
+ # Corresponds to the JSON property `isWeakReference`
1944
+ # @return [Boolean]
1945
+ attr_accessor :is_weak_reference
1946
+ alias_method :is_weak_reference?, :is_weak_reference
1947
+
1896
1948
  # The named key that uniquely identifies a parameter. Required for top-level
1897
1949
  # parameters, as well as map values. Ignored for list values. @mutable
1898
1950
  # tagmanager.accounts.containers.workspaces.variables.create @mutable tagmanager.
@@ -1959,6 +2011,7 @@ module Google
1959
2011
 
1960
2012
  # Update properties of this object
1961
2013
  def update!(**args)
2014
+ @is_weak_reference = args[:is_weak_reference] if args.key?(:is_weak_reference)
1962
2015
  @key = args[:key] if args.key?(:key)
1963
2016
  @list = args[:list] if args.key?(:list)
1964
2017
  @map = args[:map] if args.key?(:map)
@@ -2123,6 +2176,25 @@ module Google
2123
2176
  end
2124
2177
  end
2125
2178
 
2179
+ # The result of reverting a transformation in a workspace.
2180
+ class RevertTransformationResponse
2181
+ include Google::Apis::Core::Hashable
2182
+
2183
+ # Represents a Google Tag Manager Transformation.
2184
+ # Corresponds to the JSON property `transformation`
2185
+ # @return [Google::Apis::TagmanagerV2::Transformation]
2186
+ attr_accessor :transformation
2187
+
2188
+ def initialize(**args)
2189
+ update!(**args)
2190
+ end
2191
+
2192
+ # Update properties of this object
2193
+ def update!(**args)
2194
+ @transformation = args[:transformation] if args.key?(:transformation)
2195
+ end
2196
+ end
2197
+
2126
2198
  # The result of reverting a trigger in a workspace.
2127
2199
  class RevertTriggerResponse
2128
2200
  include Google::Apis::Core::Hashable
@@ -2521,6 +2593,100 @@ module Google
2521
2593
  end
2522
2594
  end
2523
2595
 
2596
+ # Represents a Google Tag Manager Transformation.
2597
+ class Transformation
2598
+ include Google::Apis::Core::Hashable
2599
+
2600
+ # GTM Account ID.
2601
+ # Corresponds to the JSON property `accountId`
2602
+ # @return [String]
2603
+ attr_accessor :account_id
2604
+
2605
+ # GTM Container ID.
2606
+ # Corresponds to the JSON property `containerId`
2607
+ # @return [String]
2608
+ attr_accessor :container_id
2609
+
2610
+ # The fingerprint of the GTM Transformation as computed at storage time. This
2611
+ # value is recomputed whenever the transformation is modified.
2612
+ # Corresponds to the JSON property `fingerprint`
2613
+ # @return [String]
2614
+ attr_accessor :fingerprint
2615
+
2616
+ # Transformation display name. @mutable tagmanager.accounts.containers.
2617
+ # workspaces.transformations.create @mutable tagmanager.accounts.containers.
2618
+ # workspaces.transformations.update
2619
+ # Corresponds to the JSON property `name`
2620
+ # @return [String]
2621
+ attr_accessor :name
2622
+
2623
+ # User notes on how to apply this transformation in the container. @mutable
2624
+ # tagmanager.accounts.containers.workspaces.transformations.create @mutable
2625
+ # tagmanager.accounts.containers.workspaces.transformations.update
2626
+ # Corresponds to the JSON property `notes`
2627
+ # @return [String]
2628
+ attr_accessor :notes
2629
+
2630
+ # The transformation's parameters. @mutable tagmanager.accounts.containers.
2631
+ # workspaces.transformations.create @mutable tagmanager.accounts.containers.
2632
+ # workspaces.transformations.update
2633
+ # Corresponds to the JSON property `parameter`
2634
+ # @return [Array<Google::Apis::TagmanagerV2::Parameter>]
2635
+ attr_accessor :parameter
2636
+
2637
+ # Parent folder id.
2638
+ # Corresponds to the JSON property `parentFolderId`
2639
+ # @return [String]
2640
+ attr_accessor :parent_folder_id
2641
+
2642
+ # GTM transformation's API relative path.
2643
+ # Corresponds to the JSON property `path`
2644
+ # @return [String]
2645
+ attr_accessor :path
2646
+
2647
+ # Auto generated link to the tag manager UI
2648
+ # Corresponds to the JSON property `tagManagerUrl`
2649
+ # @return [String]
2650
+ attr_accessor :tag_manager_url
2651
+
2652
+ # The Transformation ID uniquely identifies the GTM transformation.
2653
+ # Corresponds to the JSON property `transformationId`
2654
+ # @return [String]
2655
+ attr_accessor :transformation_id
2656
+
2657
+ # Transformation type. @mutable tagmanager.accounts.containers.workspaces.
2658
+ # transformations.create @mutable tagmanager.accounts.containers.workspaces.
2659
+ # transformations.update
2660
+ # Corresponds to the JSON property `type`
2661
+ # @return [String]
2662
+ attr_accessor :type
2663
+
2664
+ # GTM Workspace ID.
2665
+ # Corresponds to the JSON property `workspaceId`
2666
+ # @return [String]
2667
+ attr_accessor :workspace_id
2668
+
2669
+ def initialize(**args)
2670
+ update!(**args)
2671
+ end
2672
+
2673
+ # Update properties of this object
2674
+ def update!(**args)
2675
+ @account_id = args[:account_id] if args.key?(:account_id)
2676
+ @container_id = args[:container_id] if args.key?(:container_id)
2677
+ @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
2678
+ @name = args[:name] if args.key?(:name)
2679
+ @notes = args[:notes] if args.key?(:notes)
2680
+ @parameter = args[:parameter] if args.key?(:parameter)
2681
+ @parent_folder_id = args[:parent_folder_id] if args.key?(:parent_folder_id)
2682
+ @path = args[:path] if args.key?(:path)
2683
+ @tag_manager_url = args[:tag_manager_url] if args.key?(:tag_manager_url)
2684
+ @transformation_id = args[:transformation_id] if args.key?(:transformation_id)
2685
+ @type = args[:type] if args.key?(:type)
2686
+ @workspace_id = args[:workspace_id] if args.key?(:workspace_id)
2687
+ end
2688
+ end
2689
+
2524
2690
  # Represents a Google Tag Manager Trigger
2525
2691
  class Trigger
2526
2692
  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.22.0"
19
+ GEM_VERSION = "0.24.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 = "20230405"
25
+ REVISION = "20230807"
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
@@ -925,6 +957,7 @@ module Google
925
957
  class Parameter
926
958
  # @private
927
959
  class Representation < Google::Apis::Core::JsonRepresentation
960
+ property :is_weak_reference, as: 'isWeakReference'
928
961
  property :key, as: 'key'
929
962
  collection :list, as: 'list', class: Google::Apis::TagmanagerV2::Parameter, decorator: Google::Apis::TagmanagerV2::Parameter::Representation
930
963
 
@@ -994,6 +1027,14 @@ module Google
994
1027
  end
995
1028
  end
996
1029
 
1030
+ class RevertTransformationResponse
1031
+ # @private
1032
+ class Representation < Google::Apis::Core::JsonRepresentation
1033
+ property :transformation, as: 'transformation', class: Google::Apis::TagmanagerV2::Transformation, decorator: Google::Apis::TagmanagerV2::Transformation::Representation
1034
+
1035
+ end
1036
+ end
1037
+
997
1038
  class RevertTriggerResponse
998
1039
  # @private
999
1040
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1100,6 +1141,25 @@ module Google
1100
1141
  end
1101
1142
  end
1102
1143
 
1144
+ class Transformation
1145
+ # @private
1146
+ class Representation < Google::Apis::Core::JsonRepresentation
1147
+ property :account_id, as: 'accountId'
1148
+ property :container_id, as: 'containerId'
1149
+ property :fingerprint, as: 'fingerprint'
1150
+ property :name, as: 'name'
1151
+ property :notes, as: 'notes'
1152
+ collection :parameter, as: 'parameter', class: Google::Apis::TagmanagerV2::Parameter, decorator: Google::Apis::TagmanagerV2::Parameter::Representation
1153
+
1154
+ property :parent_folder_id, as: 'parentFolderId'
1155
+ property :path, as: 'path'
1156
+ property :tag_manager_url, as: 'tagManagerUrl'
1157
+ property :transformation_id, as: 'transformationId'
1158
+ property :type, as: 'type'
1159
+ property :workspace_id, as: 'workspaceId'
1160
+ end
1161
+ end
1162
+
1103
1163
  class Trigger
1104
1164
  # @private
1105
1165
  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.22.0
4
+ version: 0.24.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-04-23 00:00:00.000000000 Z
11
+ date: 2023-08-13 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.22.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-tagmanager_v2/v0.24.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: []