google-apis-tagmanager_v2 0.35.0 → 0.36.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: 6e906e40fd4d70fa7a2a6da63edfe5225e5208893b42953ad7d0a8b3ba342a9c
4
- data.tar.gz: 578b3d9533a9cfbf757a427b9257f79e7cd7ac2fdd72988bbd78c492c1f4d871
3
+ metadata.gz: 6b2299c3a6739f6402ac8b5ed14f0322b2036dc438ae0a651848e721c7ce81e6
4
+ data.tar.gz: ce8c22e743ea2b8ad28a0fc407c215b9953aab7a38eac0b8a8783f85cef00c6e
5
5
  SHA512:
6
- metadata.gz: b5e6436f1312adbf5edd372d0fd6a43f224f4c1b8f691a77d912474c2a1b6b1fb73d83a75a5eaa51ad98faf1f6b8e9a11dc0d7912c2104279af70f598671bfa7
7
- data.tar.gz: 0d51995af6a0633d7af3509108764f05e2e7364069aac47b58f9f5e7d606246ba3a6ac35b44fb999d7310712b0493bbb013ea90fa49a92682c0694d3705cc8c8
6
+ metadata.gz: 28a6dd27a6cd46d5e46267dafed300ae6896a6e0f4858ab408416e61b4449cbfd96ea900ee21421fef991f8987d4342940aeda479ed29c0f2c22ddd3a2423423
7
+ data.tar.gz: 05e786fb72d867135148c44fbcd9e9676cf26a3c67cb9c60758ec744f84a4b7f38303f8bcf5bba92ce4d83ea366bb5bd0e65cb8994814d46572d8a55e6abdc90
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-tagmanager_v2
2
2
 
3
+ ### v0.36.0 (2025-12-07)
4
+
5
+ * Regenerated from discovery document revision 20251203
6
+ * Regenerated using generator version 0.18.0
7
+
3
8
  ### v0.35.0 (2025-05-04)
4
9
 
5
10
  * Regenerated using generator version 0.17.0
@@ -181,6 +181,26 @@ module Google
181
181
  end
182
182
  end
183
183
 
184
+ #
185
+ class BulkUpdateWorkspaceResponse
186
+ include Google::Apis::Core::Hashable
187
+
188
+ # The entities that were added or updated during the bulk-update. Does not
189
+ # include entities that were deleted or updated by the system.
190
+ # Corresponds to the JSON property `changes`
191
+ # @return [Array<Google::Apis::TagmanagerV2::Entity>]
192
+ attr_accessor :changes
193
+
194
+ def initialize(**args)
195
+ update!(**args)
196
+ end
197
+
198
+ # Update properties of this object
199
+ def update!(**args)
200
+ @changes = args[:changes] if args.key?(:changes)
201
+ end
202
+ end
203
+
184
204
  #
185
205
  class Client
186
206
  include Google::Apis::Core::Hashable
@@ -1984,6 +2004,25 @@ module Google
1984
2004
  end
1985
2005
  end
1986
2006
 
2007
+ #
2008
+ class ProposedChange
2009
+ include Google::Apis::Core::Hashable
2010
+
2011
+ # The list of workspace changes to be applied.
2012
+ # Corresponds to the JSON property `changes`
2013
+ # @return [Array<Google::Apis::TagmanagerV2::Entity>]
2014
+ attr_accessor :changes
2015
+
2016
+ def initialize(**args)
2017
+ update!(**args)
2018
+ end
2019
+
2020
+ # Update properties of this object
2021
+ def update!(**args)
2022
+ @changes = args[:changes] if args.key?(:changes)
2023
+ end
2024
+ end
2025
+
1987
2026
  # Publish container version response.
1988
2027
  class PublishContainerVersionResponse
1989
2028
  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.35.0"
19
+ GEM_VERSION = "0.36.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250409"
25
+ REVISION = "20251203"
26
26
  end
27
27
  end
28
28
  end
@@ -46,6 +46,12 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
+ class BulkUpdateWorkspaceResponse
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
49
55
  class Client
50
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
57
 
@@ -280,6 +286,12 @@ module Google
280
286
  include Google::Apis::Core::JsonObjectSupport
