google-api-client 0.30.2 → 0.30.3

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.
Files changed (230) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +90 -0
  3. data/README.md +17 -1
  4. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  5. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +108 -0
  6. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +48 -0
  7. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +32 -6
  9. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +16 -1
  10. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +32 -6
  12. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +16 -1
  13. data/generated/google/apis/analytics_v3.rb +1 -1
  14. data/generated/google/apis/analytics_v3/classes.rb +1 -1
  15. data/generated/google/apis/analytics_v3/service.rb +1 -1
  16. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  17. data/generated/google/apis/androidmanagement_v1/classes.rb +8 -64
  18. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  19. data/generated/google/apis/androidpublisher_v1_1/classes.rb +1 -0
  20. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  21. data/generated/google/apis/androidpublisher_v2/classes.rb +6 -4
  22. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  23. data/generated/google/apis/androidpublisher_v3/classes.rb +6 -4
  24. data/generated/google/apis/bigquery_v2.rb +1 -1
  25. data/generated/google/apis/bigquery_v2/classes.rb +243 -5
  26. data/generated/google/apis/bigquery_v2/representations.rb +77 -0
  27. data/generated/google/apis/bigquery_v2/service.rb +206 -0
  28. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  29. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +18 -76
  30. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +1 -0
  31. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +4 -4
  32. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  33. data/generated/google/apis/bigtableadmin_v1/classes.rb +0 -72
  34. data/generated/google/apis/bigtableadmin_v1/representations.rb +0 -32
  35. data/generated/google/apis/bigtableadmin_v1/service.rb +0 -69
  36. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  37. data/generated/google/apis/bigtableadmin_v2/classes.rb +72 -0
  38. data/generated/google/apis/bigtableadmin_v2/representations.rb +32 -0
  39. data/generated/google/apis/bigtableadmin_v2/service.rb +69 -0
  40. data/generated/google/apis/cloudasset_v1.rb +1 -1
  41. data/generated/google/apis/cloudasset_v1/classes.rb +9 -75
  42. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  43. data/generated/google/apis/cloudasset_v1beta1/classes.rb +9 -75
  44. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  45. data/generated/google/apis/cloudfunctions_v1/classes.rb +8 -74
  46. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  47. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +8 -74
  48. data/generated/google/apis/cloudiot_v1.rb +1 -1
  49. data/generated/google/apis/cloudiot_v1/classes.rb +8 -74
  50. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  51. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +4 -8
  52. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  53. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +4 -5
  54. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  55. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +11 -9
  56. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  57. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +11 -9
  58. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  59. data/generated/google/apis/cloudscheduler_v1/classes.rb +20 -84
  60. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  61. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +20 -84
  62. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  63. data/generated/google/apis/cloudsearch_v1/classes.rb +8 -74
  64. data/generated/google/apis/cloudshell_v1.rb +1 -1
  65. data/generated/google/apis/cloudshell_v1/classes.rb +8 -74
  66. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  67. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -74
  68. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  69. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +8 -0
  70. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  71. data/generated/google/apis/cloudtrace_v2/classes.rb +8 -74
  72. data/generated/google/apis/commentanalyzer_v1alpha1.rb +2 -2
  73. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +1 -1
  74. data/generated/google/apis/composer_v1.rb +1 -1
  75. data/generated/google/apis/composer_v1/classes.rb +8 -74
  76. data/generated/google/apis/composer_v1beta1.rb +1 -1
  77. data/generated/google/apis/composer_v1beta1/classes.rb +8 -74
  78. data/generated/google/apis/compute_alpha.rb +1 -1
  79. data/generated/google/apis/compute_alpha/classes.rb +1991 -700
  80. data/generated/google/apis/compute_alpha/representations.rb +604 -154
  81. data/generated/google/apis/compute_alpha/service.rb +693 -89
  82. data/generated/google/apis/compute_beta.rb +1 -1
  83. data/generated/google/apis/compute_beta/classes.rb +375 -230
  84. data/generated/google/apis/compute_beta/representations.rb +2 -0
  85. data/generated/google/apis/compute_beta/service.rb +92 -6
  86. data/generated/google/apis/compute_v1.rb +1 -1
  87. data/generated/google/apis/compute_v1/classes.rb +1827 -239
  88. data/generated/google/apis/compute_v1/representations.rb +669 -2
  89. data/generated/google/apis/compute_v1/service.rb +1150 -6
  90. data/generated/google/apis/container_v1.rb +1 -1
  91. data/generated/google/apis/container_v1/classes.rb +104 -0
  92. data/generated/google/apis/container_v1/representations.rb +48 -0
  93. data/generated/google/apis/container_v1beta1.rb +1 -1
  94. data/generated/google/apis/container_v1beta1/classes.rb +67 -2
  95. data/generated/google/apis/container_v1beta1/representations.rb +31 -0
  96. data/generated/google/apis/content_v2.rb +1 -1
  97. data/generated/google/apis/content_v2/classes.rb +4 -0
  98. data/generated/google/apis/content_v2_1.rb +1 -1
  99. data/generated/google/apis/content_v2_1/classes.rb +41 -0
  100. data/generated/google/apis/content_v2_1/representations.rb +19 -0
  101. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  102. data/generated/google/apis/dataflow_v1b3/classes.rb +46 -74
  103. data/generated/google/apis/dataflow_v1b3/representations.rb +17 -0
  104. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  105. data/generated/google/apis/datafusion_v1beta1/classes.rb +8 -74
  106. data/generated/google/apis/dataproc_v1.rb +1 -1
  107. data/generated/google/apis/dataproc_v1/classes.rb +147 -64
  108. data/generated/google/apis/dataproc_v1/representations.rb +42 -0
  109. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  110. data/generated/google/apis/dataproc_v1beta2/classes.rb +8 -64
  111. data/generated/google/apis/dataproc_v1beta2/service.rb +4 -2
  112. data/generated/google/apis/dialogflow_v2.rb +2 -2
  113. data/generated/google/apis/dialogflow_v2/classes.rb +32 -32
  114. data/generated/google/apis/dialogflow_v2/representations.rb +2 -0
  115. data/generated/google/apis/dialogflow_v2/service.rb +77 -17
  116. data/generated/google/apis/dialogflow_v2beta1.rb +2 -2
  117. data/generated/google/apis/dialogflow_v2beta1/classes.rb +32 -32
  118. data/generated/google/apis/dialogflow_v2beta1/representations.rb +2 -0
  119. data/generated/google/apis/dialogflow_v2beta1/service.rb +79 -19
  120. data/generated/google/apis/dlp_v2.rb +1 -1
  121. data/generated/google/apis/dlp_v2/classes.rb +4 -3
  122. data/generated/google/apis/dns_v1beta2.rb +1 -1
  123. data/generated/google/apis/dns_v1beta2/service.rb +1 -1
  124. data/generated/google/apis/docs_v1.rb +1 -1
  125. data/generated/google/apis/docs_v1/classes.rb +0 -10
  126. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  127. data/generated/google/apis/file_v1.rb +1 -1
  128. data/generated/google/apis/file_v1/classes.rb +17 -74
  129. data/generated/google/apis/file_v1/representations.rb +1 -0
  130. data/generated/google/apis/file_v1beta1.rb +1 -1
  131. data/generated/google/apis/file_v1beta1/classes.rb +17 -74
  132. data/generated/google/apis/file_v1beta1/representations.rb +1 -0
  133. data/generated/google/apis/firebase_v1beta1.rb +44 -0
  134. data/generated/google/apis/firebase_v1beta1/classes.rb +1063 -0
  135. data/generated/google/apis/firebase_v1beta1/representations.rb +432 -0
  136. data/generated/google/apis/firebase_v1beta1/service.rb +1105 -0
  137. data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
  138. data/generated/google/apis/healthcare_v1alpha2/service.rb +43 -61
  139. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  140. data/generated/google/apis/healthcare_v1beta1/service.rb +43 -61
  141. data/generated/google/apis/iam_v1.rb +1 -1
  142. data/generated/google/apis/iam_v1/classes.rb +6 -0
  143. data/generated/google/apis/iam_v1/representations.rb +1 -0
  144. data/generated/google/apis/logging_v2.rb +1 -1
  145. data/generated/google/apis/ml_v1.rb +1 -1
  146. data/generated/google/apis/ml_v1/classes.rb +18 -0
  147. data/generated/google/apis/ml_v1/representations.rb +3 -0
  148. data/generated/google/apis/monitoring_v3.rb +1 -1
  149. data/generated/google/apis/monitoring_v3/classes.rb +1 -1
  150. data/generated/google/apis/people_v1.rb +1 -1
  151. data/generated/google/apis/people_v1/classes.rb +12 -111
  152. data/generated/google/apis/pubsub_v1.rb +1 -1
  153. data/generated/google/apis/pubsub_v1/classes.rb +43 -0
  154. data/generated/google/apis/pubsub_v1/representations.rb +16 -0
  155. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  156. data/generated/google/apis/remotebuildexecution_v1/classes.rb +89 -26
  157. data/generated/google/apis/remotebuildexecution_v1/representations.rb +3 -0
  158. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  159. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +89 -26
  160. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +3 -0
  161. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +15 -1
  162. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  163. data/generated/google/apis/remotebuildexecution_v2/classes.rb +103 -30
  164. data/generated/google/apis/remotebuildexecution_v2/representations.rb +3 -0
  165. data/generated/google/apis/remotebuildexecution_v2/service.rb +29 -2
  166. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  167. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +0 -1
  168. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  169. data/generated/google/apis/servicecontrol_v1/classes.rb +64 -148
  170. data/generated/google/apis/servicecontrol_v1/representations.rb +17 -0
  171. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  172. data/generated/google/apis/servicemanagement_v1/classes.rb +8 -74
  173. data/generated/google/apis/servicemanagement_v1/service.rb +9 -1
  174. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  175. data/generated/google/apis/servicenetworking_v1/classes.rb +0 -1
  176. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  177. data/generated/google/apis/servicenetworking_v1beta/classes.rb +0 -1
  178. data/generated/google/apis/serviceusage_v1.rb +1 -1
  179. data/generated/google/apis/serviceusage_v1/classes.rb +0 -1
  180. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  181. data/generated/google/apis/serviceusage_v1beta1/classes.rb +0 -1
  182. data/generated/google/apis/spanner_v1.rb +1 -1
  183. data/generated/google/apis/spanner_v1/classes.rb +12 -111
  184. data/generated/google/apis/speech_v1.rb +1 -1
  185. data/generated/google/apis/speech_v1/classes.rb +13 -74
  186. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  187. data/generated/google/apis/speech_v1p1beta1/classes.rb +13 -74
  188. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  189. data/generated/google/apis/sqladmin_v1beta4/classes.rb +10 -3
  190. data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
  191. data/generated/google/apis/tagmanager_v1.rb +4 -3
  192. data/generated/google/apis/tagmanager_v1/classes.rb +237 -70
  193. data/generated/google/apis/tagmanager_v1/service.rb +223 -374
  194. data/generated/google/apis/tagmanager_v2.rb +4 -3
  195. data/generated/google/apis/tagmanager_v2/classes.rb +221 -208
  196. data/generated/google/apis/tagmanager_v2/representations.rb +1 -16
  197. data/generated/google/apis/tagmanager_v2/service.rb +608 -757
  198. data/generated/google/apis/texttospeech_v1.rb +1 -1
  199. data/generated/google/apis/texttospeech_v1/classes.rb +28 -27
  200. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  201. data/generated/google/apis/texttospeech_v1beta1/classes.rb +28 -27
  202. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  203. data/generated/google/apis/toolresults_v1beta3/classes.rb +35 -0
  204. data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
  205. data/generated/google/apis/tpu_v1.rb +1 -1
  206. data/generated/google/apis/tpu_v1/classes.rb +17 -88
  207. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  208. data/generated/google/apis/tpu_v1alpha1/classes.rb +17 -88
  209. data/generated/google/apis/vault_v1.rb +1 -1
  210. data/generated/google/apis/vault_v1/classes.rb +49 -0
  211. data/generated/google/apis/vault_v1/representations.rb +18 -0
  212. data/generated/google/apis/videointelligence_v1.rb +1 -1
  213. data/generated/google/apis/videointelligence_v1/classes.rb +324 -332
  214. data/generated/google/apis/videointelligence_v1/representations.rb +102 -0
  215. data/generated/google/apis/videointelligence_v1/service.rb +217 -9
  216. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  217. data/generated/google/apis/videointelligence_v1beta2/classes.rb +279 -297
  218. data/generated/google/apis/videointelligence_v1beta2/representations.rb +102 -0
  219. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  220. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +324 -332
  221. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +102 -0
  222. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  223. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +324 -332
  224. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +102 -0
  225. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  226. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +324 -332
  227. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +102 -0
  228. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  229. data/lib/google/apis/version.rb +1 -1
  230. metadata +6 -2
@@ -298,12 +298,6 @@ module Google
298
298
  include Google::Apis::Core::JsonObjectSupport
299
299
  end
300
300
 
301
- class Timestamp
302
- class Representation < Google::Apis::Core::JsonRepresentation; end
303
-
304
- include Google::Apis::Core::JsonObjectSupport
305
- end
306
-
307
301
  class Trigger
308
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
303
 
@@ -535,8 +529,7 @@ module Google
535
529
  class Representation < Google::Apis::Core::JsonRepresentation
536
530
  property :account_id, as: 'accountId'
537
531
  property :authorization_code, as: 'authorizationCode'
538
- property :authorization_timestamp, as: 'authorizationTimestamp', class: Google::Apis::TagmanagerV2::Timestamp, decorator: Google::Apis::TagmanagerV2::Timestamp::Representation
539
-
532
+ property :authorization_timestamp, as: 'authorizationTimestamp'
540
533
  property :container_id, as: 'containerId'
541
534
  property :container_version_id, as: 'containerVersionId'
542
535
  property :description, as: 'description'
@@ -873,14 +866,6 @@ module Google
873
866
  end
874
867
  end
875
868
 
876
- class Timestamp
877
- # @private
878
- class Representation < Google::Apis::Core::JsonRepresentation
879
- property :nanos, as: 'nanos'
880
- property :seconds, :numeric_string => true, as: 'seconds'
881
- end
882
- end
883
-
884
869
  class Trigger
885
870
  # @private
886
871
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -22,7 +22,8 @@ module Google
22
22
  module TagmanagerV2
23
23
  # Tag Manager API
24
24
  #
25
- # Accesses Tag Manager accounts and containers.
25
+ # This API allows clients to access and modify container and tag
26
+ # configuration.
26
27
  #
27
28
  # @example
28
29
  # require 'google/apis/tagmanager_v2'
@@ -30,7 +31,7 @@ module Google
30
31
  # Tagmanager = Google::Apis::TagmanagerV2 # Alias the module
31
32
  # service = Tagmanager::TagManagerService.new
32
33
  #
33
- # @see https://developers.google.com/tag-manager/api/v2/
34
+ # @see https://developers.google.com/tag-manager
34
35
  class TagManagerService < Google::Apis::Core::BaseService
35
36
  # @return [String]
36
37
  # API key. Your API key identifies your project and provides you with API access,
@@ -38,29 +39,24 @@ module Google
38
39
  attr_accessor :key
39
40
 
40
41
  # @return [String]
41
- # An opaque string that represents a user for quota purposes. Must not exceed 40
42
- # characters.
42
+ # Available to use for quota purposes for server-side applications. Can be any
43
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
43
44
  attr_accessor :quota_user
44
45
 
45
- # @return [String]
46
- # Deprecated. Please use quotaUser instead.
47
- attr_accessor :user_ip
48
-
49
46
  def initialize
50
- super('https://www.googleapis.com/', 'tagmanager/v2/')
51
- @batch_path = 'batch/tagmanager/v2'
47
+ super('https://www.googleapis.com/', '')
48
+ @batch_path = 'batch'
52
49
  end
53
50
 
54
51
  # Gets a GTM Account.
55
52
  # @param [String] path
56
- # GTM Accounts's API relative path. Example: accounts/`account_id`
53
+ # GTM Accounts's API relative path.
54
+ # Example: accounts/`account_id`
57
55
  # @param [String] fields
58
56
  # Selector specifying which fields to include in a partial response.
59
57
  # @param [String] quota_user
60
- # An opaque string that represents a user for quota purposes. Must not exceed 40
61
- # characters.
62
- # @param [String] user_ip
63
- # Deprecated. Please use quotaUser instead.
58
+ # Available to use for quota purposes for server-side applications. Can be any
59
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
64
60
  # @param [Google::Apis::RequestOptions] options
65
61
  # Request-specific options
66
62
  #
@@ -73,14 +69,13 @@ module Google
73
69
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
74
70
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
75
71
  # @raise [Google::Apis::AuthorizationError] Authorization is required