281
287
  end
282
288
 
289
+ class ProposedChange
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
283
295
  class PublishContainerVersionResponse
284
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
297
 
@@ -483,6 +495,14 @@ module Google
483
495
  end
484
496
  end
485
497
 
498
+ class BulkUpdateWorkspaceResponse
499
+ # @private
500
+ class Representation < Google::Apis::Core::JsonRepresentation
501
+ collection :changes, as: 'changes', class: Google::Apis::TagmanagerV2::Entity, decorator: Google::Apis::TagmanagerV2::Entity::Representation
502
+
503
+ end
504
+ end
505
+
486
506
  class Client
487
507
  # @private
488
508
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -977,6 +997,14 @@ module Google
977
997
  end
978
998
  end
979
999
 
1000
+ class ProposedChange
1001
+ # @private
1002
+ class Representation < Google::Apis::Core::JsonRepresentation
1003
+ collection :changes, as: 'changes', class: Google::Apis::TagmanagerV2::Entity, decorator: Google::Apis::TagmanagerV2::Entity::Representation
1004
+
1005
+ end
1006
+ end
1007
+
980
1008
  class PublishContainerVersionResponse
981
1009
  # @private
982
1010
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1053,6 +1053,45 @@ module Google
1053
1053
  execute_or_queue_command(command, &block)
1054
1054
  end
1055
1055
 
1056
+ # Applies multiple entity changes to a workspace in one call. When creating new
1057
+ # entities, their entity IDs must be unique and in correct format. That is, they
1058
+ # must start with "new_" and followed by number, e.g. "new_1", "new_2". Example
1059
+ # body snippet to create myNewTag under myNewFolder is: ``` "changes": [ ` "
1060
+ # folder": ` "folderId": "new_1", "name": "myNewFolder", ... `, "changeStatus": "
1061
+ # added" `, ` "tag": ` "tagId": "new_2", "name": "myNewTag", "parentFolderId": "
1062
+ # new_1", ... `, "changeStatus": "added" ` ] ```
1063
+ # @param [String] path
1064
+ # GTM Workspace's API relative path.
1065
+ # @param [Google::Apis::TagmanagerV2::ProposedChange] proposed_change_object
1066
+ # @param [String] fields
1067
+ # Selector specifying which fields to include in a partial response.
1068
+ # @param [String] quota_user
1069
+ # Available to use for quota purposes for server-side applications. Can be any
1070
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1071
+ # @param [Google::Apis::RequestOptions] options
1072
+ # Request-specific options
1073
+ #
1074
+ # @yield [result, err] Result & error if block supplied
1075
+ # @yieldparam result [Google::Apis::TagmanagerV2::BulkUpdateWorkspaceResponse] parsed result object
1076
+ # @yieldparam err [StandardError] error object if request failed
1077
+ #
1078
+ # @return [Google::Apis::TagmanagerV2::BulkUpdateWorkspaceResponse]
1079
+ #
1080
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1081
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1082
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1083
+ def bulk_account_container_workspace_update(path, proposed_change_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1084
+ command = make_simple_command(:post, 'tagmanager/v2/{+path}/bulk_update', options)
1085
+ command.request_representation = Google::Apis::TagmanagerV2::ProposedChange::Representation
1086
+ command.request_object = proposed_change_object
1087
+ command.response_representation = Google::Apis::TagmanagerV2::BulkUpdateWorkspaceResponse::Representation
1088
+ command.response_class = Google::Apis::TagmanagerV2::BulkUpdateWorkspaceResponse
1089
+ command.params['path'] = path unless path.nil?
1090
+ command.query['fields'] = fields unless fields.nil?
1091
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1092
+ execute_or_queue_command(command, &block)
1093
+ end
1094
+
1056
1095
  # Creates a Workspace.
1057
1096
  # @param [String] parent
1058
1097
  # GTM parent Container's API relative path.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-tagmanager_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.35.0
4
+ version: 0.36.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-tagmanager_v2/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-tagmanager_v2/v0.35.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-tagmanager_v2/v0.36.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-tagmanager_v2
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.8
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Tag Manager API V2
79
79
  test_files: []