76
- def get_account(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
77
- command = make_simple_command(:get, '{+path}', options)
72
+ def get_account(path, fields: nil, quota_user: nil, options: nil, &block)
73
+ command = make_simple_command(:get, 'tagmanager/v2/{+path}', options)
78
74
  command.response_representation = Google::Apis::TagmanagerV2::Account::Representation
79
75
  command.response_class = Google::Apis::TagmanagerV2::Account
80
76
  command.params['path'] = path unless path.nil?
81
77
  command.query['fields'] = fields unless fields.nil?
82
78
  command.query['quotaUser'] = quota_user unless quota_user.nil?
83
- command.query['userIp'] = user_ip unless user_ip.nil?
84
79
  execute_or_queue_command(command, &block)
85
80
  end
86
81
 
@@ -90,10 +85,8 @@ module Google
90
85
  # @param [String] fields
91
86
  # Selector specifying which fields to include in a partial response.
92
87
  # @param [String] quota_user
93
- # An opaque string that represents a user for quota purposes. Must not exceed 40
94
- # characters.
95
- # @param [String] user_ip
96
- # Deprecated. Please use quotaUser instead.
88
+ # Available to use for quota purposes for server-side applications. Can be any
89
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
97
90
  # @param [Google::Apis::RequestOptions] options
98
91
  # Request-specific options
99
92
  #
@@ -106,31 +99,29 @@ module Google
106
99
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
107
100
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
108
101
  # @raise [Google::Apis::AuthorizationError] Authorization is required
109
- def list_accounts(page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
110
- command = make_simple_command(:get, 'accounts', options)
102
+ def list_accounts(page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
103
+ command = make_simple_command(:get, 'tagmanager/v2/accounts', options)
111
104
  command.response_representation = Google::Apis::TagmanagerV2::ListAccountsResponse::Representation
112
105
  command.response_class = Google::Apis::TagmanagerV2::ListAccountsResponse
113
106
  command.query['pageToken'] = page_token unless page_token.nil?
114
107
  command.query['fields'] = fields unless fields.nil?
115
108
  command.query['quotaUser'] = quota_user unless quota_user.nil?
116
- command.query['userIp'] = user_ip unless user_ip.nil?
117
109
  execute_or_queue_command(command, &block)
118
110
  end
119
111
 
120
112
  # Updates a GTM Account.
121
113
  # @param [String] path
122
- # GTM Accounts's API relative path. Example: accounts/`account_id`
114
+ # GTM Accounts's API relative path.
115
+ # Example: accounts/`account_id`
123
116
  # @param [Google::Apis::TagmanagerV2::Account] account_object
124
117
  # @param [String] fingerprint
125
- # When provided, this fingerprint must match the fingerprint of the account in
126
- # storage.
118
+ # When provided, this fingerprint must match the fingerprint of the account
119
+ # in storage.
127
120
  # @param [String] fields
128
121
  # Selector specifying which fields to include in a partial response.
129
122
  # @param [String] quota_user
130
- # An opaque string that represents a user for quota purposes. Must not exceed 40
131
- # characters.
132
- # @param [String] user_ip
133
- # Deprecated. Please use quotaUser instead.
123
+ # Available to use for quota purposes for server-side applications. Can be any
124
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
134
125
  # @param [Google::Apis::RequestOptions] options
135
126
  # Request-specific options
136
127
  #
@@ -143,8 +134,8 @@ module Google
143
134
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
144
135
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
145
136
  # @raise [Google::Apis::AuthorizationError] Authorization is required
146
- def update_account(path, account_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
147
- command = make_simple_command(:put, '{+path}', options)
137
+ def update_account(path, account_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block)
138
+ command = make_simple_command(:put, 'tagmanager/v2/{+path}', options)
148
139
  command.request_representation = Google::Apis::TagmanagerV2::Account::Representation
149
140
  command.request_object = account_object
150
141
  command.response_representation = Google::Apis::TagmanagerV2::Account::Representation
@@ -153,21 +144,19 @@ module Google
153
144
  command.query['fingerprint'] = fingerprint unless fingerprint.nil?
154
145
  command.query['fields'] = fields unless fields.nil?
155
146
  command.query['quotaUser'] = quota_user unless quota_user.nil?
156
- command.query['userIp'] = user_ip unless user_ip.nil?
157
147
  execute_or_queue_command(command, &block)
158
148
  end
159
149
 
160
150
  # Creates a Container.
161
151
  # @param [String] parent
162
- # GTM Account's API relative path. Example: accounts/`account_id`.
152
+ # GTM Account's API relative path.
153
+ # Example: accounts/`account_id`.
163
154
  # @param [Google::Apis::TagmanagerV2::Container] container_object
164
155
  # @param [String] fields
165
156
  # Selector specifying which fields to include in a partial response.
166
157
  # @param [String] quota_user
167
- # An opaque string that represents a user for quota purposes. Must not exceed 40
168
- # characters.
169
- # @param [String] user_ip
170
- # Deprecated. Please use quotaUser instead.
158
+ # Available to use for quota purposes for server-side applications. Can be any
159
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
171
160
  # @param [Google::Apis::RequestOptions] options
172
161
  # Request-specific options
173
162
  #
@@ -180,8 +169,8 @@ module Google
180
169
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
181
170
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
182
171
  # @raise [Google::Apis::AuthorizationError] Authorization is required
183
- def create_account_container(parent, container_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
184
- command = make_simple_command(:post, '{+parent}/containers', options)
172
+ def create_account_container(parent, container_object = nil, fields: nil, quota_user: nil, options: nil, &block)
173
+ command = make_simple_command(:post, 'tagmanager/v2/{+parent}/containers', options)
185
174
  command.request_representation = Google::Apis::TagmanagerV2::Container::Representation
186
175
  command.request_object = container_object
187
176
  command.response_representation = Google::Apis::TagmanagerV2::Container::Representation
@@ -189,21 +178,18 @@ module Google
189
178
  command.params['parent'] = parent unless parent.nil?
190
179
  command.query['fields'] = fields unless fields.nil?
191
180
  command.query['quotaUser'] = quota_user unless quota_user.nil?
192
- command.query['userIp'] = user_ip unless user_ip.nil?
193
181
  execute_or_queue_command(command, &block)
194
182
  end
195
183
 
196
184
  # Deletes a Container.
197
185
  # @param [String] path
198
- # GTM Container's API relative path. Example: accounts/`account_id`/containers/`
199
- # container_id`
186
+ # GTM Container's API relative path.
187
+ # Example: accounts/`account_id`/containers/`container_id`
200
188
  # @param [String] fields
201
189
  # Selector specifying which fields to include in a partial response.
202
190
  # @param [String] quota_user
203
- # An opaque string that represents a user for quota purposes. Must not exceed 40
204
- # characters.
205
- # @param [String] user_ip
206
- # Deprecated. Please use quotaUser instead.
191
+ # Available to use for quota purposes for server-side applications. Can be any
192
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
207
193
  # @param [Google::Apis::RequestOptions] options
208
194
  # Request-specific options
209
195
  #
@@ -216,26 +202,23 @@ module Google
216
202
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
217
203
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
218
204
  # @raise [Google::Apis::AuthorizationError] Authorization is required
219
- def delete_account_container(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
220
- command = make_simple_command(:delete, '{+path}', options)
205
+ def delete_account_container(path, fields: nil, quota_user: nil, options: nil, &block)
206
+ command = make_simple_command(:delete, 'tagmanager/v2/{+path}', options)
221
207
  command.params['path'] = path unless path.nil?
222
208
  command.query['fields'] = fields unless fields.nil?
223
209
  command.query['quotaUser'] = quota_user unless quota_user.nil?
224
- command.query['userIp'] = user_ip unless user_ip.nil?
225
210
  execute_or_queue_command(command, &block)
226
211
  end
227
212
 
228
213
  # Gets a Container.
229
214
  # @param [String] path
230
- # GTM Container's API relative path. Example: accounts/`account_id`/containers/`
231
- # container_id`
215
+ # GTM Container's API relative path.
216
+ # Example: accounts/`account_id`/containers/`container_id`
232
217
  # @param [String] fields
233
218
  # Selector specifying which fields to include in a partial response.
234
219
  # @param [String] quota_user
235
- # An opaque string that represents a user for quota purposes. Must not exceed 40
236
- # characters.
237
- # @param [String] user_ip
238
- # Deprecated. Please use quotaUser instead.
220
+ # Available to use for quota purposes for server-side applications. Can be any
221
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
239
222
  # @param [Google::Apis::RequestOptions] options
240
223
  # Request-specific options
241
224
  #
@@ -248,29 +231,27 @@ module Google
248
231
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
249
232
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
250
233
  # @raise [Google::Apis::AuthorizationError] Authorization is required
251
- def get_account_container(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
252
- command = make_simple_command(:get, '{+path}', options)
234
+ def get_account_container(path, fields: nil, quota_user: nil, options: nil, &block)
235
+ command = make_simple_command(:get, 'tagmanager/v2/{+path}', options)
253
236
  command.response_representation = Google::Apis::TagmanagerV2::Container::Representation
254
237
  command.response_class = Google::Apis::TagmanagerV2::Container
255
238
  command.params['path'] = path unless path.nil?
256
239
  command.query['fields'] = fields unless fields.nil?
257
240
  command.query['quotaUser'] = quota_user unless quota_user.nil?
258
- command.query['userIp'] = user_ip unless user_ip.nil?
259
241
  execute_or_queue_command(command, &block)
260
242
  end
261
243
 
262
244
  # Lists all Containers that belongs to a GTM Account.
263
245
  # @param [String] parent
264
- # GTM Accounts's API relative path. Example: accounts/`account_id`.
246
+ # GTM Accounts's API relative path.
247
+ # Example: accounts/`account_id`.
265
248
  # @param [String] page_token
266
249
  # Continuation token for fetching the next page of results.
267
250
  # @param [String] fields
268
251
  # Selector specifying which fields to include in a partial response.
269
252
  # @param [String] quota_user
270
- # An opaque string that represents a user for quota purposes. Must not exceed 40
271
- # characters.
272
- # @param [String] user_ip
273
- # Deprecated. Please use quotaUser instead.
253
+ # Available to use for quota purposes for server-side applications. Can be any
254
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
274
255
  # @param [Google::Apis::RequestOptions] options
275
256
  # Request-specific options
276
257
  #
@@ -283,33 +264,30 @@ module Google
283
264
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
284
265
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
285
266
  # @raise [Google::Apis::AuthorizationError] Authorization is required
286
- def list_account_containers(parent, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
287
- command = make_simple_command(:get, '{+parent}/containers', options)
267
+ def list_account_containers(parent, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
268
+ command = make_simple_command(:get, 'tagmanager/v2/{+parent}/containers', options)
288
269
  command.response_representation = Google::Apis::TagmanagerV2::ListContainersResponse::Representation
289
270
  command.response_class = Google::Apis::TagmanagerV2::ListContainersResponse
290
271
  command.params['parent'] = parent unless parent.nil?
291
272
  command.query['pageToken'] = page_token unless page_token.nil?
292
273
  command.query['fields'] = fields unless fields.nil?
293
274
  command.query['quotaUser'] = quota_user unless quota_user.nil?
294
- command.query['userIp'] = user_ip unless user_ip.nil?
295
275
  execute_or_queue_command(command, &block)
296
276
  end
297
277
 
298
278
  # Updates a Container.
299
279
  # @param [String] path
300
- # GTM Container's API relative path. Example: accounts/`account_id`/containers/`
301
- # container_id`
280
+ # GTM Container's API relative path.
281
+ # Example: accounts/`account_id`/containers/`container_id`
302
282
  # @param [Google::Apis::TagmanagerV2::Container] container_object
303
283
  # @param [String] fingerprint
304
- # When provided, this fingerprint must match the fingerprint of the container in
305
- # storage.
284
+ # When provided, this fingerprint must match the fingerprint of the
285
+ # container in storage.
306
286
  # @param [String] fields
307
287
  # Selector specifying which fields to include in a partial response.
308
288
  # @param [String] quota_user
309
- # An opaque string that represents a user for quota purposes. Must not exceed 40
310
- # characters.
311
- # @param [String] user_ip
312
- # Deprecated. Please use quotaUser instead.
289
+ # Available to use for quota purposes for server-side applications. Can be any
290
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
313
291
  # @param [Google::Apis::RequestOptions] options
314
292
  # Request-specific options
315
293
  #
@@ -322,8 +300,8 @@ module Google
322
300
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
323
301
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
324
302
  # @raise [Google::Apis::AuthorizationError] Authorization is required
325
- def update_account_container(path, container_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
326
- command = make_simple_command(:put, '{+path}', options)
303
+ def update_account_container(path, container_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block)
304
+ command = make_simple_command(:put, 'tagmanager/v2/{+path}', options)
327
305
  command.request_representation = Google::Apis::TagmanagerV2::Container::Representation
328
306
  command.request_object = container_object
329
307
  command.response_representation = Google::Apis::TagmanagerV2::Container::Representation
@@ -332,22 +310,19 @@ module Google
332
310
  command.query['fingerprint'] = fingerprint unless fingerprint.nil?
333
311
  command.query['fields'] = fields unless fields.nil?
334
312
  command.query['quotaUser'] = quota_user unless quota_user.nil?
335
- command.query['userIp'] = user_ip unless user_ip.nil?
336
313
  execute_or_queue_command(command, &block)
337
314
  end
338
315
 
339
316
  # Creates a GTM Environment.
340
317
  # @param [String] parent
341
- # GTM Container's API relative path. Example: accounts/`account_id`/containers/`
342
- # container_id`
318
+ # GTM Container's API relative path.
319
+ # Example: accounts/`account_id`/containers/`container_id`
343
320
  # @param [Google::Apis::TagmanagerV2::Environment] environment_object
344
321
  # @param [String] fields
345
322
  # Selector specifying which fields to include in a partial response.
346
323
  # @param [String] quota_user
347
- # An opaque string that represents a user for quota purposes. Must not exceed 40
348
- # characters.
349
- # @param [String] user_ip
350
- # Deprecated. Please use quotaUser instead.
324
+ # Available to use for quota purposes for server-side applications. Can be any
325
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
351
326
  # @param [Google::Apis::RequestOptions] options
352
327
  # Request-specific options
353
328
  #
@@ -360,8 +335,8 @@ module Google
360
335
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
361
336
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
362
337
  # @raise [Google::Apis::AuthorizationError] Authorization is required
363
- def create_account_container_environment(parent, environment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
364
- command = make_simple_command(:post, '{+parent}/environments', options)
338
+ def create_account_container_environment(parent, environment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
339
+ command = make_simple_command(:post, 'tagmanager/v2/{+parent}/environments', options)
365
340
  command.request_representation = Google::Apis::TagmanagerV2::Environment::Representation
366
341
  command.request_object = environment_object
367
342
  command.response_representation = Google::Apis::TagmanagerV2::Environment::Representation
@@ -369,21 +344,19 @@ module Google
369
344
  command.params['parent'] = parent unless parent.nil?
370
345
  command.query['fields'] = fields unless fields.nil?
371
346
  command.query['quotaUser'] = quota_user unless quota_user.nil?
372
- command.query['userIp'] = user_ip unless user_ip.nil?
373
347
  execute_or_queue_command(command, &block)
374
348
  end
375
349
 
376
350
  # Deletes a GTM Environment.
377
351
  # @param [String] path
378
- # GTM Environment's API relative path. Example: accounts/`account_id`/containers/
379
- # `container_id`/environments/`environment_id`
352
+ # GTM Environment's API relative path.
353
+ # Example:
354
+ # accounts/`account_id`/containers/`container_id`/environments/`environment_id`
380
355
  # @param [String] fields
381
356
  # Selector specifying which fields to include in a partial response.
382
357
  # @param [String] quota_user
383
- # An opaque string that represents a user for quota purposes. Must not exceed 40
384
- # characters.
385
- # @param [String] user_ip
386
- # Deprecated. Please use quotaUser instead.
358
+ # Available to use for quota purposes for server-side applications. Can be any
359
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
387
360
  # @param [Google::Apis::RequestOptions] options
388
361
  # Request-specific options
389
362
  #
@@ -396,26 +369,24 @@ module Google
396
369
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
397
370
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
398
371
  # @raise [Google::Apis::AuthorizationError] Authorization is required
399
- def delete_account_container_environment(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
400
- command = make_simple_command(:delete, '{+path}', options)
372
+ def delete_account_container_environment(path, fields: nil, quota_user: nil, options: nil, &block)
373
+ command = make_simple_command(:delete, 'tagmanager/v2/{+path}', options)
401
374
  command.params['path'] = path unless path.nil?
402
375
  command.query['fields'] = fields unless fields.nil?
403
376
  command.query['quotaUser'] = quota_user unless quota_user.nil?
404
- command.query['userIp'] = user_ip unless user_ip.nil?
405
377
  execute_or_queue_command(command, &block)
406
378
  end
407
379
 
408
380
  # Gets a GTM Environment.
409
381
  # @param [String] path
410
- # GTM Environment's API relative path. Example: accounts/`account_id`/containers/
411
- # `container_id`/environments/`environment_id`
382
+ # GTM Environment's API relative path.
383
+ # Example:
384
+ # accounts/`account_id`/containers/`container_id`/environments/`environment_id`
412
385
  # @param [String] fields
413
386
  # Selector specifying which fields to include in a partial response.
414
387
  # @param [String] quota_user
415
- # An opaque string that represents a user for quota purposes. Must not exceed 40
416
- # characters.
417
- # @param [String] user_ip
418
- # Deprecated. Please use quotaUser instead.
388
+ # Available to use for quota purposes for server-side applications. Can be any
389
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
419
390
  # @param [Google::Apis::RequestOptions] options
420
391
  # Request-specific options
421
392
  #
@@ -428,30 +399,27 @@ module Google
428
399
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
429
400
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
430
401
  # @raise [Google::Apis::AuthorizationError] Authorization is required
431
- def get_account_container_environment(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
432
- command = make_simple_command(:get, '{+path}', options)
402
+ def get_account_container_environment(path, fields: nil, quota_user: nil, options: nil, &block)
403
+ command = make_simple_command(:get, 'tagmanager/v2/{+path}', options)
433
404
  command.response_representation = Google::Apis::TagmanagerV2::Environment::Representation
434
405
  command.response_class = Google::Apis::TagmanagerV2::Environment
435
406
  command.params['path'] = path unless path.nil?
436
407
  command.query['fields'] = fields unless fields.nil?
437
408
  command.query['quotaUser'] = quota_user unless quota_user.nil?
438
- command.query['userIp'] = user_ip unless user_ip.nil?
439
409
  execute_or_queue_command(command, &block)
440
410
  end
441
411
 
442
412
  # Lists all GTM Environments of a GTM Container.
443
413
  # @param [String] parent
444
- # GTM Container's API relative path. Example: accounts/`account_id`/containers/`
445
- # container_id`
414
+ # GTM Container's API relative path.
415
+ # Example: accounts/`account_id`/containers/`container_id`
446
416
  # @param [String] page_token
447
417
  # Continuation token for fetching the next page of results.
448
418
  # @param [String] fields
449
419
  # Selector specifying which fields to include in a partial response.
450
420
  # @param [String] quota_user
451
- # An opaque string that represents a user for quota purposes. Must not exceed 40
452
- # characters.
453
- # @param [String] user_ip
454
- # Deprecated. Please use quotaUser instead.
421
+ # Available to use for quota purposes for server-side applications. Can be any
422
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
455
423
  # @param [Google::Apis::RequestOptions] options
456
424
  # Request-specific options
457
425
  #
@@ -464,30 +432,28 @@ module Google
464
432
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
465
433
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
466
434
  # @raise [Google::Apis::AuthorizationError] Authorization is required
467
- def list_account_container_environments(parent, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
468
- command = make_simple_command(:get, '{+parent}/environments', options)
435
+ def list_account_container_environments(parent, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
436
+ command = make_simple_command(:get, 'tagmanager/v2/{+parent}/environments', options)
469
437
  command.response_representation = Google::Apis::TagmanagerV2::ListEnvironmentsResponse::Representation
470
438
  command.response_class = Google::Apis::TagmanagerV2::ListEnvironmentsResponse
471
439
  command.params['parent'] = parent unless parent.nil?
472
440
  command.query['pageToken'] = page_token unless page_token.nil?
473
441
  command.query['fields'] = fields unless fields.nil?
474
442
  command.query['quotaUser'] = quota_user unless quota_user.nil?
475
- command.query['userIp'] = user_ip unless user_ip.nil?
476
443
  execute_or_queue_command(command, &block)
477
444
  end
478
445
 
479
446
  # Re-generates the authorization code for a GTM Environment.
480
447
  # @param [String] path
481
- # GTM Environment's API relative path. Example: accounts/`account_id`/containers/
482
- # `container_id`/environments/`environment_id`
448
+ # GTM Environment's API relative path.
449
+ # Example:
450
+ # accounts/`account_id`/containers/`container_id`/environments/`environment_id`
483
451
  # @param [Google::Apis::TagmanagerV2::Environment] environment_object
484
452
  # @param [String] fields
485
453
  # Selector specifying which fields to include in a partial response.
486
454
  # @param [String] quota_user
487
- # An opaque string that represents a user for quota purposes. Must not exceed 40
488
- # characters.
489
- # @param [String] user_ip
490
- # Deprecated. Please use quotaUser instead.
455
+ # Available to use for quota purposes for server-side applications. Can be any
456
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
491
457
  # @param [Google::Apis::RequestOptions] options
492
458
  # Request-specific options
493
459
  #
@@ -500,8 +466,8 @@ module Google
500
466
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
501
467
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
502
468
  # @raise [Google::Apis::AuthorizationError] Authorization is required
503
- def reauthorize_account_container_environment(path, environment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
504
- command = make_simple_command(:post, '{+path}:reauthorize', options)
469
+ def reauthorize_account_container_environment(path, environment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
470
+ command = make_simple_command(:post, 'tagmanager/v2/{+path}:reauthorize', options)
505
471
  command.request_representation = Google::Apis::TagmanagerV2::Environment::Representation
506
472
  command.request_object = environment_object
507
473
  command.response_representation = Google::Apis::TagmanagerV2::Environment::Representation
@@ -509,25 +475,23 @@ module Google
509
475
  command.params['path'] = path unless path.nil?
510
476
  command.query['fields'] = fields unless fields.nil?
511
477
  command.query['quotaUser'] = quota_user unless quota_user.nil?
512
- command.query['userIp'] = user_ip unless user_ip.nil?
513
478
  execute_or_queue_command(command, &block)
514
479
  end
515
480
 
516
481
  # Updates a GTM Environment.
517
482
  # @param [String] path
518
- # GTM Environment's API relative path. Example: accounts/`account_id`/containers/
519
- # `container_id`/environments/`environment_id`
483
+ # GTM Environment's API relative path.
484
+ # Example:
485
+ # accounts/`account_id`/containers/`container_id`/environments/`environment_id`
520
486
  # @param [Google::Apis::TagmanagerV2::Environment] environment_object
521
487
  # @param [String] fingerprint
522
- # When provided, this fingerprint must match the fingerprint of the environment
523
- # in storage.
488
+ # When provided, this fingerprint must match the fingerprint of the
489
+ # environment in storage.
524
490
  # @param [String] fields
525
491
  # Selector specifying which fields to include in a partial response.
526
492
  # @param [String] quota_user
527
- # An opaque string that represents a user for quota purposes. Must not exceed 40
528
- # characters.
529
- # @param [String] user_ip
530
- # Deprecated. Please use quotaUser instead.
493
+ # Available to use for quota purposes for server-side applications. Can be any
494
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
531
495
  # @param [Google::Apis::RequestOptions] options
532
496
  # Request-specific options
533
497
  #
@@ -540,8 +504,8 @@ module Google
540
504
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
541
505
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
542
506
  # @raise [Google::Apis::AuthorizationError] Authorization is required
543
- def update_account_container_environment(path, environment_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
544
- command = make_simple_command(:put, '{+path}', options)
507
+ def update_account_container_environment(path, environment_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block)
508
+ command = make_simple_command(:put, 'tagmanager/v2/{+path}', options)
545
509
  command.request_representation = Google::Apis::TagmanagerV2::Environment::Representation
546
510
  command.request_object = environment_object
547
511
  command.response_representation = Google::Apis::TagmanagerV2::Environment::Representation
@@ -550,21 +514,18 @@ module Google
550
514
  command.query['fingerprint'] = fingerprint unless fingerprint.nil?
551
515
  command.query['fields'] = fields unless fields.nil?
552
516
  command.query['quotaUser'] = quota_user unless quota_user.nil?
553
- command.query['userIp'] = user_ip unless user_ip.nil?
554
517
  execute_or_queue_command(command, &block)
555
518
  end
556
519
 
557
520
  # Gets the latest container version header
558
521
  # @param [String] parent
559
- # GTM Container's API relative path. Example: accounts/`account_id`/containers/`
560
- # container_id`
522
+ # GTM Container's API relative path.
523
+ # Example: accounts/`account_id`/containers/`container_id`
561
524
  # @param [String] fields
562
525
  # Selector specifying which fields to include in a partial response.
563
526
  # @param [String] quota_user
564
- # An opaque string that represents a user for quota purposes. Must not exceed 40
565
- # characters.
566
- # @param [String] user_ip
567
- # Deprecated. Please use quotaUser instead.
527
+ # Available to use for quota purposes for server-side applications. Can be any
528
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
568
529
  # @param [Google::Apis::RequestOptions] options
569
530
  # Request-specific options
570
531
  #
@@ -577,21 +538,20 @@ module Google
577
538
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
578
539
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
579
540
  # @raise [Google::Apis::AuthorizationError] Authorization is required
580
- def latest_account_container_version_header(parent, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
581
- command = make_simple_command(:get, '{+parent}/version_headers:latest', options)
541
+ def latest_account_container_version_header(parent, fields: nil, quota_user: nil, options: nil, &block)
542
+ command = make_simple_command(:get, 'tagmanager/v2/{+parent}/version_headers:latest', options)
582
543
  command.response_representation = Google::Apis::TagmanagerV2::ContainerVersionHeader::Representation
583
544
  command.response_class = Google::Apis::TagmanagerV2::ContainerVersionHeader
584
545
  command.params['parent'] = parent unless parent.nil?
585
546
  command.query['fields'] = fields unless fields.nil?
586
547
  command.query['quotaUser'] = quota_user unless quota_user.nil?
587
- command.query['userIp'] = user_ip unless user_ip.nil?
588
548
  execute_or_queue_command(command, &block)
589
549
  end
590
550
 
591
551
  # Lists all Container Versions of a GTM Container.
592
552
  # @param [String] parent
593
- # GTM Container's API relative path. Example: accounts/`account_id`/containers/`
594
- # container_id`
553
+ # GTM Container's API relative path.
554
+ # Example: accounts/`account_id`/containers/`container_id`
595
555
  # @param [Boolean] include_deleted
596
556
  # Also retrieve deleted (archived) versions when true.
597
557
  # @param [String] page_token
@@ -599,10 +559,8 @@ module Google
599
559
  # @param [String] fields
600
560
  # Selector specifying which fields to include in a partial response.
601
561
  # @param [String] quota_user
602
- # An opaque string that represents a user for quota purposes. Must not exceed 40
603
- # characters.
604
- # @param [String] user_ip
605
- # Deprecated. Please use quotaUser instead.
562
+ # Available to use for quota purposes for server-side applications. Can be any
563
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
606
564
  # @param [Google::Apis::RequestOptions] options
607
565
  # Request-specific options
608
566
  #
@@ -615,8 +573,8 @@ module Google
615
573
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
616
574
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
617
575
  # @raise [Google::Apis::AuthorizationError] Authorization is required
618
- def list_account_container_version_headers(parent, include_deleted: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
619
- command = make_simple_command(:get, '{+parent}/version_headers', options)
576
+ def list_account_container_version_headers(parent, include_deleted: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
577
+ command = make_simple_command(:get, 'tagmanager/v2/{+parent}/version_headers', options)
620
578
  command.response_representation = Google::Apis::TagmanagerV2::ListContainerVersionsResponse::Representation
621
579
  command.response_class = Google::Apis::TagmanagerV2::ListContainerVersionsResponse
622
580
  command.params['parent'] = parent unless parent.nil?
@@ -624,21 +582,19 @@ module Google
624
582
  command.query['pageToken'] = page_token unless page_token.nil?
625
583
  command.query['fields'] = fields unless fields.nil?
626
584
  command.query['quotaUser'] = quota_user unless quota_user.nil?
627
- command.query['userIp'] = user_ip unless user_ip.nil?
628
585
  execute_or_queue_command(command, &block)
629
586
  end
630
587
 
631
588
  # Deletes a Container Version.
632
589
  # @param [String] path
633
- # GTM ContainerVersion's API relative path. Example: accounts/`account_id`/
634
- # containers/`container_id`/versions/`version_id`
590
+ # GTM ContainerVersion's API relative path.
591
+ # Example:
592
+ # accounts/`account_id`/containers/`container_id`/versions/`version_id`
635
593
  # @param [String] fields
636
594
  # Selector specifying which fields to include in a partial response.
637
595
  # @param [String] quota_user
638
- # An opaque string that represents a user for quota purposes. Must not exceed 40
639
- # characters.
640
- # @param [String] user_ip
641
- # Deprecated. Please use quotaUser instead.
596
+ # Available to use for quota purposes for server-side applications. Can be any
597
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
642
598
  # @param [Google::Apis::RequestOptions] options
643
599
  # Request-specific options
644
600
  #
@@ -651,29 +607,27 @@ module Google
651
607
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
652
608
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
653
609
  # @raise [Google::Apis::AuthorizationError] Authorization is required
654
- def delete_account_container_version(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
655
- command = make_simple_command(:delete, '{+path}', options)
610
+ def delete_account_container_version(path, fields: nil, quota_user: nil, options: nil, &block)
611
+ command = make_simple_command(:delete, 'tagmanager/v2/{+path}', options)
656
612
  command.params['path'] = path unless path.nil?
657
613
  command.query['fields'] = fields unless fields.nil?
658
614
  command.query['quotaUser'] = quota_user unless quota_user.nil?
659
- command.query['userIp'] = user_ip unless user_ip.nil?
660
615
  execute_or_queue_command(command, &block)
661
616
  end
662
617
 
663
618
  # Gets a Container Version.
664
619
  # @param [String] path
665
- # GTM ContainerVersion's API relative path. Example: accounts/`account_id`/
666
- # containers/`container_id`/versions/`version_id`
620
+ # GTM ContainerVersion's API relative path.
621
+ # Example:
622
+ # accounts/`account_id`/containers/`container_id`/versions/`version_id`
667
623
  # @param [String] container_version_id
668
- # The GTM ContainerVersion ID. Specify published to retrieve the currently
669
- # published version.
624
+ # The GTM ContainerVersion ID. Specify <code>published</code> to retrieve
625
+ # the currently published version.
670
626
  # @param [String] fields
671
627
  # Selector specifying which fields to include in a partial response.
672
628
  # @param [String] quota_user
673
- # An opaque string that represents a user for quota purposes. Must not exceed 40
674
- # characters.
675
- # @param [String] user_ip
676
- # Deprecated. Please use quotaUser instead.
629
+ # Available to use for quota purposes for server-side applications. Can be any
630
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
677
631
  # @param [Google::Apis::RequestOptions] options
678
632
  # Request-specific options
679
633
  #
@@ -686,29 +640,26 @@ module Google
686
640
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
687
641
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
688
642
  # @raise [Google::Apis::AuthorizationError] Authorization is required
689
- def get_account_container_version(path, container_version_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
690
- command = make_simple_command(:get, '{+path}', options)
643
+ def get_account_container_version(path, container_version_id: nil, fields: nil, quota_user: nil, options: nil, &block)
644
+ command = make_simple_command(:get, 'tagmanager/v2/{+path}', options)
691
645
  command.response_representation = Google::Apis::TagmanagerV2::ContainerVersion::Representation
692
646
  command.response_class = Google::Apis::TagmanagerV2::ContainerVersion
693
647
  command.params['path'] = path unless path.nil?
694
648
  command.query['containerVersionId'] = container_version_id unless container_version_id.nil?
695
649
  command.query['fields'] = fields unless fields.nil?
696
650
  command.query['quotaUser'] = quota_user unless quota_user.nil?
697
- command.query['userIp'] = user_ip unless user_ip.nil?
698
651
  execute_or_queue_command(command, &block)
699
652
  end
700
653
 
701
654
  # Gets the live (i.e. published) container version
702
655
  # @param [String] parent
703
- # GTM Container's API relative path. Example: accounts/`account_id`/containers/`
704
- # container_id`
656
+ # GTM Container's API relative path.
657
+ # Example: accounts/`account_id`/containers/`container_id`
705
658
  # @param [String] fields
706
659
  # Selector specifying which fields to include in a partial response.
707
660
  # @param [String] quota_user
708
- # An opaque string that represents a user for quota purposes. Must not exceed 40
709
- # characters.
710
- # @param [String] user_ip
711
- # Deprecated. Please use quotaUser instead.
661
+ # Available to use for quota purposes for server-side applications. Can be any
662
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
712
663
  # @param [Google::Apis::RequestOptions] options
713
664
  # Request-specific options
714
665
  #
@@ -721,31 +672,29 @@ module Google
721
672
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
722
673
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
723
674
  # @raise [Google::Apis::AuthorizationError] Authorization is required
724
- def live_account_container_version(parent, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
725
- command = make_simple_command(:get, '{+parent}/versions:live', options)
675
+ def live_account_container_version(parent, fields: nil, quota_user: nil, options: nil, &block)
676
+ command = make_simple_command(:get, 'tagmanager/v2/{+parent}/versions:live', options)
726
677
  command.response_representation = Google::Apis::TagmanagerV2::ContainerVersion::Representation
727
678
  command.response_class = Google::Apis::TagmanagerV2::ContainerVersion
728
679
  command.params['parent'] = parent unless parent.nil?
729
680
  command.query['fields'] = fields unless fields.nil?
730
681
  command.query['quotaUser'] = quota_user unless quota_user.nil?
731
- command.query['userIp'] = user_ip unless user_ip.nil?
732
682
  execute_or_queue_command(command, &block)
733
683
  end
734
684
 
735
685
  # Publishes a Container Version.
736
686
  # @param [String] path
737
- # GTM ContainerVersion's API relative path. Example: accounts/`account_id`/
738
- # containers/`container_id`/versions/`version_id`
687
+ # GTM ContainerVersion's API relative path.
688
+ # Example:
689
+ # accounts/`account_id`/containers/`container_id`/versions/`version_id`
739
690
  # @param [String] fingerprint
740
- # When provided, this fingerprint must match the fingerprint of the container
741
- # version in storage.
691
+ # When provided, this fingerprint must match the fingerprint of the
692
+ # container version in storage.
742
693
  # @param [String] fields
743
694
  # Selector specifying which fields to include in a partial response.
744
695
  # @param [String] quota_user
745
- # An opaque string that represents a user for quota purposes. Must not exceed 40
746
- # characters.
747
- # @param [String] user_ip
748
- # Deprecated. Please use quotaUser instead.
696
+ # Available to use for quota purposes for server-side applications. Can be any
697
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
749
698
  # @param [Google::Apis::RequestOptions] options
750
699
  # Request-specific options
751
700
  #
@@ -758,30 +707,28 @@ module Google
758
707
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
759
708
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
760
709
  # @raise [Google::Apis::AuthorizationError] Authorization is required
761
- def publish_account_container_version(path, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
762
- command = make_simple_command(:post, '{+path}:publish', options)
710
+ def publish_account_container_version(path, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block)
711
+ command = make_simple_command(:post, 'tagmanager/v2/{+path}:publish', options)
763
712
  command.response_representation = Google::Apis::TagmanagerV2::PublishContainerVersionResponse::Representation
764
713
  command.response_class = Google::Apis::TagmanagerV2::PublishContainerVersionResponse
765
714
  command.params['path'] = path unless path.nil?
766
715
  command.query['fingerprint'] = fingerprint unless fingerprint.nil?
767
716
  command.query['fields'] = fields unless fields.nil?
768
717
  command.query['quotaUser'] = quota_user unless quota_user.nil?
769
- command.query['userIp'] = user_ip unless user_ip.nil?
770
718
  execute_or_queue_command(command, &block)
771
719
  end
772
720
 
773
- # Sets the latest version used for synchronization of workspaces when detecting
774
- # conflicts and errors.
721
+ # Sets the latest version used for synchronization of workspaces when
722
+ # detecting conflicts and errors.
775
723
  # @param [String] path
776
- # GTM ContainerVersion's API relative path. Example: accounts/`account_id`/
777
- # containers/`container_id`/versions/`version_id`
724
+ # GTM ContainerVersion's API relative path.
725
+ # Example:
726
+ # accounts/`account_id`/containers/`container_id`/versions/`version_id`
778
727
  # @param [String] fields
779
728
  # Selector specifying which fields to include in a partial response.
780
729
  # @param [String] quota_user
781
- # An opaque string that represents a user for quota purposes. Must not exceed 40
782
- # characters.
783
- # @param [String] user_ip
784
- # Deprecated. Please use quotaUser instead.
730
+ # Available to use for quota purposes for server-side applications. Can be any
731
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
785
732
  # @param [Google::Apis::RequestOptions] options
786
733
  # Request-specific options
787
734
  #
@@ -794,28 +741,26 @@ module Google
794
741
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
795
742
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
796
743
  # @raise [Google::Apis::AuthorizationError] Authorization is required
797
- def set_account_container_version_latest(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
798
- command = make_simple_command(:post, '{+path}:set_latest', options)
744
+ def set_account_container_version_latest(path, fields: nil, quota_user: nil, options: nil, &block)
745
+ command = make_simple_command(:post, 'tagmanager/v2/{+path}:set_latest', options)
799
746
  command.response_representation = Google::Apis::TagmanagerV2::ContainerVersion::Representation
800
747
  command.response_class = Google::Apis::TagmanagerV2::ContainerVersion
801
748
  command.params['path'] = path unless path.nil?
802
749
  command.query['fields'] = fields unless fields.nil?
803
750
  command.query['quotaUser'] = quota_user unless quota_user.nil?
804
- command.query['userIp'] = user_ip unless user_ip.nil?
805
751
  execute_or_queue_command(command, &block)
806
752
  end
807
753
 
808
754
  # Undeletes a Container Version.
809
755
  # @param [String] path
810
- # GTM ContainerVersion's API relative path. Example: accounts/`account_id`/
811
- # containers/`container_id`/versions/`version_id`
756
+ # GTM ContainerVersion's API relative path.
757
+ # Example:
758
+ # accounts/`account_id`/containers/`container_id`/versions/`version_id`
812
759
  # @param [String] fields
813
760
  # Selector specifying which fields to include in a partial response.
814
761
  # @param [String] quota_user
815
- # An opaque string that represents a user for quota purposes. Must not exceed 40
816
- # characters.
817
- # @param [String] user_ip
818
- # Deprecated. Please use quotaUser instead.
762
+ # Available to use for quota purposes for server-side applications. Can be any
763
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
819
764
  # @param [Google::Apis::RequestOptions] options
820
765
  # Request-specific options
821
766
  #
@@ -828,32 +773,30 @@ module Google
828
773
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
829
774
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
830
775
  # @raise [Google::Apis::AuthorizationError] Authorization is required
831
- def undelete_account_container_version(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
832
- command = make_simple_command(:post, '{+path}:undelete', options)
776
+ def undelete_account_container_version(path, fields: nil, quota_user: nil, options: nil, &block)
777
+ command = make_simple_command(:post, 'tagmanager/v2/{+path}:undelete', options)
833
778
  command.response_representation = Google::Apis::TagmanagerV2::ContainerVersion::Representation
834
779
  command.response_class = Google::Apis::TagmanagerV2::ContainerVersion
835
780
  command.params['path'] = path unless path.nil?
836
781
  command.query['fields'] = fields unless fields.nil?
837
782
  command.query['quotaUser'] = quota_user unless quota_user.nil?
838
- command.query['userIp'] = user_ip unless user_ip.nil?
839
783
  execute_or_queue_command(command, &block)
840
784
  end
841
785
 
842
786
  # Updates a Container Version.
843
787
  # @param [String] path
844
- # GTM ContainerVersion's API relative path. Example: accounts/`account_id`/
845
- # containers/`container_id`/versions/`version_id`
788
+ # GTM ContainerVersion's API relative path.
789
+ # Example:
790
+ # accounts/`account_id`/containers/`container_id`/versions/`version_id`
846
791
  # @param [Google::Apis::TagmanagerV2::ContainerVersion] container_version_object
847
792
  # @param [String] fingerprint
848
- # When provided, this fingerprint must match the fingerprint of the container
849
- # version in storage.
793
+ # When provided, this fingerprint must match the fingerprint of the
794
+ # container version in storage.
850
795
  # @param [String] fields
851
796
  # Selector specifying which fields to include in a partial response.
852
797
  # @param [String] quota_user
853
- # An opaque string that represents a user for quota purposes. Must not exceed 40
854
- # characters.
855
- # @param [String] user_ip
856
- # Deprecated. Please use quotaUser instead.
798
+ # Available to use for quota purposes for server-side applications. Can be any
799
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
857
800
  # @param [Google::Apis::RequestOptions] options
858
801
  # Request-specific options
859
802
  #
@@ -866,8 +809,8 @@ module Google
866
809
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
867
810
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
868
811
  # @raise [Google::Apis::AuthorizationError] Authorization is required
869
- def update_account_container_version(path, container_version_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
870
- command = make_simple_command(:put, '{+path}', options)
812
+ def update_account_container_version(path, container_version_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block)
813
+ command = make_simple_command(:put, 'tagmanager/v2/{+path}', options)
871
814
  command.request_representation = Google::Apis::TagmanagerV2::ContainerVersion::Representation
872
815
  command.request_object = container_version_object
873
816
  command.response_representation = Google::Apis::TagmanagerV2::ContainerVersion::Representation
@@ -876,22 +819,19 @@ module Google
876
819
  command.query['fingerprint'] = fingerprint unless fingerprint.nil?
877
820
  command.query['fields'] = fields unless fields.nil?
878
821
  command.query['quotaUser'] = quota_user unless quota_user.nil?
879
- command.query['userIp'] = user_ip unless user_ip.nil?
880
822
  execute_or_queue_command(command, &block)
881
823
  end
882
824
 
883
825
  # Creates a Workspace.
884
826
  # @param [String] parent
885
- # GTM parent Container's API relative path. Example: accounts/`account_id`/
886
- # containers/`container_id`
827
+ # GTM parent Container's API relative path.
828
+ # Example: accounts/`account_id`/containers/`container_id`
887
829
  # @param [Google::Apis::TagmanagerV2::Workspace] workspace_object
888
830
  # @param [String] fields
889
831
  # Selector specifying which fields to include in a partial response.
890
832
  # @param [String] quota_user
891
- # An opaque string that represents a user for quota purposes. Must not exceed 40
892
- # characters.
893
- # @param [String] user_ip
894
- # Deprecated. Please use quotaUser instead.
833
+ # Available to use for quota purposes for server-side applications. Can be any
834
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
895
835
  # @param [Google::Apis::RequestOptions] options
896
836
  # Request-specific options
897
837
  #
@@ -904,8 +844,8 @@ module Google
904
844
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
905
845
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
906
846
  # @raise [Google::Apis::AuthorizationError] Authorization is required
907
- def create_account_container_workspace(parent, workspace_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
908
- command = make_simple_command(:post, '{+parent}/workspaces', options)
847
+ def create_account_container_workspace(parent, workspace_object = nil, fields: nil, quota_user: nil, options: nil, &block)
848
+ command = make_simple_command(:post, 'tagmanager/v2/{+parent}/workspaces', options)
909
849
  command.request_representation = Google::Apis::TagmanagerV2::Workspace::Representation
910
850
  command.request_object = workspace_object
911
851
  command.response_representation = Google::Apis::TagmanagerV2::Workspace::Representation
@@ -913,7 +853,6 @@ module Google
913
853
  command.params['parent'] = parent unless parent.nil?
914
854
  command.query['fields'] = fields unless fields.nil?
915
855
  command.query['quotaUser'] = quota_user unless quota_user.nil?
916
- command.query['userIp'] = user_ip unless user_ip.nil?
917
856
  execute_or_queue_command(command, &block)
918
857
  end
919
858
 
@@ -921,16 +860,15 @@ module Google
921
860
  # deletes the workspace, and sets the base container version to the newly
922
861
  # created version.
923
862
  # @param [String] path
924
- # GTM Workspace's API relative path. Example: accounts/`account_id`/containers/`
925
- # container_id`/workspaces/`workspace_id`
863
+ # GTM Workspace's API relative path.
864
+ # Example:
865
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`
926
866
  # @param [Google::Apis::TagmanagerV2::CreateContainerVersionRequestVersionOptions] create_container_version_request_version_options_object
927
867
  # @param [String] fields
928
868
  # Selector specifying which fields to include in a partial response.
929
869
  # @param [String] quota_user
930
- # An opaque string that represents a user for quota purposes. Must not exceed 40
931
- # characters.
932
- # @param [String] user_ip
933
- # Deprecated. Please use quotaUser instead.
870
+ # Available to use for quota purposes for server-side applications. Can be any
871
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
934
872
  # @param [Google::Apis::RequestOptions] options
935
873
  # Request-specific options
936
874
  #
@@ -943,8 +881,8 @@ module Google
943
881
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
944
882
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
945
883
  # @raise [Google::Apis::AuthorizationError] Authorization is required
946
- def create_account_container_workspace_version(path, create_container_version_request_version_options_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
947
- command = make_simple_command(:post, '{+path}:create_version', options)
884
+ def create_account_container_workspace_version(path, create_container_version_request_version_options_object = nil, fields: nil, quota_user: nil, options: nil, &block)
885
+ command = make_simple_command(:post, 'tagmanager/v2/{+path}:create_version', options)
948
886
  command.request_representation = Google::Apis::TagmanagerV2::CreateContainerVersionRequestVersionOptions::Representation
949
887
  command.request_object = create_container_version_request_version_options_object
950
888
  command.response_representation = Google::Apis::TagmanagerV2::CreateContainerVersionResponse::Representation
@@ -952,21 +890,19 @@ module Google
952
890
  command.params['path'] = path unless path.nil?
953
891
  command.query['fields'] = fields unless fields.nil?
954
892
  command.query['quotaUser'] = quota_user unless quota_user.nil?
955
- command.query['userIp'] = user_ip unless user_ip.nil?
956
893
  execute_or_queue_command(command, &block)
957
894
  end
958
895
 
959
896
  # Deletes a Workspace.
960
897
  # @param [String] path
961
- # GTM Workspace's API relative path. Example: accounts/`account_id`/containers/`
962
- # container_id`/workspaces/`workspace_id`
898
+ # GTM Workspace's API relative path.
899
+ # Example:
900
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`
963
901
  # @param [String] fields
964
902
  # Selector specifying which fields to include in a partial response.
965
903
  # @param [String] quota_user
966
- # An opaque string that represents a user for quota purposes. Must not exceed 40
967
- # characters.
968
- # @param [String] user_ip
969
- # Deprecated. Please use quotaUser instead.
904
+ # Available to use for quota purposes for server-side applications. Can be any
905
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
970
906
  # @param [Google::Apis::RequestOptions] options
971
907
  # Request-specific options
972
908
  #
@@ -979,26 +915,24 @@ module Google
979
915
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
980
916
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
981
917
  # @raise [Google::Apis::AuthorizationError] Authorization is required
982
- def delete_account_container_workspace(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
983
- command = make_simple_command(:delete, '{+path}', options)
918
+ def delete_account_container_workspace(path, fields: nil, quota_user: nil, options: nil, &block)
919
+ command = make_simple_command(:delete, 'tagmanager/v2/{+path}', options)
984
920
  command.params['path'] = path unless path.nil?
985
921
  command.query['fields'] = fields unless fields.nil?
986
922
  command.query['quotaUser'] = quota_user unless quota_user.nil?
987
- command.query['userIp'] = user_ip unless user_ip.nil?
988
923
  execute_or_queue_command(command, &block)
989
924
  end
990
925
 
991
926
  # Gets a Workspace.
992
927
  # @param [String] path
993
- # GTM Workspace's API relative path. Example: accounts/`account_id`/containers/`
994
- # container_id`/workspaces/`workspace_id`
928
+ # GTM Workspace's API relative path.
929
+ # Example:
930
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`
995
931
  # @param [String] fields
996
932
  # Selector specifying which fields to include in a partial response.
997
933
  # @param [String] quota_user
998
- # An opaque string that represents a user for quota purposes. Must not exceed 40
999
- # characters.
1000
- # @param [String] user_ip
1001
- # Deprecated. Please use quotaUser instead.
934
+ # Available to use for quota purposes for server-side applications. Can be any
935
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1002
936
  # @param [Google::Apis::RequestOptions] options
1003
937
  # Request-specific options
1004
938
  #
@@ -1011,28 +945,26 @@ module Google
1011
945
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1012
946
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1013
947
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1014
- def get_account_container_workspace(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1015
- command = make_simple_command(:get, '{+path}', options)
948
+ def get_account_container_workspace(path, fields: nil, quota_user: nil, options: nil, &block)
949
+ command = make_simple_command(:get, 'tagmanager/v2/{+path}', options)
1016
950
  command.response_representation = Google::Apis::TagmanagerV2::Workspace::Representation
1017
951
  command.response_class = Google::Apis::TagmanagerV2::Workspace
1018
952
  command.params['path'] = path unless path.nil?
1019
953
  command.query['fields'] = fields unless fields.nil?
1020
954
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1021
- command.query['userIp'] = user_ip unless user_ip.nil?
1022
955
  execute_or_queue_command(command, &block)
1023
956
  end
1024
957
 
1025
958
  # Finds conflicting and modified entities in the workspace.
1026
959
  # @param [String] path
1027
- # GTM Workspace's API relative path. Example: accounts/`account_id`/containers/`
1028
- # container_id`/workspaces/`workspace_id`
960
+ # GTM Workspace's API relative path.
961
+ # Example:
962
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`
1029
963
  # @param [String] fields
1030
964
  # Selector specifying which fields to include in a partial response.
1031
965
  # @param [String] quota_user
1032
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1033
- # characters.
1034
- # @param [String] user_ip
1035
- # Deprecated. Please use quotaUser instead.
966
+ # Available to use for quota purposes for server-side applications. Can be any
967
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1036
968
  # @param [Google::Apis::RequestOptions] options
1037
969
  # Request-specific options
1038
970
  #
@@ -1045,30 +977,27 @@ module Google
1045
977
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1046
978
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1047
979
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1048
- def get_account_container_workspace_status(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1049
- command = make_simple_command(:get, '{+path}/status', options)
980
+ def get_account_container_workspace_status(path, fields: nil, quota_user: nil, options: nil, &block)
981
+ command = make_simple_command(:get, 'tagmanager/v2/{+path}/status', options)
1050
982
  command.response_representation = Google::Apis::TagmanagerV2::GetWorkspaceStatusResponse::Representation
1051
983
  command.response_class = Google::Apis::TagmanagerV2::GetWorkspaceStatusResponse
1052
984
  command.params['path'] = path unless path.nil?
1053
985
  command.query['fields'] = fields unless fields.nil?
1054
986
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1055
- command.query['userIp'] = user_ip unless user_ip.nil?
1056
987
  execute_or_queue_command(command, &block)
1057
988
  end
1058
989
 
1059
990
  # Lists all Workspaces that belong to a GTM Container.
1060
991
  # @param [String] parent
1061
- # GTM parent Container's API relative path. Example: accounts/`account_id`/
1062
- # containers/`container_id`
992
+ # GTM parent Container's API relative path.
993
+ # Example: accounts/`account_id`/containers/`container_id`
1063
994
  # @param [String] page_token
1064
995
  # Continuation token for fetching the next page of results.
1065
996
  # @param [String] fields
1066
997
  # Selector specifying which fields to include in a partial response.
1067
998
  # @param [String] quota_user
1068
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1069
- # characters.
1070
- # @param [String] user_ip
1071
- # Deprecated. Please use quotaUser instead.
999
+ # Available to use for quota purposes for server-side applications. Can be any
1000
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1072
1001
  # @param [Google::Apis::RequestOptions] options
1073
1002
  # Request-specific options
1074
1003
  #
@@ -1081,30 +1010,28 @@ module Google
1081
1010
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1082
1011
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1083
1012
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1084
- def list_account_container_workspaces(parent, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1085
- command = make_simple_command(:get, '{+parent}/workspaces', options)
1013
+ def list_account_container_workspaces(parent, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1014
+ command = make_simple_command(:get, 'tagmanager/v2/{+parent}/workspaces', options)
1086
1015
  command.response_representation = Google::Apis::TagmanagerV2::ListWorkspacesResponse::Representation
1087
1016
  command.response_class = Google::Apis::TagmanagerV2::ListWorkspacesResponse
1088
1017
  command.params['parent'] = parent unless parent.nil?
1089
1018
  command.query['pageToken'] = page_token unless page_token.nil?
1090
1019
  command.query['fields'] = fields unless fields.nil?
1091
1020
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1092
- command.query['userIp'] = user_ip unless user_ip.nil?
1093
1021
  execute_or_queue_command(command, &block)
1094
1022
  end
1095
1023
 
1096
1024
  # Quick previews a workspace by creating a fake container version from all
1097
1025
  # entities in the provided workspace.
1098
1026
  # @param [String] path
1099
- # GTM Workspace's API relative path. Example: accounts/`account_id`/containers/`
1100
- # container_id`/workspaces/`workspace_id`
1027
+ # GTM Workspace's API relative path.
1028
+ # Example:
1029
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`
1101
1030
  # @param [String] fields
1102
1031
  # Selector specifying which fields to include in a partial response.
1103
1032
  # @param [String] quota_user
1104
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1105
- # characters.
1106
- # @param [String] user_ip
1107
- # Deprecated. Please use quotaUser instead.
1033
+ # Available to use for quota purposes for server-side applications. Can be any
1034
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1108
1035
  # @param [Google::Apis::RequestOptions] options
1109
1036
  # Request-specific options
1110
1037
  #
@@ -1117,22 +1044,22 @@ module Google
1117
1044
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1118
1045
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1119
1046
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1120
- def quick_account_container_workspace_preview(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1121
- command = make_simple_command(:post, '{+path}:quick_preview', options)
1047
+ def quick_account_container_workspace_preview(path, fields: nil, quota_user: nil, options: nil, &block)
1048
+ command = make_simple_command(:post, 'tagmanager/v2/{+path}:quick_preview', options)
1122
1049
  command.response_representation = Google::Apis::TagmanagerV2::QuickPreviewResponse::Representation
1123
1050
  command.response_class = Google::Apis::TagmanagerV2::QuickPreviewResponse
1124
1051
  command.params['path'] = path unless path.nil?
1125
1052
  command.query['fields'] = fields unless fields.nil?
1126
1053
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1127
- command.query['userIp'] = user_ip unless user_ip.nil?
1128
1054
  execute_or_queue_command(command, &block)
1129
1055
  end
1130
1056
 
1131
1057
  # Resolves a merge conflict for a workspace entity by updating it to the
1132
1058
  # resolved entity passed in the request.
1133
1059
  # @param [String] path
1134
- # GTM Workspace's API relative path. Example: accounts/`account_id`/containers/`
1135
- # container_id`/workspaces/`workspace_id`
1060
+ # GTM Workspace's API relative path.
1061
+ # Example:
1062
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`
1136
1063
  # @param [Google::Apis::TagmanagerV2::Entity] entity_object
1137
1064
  # @param [String] fingerprint
1138
1065
  # When provided, this fingerprint must match the fingerprint of the
@@ -1140,10 +1067,8 @@ module Google
1140
1067
  # @param [String] fields
1141
1068
  # Selector specifying which fields to include in a partial response.
1142
1069
  # @param [String] quota_user
1143
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1144
- # characters.
1145
- # @param [String] user_ip
1146
- # Deprecated. Please use quotaUser instead.
1070
+ # Available to use for quota purposes for server-side applications. Can be any
1071
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1147
1072
  # @param [Google::Apis::RequestOptions] options
1148
1073
  # Request-specific options
1149
1074
  #
@@ -1156,30 +1081,29 @@ module Google
1156
1081
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1157
1082
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1158
1083
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1159
- def resolve_account_container_workspace_conflict(path, entity_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1160
- command = make_simple_command(:post, '{+path}:resolve_conflict', options)
1084
+ def resolve_account_container_workspace_conflict(path, entity_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block)
1085
+ command = make_simple_command(:post, 'tagmanager/v2/{+path}:resolve_conflict', options)
1161
1086
  command.request_representation = Google::Apis::TagmanagerV2::Entity::Representation
1162
1087
  command.request_object = entity_object
1163
1088
  command.params['path'] = path unless path.nil?
1164
1089
  command.query['fingerprint'] = fingerprint unless fingerprint.nil?
1165
1090
  command.query['fields'] = fields unless fields.nil?
1166
1091
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1167
- command.query['userIp'] = user_ip unless user_ip.nil?
1168
1092
  execute_or_queue_command(command, &block)
1169
1093
  end
1170
1094
 
1171
- # Syncs a workspace to the latest container version by updating all unmodified
1172
- # workspace entities and displaying conflicts for modified entities.
1095
+ # Syncs a workspace to the latest container version by updating all
1096
+ # unmodified workspace entities and displaying conflicts for modified
1097
+ # entities.
1173
1098
  # @param [String] path
1174
- # GTM Workspace's API relative path. Example: accounts/`account_id`/containers/`
1175
- # container_id`/workspaces/`workspace_id`
1099
+ # GTM Workspace's API relative path.
1100
+ # Example:
1101
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`
1176
1102
  # @param [String] fields
1177
1103
  # Selector specifying which fields to include in a partial response.
1178
1104
  # @param [String] quota_user
1179
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1180
- # characters.
1181
- # @param [String] user_ip
1182
- # Deprecated. Please use quotaUser instead.
1105
+ # Available to use for quota purposes for server-side applications. Can be any
1106
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1183
1107
  # @param [Google::Apis::RequestOptions] options
1184
1108
  # Request-specific options
1185
1109
  #
@@ -1192,32 +1116,30 @@ module Google
1192
1116
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1193
1117
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1194
1118
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1195
- def sync_account_container_workspace(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1196
- command = make_simple_command(:post, '{+path}:sync', options)
1119
+ def sync_account_container_workspace(path, fields: nil, quota_user: nil, options: nil, &block)
1120
+ command = make_simple_command(:post, 'tagmanager/v2/{+path}:sync', options)
1197
1121
  command.response_representation = Google::Apis::TagmanagerV2::SyncWorkspaceResponse::Representation
1198
1122
  command.response_class = Google::Apis::TagmanagerV2::SyncWorkspaceResponse
1199
1123
  command.params['path'] = path unless path.nil?
1200
1124
  command.query['fields'] = fields unless fields.nil?
1201
1125
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1202
- command.query['userIp'] = user_ip unless user_ip.nil?
1203
1126
  execute_or_queue_command(command, &block)
1204
1127
  end
1205
1128
 
1206
1129
  # Updates a Workspace.
1207
1130
  # @param [String] path
1208
- # GTM Workspace's API relative path. Example: accounts/`account_id`/containers/`
1209
- # container_id`/workspaces/`workspace_id`
1131
+ # GTM Workspace's API relative path.
1132
+ # Example:
1133
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`
1210
1134
  # @param [Google::Apis::TagmanagerV2::Workspace] workspace_object
1211
1135
  # @param [String] fingerprint
1212
- # When provided, this fingerprint must match the fingerprint of the workspace in
1213
- # storage.
1136
+ # When provided, this fingerprint must match the fingerprint of the
1137
+ # workspace in storage.
1214
1138
  # @param [String] fields
1215
1139
  # Selector specifying which fields to include in a partial response.
1216
1140
  # @param [String] quota_user
1217
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1218
- # characters.
1219
- # @param [String] user_ip
1220
- # Deprecated. Please use quotaUser instead.
1141
+ # Available to use for quota purposes for server-side applications. Can be any
1142
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1221
1143
  # @param [Google::Apis::RequestOptions] options
1222
1144
  # Request-specific options
1223
1145
  #
@@ -1230,8 +1152,8 @@ module Google
1230
1152
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1231
1153
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1232
1154
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1233
- def update_account_container_workspace(path, workspace_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1234
- command = make_simple_command(:put, '{+path}', options)
1155
+ def update_account_container_workspace(path, workspace_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block)
1156
+ command = make_simple_command(:put, 'tagmanager/v2/{+path}', options)
1235
1157
  command.request_representation = Google::Apis::TagmanagerV2::Workspace::Representation
1236
1158
  command.request_object = workspace_object
1237
1159
  command.response_representation = Google::Apis::TagmanagerV2::Workspace::Representation
@@ -1240,23 +1162,21 @@ module Google
1240
1162
  command.query['fingerprint'] = fingerprint unless fingerprint.nil?
1241
1163
  command.query['fields'] = fields unless fields.nil?
1242
1164
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1243
- command.query['userIp'] = user_ip unless user_ip.nil?
1244
1165
  execute_or_queue_command(command, &block)
1245
1166
  end
1246
1167
 
1247
1168
  # Creates one or more GTM Built-In Variables.
1248
1169
  # @param [String] parent
1249
- # GTM Workspace's API relative path. Example: accounts/`account_id`/containers/`
1250
- # container_id`/workspaces/`workspace_id`
1170
+ # GTM Workspace's API relative path.
1171
+ # Example:
1172
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`
1251
1173
  # @param [Array<String>, String] type
1252
1174
  # The types of built-in variables to enable.
1253
1175
  # @param [String] fields
1254
1176
  # Selector specifying which fields to include in a partial response.
1255
1177
  # @param [String] quota_user
1256
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1257
- # characters.
1258
- # @param [String] user_ip
1259
- # Deprecated. Please use quotaUser instead.
1178
+ # Available to use for quota purposes for server-side applications. Can be any
1179
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1260
1180
  # @param [Google::Apis::RequestOptions] options
1261
1181
  # Request-specific options
1262
1182
  #
@@ -1269,31 +1189,30 @@ module Google
1269
1189
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1270
1190
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1271
1191
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1272
- def create_account_container_workspace_built_in_variable(parent, type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1273
- command = make_simple_command(:post, '{+parent}/built_in_variables', options)
1192
+ def create_account_container_workspace_built_in_variable(parent, type: nil, fields: nil, quota_user: nil, options: nil, &block)
1193
+ command = make_simple_command(:post, 'tagmanager/v2/{+parent}/built_in_variables', options)
1274
1194
  command.response_representation = Google::Apis::TagmanagerV2::CreateBuiltInVariableResponse::Representation
1275
1195
  command.response_class = Google::Apis::TagmanagerV2::CreateBuiltInVariableResponse
1276
1196
  command.params['parent'] = parent unless parent.nil?
1277
1197
  command.query['type'] = type unless type.nil?
1278
1198
  command.query['fields'] = fields unless fields.nil?
1279
1199
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1280
- command.query['userIp'] = user_ip unless user_ip.nil?
1281
1200
  execute_or_queue_command(command, &block)
1282
1201
  end
1283
1202
 
1284
1203
  # Deletes one or more GTM Built-In Variables.
1285
1204
  # @param [String] path
1286
- # GTM BuiltInVariable's API relative path. Example: accounts/`account_id`/
1287
- # containers/`container_id`/workspaces/`workspace_id`/built_in_variables
1205
+ # GTM BuiltInVariable's API relative path.
1206
+ # Example:
1207
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`/
1208
+ # built_in_variables
1288
1209
  # @param [Array<String>, String] type
1289
1210
  # The types of built-in variables to delete.
1290
1211
  # @param [String] fields
1291
1212
  # Selector specifying which fields to include in a partial response.
1292
1213
  # @param [String] quota_user
1293
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1294
- # characters.
1295
- # @param [String] user_ip
1296
- # Deprecated. Please use quotaUser instead.
1214
+ # Available to use for quota purposes for server-side applications. Can be any
1215
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1297
1216
  # @param [Google::Apis::RequestOptions] options
1298
1217
  # Request-specific options
1299
1218
  #
@@ -1306,29 +1225,27 @@ module Google
1306
1225
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1307
1226
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1308
1227
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1309
- def delete_account_container_workspace_built_in_variable(path, type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1310
- command = make_simple_command(:delete, '{+path}', options)
1228
+ def delete_account_container_workspace_built_in_variable(path, type: nil, fields: nil, quota_user: nil, options: nil, &block)
1229
+ command = make_simple_command(:delete, 'tagmanager/v2/{+path}', options)
1311
1230
  command.params['path'] = path unless path.nil?
1312
1231
  command.query['type'] = type unless type.nil?
1313
1232
  command.query['fields'] = fields unless fields.nil?
1314
1233
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1315
- command.query['userIp'] = user_ip unless user_ip.nil?
1316
1234
  execute_or_queue_command(command, &block)
1317
1235
  end
1318
1236
 
1319
1237
  # Lists all the enabled Built-In Variables of a GTM Container.
1320
1238
  # @param [String] parent
1321
- # GTM Workspace's API relative path. Example: accounts/`account_id`/containers/`
1322
- # container_id`/workspaces/`workspace_id`
1239
+ # GTM Workspace's API relative path.
1240
+ # Example:
1241
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`
1323
1242
  # @param [String] page_token
1324
1243
  # Continuation token for fetching the next page of results.
1325
1244
  # @param [String] fields
1326
1245
  # Selector specifying which fields to include in a partial response.
1327
1246
  # @param [String] quota_user
1328
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1329
- # characters.
1330
- # @param [String] user_ip
1331
- # Deprecated. Please use quotaUser instead.
1247
+ # Available to use for quota purposes for server-side applications. Can be any
1248
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1332
1249
  # @param [Google::Apis::RequestOptions] options
1333
1250
  # Request-specific options
1334
1251
  #
@@ -1341,31 +1258,30 @@ module Google
1341
1258
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1342
1259
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1343
1260
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1344
- def list_account_container_workspace_built_in_variables(parent, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1345
- command = make_simple_command(:get, '{+parent}/built_in_variables', options)
1261
+ def list_account_container_workspace_built_in_variables(parent, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1262
+ command = make_simple_command(:get, 'tagmanager/v2/{+parent}/built_in_variables', options)
1346
1263
  command.response_representation = Google::Apis::TagmanagerV2::ListEnabledBuiltInVariablesResponse::Representation
1347
1264
  command.response_class = Google::Apis::TagmanagerV2::ListEnabledBuiltInVariablesResponse
1348
1265
  command.params['parent'] = parent unless parent.nil?
1349
1266
  command.query['pageToken'] = page_token unless page_token.nil?
1350
1267
  command.query['fields'] = fields unless fields.nil?
1351
1268
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1352
- command.query['userIp'] = user_ip unless user_ip.nil?
1353
1269
  execute_or_queue_command(command, &block)
1354
1270
  end
1355
1271
 
1356
1272
  # Reverts changes to a GTM Built-In Variables in a GTM Workspace.
1357
1273
  # @param [String] path
1358
- # GTM BuiltInVariable's API relative path. Example: accounts/`account_id`/
1359
- # containers/`container_id`/workspaces/`workspace_id`/built_in_variables
1274
+ # GTM BuiltInVariable's API relative path.
1275
+ # Example:
1276
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`/
1277
+ # built_in_variables
1360
1278
  # @param [String] type
1361
1279
  # The type of built-in variable to revert.
1362
1280
  # @param [String] fields
1363
1281
  # Selector specifying which fields to include in a partial response.
1364
1282
  # @param [String] quota_user
1365
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1366
- # characters.
1367
- # @param [String] user_ip
1368
- # Deprecated. Please use quotaUser instead.
1283
+ # Available to use for quota purposes for server-side applications. Can be any
1284
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1369
1285
  # @param [Google::Apis::RequestOptions] options
1370
1286
  # Request-specific options
1371
1287
  #
@@ -1378,30 +1294,28 @@ module Google
1378
1294
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1379
1295
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1380
1296
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1381
- def revert_account_container_workspace_built_in_variable(path, type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1382
- command = make_simple_command(:post, '{+path}/built_in_variables:revert', options)
1297
+ def revert_account_container_workspace_built_in_variable(path, type: nil, fields: nil, quota_user: nil, options: nil, &block)
1298
+ command = make_simple_command(:post, 'tagmanager/v2/{+path}/built_in_variables:revert', options)
1383
1299
  command.response_representation = Google::Apis::TagmanagerV2::RevertBuiltInVariableResponse::Representation
1384
1300
  command.response_class = Google::Apis::TagmanagerV2::RevertBuiltInVariableResponse
1385
1301
  command.params['path'] = path unless path.nil?
1386
1302
  command.query['type'] = type unless type.nil?
1387
1303
  command.query['fields'] = fields unless fields.nil?
1388
1304
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1389
- command.query['userIp'] = user_ip unless user_ip.nil?
1390
1305
  execute_or_queue_command(command, &block)
1391
1306
  end
1392
1307
 
1393
1308
  # Creates a GTM Folder.
1394
1309
  # @param [String] parent
1395
- # GTM Workspace's API relative path. Example: accounts/`account_id`/containers/`
1396
- # container_id`/workspaces/`workspace_id`
1310
+ # GTM Workspace's API relative path.
1311
+ # Example:
1312
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`
1397
1313
  # @param [Google::Apis::TagmanagerV2::Folder] folder_object
1398
1314
  # @param [String] fields
1399
1315
  # Selector specifying which fields to include in a partial response.
1400
1316
  # @param [String] quota_user
1401
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1402
- # characters.
1403
- # @param [String] user_ip
1404
- # Deprecated. Please use quotaUser instead.
1317
+ # Available to use for quota purposes for server-side applications. Can be any
1318
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1405
1319
  # @param [Google::Apis::RequestOptions] options
1406
1320
  # Request-specific options
1407
1321
  #
@@ -1414,8 +1328,8 @@ module Google
1414
1328
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1415
1329
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1416
1330
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1417
- def create_account_container_workspace_folder(parent, folder_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1418
- command = make_simple_command(:post, '{+parent}/folders', options)
1331
+ def create_account_container_workspace_folder(parent, folder_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1332
+ command = make_simple_command(:post, 'tagmanager/v2/{+parent}/folders', options)
1419
1333
  command.request_representation = Google::Apis::TagmanagerV2::Folder::Representation
1420
1334
  command.request_object = folder_object
1421
1335
  command.response_representation = Google::Apis::TagmanagerV2::Folder::Representation
@@ -1423,21 +1337,20 @@ module Google
1423
1337
  command.params['parent'] = parent unless parent.nil?
1424
1338
  command.query['fields'] = fields unless fields.nil?
1425
1339
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1426
- command.query['userIp'] = user_ip unless user_ip.nil?
1427
1340
  execute_or_queue_command(command, &block)
1428
1341
  end
1429
1342
 
1430
1343
  # Deletes a GTM Folder.
1431
1344
  # @param [String] path
1432
- # GTM Folder's API relative path. Example: accounts/`account_id`/containers/`
1433
- # container_id`/workspaces/`workspace_id`/folders/`folder_id`
1345
+ # GTM Folder's API relative path.
1346
+ # Example:
1347
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`/
1348
+ # folders/`folder_id`
1434
1349
  # @param [String] fields
1435
1350
  # Selector specifying which fields to include in a partial response.
1436
1351
  # @param [String] quota_user
1437
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1438
- # characters.
1439
- # @param [String] user_ip
1440
- # Deprecated. Please use quotaUser instead.
1352
+ # Available to use for quota purposes for server-side applications. Can be any
1353
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1441
1354
  # @param [Google::Apis::RequestOptions] options
1442
1355
  # Request-specific options
1443
1356
  #
@@ -1450,28 +1363,27 @@ module Google
1450
1363
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1451
1364
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1452
1365
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1453
- def delete_account_container_workspace_folder(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1454
- command = make_simple_command(:delete, '{+path}', options)
1366
+ def delete_account_container_workspace_folder(path, fields: nil, quota_user: nil, options: nil, &block)
1367
+ command = make_simple_command(:delete, 'tagmanager/v2/{+path}', options)
1455
1368
  command.params['path'] = path unless path.nil?
1456
1369
  command.query['fields'] = fields unless fields.nil?
1457
1370
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1458
- command.query['userIp'] = user_ip unless user_ip.nil?
1459
1371
  execute_or_queue_command(command, &block)
1460
1372
  end
1461
1373
 
1462
1374
  # List all entities in a GTM Folder.
1463
1375
  # @param [String] path
1464
- # GTM Folder's API relative path. Example: accounts/`account_id`/containers/`
1465
- # container_id`/workspaces/`workspace_id`/folders/`folder_id`
1376
+ # GTM Folder's API relative path.
1377
+ # Example:
1378
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`/
1379
+ # folders/`folder_id`
1466
1380
  # @param [String] page_token
1467
1381
  # Continuation token for fetching the next page of results.
1468
1382
  # @param [String] fields
1469
1383
  # Selector specifying which fields to include in a partial response.
1470
1384
  # @param [String] quota_user
1471
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1472
- # characters.
1473
- # @param [String] user_ip
1474
- # Deprecated. Please use quotaUser instead.
1385
+ # Available to use for quota purposes for server-side applications. Can be any
1386
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1475
1387
  # @param [Google::Apis::RequestOptions] options
1476
1388
  # Request-specific options
1477
1389
  #
@@ -1484,29 +1396,28 @@ module Google
1484
1396
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1485
1397
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1486
1398
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1487
- def entities_account_container_workspace_folder(path, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1488
- command = make_simple_command(:post, '{+path}:entities', options)
1399
+ def entities_account_container_workspace_folder(path, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1400
+ command = make_simple_command(:post, 'tagmanager/v2/{+path}:entities', options)
1489
1401
  command.response_representation = Google::Apis::TagmanagerV2::FolderEntities::Representation
1490
1402
  command.response_class = Google::Apis::TagmanagerV2::FolderEntities
1491
1403
  command.params['path'] = path unless path.nil?
1492
1404
  command.query['pageToken'] = page_token unless page_token.nil?
1493
1405
  command.query['fields'] = fields unless fields.nil?
1494
1406
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1495
- command.query['userIp'] = user_ip unless user_ip.nil?
1496
1407
  execute_or_queue_command(command, &block)
1497
1408
  end
1498
1409
 
1499
1410
  # Gets a GTM Folder.
1500
1411
  # @param [String] path
1501
- # GTM Folder's API relative path. Example: accounts/`account_id`/containers/`
1502
- # container_id`/workspaces/`workspace_id`/folders/`folder_id`
1412
+ # GTM Folder's API relative path.
1413
+ # Example:
1414
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`/
1415
+ # folders/`folder_id`
1503
1416
  # @param [String] fields
1504
1417
  # Selector specifying which fields to include in a partial response.
1505
1418
  # @param [String] quota_user
1506
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1507
- # characters.
1508
- # @param [String] user_ip
1509
- # Deprecated. Please use quotaUser instead.
1419
+ # Available to use for quota purposes for server-side applications. Can be any
1420
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1510
1421
  # @param [Google::Apis::RequestOptions] options
1511
1422
  # Request-specific options
1512
1423
  #
@@ -1519,30 +1430,28 @@ module Google
1519
1430
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1520
1431
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1521
1432
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1522
- def get_account_container_workspace_folder(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1523
- command = make_simple_command(:get, '{+path}', options)
1433
+ def get_account_container_workspace_folder(path, fields: nil, quota_user: nil, options: nil, &block)
1434
+ command = make_simple_command(:get, 'tagmanager/v2/{+path}', options)
1524
1435
  command.response_representation = Google::Apis::TagmanagerV2::Folder::Representation
1525
1436
  command.response_class = Google::Apis::TagmanagerV2::Folder
1526
1437
  command.params['path'] = path unless path.nil?
1527
1438
  command.query['fields'] = fields unless fields.nil?
1528
1439
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1529
- command.query['userIp'] = user_ip unless user_ip.nil?
1530
1440
  execute_or_queue_command(command, &block)
1531
1441
  end
1532
1442
 
1533
1443
  # Lists all GTM Folders of a Container.
1534
1444
  # @param [String] parent
1535
- # GTM Workspace's API relative path. Example: accounts/`account_id`/containers/`
1536
- # container_id`/workspaces/`workspace_id`
1445
+ # GTM Workspace's API relative path.
1446
+ # Example:
1447
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`
1537
1448
  # @param [String] page_token
1538
1449
  # Continuation token for fetching the next page of results.
1539
1450
  # @param [String] fields
1540
1451
  # Selector specifying which fields to include in a partial response.
1541
1452
  # @param [String] quota_user
1542
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1543
- # characters.
1544
- # @param [String] user_ip
1545
- # Deprecated. Please use quotaUser instead.
1453
+ # Available to use for quota purposes for server-side applications. Can be any
1454
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1546
1455
  # @param [Google::Apis::RequestOptions] options
1547
1456
  # Request-specific options
1548
1457
  #
@@ -1555,22 +1464,23 @@ module Google
1555
1464
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1556
1465
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1557
1466
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1558
- def list_account_container_workspace_folders(parent, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1559
- command = make_simple_command(:get, '{+parent}/folders', options)
1467
+ def list_account_container_workspace_folders(parent, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1468
+ command = make_simple_command(:get, 'tagmanager/v2/{+parent}/folders', options)
1560
1469
  command.response_representation = Google::Apis::TagmanagerV2::ListFoldersResponse::Representation
1561
1470
  command.response_class = Google::Apis::TagmanagerV2::ListFoldersResponse
1562
1471
  command.params['parent'] = parent unless parent.nil?
1563
1472
  command.query['pageToken'] = page_token unless page_token.nil?
1564
1473
  command.query['fields'] = fields unless fields.nil?
1565
1474
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1566
- command.query['userIp'] = user_ip unless user_ip.nil?
1567
1475
  execute_or_queue_command(command, &block)
1568
1476
  end
1569
1477
 
1570
1478
  # Moves entities to a GTM Folder.
1571
1479
  # @param [String] path
1572
- # GTM Folder's API relative path. Example: accounts/`account_id`/containers/`
1573
- # container_id`/workspaces/`workspace_id`/folders/`folder_id`
1480
+ # GTM Folder's API relative path.
1481
+ # Example:
1482
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`/
1483
+ # folders/`folder_id`
1574
1484
  # @param [Google::Apis::TagmanagerV2::Folder] folder_object
1575
1485
  # @param [Array<String>, String] tag_id
1576
1486
  # The tags to be moved to the folder.
@@ -1581,10 +1491,8 @@ module Google
1581
1491
  # @param [String] fields
1582
1492
  # Selector specifying which fields to include in a partial response.
1583
1493
  # @param [String] quota_user
1584
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1585
- # characters.
1586
- # @param [String] user_ip
1587
- # Deprecated. Please use quotaUser instead.
1494
+ # Available to use for quota purposes for server-side applications. Can be any
1495
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1588
1496
  # @param [Google::Apis::RequestOptions] options
1589
1497
  # Request-specific options
1590
1498
  #
@@ -1597,8 +1505,8 @@ module Google
1597
1505
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1598
1506
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1599
1507
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1600
- def move_account_container_workspace_folder_entities_to_folder(path, folder_object = nil, tag_id: nil, trigger_id: nil, variable_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1601
- command = make_simple_command(:post, '{+path}:move_entities_to_folder', options)
1508
+ def move_account_container_workspace_folder_entities_to_folder(path, folder_object = nil, tag_id: nil, trigger_id: nil, variable_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1509
+ command = make_simple_command(:post, 'tagmanager/v2/{+path}:move_entities_to_folder', options)
1602
1510
  command.request_representation = Google::Apis::TagmanagerV2::Folder::Representation
1603
1511
  command.request_object = folder_object
1604
1512
  command.params['path'] = path unless path.nil?
@@ -1607,24 +1515,23 @@ module Google
1607
1515
  command.query['variableId'] = variable_id unless variable_id.nil?
1608
1516
  command.query['fields'] = fields unless fields.nil?
1609
1517
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1610
- command.query['userIp'] = user_ip unless user_ip.nil?
1611
1518
  execute_or_queue_command(command, &block)
1612
1519
  end
1613
1520
 
1614
1521
  # Reverts changes to a GTM Folder in a GTM Workspace.
1615
1522
  # @param [String] path
1616
- # GTM Folder's API relative path. Example: accounts/`account_id`/containers/`
1617
- # container_id`/workspaces/`workspace_id`/folders/`folder_id`
1523
+ # GTM Folder's API relative path.
1524
+ # Example:
1525
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`/
1526
+ # folders/`folder_id`
1618
1527
  # @param [String] fingerprint
1619
- # When provided, this fingerprint must match the fingerprint of the tag in
1620
- # storage.
1528
+ # When provided, this fingerprint must match the fingerprint of the tag
1529
+ # in storage.
1621
1530
  # @param [String] fields
1622
1531
  # Selector specifying which fields to include in a partial response.
1623
1532
  # @param [String] quota_user
1624
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1625
- # characters.
1626
- # @param [String] user_ip
1627
- # Deprecated. Please use quotaUser instead.
1533
+ # Available to use for quota purposes for server-side applications. Can be any
1534
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1628
1535
  # @param [Google::Apis::RequestOptions] options
1629
1536
  # Request-specific options
1630
1537
  #
@@ -1637,22 +1544,23 @@ module Google
1637
1544
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1638
1545
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1639
1546
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1640
- def revert_account_container_workspace_folder(path, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1641
- command = make_simple_command(:post, '{+path}:revert', options)
1547
+ def revert_account_container_workspace_folder(path, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block)
1548
+ command = make_simple_command(:post, 'tagmanager/v2/{+path}:revert', options)
1642
1549
  command.response_representation = Google::Apis::TagmanagerV2::RevertFolderResponse::Representation
1643
1550
  command.response_class = Google::Apis::TagmanagerV2::RevertFolderResponse
1644
1551
  command.params['path'] = path unless path.nil?
1645
1552
  command.query['fingerprint'] = fingerprint unless fingerprint.nil?
1646
1553
  command.query['fields'] = fields unless fields.nil?
1647
1554
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1648
- command.query['userIp'] = user_ip unless user_ip.nil?
1649
1555
  execute_or_queue_command(command, &block)
1650
1556
  end
1651
1557
 
1652
1558
  # Updates a GTM Folder.
1653
1559
  # @param [String] path
1654
- # GTM Folder's API relative path. Example: accounts/`account_id`/containers/`
1655
- # container_id`/workspaces/`workspace_id`/folders/`folder_id`
1560
+ # GTM Folder's API relative path.
1561
+ # Example:
1562
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`/
1563
+ # folders/`folder_id`
1656
1564
  # @param [Google::Apis::TagmanagerV2::Folder] folder_object
1657
1565
  # @param [String] fingerprint
1658
1566
  # When provided, this fingerprint must match the fingerprint of the folder in
@@ -1660,10 +1568,8 @@ module Google
1660
1568
  # @param [String] fields
1661
1569
  # Selector specifying which fields to include in a partial response.
1662
1570
  # @param [String] quota_user
1663
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1664
- # characters.
1665
- # @param [String] user_ip
1666
- # Deprecated. Please use quotaUser instead.
1571
+ # Available to use for quota purposes for server-side applications. Can be any
1572
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1667
1573
  # @param [Google::Apis::RequestOptions] options
1668
1574
  # Request-specific options
1669
1575
  #
@@ -1676,8 +1582,8 @@ module Google
1676
1582
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1677
1583
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1678
1584
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1679
- def update_account_container_workspace_folder(path, folder_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1680
- command = make_simple_command(:put, '{+path}', options)
1585
+ def update_account_container_workspace_folder(path, folder_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block)
1586
+ command = make_simple_command(:put, 'tagmanager/v2/{+path}', options)
1681
1587
  command.request_representation = Google::Apis::TagmanagerV2::Folder::Representation
1682
1588
  command.request_object = folder_object
1683
1589
  command.response_representation = Google::Apis::TagmanagerV2::Folder::Representation
@@ -1686,22 +1592,20 @@ module Google
1686
1592
  command.query['fingerprint'] = fingerprint unless fingerprint.nil?
1687
1593
  command.query['fields'] = fields unless fields.nil?
1688
1594
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1689
- command.query['userIp'] = user_ip unless user_ip.nil?
1690
1595
  execute_or_queue_command(command, &block)
1691
1596
  end
1692
1597
 
1693
1598
  # Creates a GTM Tag.
1694
1599
  # @param [String] parent
1695
- # GTM Workspace's API relative path. Example: accounts/`account_id`/containers/`
1696
- # container_id`/workspaces/`workspace_id`
1600
+ # GTM Workspace's API relative path.
1601
+ # Example:
1602
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`
1697
1603
  # @param [Google::Apis::TagmanagerV2::Tag] tag_object
1698
1604
  # @param [String] fields
1699
1605
  # Selector specifying which fields to include in a partial response.
1700
1606
  # @param [String] quota_user
1701
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1702
- # characters.
1703
- # @param [String] user_ip
1704
- # Deprecated. Please use quotaUser instead.
1607
+ # Available to use for quota purposes for server-side applications. Can be any
1608
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1705
1609
  # @param [Google::Apis::RequestOptions] options
1706
1610
  # Request-specific options
1707
1611
  #
@@ -1714,8 +1618,8 @@ module Google
1714
1618
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1715
1619
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1716
1620
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1717
- def create_account_container_workspace_tag(parent, tag_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1718
- command = make_simple_command(:post, '{+parent}/tags', options)
1621
+ def create_account_container_workspace_tag(parent, tag_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1622
+ command = make_simple_command(:post, 'tagmanager/v2/{+parent}/tags', options)
1719
1623
  command.request_representation = Google::Apis::TagmanagerV2::Tag::Representation
1720
1624
  command.request_object = tag_object
1721
1625
  command.response_representation = Google::Apis::TagmanagerV2::Tag::Representation
@@ -1723,21 +1627,20 @@ module Google
1723
1627
  command.params['parent'] = parent unless parent.nil?
1724
1628
  command.query['fields'] = fields unless fields.nil?
1725
1629
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1726
- command.query['userIp'] = user_ip unless user_ip.nil?
1727
1630
  execute_or_queue_command(command, &block)
1728
1631
  end
1729
1632
 
1730
1633
  # Deletes a GTM Tag.
1731
1634
  # @param [String] path
1732
- # GTM Tag's API relative path. Example: accounts/`account_id`/containers/`
1733
- # container_id`/workspaces/`workspace_id`/tags/`tag_id`
1635
+ # GTM Tag's API relative path.
1636
+ # Example:
1637
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`/tags/
1638
+ # `tag_id`
1734
1639
  # @param [String] fields
1735
1640
  # Selector specifying which fields to include in a partial response.
1736
1641
  # @param [String] quota_user
1737
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1738
- # characters.
1739
- # @param [String] user_ip
1740
- # Deprecated. Please use quotaUser instead.
1642
+ # Available to use for quota purposes for server-side applications. Can be any
1643
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1741
1644
  # @param [Google::Apis::RequestOptions] options
1742
1645
  # Request-specific options
1743
1646
  #
@@ -1750,26 +1653,25 @@ module Google
1750
1653
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1751
1654
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1752
1655
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1753
- def delete_account_container_workspace_tag(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1754
- command = make_simple_command(:delete, '{+path}', options)
1656
+ def delete_account_container_workspace_tag(path, fields: nil, quota_user: nil, options: nil, &block)
1657
+ command = make_simple_command(:delete, 'tagmanager/v2/{+path}', options)
1755
1658
  command.params['path'] = path unless path.nil?
1756
1659
  command.query['fields'] = fields unless fields.nil?
1757
1660
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1758
- command.query['userIp'] = user_ip unless user_ip.nil?
1759
1661
  execute_or_queue_command(command, &block)
1760
1662
  end
1761
1663
 
1762
1664
  # Gets a GTM Tag.
1763
1665
  # @param [String] path
1764
- # GTM Tag's API relative path. Example: accounts/`account_id`/containers/`
1765
- # container_id`/workspaces/`workspace_id`/tags/`tag_id`
1666
+ # GTM Tag's API relative path.
1667
+ # Example:
1668
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`/tags/
1669
+ # `tag_id`
1766
1670
  # @param [String] fields
1767
1671
  # Selector specifying which fields to include in a partial response.
1768
1672
  # @param [String] quota_user
1769
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1770
- # characters.
1771
- # @param [String] user_ip
1772
- # Deprecated. Please use quotaUser instead.
1673
+ # Available to use for quota purposes for server-side applications. Can be any
1674
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1773
1675
  # @param [Google::Apis::RequestOptions] options
1774
1676
  # Request-specific options
1775
1677
  #
@@ -1782,30 +1684,28 @@ module Google
1782
1684
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1783
1685
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1784
1686
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1785
- def get_account_container_workspace_tag(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1786
- command = make_simple_command(:get, '{+path}', options)
1687
+ def get_account_container_workspace_tag(path, fields: nil, quota_user: nil, options: nil, &block)
1688
+ command = make_simple_command(:get, 'tagmanager/v2/{+path}', options)
1787
1689
  command.response_representation = Google::Apis::TagmanagerV2::Tag::Representation
1788
1690
  command.response_class = Google::Apis::TagmanagerV2::Tag
1789
1691
  command.params['path'] = path unless path.nil?
1790
1692
  command.query['fields'] = fields unless fields.nil?
1791
1693
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1792
- command.query['userIp'] = user_ip unless user_ip.nil?
1793
1694
  execute_or_queue_command(command, &block)
1794
1695
  end
1795
1696
 
1796
1697
  # Lists all GTM Tags of a Container.
1797
1698
  # @param [String] parent
1798
- # GTM Workspace's API relative path. Example: accounts/`account_id`/containers/`
1799
- # container_id`/workspaces/`workspace_id`
1699
+ # GTM Workspace's API relative path.
1700
+ # Example:
1701
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`
1800
1702
  # @param [String] page_token
1801
1703
  # Continuation token for fetching the next page of results.
1802
1704
  # @param [String] fields
1803
1705
  # Selector specifying which fields to include in a partial response.
1804
1706
  # @param [String] quota_user
1805
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1806
- # characters.
1807
- # @param [String] user_ip
1808
- # Deprecated. Please use quotaUser instead.
1707
+ # Available to use for quota purposes for server-side applications. Can be any
1708
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1809
1709
  # @param [Google::Apis::RequestOptions] options
1810
1710
  # Request-specific options
1811
1711
  #
@@ -1818,32 +1718,31 @@ module Google
1818
1718
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1819
1719
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1820
1720
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1821
- def list_account_container_workspace_tags(parent, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1822
- command = make_simple_command(:get, '{+parent}/tags', options)
1721
+ def list_account_container_workspace_tags(parent, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1722
+ command = make_simple_command(:get, 'tagmanager/v2/{+parent}/tags', options)
1823
1723
  command.response_representation = Google::Apis::TagmanagerV2::ListTagsResponse::Representation
1824
1724
  command.response_class = Google::Apis::TagmanagerV2::ListTagsResponse
1825
1725
  command.params['parent'] = parent unless parent.nil?
1826
1726
  command.query['pageToken'] = page_token unless page_token.nil?
1827
1727
  command.query['fields'] = fields unless fields.nil?
1828
1728
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1829
- command.query['userIp'] = user_ip unless user_ip.nil?
1830
1729
  execute_or_queue_command(command, &block)
1831
1730
  end
1832
1731
 
1833
1732
  # Reverts changes to a GTM Tag in a GTM Workspace.
1834
1733
  # @param [String] path
1835
- # GTM Tag's API relative path. Example: accounts/`account_id`/containers/`
1836
- # container_id`/workspaces/`workspace_id`/tags/`tag_id`
1734
+ # GTM Tag's API relative path.
1735
+ # Example:
1736
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`/tags/
1737
+ # `tag_id`
1837
1738
  # @param [String] fingerprint
1838
- # When provided, this fingerprint must match the fingerprint of thetag in
1839
- # storage.
1739
+ # When provided, this fingerprint must match the fingerprint of thetag
1740
+ # in storage.
1840
1741
  # @param [String] fields
1841
1742
  # Selector specifying which fields to include in a partial response.
1842
1743
  # @param [String] quota_user
1843
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1844
- # characters.
1845
- # @param [String] user_ip
1846
- # Deprecated. Please use quotaUser instead.
1744
+ # Available to use for quota purposes for server-side applications. Can be any
1745
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1847
1746
  # @param [Google::Apis::RequestOptions] options
1848
1747
  # Request-specific options
1849
1748
  #
@@ -1856,22 +1755,23 @@ module Google
1856
1755
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1857
1756
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1858
1757
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1859
- def revert_account_container_workspace_tag(path, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1860
- command = make_simple_command(:post, '{+path}:revert', options)
1758
+ def revert_account_container_workspace_tag(path, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block)
1759
+ command = make_simple_command(:post, 'tagmanager/v2/{+path}:revert', options)
1861
1760
  command.response_representation = Google::Apis::TagmanagerV2::RevertTagResponse::Representation
1862
1761
  command.response_class = Google::Apis::TagmanagerV2::RevertTagResponse
1863
1762
  command.params['path'] = path unless path.nil?
1864
1763
  command.query['fingerprint'] = fingerprint unless fingerprint.nil?
1865
1764
  command.query['fields'] = fields unless fields.nil?
1866
1765
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1867
- command.query['userIp'] = user_ip unless user_ip.nil?
1868
1766
  execute_or_queue_command(command, &block)
1869
1767
  end
1870
1768
 
1871
1769
  # Updates a GTM Tag.
1872
1770
  # @param [String] path
1873
- # GTM Tag's API relative path. Example: accounts/`account_id`/containers/`
1874
- # container_id`/workspaces/`workspace_id`/tags/`tag_id`
1771
+ # GTM Tag's API relative path.
1772
+ # Example:
1773
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`/tags/
1774
+ # `tag_id`
1875
1775
  # @param [Google::Apis::TagmanagerV2::Tag] tag_object
1876
1776
  # @param [String] fingerprint
1877
1777
  # When provided, this fingerprint must match the fingerprint of the tag in
@@ -1879,10 +1779,8 @@ module Google
1879
1779
  # @param [String] fields
1880
1780
  # Selector specifying which fields to include in a partial response.
1881
1781
  # @param [String] quota_user
1882
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1883
- # characters.
1884
- # @param [String] user_ip
1885
- # Deprecated. Please use quotaUser instead.
1782
+ # Available to use for quota purposes for server-side applications. Can be any
1783
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1886
1784
  # @param [Google::Apis::RequestOptions] options
1887
1785
  # Request-specific options
1888
1786
  #
@@ -1895,8 +1793,8 @@ module Google
1895
1793
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1896
1794
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1897
1795
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1898
- def update_account_container_workspace_tag(path, tag_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1899
- command = make_simple_command(:put, '{+path}', options)
1796
+ def update_account_container_workspace_tag(path, tag_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block)
1797
+ command = make_simple_command(:put, 'tagmanager/v2/{+path}', options)
1900
1798
  command.request_representation = Google::Apis::TagmanagerV2::Tag::Representation
1901
1799
  command.request_object = tag_object
1902
1800
  command.response_representation = Google::Apis::TagmanagerV2::Tag::Representation
@@ -1905,22 +1803,20 @@ module Google
1905
1803
  command.query['fingerprint'] = fingerprint unless fingerprint.nil?
1906
1804
  command.query['fields'] = fields unless fields.nil?
1907
1805
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1908
- command.query['userIp'] = user_ip unless user_ip.nil?
1909
1806
  execute_or_queue_command(command, &block)
1910
1807
  end
1911
1808
 
1912
1809
  # Creates a GTM Custom Template.
1913
1810
  # @param [String] parent
1914
- # GTM Workspace's API relative path. Example: accounts/`account_id`/containers/`
1915
- # container_id`/workspaces/`workspace_id`
1811
+ # GTM Workspace's API relative path.
1812
+ # Example:
1813
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`
1916
1814
  # @param [Google::Apis::TagmanagerV2::CustomTemplate] custom_template_object
1917
1815
  # @param [String] fields
1918
1816
  # Selector specifying which fields to include in a partial response.
1919
1817
  # @param [String] quota_user
1920
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1921
- # characters.
1922
- # @param [String] user_ip
1923
- # Deprecated. Please use quotaUser instead.
1818
+ # Available to use for quota purposes for server-side applications. Can be any
1819
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1924
1820
  # @param [Google::Apis::RequestOptions] options
1925
1821
  # Request-specific options
1926
1822
  #
@@ -1933,8 +1829,8 @@ module Google
1933
1829
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1934
1830
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1935
1831
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1936
- def create_account_container_workspace_template(parent, custom_template_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1937
- command = make_simple_command(:post, '{+parent}/templates', options)
1832
+ def create_account_container_workspace_template(parent, custom_template_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1833
+ command = make_simple_command(:post, 'tagmanager/v2/{+parent}/templates', options)
1938
1834
  command.request_representation = Google::Apis::TagmanagerV2::CustomTemplate::Representation
1939
1835
  command.request_object = custom_template_object
1940
1836
  command.response_representation = Google::Apis::TagmanagerV2::CustomTemplate::Representation
@@ -1942,21 +1838,20 @@ module Google
1942
1838
  command.params['parent'] = parent unless parent.nil?
1943
1839
  command.query['fields'] = fields unless fields.nil?
1944
1840
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1945
- command.query['userIp'] = user_ip unless user_ip.nil?
1946
1841
  execute_or_queue_command(command, &block)
1947
1842
  end
1948
1843
 
1949
1844
  # Deletes a GTM Template.
1950
1845
  # @param [String] path
1951
- # GTM Custom Template's API relative path. Example: accounts/`account_id`/
1952
- # containers/`container_id`/workspaces/`workspace_id`/templates/`template_id`
1846
+ # GTM Custom Template's API relative path.
1847
+ # Example:
1848
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`/
1849
+ # templates/`template_id`
1953
1850
  # @param [String] fields
1954
1851
  # Selector specifying which fields to include in a partial response.
1955
1852
  # @param [String] quota_user
1956
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1957
- # characters.
1958
- # @param [String] user_ip
1959
- # Deprecated. Please use quotaUser instead.
1853
+ # Available to use for quota purposes for server-side applications. Can be any
1854
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1960
1855
  # @param [Google::Apis::RequestOptions] options
1961
1856
  # Request-specific options
1962
1857
  #
@@ -1969,26 +1864,25 @@ module Google
1969
1864
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1970
1865
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1971
1866
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1972
- def delete_account_container_workspace_template(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1973
- command = make_simple_command(:delete, '{+path}', options)
1867
+ def delete_account_container_workspace_template(path, fields: nil, quota_user: nil, options: nil, &block)
1868
+ command = make_simple_command(:delete, 'tagmanager/v2/{+path}', options)
1974
1869
  command.params['path'] = path unless path.nil?
1975
1870
  command.query['fields'] = fields unless fields.nil?
1976
1871
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1977
- command.query['userIp'] = user_ip unless user_ip.nil?
1978
1872
  execute_or_queue_command(command, &block)
1979
1873
  end
1980
1874
 
1981
1875
  # Gets a GTM Template.
1982
1876
  # @param [String] path
1983
- # GTM Custom Template's API relative path. Example: accounts/`account_id`/
1984
- # containers/`container_id`/workspaces/`workspace_id`/templates/`template_id`
1877
+ # GTM Custom Template's API relative path.
1878
+ # Example:
1879
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`/
1880
+ # templates/`template_id`
1985
1881
  # @param [String] fields
1986
1882
  # Selector specifying which fields to include in a partial response.
1987
1883
  # @param [String] quota_user
1988
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1989
- # characters.
1990
- # @param [String] user_ip
1991
- # Deprecated. Please use quotaUser instead.
1884
+ # Available to use for quota purposes for server-side applications. Can be any
1885
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1992
1886
  # @param [Google::Apis::RequestOptions] options
1993
1887
  # Request-specific options
1994
1888
  #
@@ -2001,30 +1895,28 @@ module Google
2001
1895
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2002
1896
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2003
1897
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2004
- def get_account_container_workspace_template(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2005
- command = make_simple_command(:get, '{+path}', options)
1898
+ def get_account_container_workspace_template(path, fields: nil, quota_user: nil, options: nil, &block)
1899
+ command = make_simple_command(:get, 'tagmanager/v2/{+path}', options)
2006
1900
  command.response_representation = Google::Apis::TagmanagerV2::CustomTemplate::Representation
2007
1901
  command.response_class = Google::Apis::TagmanagerV2::CustomTemplate
2008
1902
  command.params['path'] = path unless path.nil?
2009
1903
  command.query['fields'] = fields unless fields.nil?
2010
1904
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2011
- command.query['userIp'] = user_ip unless user_ip.nil?
2012
1905
  execute_or_queue_command(command, &block)
2013
1906
  end
2014
1907
 
2015
1908
  # Lists all GTM Templates of a GTM container workspace.
2016
1909
  # @param [String] parent
2017
- # GTM Workspace's API relative path. Example: accounts/`account_id`/containers/`
2018
- # container_id`/workspaces/`workspace_id`
1910
+ # GTM Workspace's API relative path.
1911
+ # Example:
1912
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`
2019
1913
  # @param [String] page_token
2020
1914
  # Continuation token for fetching the next page of results.
2021
1915
  # @param [String] fields
2022
1916
  # Selector specifying which fields to include in a partial response.
2023
1917
  # @param [String] quota_user
2024
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2025
- # characters.
2026
- # @param [String] user_ip
2027
- # Deprecated. Please use quotaUser instead.
1918
+ # Available to use for quota purposes for server-side applications. Can be any
1919
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2028
1920
  # @param [Google::Apis::RequestOptions] options
2029
1921
  # Request-specific options
2030
1922
  #
@@ -2037,32 +1929,31 @@ module Google
2037
1929
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2038
1930
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2039
1931
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2040
- def list_account_container_workspace_templates(parent, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2041
- command = make_simple_command(:get, '{+parent}/templates', options)
1932
+ def list_account_container_workspace_templates(parent, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1933
+ command = make_simple_command(:get, 'tagmanager/v2/{+parent}/templates', options)
2042
1934
  command.response_representation = Google::Apis::TagmanagerV2::ListTemplatesResponse::Representation
2043
1935
  command.response_class = Google::Apis::TagmanagerV2::ListTemplatesResponse
2044
1936
  command.params['parent'] = parent unless parent.nil?
2045
1937
  command.query['pageToken'] = page_token unless page_token.nil?
2046
1938
  command.query['fields'] = fields unless fields.nil?
2047
1939
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2048
- command.query['userIp'] = user_ip unless user_ip.nil?
2049
1940
  execute_or_queue_command(command, &block)
2050
1941
  end
2051
1942
 
2052
1943
  # Reverts changes to a GTM Template in a GTM Workspace.
2053
1944
  # @param [String] path
2054
- # GTM Custom Template's API relative path. Example: accounts/`account_id`/
2055
- # containers/`container_id`/workspaces/`workspace_id`/templates/`template_id`
1945
+ # GTM Custom Template's API relative path.
1946
+ # Example:
1947
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`/
1948
+ # templates/`template_id`
2056
1949
  # @param [String] fingerprint
2057
- # When provided, this fingerprint must match the fingerprint of the template in
2058
- # storage.
1950
+ # When provided, this fingerprint must match the fingerprint of the template
1951
+ # in storage.
2059
1952
  # @param [String] fields
2060
1953
  # Selector specifying which fields to include in a partial response.
2061
1954
  # @param [String] quota_user
2062
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2063
- # characters.
2064
- # @param [String] user_ip
2065
- # Deprecated. Please use quotaUser instead.
1955
+ # Available to use for quota purposes for server-side applications. Can be any
1956
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2066
1957
  # @param [Google::Apis::RequestOptions] options
2067
1958
  # Request-specific options
2068
1959
  #
@@ -2075,33 +1966,32 @@ module Google
2075
1966
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2076
1967
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2077
1968
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2078
- def revert_account_container_workspace_template(path, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2079
- command = make_simple_command(:post, '{+path}:revert', options)
1969
+ def revert_account_container_workspace_template(path, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block)
1970
+ command = make_simple_command(:post, 'tagmanager/v2/{+path}:revert', options)
2080
1971
  command.response_representation = Google::Apis::TagmanagerV2::RevertTemplateResponse::Representation
2081
1972
  command.response_class = Google::Apis::TagmanagerV2::RevertTemplateResponse
2082
1973
  command.params['path'] = path unless path.nil?
2083
1974
  command.query['fingerprint'] = fingerprint unless fingerprint.nil?
2084
1975
  command.query['fields'] = fields unless fields.nil?
2085
1976
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2086
- command.query['userIp'] = user_ip unless user_ip.nil?
2087
1977
  execute_or_queue_command(command, &block)
2088
1978
  end
2089
1979
 
2090
1980
  # Updates a GTM Template.
2091
1981
  # @param [String] path
2092
- # GTM Custom Template's API relative path. Example: accounts/`account_id`/
2093
- # containers/`container_id`/workspaces/`workspace_id`/templates/`template_id`
1982
+ # GTM Custom Template's API relative path.
1983
+ # Example:
1984
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`/
1985
+ # templates/`template_id`
2094
1986
  # @param [Google::Apis::TagmanagerV2::CustomTemplate] custom_template_object
2095
1987
  # @param [String] fingerprint
2096
- # When provided, this fingerprint must match the fingerprint of the templates in
2097
- # storage.
1988
+ # When provided, this fingerprint must match the fingerprint of the templates
1989
+ # in storage.
2098
1990
  # @param [String] fields
2099
1991
  # Selector specifying which fields to include in a partial response.
2100
1992
  # @param [String] quota_user
2101
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2102
- # characters.
2103
- # @param [String] user_ip
2104
- # Deprecated. Please use quotaUser instead.
1993
+ # Available to use for quota purposes for server-side applications. Can be any
1994
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2105
1995
  # @param [Google::Apis::RequestOptions] options
2106
1996
  # Request-specific options
2107
1997
  #
@@ -2114,8 +2004,8 @@ module Google
2114
2004
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2115
2005
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2116
2006
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2117
- def update_account_container_workspace_template(path, custom_template_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2118
- command = make_simple_command(:put, '{+path}', options)
2007
+ def update_account_container_workspace_template(path, custom_template_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block)
2008
+ command = make_simple_command(:put, 'tagmanager/v2/{+path}', options)
2119
2009
  command.request_representation = Google::Apis::TagmanagerV2::CustomTemplate::Representation
2120
2010
  command.request_object = custom_template_object
2121
2011
  command.response_representation = Google::Apis::TagmanagerV2::CustomTemplate::Representation
@@ -2124,22 +2014,20 @@ module Google
2124
2014
  command.query['fingerprint'] = fingerprint unless fingerprint.nil?
2125
2015
  command.query['fields'] = fields unless fields.nil?
2126
2016
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2127
- command.query['userIp'] = user_ip unless user_ip.nil?
2128
2017
  execute_or_queue_command(command, &block)
2129
2018
  end
2130
2019
 
2131
2020
  # Creates a GTM Trigger.
2132
2021
  # @param [String] parent
2133
- # GTM Workspaces's API relative path. Example: accounts/`account_id`/containers/`
2134
- # container_id`/workspaces/`workspace_id`
2022
+ # GTM Workspaces's API relative path.
2023
+ # Example:
2024
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`
2135
2025
  # @param [Google::Apis::TagmanagerV2::Trigger] trigger_object
2136
2026
  # @param [String] fields
2137
2027
  # Selector specifying which fields to include in a partial response.
2138
2028
  # @param [String] quota_user
2139
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2140
- # characters.
2141
- # @param [String] user_ip
2142
- # Deprecated. Please use quotaUser instead.
2029
+ # Available to use for quota purposes for server-side applications. Can be any
2030
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2143
2031
  # @param [Google::Apis::RequestOptions] options
2144
2032
  # Request-specific options
2145
2033
  #
@@ -2152,8 +2040,8 @@ module Google
2152
2040
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2153
2041
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2154
2042
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2155
- def create_account_container_workspace_trigger(parent, trigger_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2156
- command = make_simple_command(:post, '{+parent}/triggers', options)
2043
+ def create_account_container_workspace_trigger(parent, trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2044
+ command = make_simple_command(:post, 'tagmanager/v2/{+parent}/triggers', options)
2157
2045
  command.request_representation = Google::Apis::TagmanagerV2::Trigger::Representation
2158
2046
  command.request_object = trigger_object
2159
2047
  command.response_representation = Google::Apis::TagmanagerV2::Trigger::Representation
@@ -2161,21 +2049,20 @@ module Google
2161
2049
  command.params['parent'] = parent unless parent.nil?
2162
2050
  command.query['fields'] = fields unless fields.nil?
2163
2051
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2164
- command.query['userIp'] = user_ip unless user_ip.nil?
2165
2052
  execute_or_queue_command(command, &block)
2166
2053
  end
2167
2054
 
2168
2055
  # Deletes a GTM Trigger.
2169
2056
  # @param [String] path
2170
- # GTM Trigger's API relative path. Example: accounts/`account_id`/containers/`
2171
- # container_id`/workspaces/`workspace_id`/triggers/`trigger_id`
2057
+ # GTM Trigger's API relative path.
2058
+ # Example:
2059
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`/
2060
+ # triggers/`trigger_id`
2172
2061
  # @param [String] fields
2173
2062
  # Selector specifying which fields to include in a partial response.
2174
2063
  # @param [String] quota_user
2175
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2176
- # characters.
2177
- # @param [String] user_ip
2178
- # Deprecated. Please use quotaUser instead.
2064
+ # Available to use for quota purposes for server-side applications. Can be any
2065
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2179
2066
  # @param [Google::Apis::RequestOptions] options
2180
2067
  # Request-specific options
2181
2068
  #
@@ -2188,26 +2075,25 @@ module Google
2188
2075
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2189
2076
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2190
2077
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2191
- def delete_account_container_workspace_trigger(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2192
- command = make_simple_command(:delete, '{+path}', options)
2078
+ def delete_account_container_workspace_trigger(path, fields: nil, quota_user: nil, options: nil, &block)
2079
+ command = make_simple_command(:delete, 'tagmanager/v2/{+path}', options)
2193
2080
  command.params['path'] = path unless path.nil?
2194
2081
  command.query['fields'] = fields unless fields.nil?
2195
2082
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2196
- command.query['userIp'] = user_ip unless user_ip.nil?
2197
2083
  execute_or_queue_command(command, &block)
2198
2084
  end
2199
2085
 
2200
2086
  # Gets a GTM Trigger.
2201
2087
  # @param [String] path
2202
- # GTM Trigger's API relative path. Example: accounts/`account_id`/containers/`
2203
- # container_id`/workspaces/`workspace_id`/triggers/`trigger_id`
2088
+ # GTM Trigger's API relative path.
2089
+ # Example:
2090
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`/
2091
+ # triggers/`trigger_id`
2204
2092
  # @param [String] fields
2205
2093
  # Selector specifying which fields to include in a partial response.
2206
2094
  # @param [String] quota_user
2207
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2208
- # characters.
2209
- # @param [String] user_ip
2210
- # Deprecated. Please use quotaUser instead.
2095
+ # Available to use for quota purposes for server-side applications. Can be any
2096
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2211
2097
  # @param [Google::Apis::RequestOptions] options
2212
2098
  # Request-specific options
2213
2099
  #
@@ -2220,30 +2106,28 @@ module Google
2220
2106
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2221
2107
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2222
2108
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2223
- def get_account_container_workspace_trigger(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2224
- command = make_simple_command(:get, '{+path}', options)
2109
+ def get_account_container_workspace_trigger(path, fields: nil, quota_user: nil, options: nil, &block)
2110
+ command = make_simple_command(:get, 'tagmanager/v2/{+path}', options)
2225
2111
  command.response_representation = Google::Apis::TagmanagerV2::Trigger::Representation
2226
2112
  command.response_class = Google::Apis::TagmanagerV2::Trigger
2227
2113
  command.params['path'] = path unless path.nil?
2228
2114
  command.query['fields'] = fields unless fields.nil?
2229
2115
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2230
- command.query['userIp'] = user_ip unless user_ip.nil?
2231
2116
  execute_or_queue_command(command, &block)
2232
2117
  end
2233
2118
 
2234
2119
  # Lists all GTM Triggers of a Container.
2235
2120
  # @param [String] parent
2236
- # GTM Workspaces's API relative path. Example: accounts/`account_id`/containers/`
2237
- # container_id`/workspaces/`workspace_id`
2121
+ # GTM Workspaces's API relative path.
2122
+ # Example:
2123
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`
2238
2124
  # @param [String] page_token
2239
2125
  # Continuation token for fetching the next page of results.
2240
2126
  # @param [String] fields
2241
2127
  # Selector specifying which fields to include in a partial response.
2242
2128
  # @param [String] quota_user
2243
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2244
- # characters.
2245
- # @param [String] user_ip
2246
- # Deprecated. Please use quotaUser instead.
2129
+ # Available to use for quota purposes for server-side applications. Can be any
2130
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2247
2131
  # @param [Google::Apis::RequestOptions] options
2248
2132
  # Request-specific options
2249
2133
  #
@@ -2256,32 +2140,31 @@ module Google
2256
2140
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2257
2141
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2258
2142
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2259
- def list_account_container_workspace_triggers(parent, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2260
- command = make_simple_command(:get, '{+parent}/triggers', options)
2143
+ def list_account_container_workspace_triggers(parent, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2144
+ command = make_simple_command(:get, 'tagmanager/v2/{+parent}/triggers', options)
2261
2145
  command.response_representation = Google::Apis::TagmanagerV2::ListTriggersResponse::Representation
2262
2146
  command.response_class = Google::Apis::TagmanagerV2::ListTriggersResponse
2263
2147
  command.params['parent'] = parent unless parent.nil?
2264
2148
  command.query['pageToken'] = page_token unless page_token.nil?
2265
2149
  command.query['fields'] = fields unless fields.nil?
2266
2150
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2267
- command.query['userIp'] = user_ip unless user_ip.nil?
2268
2151
  execute_or_queue_command(command, &block)
2269
2152
  end
2270
2153
 
2271
2154
  # Reverts changes to a GTM Trigger in a GTM Workspace.
2272
2155
  # @param [String] path
2273
- # GTM Trigger's API relative path. Example: accounts/`account_id`/containers/`
2274
- # container_id`/workspaces/`workspace_id`/triggers/`trigger_id`
2156
+ # GTM Trigger's API relative path.
2157
+ # Example:
2158
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`/
2159
+ # triggers/`trigger_id`
2275
2160
  # @param [String] fingerprint
2276
- # When provided, this fingerprint must match the fingerprint of the trigger in
2277
- # storage.
2161
+ # When provided, this fingerprint must match the fingerprint of the trigger
2162
+ # in storage.
2278
2163
  # @param [String] fields
2279
2164
  # Selector specifying which fields to include in a partial response.
2280
2165
  # @param [String] quota_user
2281
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2282
- # characters.
2283
- # @param [String] user_ip
2284
- # Deprecated. Please use quotaUser instead.
2166
+ # Available to use for quota purposes for server-side applications. Can be any
2167
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2285
2168
  # @param [Google::Apis::RequestOptions] options
2286
2169
  # Request-specific options
2287
2170
  #
@@ -2294,33 +2177,32 @@ module Google
2294
2177
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2295
2178
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2296
2179
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2297
- def revert_account_container_workspace_trigger(path, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2298
- command = make_simple_command(:post, '{+path}:revert', options)
2180
+ def revert_account_container_workspace_trigger(path, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block)
2181
+ command = make_simple_command(:post, 'tagmanager/v2/{+path}:revert', options)
2299
2182
  command.response_representation = Google::Apis::TagmanagerV2::RevertTriggerResponse::Representation
2300
2183
  command.response_class = Google::Apis::TagmanagerV2::RevertTriggerResponse
2301
2184
  command.params['path'] = path unless path.nil?
2302
2185
  command.query['fingerprint'] = fingerprint unless fingerprint.nil?
2303
2186
  command.query['fields'] = fields unless fields.nil?
2304
2187
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2305
- command.query['userIp'] = user_ip unless user_ip.nil?
2306
2188
  execute_or_queue_command(command, &block)
2307
2189
  end
2308
2190
 
2309
2191
  # Updates a GTM Trigger.
2310
2192
  # @param [String] path
2311
- # GTM Trigger's API relative path. Example: accounts/`account_id`/containers/`
2312
- # container_id`/workspaces/`workspace_id`/triggers/`trigger_id`
2193
+ # GTM Trigger's API relative path.
2194
+ # Example:
2195
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`/
2196
+ # triggers/`trigger_id`
2313
2197
  # @param [Google::Apis::TagmanagerV2::Trigger] trigger_object
2314
2198
  # @param [String] fingerprint
2315
- # When provided, this fingerprint must match the fingerprint of the trigger in
2316
- # storage.
2199
+ # When provided, this fingerprint must match the fingerprint of the trigger
2200
+ # in storage.
2317
2201
  # @param [String] fields
2318
2202
  # Selector specifying which fields to include in a partial response.
2319
2203
  # @param [String] quota_user
2320
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2321
- # characters.
2322
- # @param [String] user_ip
2323
- # Deprecated. Please use quotaUser instead.
2204
+ # Available to use for quota purposes for server-side applications. Can be any
2205
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2324
2206
  # @param [Google::Apis::RequestOptions] options
2325
2207
  # Request-specific options
2326
2208
  #
@@ -2333,8 +2215,8 @@ module Google
2333
2215
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2334
2216
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2335
2217
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2336
- def update_account_container_workspace_trigger(path, trigger_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2337
- command = make_simple_command(:put, '{+path}', options)
2218
+ def update_account_container_workspace_trigger(path, trigger_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block)
2219
+ command = make_simple_command(:put, 'tagmanager/v2/{+path}', options)
2338
2220
  command.request_representation = Google::Apis::TagmanagerV2::Trigger::Representation
2339
2221
  command.request_object = trigger_object
2340
2222
  command.response_representation = Google::Apis::TagmanagerV2::Trigger::Representation
@@ -2343,22 +2225,20 @@ module Google
2343
2225
  command.query['fingerprint'] = fingerprint unless fingerprint.nil?
2344
2226
  command.query['fields'] = fields unless fields.nil?
2345
2227
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2346
- command.query['userIp'] = user_ip unless user_ip.nil?
2347
2228
  execute_or_queue_command(command, &block)
2348
2229
  end
2349
2230
 
2350
2231
  # Creates a GTM Variable.
2351
2232
  # @param [String] parent
2352
- # GTM Workspace's API relative path. Example: accounts/`account_id`/containers/`
2353
- # container_id`/workspaces/`workspace_id`
2233
+ # GTM Workspace's API relative path.
2234
+ # Example:
2235
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`
2354
2236
  # @param [Google::Apis::TagmanagerV2::Variable] variable_object
2355
2237
  # @param [String] fields
2356
2238
  # Selector specifying which fields to include in a partial response.
2357
2239
  # @param [String] quota_user
2358
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2359
- # characters.
2360
- # @param [String] user_ip
2361
- # Deprecated. Please use quotaUser instead.
2240
+ # Available to use for quota purposes for server-side applications. Can be any
2241
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2362
2242
  # @param [Google::Apis::RequestOptions] options
2363
2243
  # Request-specific options
2364
2244
  #
@@ -2371,8 +2251,8 @@ module Google
2371
2251
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2372
2252
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2373
2253
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2374
- def create_account_container_workspace_variable(parent, variable_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2375
- command = make_simple_command(:post, '{+parent}/variables', options)
2254
+ def create_account_container_workspace_variable(parent, variable_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2255
+ command = make_simple_command(:post, 'tagmanager/v2/{+parent}/variables', options)
2376
2256
  command.request_representation = Google::Apis::TagmanagerV2::Variable::Representation
2377
2257
  command.request_object = variable_object
2378
2258
  command.response_representation = Google::Apis::TagmanagerV2::Variable::Representation
@@ -2380,21 +2260,20 @@ module Google
2380
2260
  command.params['parent'] = parent unless parent.nil?
2381
2261
  command.query['fields'] = fields unless fields.nil?
2382
2262
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2383
- command.query['userIp'] = user_ip unless user_ip.nil?
2384
2263
  execute_or_queue_command(command, &block)
2385
2264
  end
2386
2265
 
2387
2266
  # Deletes a GTM Variable.
2388
2267
  # @param [String] path
2389
- # GTM Variable's API relative path. Example: accounts/`account_id`/containers/`
2390
- # container_id`/workspaces/`workspace_id`/variables/`variable_id`
2268
+ # GTM Variable's API relative path.
2269
+ # Example:
2270
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`/
2271
+ # variables/`variable_id`
2391
2272
  # @param [String] fields
2392
2273
  # Selector specifying which fields to include in a partial response.
2393
2274
  # @param [String] quota_user
2394
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2395
- # characters.
2396
- # @param [String] user_ip
2397
- # Deprecated. Please use quotaUser instead.
2275
+ # Available to use for quota purposes for server-side applications. Can be any
2276
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2398
2277
  # @param [Google::Apis::RequestOptions] options
2399
2278
  # Request-specific options
2400
2279
  #
@@ -2407,26 +2286,25 @@ module Google
2407
2286
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2408
2287
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2409
2288
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2410
- def delete_account_container_workspace_variable(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2411
- command = make_simple_command(:delete, '{+path}', options)
2289
+ def delete_account_container_workspace_variable(path, fields: nil, quota_user: nil, options: nil, &block)
2290
+ command = make_simple_command(:delete, 'tagmanager/v2/{+path}', options)
2412
2291
  command.params['path'] = path unless path.nil?
2413
2292
  command.query['fields'] = fields unless fields.nil?
2414
2293
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2415
- command.query['userIp'] = user_ip unless user_ip.nil?
2416
2294
  execute_or_queue_command(command, &block)
2417
2295
  end
2418
2296
 
2419
2297
  # Gets a GTM Variable.
2420
2298
  # @param [String] path
2421
- # GTM Variable's API relative path. Example: accounts/`account_id`/containers/`
2422
- # container_id`/workspaces/`workspace_id`/variables/`variable_id`
2299
+ # GTM Variable's API relative path.
2300
+ # Example:
2301
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`/
2302
+ # variables/`variable_id`
2423
2303
  # @param [String] fields
2424
2304
  # Selector specifying which fields to include in a partial response.
2425
2305
  # @param [String] quota_user
2426
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2427
- # characters.
2428
- # @param [String] user_ip
2429
- # Deprecated. Please use quotaUser instead.
2306
+ # Available to use for quota purposes for server-side applications. Can be any
2307
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2430
2308
  # @param [Google::Apis::RequestOptions] options
2431
2309
  # Request-specific options
2432
2310
  #
@@ -2439,30 +2317,28 @@ module Google
2439
2317
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2440
2318
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2441
2319
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2442
- def get_account_container_workspace_variable(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2443
- command = make_simple_command(:get, '{+path}', options)
2320
+ def get_account_container_workspace_variable(path, fields: nil, quota_user: nil, options: nil, &block)
2321
+ command = make_simple_command(:get, 'tagmanager/v2/{+path}', options)
2444
2322
  command.response_representation = Google::Apis::TagmanagerV2::Variable::Representation
2445
2323
  command.response_class = Google::Apis::TagmanagerV2::Variable
2446
2324
  command.params['path'] = path unless path.nil?
2447
2325
  command.query['fields'] = fields unless fields.nil?
2448
2326
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2449
- command.query['userIp'] = user_ip unless user_ip.nil?
2450
2327
  execute_or_queue_command(command, &block)
2451
2328
  end
2452
2329
 
2453
2330
  # Lists all GTM Variables of a Container.
2454
2331
  # @param [String] parent
2455
- # GTM Workspace's API relative path. Example: accounts/`account_id`/containers/`
2456
- # container_id`/workspaces/`workspace_id`
2332
+ # GTM Workspace's API relative path.
2333
+ # Example:
2334
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`
2457
2335
  # @param [String] page_token
2458
2336
  # Continuation token for fetching the next page of results.
2459
2337
  # @param [String] fields
2460
2338
  # Selector specifying which fields to include in a partial response.
2461
2339
  # @param [String] quota_user
2462
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2463
- # characters.
2464
- # @param [String] user_ip
2465
- # Deprecated. Please use quotaUser instead.
2340
+ # Available to use for quota purposes for server-side applications. Can be any
2341
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2466
2342
  # @param [Google::Apis::RequestOptions] options
2467
2343
  # Request-specific options
2468
2344
  #
@@ -2475,32 +2351,31 @@ module Google
2475
2351
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2476
2352
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2477
2353
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2478
- def list_account_container_workspace_variables(parent, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2479
- command = make_simple_command(:get, '{+parent}/variables', options)
2354
+ def list_account_container_workspace_variables(parent, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2355
+ command = make_simple_command(:get, 'tagmanager/v2/{+parent}/variables', options)
2480
2356
  command.response_representation = Google::Apis::TagmanagerV2::ListVariablesResponse::Representation
2481
2357
  command.response_class = Google::Apis::TagmanagerV2::ListVariablesResponse
2482
2358
  command.params['parent'] = parent unless parent.nil?
2483
2359
  command.query['pageToken'] = page_token unless page_token.nil?
2484
2360
  command.query['fields'] = fields unless fields.nil?
2485
2361
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2486
- command.query['userIp'] = user_ip unless user_ip.nil?
2487
2362
  execute_or_queue_command(command, &block)
2488
2363
  end
2489
2364
 
2490
2365
  # Reverts changes to a GTM Variable in a GTM Workspace.
2491
2366
  # @param [String] path
2492
- # GTM Variable's API relative path. Example: accounts/`account_id`/containers/`
2493
- # container_id`/workspaces/`workspace_id`/variables/`variable_id`
2367
+ # GTM Variable's API relative path.
2368
+ # Example:
2369
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`/
2370
+ # variables/`variable_id`
2494
2371
  # @param [String] fingerprint
2495
- # When provided, this fingerprint must match the fingerprint of the variable in
2496
- # storage.
2372
+ # When provided, this fingerprint must match the fingerprint of the variable
2373
+ # in storage.
2497
2374
  # @param [String] fields
2498
2375
  # Selector specifying which fields to include in a partial response.
2499
2376
  # @param [String] quota_user
2500
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2501
- # characters.
2502
- # @param [String] user_ip
2503
- # Deprecated. Please use quotaUser instead.
2377
+ # Available to use for quota purposes for server-side applications. Can be any
2378
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2504
2379
  # @param [Google::Apis::RequestOptions] options
2505
2380
  # Request-specific options
2506
2381
  #
@@ -2513,33 +2388,32 @@ module Google
2513
2388
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2514
2389
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2515
2390
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2516
- def revert_account_container_workspace_variable(path, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2517
- command = make_simple_command(:post, '{+path}:revert', options)
2391
+ def revert_account_container_workspace_variable(path, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block)
2392
+ command = make_simple_command(:post, 'tagmanager/v2/{+path}:revert', options)
2518
2393
  command.response_representation = Google::Apis::TagmanagerV2::RevertVariableResponse::Representation
2519
2394
  command.response_class = Google::Apis::TagmanagerV2::RevertVariableResponse
2520
2395
  command.params['path'] = path unless path.nil?
2521
2396
  command.query['fingerprint'] = fingerprint unless fingerprint.nil?
2522
2397
  command.query['fields'] = fields unless fields.nil?
2523
2398
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2524
- command.query['userIp'] = user_ip unless user_ip.nil?
2525
2399
  execute_or_queue_command(command, &block)
2526
2400
  end
2527
2401
 
2528
2402
  # Updates a GTM Variable.
2529
2403
  # @param [String] path
2530
- # GTM Variable's API relative path. Example: accounts/`account_id`/containers/`
2531
- # container_id`/workspaces/`workspace_id`/variables/`variable_id`
2404
+ # GTM Variable's API relative path.
2405
+ # Example:
2406
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`/
2407
+ # variables/`variable_id`
2532
2408
  # @param [Google::Apis::TagmanagerV2::Variable] variable_object
2533
2409
  # @param [String] fingerprint
2534
- # When provided, this fingerprint must match the fingerprint of the variable in
2535
- # storage.
2410
+ # When provided, this fingerprint must match the fingerprint of the variable
2411
+ # in storage.
2536
2412
  # @param [String] fields
2537
2413
  # Selector specifying which fields to include in a partial response.
2538
2414
  # @param [String] quota_user
2539
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2540
- # characters.
2541
- # @param [String] user_ip
2542
- # Deprecated. Please use quotaUser instead.
2415
+ # Available to use for quota purposes for server-side applications. Can be any
2416
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2543
2417
  # @param [Google::Apis::RequestOptions] options
2544
2418
  # Request-specific options
2545
2419
  #
@@ -2552,8 +2426,8 @@ module Google
2552
2426
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2553
2427
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2554
2428
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2555
- def update_account_container_workspace_variable(path, variable_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2556
- command = make_simple_command(:put, '{+path}', options)
2429
+ def update_account_container_workspace_variable(path, variable_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block)
2430
+ command = make_simple_command(:put, 'tagmanager/v2/{+path}', options)
2557
2431
  command.request_representation = Google::Apis::TagmanagerV2::Variable::Representation
2558
2432
  command.request_object = variable_object
2559
2433
  command.response_representation = Google::Apis::TagmanagerV2::Variable::Representation
@@ -2562,22 +2436,20 @@ module Google
2562
2436
  command.query['fingerprint'] = fingerprint unless fingerprint.nil?
2563
2437
  command.query['fields'] = fields unless fields.nil?
2564
2438
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2565
- command.query['userIp'] = user_ip unless user_ip.nil?
2566
2439
  execute_or_queue_command(command, &block)
2567
2440
  end
2568
2441
 
2569
2442
  # Creates a GTM Zone.
2570
2443
  # @param [String] parent
2571
- # GTM Workspace's API relative path. Example: accounts/`account_id`/containers/`
2572
- # container_id`/workspaces/`workspace_id`
2444
+ # GTM Workspace's API relative path.
2445
+ # Example:
2446
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`
2573
2447
  # @param [Google::Apis::TagmanagerV2::Zone] zone_object
2574
2448
  # @param [String] fields
2575
2449
  # Selector specifying which fields to include in a partial response.
2576
2450
  # @param [String] quota_user
2577
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2578
- # characters.
2579
- # @param [String] user_ip
2580
- # Deprecated. Please use quotaUser instead.
2451
+ # Available to use for quota purposes for server-side applications. Can be any
2452
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2581
2453
  # @param [Google::Apis::RequestOptions] options
2582
2454
  # Request-specific options
2583
2455
  #
@@ -2590,8 +2462,8 @@ module Google
2590
2462
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2591
2463
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2592
2464
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2593
- def create_account_container_workspace_zone(parent, zone_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2594
- command = make_simple_command(:post, '{+parent}/zones', options)
2465
+ def create_account_container_workspace_zone(parent, zone_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2466
+ command = make_simple_command(:post, 'tagmanager/v2/{+parent}/zones', options)
2595
2467
  command.request_representation = Google::Apis::TagmanagerV2::Zone::Representation
2596
2468
  command.request_object = zone_object
2597
2469
  command.response_representation = Google::Apis::TagmanagerV2::Zone::Representation
@@ -2599,21 +2471,20 @@ module Google
2599
2471
  command.params['parent'] = parent unless parent.nil?
2600
2472
  command.query['fields'] = fields unless fields.nil?
2601
2473
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2602
- command.query['userIp'] = user_ip unless user_ip.nil?
2603
2474
  execute_or_queue_command(command, &block)
2604
2475
  end
2605
2476
 
2606
2477
  # Deletes a GTM Zone.
2607
2478
  # @param [String] path
2608
- # GTM Zone's API relative path. Example: accounts/`account_id`/containers/`
2609
- # container_id`/workspaces/`workspace_id`/zones/`zone_id`
2479
+ # GTM Zone's API relative path.
2480
+ # Example:
2481
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`/
2482
+ # zones/`zone_id`
2610
2483
  # @param [String] fields
2611
2484
  # Selector specifying which fields to include in a partial response.
2612
2485
  # @param [String] quota_user
2613
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2614
- # characters.
2615
- # @param [String] user_ip
2616
- # Deprecated. Please use quotaUser instead.
2486
+ # Available to use for quota purposes for server-side applications. Can be any
2487
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2617
2488
  # @param [Google::Apis::RequestOptions] options
2618
2489
  # Request-specific options
2619
2490
  #
@@ -2626,26 +2497,25 @@ module Google
2626
2497
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2627
2498
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2628
2499
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2629
- def delete_account_container_workspace_zone(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2630
- command = make_simple_command(:delete, '{+path}', options)
2500
+ def delete_account_container_workspace_zone(path, fields: nil, quota_user: nil, options: nil, &block)
2501
+ command = make_simple_command(:delete, 'tagmanager/v2/{+path}', options)
2631
2502
  command.params['path'] = path unless path.nil?
2632
2503
  command.query['fields'] = fields unless fields.nil?
2633
2504
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2634
- command.query['userIp'] = user_ip unless user_ip.nil?
2635
2505
  execute_or_queue_command(command, &block)
2636
2506
  end
2637
2507
 
2638
2508
  # Gets a GTM Zone.
2639
2509
  # @param [String] path
2640
- # GTM Zone's API relative path. Example: accounts/`account_id`/containers/`
2641
- # container_id`/workspaces/`workspace_id`/zones/`zone_id`
2510
+ # GTM Zone's API relative path.
2511
+ # Example:
2512
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`/
2513
+ # zones/`zone_id`
2642
2514
  # @param [String] fields
2643
2515
  # Selector specifying which fields to include in a partial response.
2644
2516
  # @param [String] quota_user
2645
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2646
- # characters.
2647
- # @param [String] user_ip
2648
- # Deprecated. Please use quotaUser instead.
2517
+ # Available to use for quota purposes for server-side applications. Can be any
2518
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2649
2519
  # @param [Google::Apis::RequestOptions] options
2650
2520
  # Request-specific options
2651
2521
  #
@@ -2658,30 +2528,28 @@ module Google
2658
2528
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2659
2529
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2660
2530
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2661
- def get_account_container_workspace_zone(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2662
- command = make_simple_command(:get, '{+path}', options)
2531
+ def get_account_container_workspace_zone(path, fields: nil, quota_user: nil, options: nil, &block)
2532
+ command = make_simple_command(:get, 'tagmanager/v2/{+path}', options)
2663
2533
  command.response_representation = Google::Apis::TagmanagerV2::Zone::Representation
2664
2534
  command.response_class = Google::Apis::TagmanagerV2::Zone
2665
2535
  command.params['path'] = path unless path.nil?
2666
2536
  command.query['fields'] = fields unless fields.nil?
2667
2537
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2668
- command.query['userIp'] = user_ip unless user_ip.nil?
2669
2538
  execute_or_queue_command(command, &block)
2670
2539
  end
2671
2540
 
2672
2541
  # Lists all GTM Zones of a GTM container workspace.
2673
2542
  # @param [String] parent
2674
- # GTM Workspace's API relative path. Example: accounts/`account_id`/containers/`
2675
- # container_id`/workspaces/`workspace_id`
2543
+ # GTM Workspace's API relative path.
2544
+ # Example:
2545
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`
2676
2546
  # @param [String] page_token
2677
2547
  # Continuation token for fetching the next page of results.
2678
2548
  # @param [String] fields
2679
2549
  # Selector specifying which fields to include in a partial response.
2680
2550
  # @param [String] quota_user
2681
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2682
- # characters.
2683
- # @param [String] user_ip
2684
- # Deprecated. Please use quotaUser instead.
2551
+ # Available to use for quota purposes for server-side applications. Can be any
2552
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2685
2553
  # @param [Google::Apis::RequestOptions] options
2686
2554
  # Request-specific options
2687
2555
  #
@@ -2694,32 +2562,31 @@ module Google
2694
2562
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2695
2563
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2696
2564
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2697
- def list_account_container_workspace_zones(parent, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2698
- command = make_simple_command(:get, '{+parent}/zones', options)
2565
+ def list_account_container_workspace_zones(parent, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2566
+ command = make_simple_command(:get, 'tagmanager/v2/{+parent}/zones', options)
2699
2567
  command.response_representation = Google::Apis::TagmanagerV2::ListZonesResponse::Representation
2700
2568
  command.response_class = Google::Apis::TagmanagerV2::ListZonesResponse
2701
2569
  command.params['parent'] = parent unless parent.nil?
2702
2570
  command.query['pageToken'] = page_token unless page_token.nil?
2703
2571
  command.query['fields'] = fields unless fields.nil?
2704
2572
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2705
- command.query['userIp'] = user_ip unless user_ip.nil?
2706
2573
  execute_or_queue_command(command, &block)
2707
2574
  end
2708
2575
 
2709
2576
  # Reverts changes to a GTM Zone in a GTM Workspace.
2710
2577
  # @param [String] path
2711
- # GTM Zone's API relative path. Example: accounts/`account_id`/containers/`
2712
- # container_id`/workspaces/`workspace_id`/zones/`zone_id`
2578
+ # GTM Zone's API relative path.
2579
+ # Example:
2580
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`/
2581
+ # zones/`zone_id`
2713
2582
  # @param [String] fingerprint
2714
2583
  # When provided, this fingerprint must match the fingerprint of the zone in
2715
2584
  # storage.
2716
2585
  # @param [String] fields
2717
2586
  # Selector specifying which fields to include in a partial response.
2718
2587
  # @param [String] quota_user
2719
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2720
- # characters.
2721
- # @param [String] user_ip
2722
- # Deprecated. Please use quotaUser instead.
2588
+ # Available to use for quota purposes for server-side applications. Can be any
2589
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2723
2590
  # @param [Google::Apis::RequestOptions] options
2724
2591
  # Request-specific options
2725
2592
  #
@@ -2732,22 +2599,23 @@ module Google
2732
2599
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2733
2600
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2734
2601
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2735
- def revert_account_container_workspace_zone(path, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2736
- command = make_simple_command(:post, '{+path}:revert', options)
2602
+ def revert_account_container_workspace_zone(path, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block)
2603
+ command = make_simple_command(:post, 'tagmanager/v2/{+path}:revert', options)
2737
2604
  command.response_representation = Google::Apis::TagmanagerV2::RevertZoneResponse::Representation
2738
2605
  command.response_class = Google::Apis::TagmanagerV2::RevertZoneResponse
2739
2606
  command.params['path'] = path unless path.nil?
2740
2607
  command.query['fingerprint'] = fingerprint unless fingerprint.nil?
2741
2608
  command.query['fields'] = fields unless fields.nil?
2742
2609
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2743
- command.query['userIp'] = user_ip unless user_ip.nil?
2744
2610
  execute_or_queue_command(command, &block)
2745
2611
  end
2746
2612
 
2747
2613
  # Updates a GTM Zone.
2748
2614
  # @param [String] path
2749
- # GTM Zone's API relative path. Example: accounts/`account_id`/containers/`
2750
- # container_id`/workspaces/`workspace_id`/zones/`zone_id`
2615
+ # GTM Zone's API relative path.
2616
+ # Example:
2617
+ # accounts/`account_id`/containers/`container_id`/workspaces/`workspace_id`/
2618
+ # zones/`zone_id`
2751
2619
  # @param [Google::Apis::TagmanagerV2::Zone] zone_object
2752
2620
  # @param [String] fingerprint
2753
2621
  # When provided, this fingerprint must match the fingerprint of the zone in
@@ -2755,10 +2623,8 @@ module Google
2755
2623
  # @param [String] fields
2756
2624
  # Selector specifying which fields to include in a partial response.
2757
2625
  # @param [String] quota_user
2758
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2759
- # characters.
2760
- # @param [String] user_ip
2761
- # Deprecated. Please use quotaUser instead.
2626
+ # Available to use for quota purposes for server-side applications. Can be any
2627
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2762
2628
  # @param [Google::Apis::RequestOptions] options
2763
2629
  # Request-specific options
2764
2630
  #
@@ -2771,8 +2637,8 @@ module Google
2771
2637
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2772
2638
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2773
2639
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2774
- def update_account_container_workspace_zone(path, zone_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2775
- command = make_simple_command(:put, '{+path}', options)
2640
+ def update_account_container_workspace_zone(path, zone_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block)
2641
+ command = make_simple_command(:put, 'tagmanager/v2/{+path}', options)
2776
2642
  command.request_representation = Google::Apis::TagmanagerV2::Zone::Representation
2777
2643
  command.request_object = zone_object
2778
2644
  command.response_representation = Google::Apis::TagmanagerV2::Zone::Representation
@@ -2781,21 +2647,19 @@ module Google
2781
2647
  command.query['fingerprint'] = fingerprint unless fingerprint.nil?
2782
2648
  command.query['fields'] = fields unless fields.nil?
2783
2649
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2784
- command.query['userIp'] = user_ip unless user_ip.nil?
2785
2650
  execute_or_queue_command(command, &block)
2786
2651
  end
2787
2652
 
2788
2653
  # Creates a user's Account & Container access.
2789
2654
  # @param [String] parent
2790
- # GTM Account's API relative path. Example: accounts/`account_id`
2655
+ # GTM Account's API relative path.
2656
+ # Example: accounts/`account_id`
2791
2657
  # @param [Google::Apis::TagmanagerV2::UserPermission] user_permission_object
2792
2658
  # @param [String] fields
2793
2659
  # Selector specifying which fields to include in a partial response.
2794
2660
  # @param [String] quota_user
2795
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2796
- # characters.
2797
- # @param [String] user_ip
2798
- # Deprecated. Please use quotaUser instead.
2661
+ # Available to use for quota purposes for server-side applications. Can be any
2662
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2799
2663
  # @param [Google::Apis::RequestOptions] options
2800
2664
  # Request-specific options
2801
2665
  #
@@ -2808,8 +2672,8 @@ module Google
2808
2672
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2809
2673
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2810
2674
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2811
- def create_account_user_permission(parent, user_permission_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2812
- command = make_simple_command(:post, '{+parent}/user_permissions', options)
2675
+ def create_account_user_permission(parent, user_permission_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2676
+ command = make_simple_command(:post, 'tagmanager/v2/{+parent}/user_permissions', options)
2813
2677
  command.request_representation = Google::Apis::TagmanagerV2::UserPermission::Representation
2814
2678
  command.request_object = user_permission_object
2815
2679
  command.response_representation = Google::Apis::TagmanagerV2::UserPermission::Representation
@@ -2817,22 +2681,19 @@ module Google
2817
2681
  command.params['parent'] = parent unless parent.nil?
2818
2682
  command.query['fields'] = fields unless fields.nil?
2819
2683
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2820
- command.query['userIp'] = user_ip unless user_ip.nil?
2821
2684
  execute_or_queue_command(command, &block)
2822
2685
  end
2823
2686
 
2824
2687
  # Removes a user from the account, revoking access to it and all of its
2825
2688
  # containers.
2826
2689
  # @param [String] path
2827
- # GTM UserPermission's API relative path. Example: accounts/`account_id`/
2828
- # user_permissions/`user_permission_id`
2690
+ # GTM UserPermission's API relative path.
2691
+ # Example: accounts/`account_id`/user_permissions/`user_permission_id`
2829
2692
  # @param [String] fields
2830
2693
  # Selector specifying which fields to include in a partial response.
2831
2694
  # @param [String] quota_user
2832
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2833
- # characters.
2834
- # @param [String] user_ip
2835
- # Deprecated. Please use quotaUser instead.
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.
2836
2697
  # @param [Google::Apis::RequestOptions] options
2837
2698
  # Request-specific options
2838
2699
  #
@@ -2845,26 +2706,23 @@ module Google
2845
2706
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2846
2707
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2847
2708
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2848
- def delete_account_user_permission(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2849
- command = make_simple_command(:delete, '{+path}', options)
2709
+ def delete_account_user_permission(path, fields: nil, quota_user: nil, options: nil, &block)
2710
+ command = make_simple_command(:delete, 'tagmanager/v2/{+path}', options)
2850
2711
  command.params['path'] = path unless path.nil?
2851
2712
  command.query['fields'] = fields unless fields.nil?
2852
2713
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2853
- command.query['userIp'] = user_ip unless user_ip.nil?
2854
2714
  execute_or_queue_command(command, &block)
2855
2715
  end
2856
2716
 
2857
2717
  # Gets a user's Account & Container access.
2858
2718
  # @param [String] path
2859
- # GTM UserPermission's API relative path. Example: accounts/`account_id`/
2860
- # user_permissions/`user_permission_id`
2719
+ # GTM UserPermission's API relative path.
2720
+ # Example: accounts/`account_id`/user_permissions/`user_permission_id`
2861
2721
  # @param [String] fields
2862
2722
  # Selector specifying which fields to include in a partial response.
2863
2723
  # @param [String] quota_user
2864
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2865
- # characters.
2866
- # @param [String] user_ip
2867
- # Deprecated. Please use quotaUser instead.
2724
+ # Available to use for quota purposes for server-side applications. Can be any
2725
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2868
2726
  # @param [Google::Apis::RequestOptions] options
2869
2727
  # Request-specific options
2870
2728
  #
@@ -2877,30 +2735,28 @@ module Google
2877
2735
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2878
2736
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2879
2737
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2880
- def get_account_user_permission(path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2881
- command = make_simple_command(:get, '{+path}', options)
2738
+ def get_account_user_permission(path, fields: nil, quota_user: nil, options: nil, &block)
2739
+ command = make_simple_command(:get, 'tagmanager/v2/{+path}', options)
2882
2740
  command.response_representation = Google::Apis::TagmanagerV2::UserPermission::Representation
2883
2741
  command.response_class = Google::Apis::TagmanagerV2::UserPermission
2884
2742
  command.params['path'] = path unless path.nil?
2885
2743
  command.query['fields'] = fields unless fields.nil?
2886
2744
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2887
- command.query['userIp'] = user_ip unless user_ip.nil?
2888
2745
  execute_or_queue_command(command, &block)
2889
2746
  end
2890
2747
 
2891
2748
  # List all users that have access to the account along with Account and
2892
2749
  # Container user access granted to each of them.
2893
2750
  # @param [String] parent
2894
- # GTM Accounts's API relative path. Example: accounts/`account_id`
2751
+ # GTM Accounts's API relative path.
2752
+ # Example: accounts/`account_id`
2895
2753
  # @param [String] page_token
2896
2754
  # Continuation token for fetching the next page of results.
2897
2755
  # @param [String] fields
2898
2756
  # Selector specifying which fields to include in a partial response.
2899
2757
  # @param [String] quota_user
2900
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2901
- # characters.
2902
- # @param [String] user_ip
2903
- # Deprecated. Please use quotaUser instead.
2758
+ # Available to use for quota purposes for server-side applications. Can be any
2759
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2904
2760
  # @param [Google::Apis::RequestOptions] options
2905
2761
  # Request-specific options
2906
2762
  #
@@ -2913,30 +2769,27 @@ module Google
2913
2769
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2914
2770
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2915
2771
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2916
- def list_account_user_permissions(parent, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2917
- command = make_simple_command(:get, '{+parent}/user_permissions', options)
2772
+ def list_account_user_permissions(parent, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2773
+ command = make_simple_command(:get, 'tagmanager/v2/{+parent}/user_permissions', options)
2918
2774
  command.response_representation = Google::Apis::TagmanagerV2::ListUserPermissionsResponse::Representation
2919
2775
  command.response_class = Google::Apis::TagmanagerV2::ListUserPermissionsResponse
2920
2776
  command.params['parent'] = parent unless parent.nil?
2921
2777
  command.query['pageToken'] = page_token unless page_token.nil?
2922
2778
  command.query['fields'] = fields unless fields.nil?
2923
2779
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2924
- command.query['userIp'] = user_ip unless user_ip.nil?
2925
2780
  execute_or_queue_command(command, &block)
2926
2781
  end
2927
2782
 
2928
2783
  # Updates a user's Account & Container access.
2929
2784
  # @param [String] path
2930
- # GTM UserPermission's API relative path. Example: accounts/`account_id`/
2931
- # user_permissions/`user_permission_id`
2785
+ # GTM UserPermission's API relative path.
2786
+ # Example: accounts/`account_id`/user_permissions/`user_permission_id`
2932
2787
  # @param [Google::Apis::TagmanagerV2::UserPermission] user_permission_object
2933
2788
  # @param [String] fields
2934
2789
  # Selector specifying which fields to include in a partial response.
2935
2790
  # @param [String] quota_user
2936
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2937
- # characters.
2938
- # @param [String] user_ip
2939
- # Deprecated. Please use quotaUser instead.
2791
+ # Available to use for quota purposes for server-side applications. Can be any
2792
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2940
2793
  # @param [Google::Apis::RequestOptions] options
2941
2794
  # Request-specific options
2942
2795
  #
@@ -2949,8 +2802,8 @@ module Google
2949
2802
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2950
2803
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2951
2804
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2952
- def update_account_user_permission(path, user_permission_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2953
- command = make_simple_command(:put, '{+path}', options)
2805
+ def update_account_user_permission(path, user_permission_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2806
+ command = make_simple_command(:put, 'tagmanager/v2/{+path}', options)
2954
2807
  command.request_representation = Google::Apis::TagmanagerV2::UserPermission::Representation
2955
2808
  command.request_object = user_permission_object
2956
2809
  command.response_representation = Google::Apis::TagmanagerV2::UserPermission::Representation
@@ -2958,7 +2811,6 @@ module Google
2958
2811
  command.params['path'] = path unless path.nil?
2959
2812
  command.query['fields'] = fields unless fields.nil?
2960
2813
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2961
- command.query['userIp'] = user_ip unless user_ip.nil?
2962
2814
  execute_or_queue_command(command, &block)
2963
2815
  end
2964
2816
 
@@ -2967,7 +2819,6 @@ module Google
2967
2819
  def apply_command_defaults(command)
2968
2820
  command.query['key'] = key unless key.nil?
2969
2821
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2970
- command.query['userIp'] = user_ip unless user_ip.nil?
2971
2822
  end
2972
2823
  end
2973
2824
  end