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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +90 -0
- data/README.md +17 -1
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +108 -0
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +48 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +32 -6
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +16 -1
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +32 -6
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +16 -1
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +1 -1
- data/generated/google/apis/analytics_v3/service.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +8 -64
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +1 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +6 -4
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +6 -4
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +243 -5
- data/generated/google/apis/bigquery_v2/representations.rb +77 -0
- data/generated/google/apis/bigquery_v2/service.rb +206 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +18 -76
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +1 -0
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +4 -4
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +0 -72
- data/generated/google/apis/bigtableadmin_v1/representations.rb +0 -32
- data/generated/google/apis/bigtableadmin_v1/service.rb +0 -69
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +72 -0
- data/generated/google/apis/bigtableadmin_v2/representations.rb +32 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +69 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +9 -75
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +9 -75
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +8 -74
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +8 -74
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +8 -74
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +4 -8
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +4 -5
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +11 -9
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +11 -9
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +20 -84
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +20 -84
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +8 -74
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +8 -74
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -74
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +8 -0
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +8 -74
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +2 -2
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +1 -1
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +8 -74
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +8 -74
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1991 -700
- data/generated/google/apis/compute_alpha/representations.rb +604 -154
- data/generated/google/apis/compute_alpha/service.rb +693 -89
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +375 -230
- data/generated/google/apis/compute_beta/representations.rb +2 -0
- data/generated/google/apis/compute_beta/service.rb +92 -6
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1827 -239
- data/generated/google/apis/compute_v1/representations.rb +669 -2
- data/generated/google/apis/compute_v1/service.rb +1150 -6
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +104 -0
- data/generated/google/apis/container_v1/representations.rb +48 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +67 -2
- data/generated/google/apis/container_v1beta1/representations.rb +31 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +4 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +41 -0
- data/generated/google/apis/content_v2_1/representations.rb +19 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +46 -74
- data/generated/google/apis/dataflow_v1b3/representations.rb +17 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +8 -74
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +147 -64
- data/generated/google/apis/dataproc_v1/representations.rb +42 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +8 -64
- data/generated/google/apis/dataproc_v1beta2/service.rb +4 -2
- data/generated/google/apis/dialogflow_v2.rb +2 -2
- data/generated/google/apis/dialogflow_v2/classes.rb +32 -32
- data/generated/google/apis/dialogflow_v2/representations.rb +2 -0
- data/generated/google/apis/dialogflow_v2/service.rb +77 -17
- data/generated/google/apis/dialogflow_v2beta1.rb +2 -2
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +32 -32
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +2 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +79 -19
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +4 -3
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/service.rb +1 -1
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +0 -10
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +17 -74
- data/generated/google/apis/file_v1/representations.rb +1 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +17 -74
- data/generated/google/apis/file_v1beta1/representations.rb +1 -0
- data/generated/google/apis/firebase_v1beta1.rb +44 -0
- data/generated/google/apis/firebase_v1beta1/classes.rb +1063 -0
- data/generated/google/apis/firebase_v1beta1/representations.rb +432 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +1105 -0
- data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2/service.rb +43 -61
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +43 -61
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +6 -0
- data/generated/google/apis/iam_v1/representations.rb +1 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +18 -0
- data/generated/google/apis/ml_v1/representations.rb +3 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +12 -111
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +43 -0
- data/generated/google/apis/pubsub_v1/representations.rb +16 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +89 -26
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +3 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +89 -26
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +3 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +15 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +103 -30
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +3 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +29 -2
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +0 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +64 -148
- data/generated/google/apis/servicecontrol_v1/representations.rb +17 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +8 -74
- data/generated/google/apis/servicemanagement_v1/service.rb +9 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +0 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +0 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +0 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +0 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +12 -111
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +13 -74
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +13 -74
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +10 -3
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
- data/generated/google/apis/tagmanager_v1.rb +4 -3
- data/generated/google/apis/tagmanager_v1/classes.rb +237 -70
- data/generated/google/apis/tagmanager_v1/service.rb +223 -374
- data/generated/google/apis/tagmanager_v2.rb +4 -3
- data/generated/google/apis/tagmanager_v2/classes.rb +221 -208
- data/generated/google/apis/tagmanager_v2/representations.rb +1 -16
- data/generated/google/apis/tagmanager_v2/service.rb +608 -757
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +28 -27
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +28 -27
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +35 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +17 -88
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +17 -88
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +49 -0
- data/generated/google/apis/vault_v1/representations.rb +18 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +324 -332
- data/generated/google/apis/videointelligence_v1/representations.rb +102 -0
- data/generated/google/apis/videointelligence_v1/service.rb +217 -9
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +279 -297
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +102 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +324 -332
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +102 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +324 -332
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +102 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +324 -332
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +102 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
|
@@ -22,7 +22,8 @@ module Google
|
|
|
22
22
|
module TagmanagerV1
|
|
23
23
|
# Tag Manager API
|
|
24
24
|
#
|
|
25
|
-
#
|
|
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_v1'
|
|
@@ -30,7 +31,7 @@ module Google
|
|
|
30
31
|
# Tagmanager = Google::Apis::TagmanagerV1 # Alias the module
|
|
31
32
|
# service = Tagmanager::TagManagerService.new
|
|
32
33
|
#
|
|
33
|
-
# @see https://developers.google.com/tag-manager
|
|
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,17 +39,13 @@ module Google
|
|
|
38
39
|
attr_accessor :key
|
|
39
40
|
|
|
40
41
|
# @return [String]
|
|
41
|
-
#
|
|
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/', '
|
|
51
|
-
@batch_path = 'batch
|
|
47
|
+
super('https://www.googleapis.com/', '')
|
|
48
|
+
@batch_path = 'batch'
|
|
52
49
|
end
|
|
53
50
|
|
|
54
51
|
# Gets a GTM Account.
|
|
@@ -57,10 +54,8 @@ module Google
|
|
|
57
54
|
# @param [String] fields
|
|
58
55
|
# Selector specifying which fields to include in a partial response.
|
|
59
56
|
# @param [String] quota_user
|
|
60
|
-
#
|
|
61
|
-
# characters.
|
|
62
|
-
# @param [String] user_ip
|
|
63
|
-
# Deprecated. Please use quotaUser instead.
|
|
57
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
58
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
64
59
|
# @param [Google::Apis::RequestOptions] options
|
|
65
60
|
# Request-specific options
|
|
66
61
|
#
|
|
@@ -73,14 +68,13 @@ module Google
|
|
|
73
68
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
74
69
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
75
70
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
76
|
-
def get_account(account_id, fields: nil, quota_user: nil,
|
|
77
|
-
command = make_simple_command(:get, 'accounts/{accountId}', options)
|
|
71
|
+
def get_account(account_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
72
|
+
command = make_simple_command(:get, 'tagmanager/v1/accounts/{accountId}', options)
|
|
78
73
|
command.response_representation = Google::Apis::TagmanagerV1::Account::Representation
|
|
79
74
|
command.response_class = Google::Apis::TagmanagerV1::Account
|
|
80
75
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
81
76
|
command.query['fields'] = fields unless fields.nil?
|
|
82
77
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
83
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
84
78
|
execute_or_queue_command(command, &block)
|
|
85
79
|
end
|
|
86
80
|
|
|
@@ -88,10 +82,8 @@ module Google
|
|
|
88
82
|
# @param [String] fields
|
|
89
83
|
# Selector specifying which fields to include in a partial response.
|
|
90
84
|
# @param [String] quota_user
|
|
91
|
-
#
|
|
92
|
-
# characters.
|
|
93
|
-
# @param [String] user_ip
|
|
94
|
-
# Deprecated. Please use quotaUser instead.
|
|
85
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
86
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
95
87
|
# @param [Google::Apis::RequestOptions] options
|
|
96
88
|
# Request-specific options
|
|
97
89
|
#
|
|
@@ -104,13 +96,12 @@ module Google
|
|
|
104
96
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
105
97
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
106
98
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
107
|
-
def list_accounts(fields: nil, quota_user: nil,
|
|
108
|
-
command = make_simple_command(:get, 'accounts', options)
|
|
99
|
+
def list_accounts(fields: nil, quota_user: nil, options: nil, &block)
|
|
100
|
+
command = make_simple_command(:get, 'tagmanager/v1/accounts', options)
|
|
109
101
|
command.response_representation = Google::Apis::TagmanagerV1::ListAccountsResponse::Representation
|
|
110
102
|
command.response_class = Google::Apis::TagmanagerV1::ListAccountsResponse
|
|
111
103
|
command.query['fields'] = fields unless fields.nil?
|
|
112
104
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
113
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
114
105
|
execute_or_queue_command(command, &block)
|
|
115
106
|
end
|
|
116
107
|
|
|
@@ -119,15 +110,13 @@ module Google
|
|
|
119
110
|
# The GTM Account ID.
|
|
120
111
|
# @param [Google::Apis::TagmanagerV1::Account] account_object
|
|
121
112
|
# @param [String] fingerprint
|
|
122
|
-
# When provided, this fingerprint must match the fingerprint of the account
|
|
123
|
-
# storage.
|
|
113
|
+
# When provided, this fingerprint must match the fingerprint of the account
|
|
114
|
+
# in storage.
|
|
124
115
|
# @param [String] fields
|
|
125
116
|
# Selector specifying which fields to include in a partial response.
|
|
126
117
|
# @param [String] quota_user
|
|
127
|
-
#
|
|
128
|
-
# characters.
|
|
129
|
-
# @param [String] user_ip
|
|
130
|
-
# Deprecated. Please use quotaUser instead.
|
|
118
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
119
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
131
120
|
# @param [Google::Apis::RequestOptions] options
|
|
132
121
|
# Request-specific options
|
|
133
122
|
#
|
|
@@ -140,8 +129,8 @@ module Google
|
|
|
140
129
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
141
130
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
142
131
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
143
|
-
def update_account(account_id, account_object = nil, fingerprint: nil, fields: nil, quota_user: nil,
|
|
144
|
-
command = make_simple_command(:put, 'accounts/{accountId}', options)
|
|
132
|
+
def update_account(account_id, account_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
133
|
+
command = make_simple_command(:put, 'tagmanager/v1/accounts/{accountId}', options)
|
|
145
134
|
command.request_representation = Google::Apis::TagmanagerV1::Account::Representation
|
|
146
135
|
command.request_object = account_object
|
|
147
136
|
command.response_representation = Google::Apis::TagmanagerV1::Account::Representation
|
|
@@ -150,7 +139,6 @@ module Google
|
|
|
150
139
|
command.query['fingerprint'] = fingerprint unless fingerprint.nil?
|
|
151
140
|
command.query['fields'] = fields unless fields.nil?
|
|
152
141
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
153
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
154
142
|
execute_or_queue_command(command, &block)
|
|
155
143
|
end
|
|
156
144
|
|
|
@@ -161,10 +149,8 @@ module Google
|
|
|
161
149
|
# @param [String] fields
|
|
162
150
|
# Selector specifying which fields to include in a partial response.
|
|
163
151
|
# @param [String] quota_user
|
|
164
|
-
#
|
|
165
|
-
# characters.
|
|
166
|
-
# @param [String] user_ip
|
|
167
|
-
# Deprecated. Please use quotaUser instead.
|
|
152
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
153
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
168
154
|
# @param [Google::Apis::RequestOptions] options
|
|
169
155
|
# Request-specific options
|
|
170
156
|
#
|
|
@@ -177,8 +163,8 @@ module Google
|
|
|
177
163
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
178
164
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
179
165
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
180
|
-
def create_container(account_id, container_object = nil, fields: nil, quota_user: nil,
|
|
181
|
-
command = make_simple_command(:post, 'accounts/{accountId}/containers', options)
|
|
166
|
+
def create_container(account_id, container_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
167
|
+
command = make_simple_command(:post, 'tagmanager/v1/accounts/{accountId}/containers', options)
|
|
182
168
|
command.request_representation = Google::Apis::TagmanagerV1::Container::Representation
|
|
183
169
|
command.request_object = container_object
|
|
184
170
|
command.response_representation = Google::Apis::TagmanagerV1::Container::Representation
|
|
@@ -186,7 +172,6 @@ module Google
|
|
|
186
172
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
187
173
|
command.query['fields'] = fields unless fields.nil?
|
|
188
174
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
189
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
190
175
|
execute_or_queue_command(command, &block)
|
|
191
176
|
end
|
|
192
177
|
|
|
@@ -198,10 +183,8 @@ module Google
|
|
|
198
183
|
# @param [String] fields
|
|
199
184
|
# Selector specifying which fields to include in a partial response.
|
|
200
185
|
# @param [String] quota_user
|
|
201
|
-
#
|
|
202
|
-
# characters.
|
|
203
|
-
# @param [String] user_ip
|
|
204
|
-
# Deprecated. Please use quotaUser instead.
|
|
186
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
187
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
205
188
|
# @param [Google::Apis::RequestOptions] options
|
|
206
189
|
# Request-specific options
|
|
207
190
|
#
|
|
@@ -214,13 +197,12 @@ module Google
|
|
|
214
197
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
215
198
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
216
199
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
217
|
-
def delete_container(account_id, container_id, fields: nil, quota_user: nil,
|
|
218
|
-
command = make_simple_command(:delete, 'accounts/{accountId}/containers/{containerId}', options)
|
|
200
|
+
def delete_container(account_id, container_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
201
|
+
command = make_simple_command(:delete, 'tagmanager/v1/accounts/{accountId}/containers/{containerId}', options)
|
|
219
202
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
220
203
|
command.params['containerId'] = container_id unless container_id.nil?
|
|
221
204
|
command.query['fields'] = fields unless fields.nil?
|
|
222
205
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
223
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
224
206
|
execute_or_queue_command(command, &block)
|
|
225
207
|
end
|
|
226
208
|
|
|
@@ -232,10 +214,8 @@ module Google
|
|
|
232
214
|
# @param [String] fields
|
|
233
215
|
# Selector specifying which fields to include in a partial response.
|
|
234
216
|
# @param [String] quota_user
|
|
235
|
-
#
|
|
236
|
-
# characters.
|
|
237
|
-
# @param [String] user_ip
|
|
238
|
-
# Deprecated. Please use quotaUser instead.
|
|
217
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
218
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
239
219
|
# @param [Google::Apis::RequestOptions] options
|
|
240
220
|
# Request-specific options
|
|
241
221
|
#
|
|
@@ -248,15 +228,14 @@ module Google
|
|
|
248
228
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
249
229
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
250
230
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
251
|
-
def get_container(account_id, container_id, fields: nil, quota_user: nil,
|
|
252
|
-
command = make_simple_command(:get, 'accounts/{accountId}/containers/{containerId}', options)
|
|
231
|
+
def get_container(account_id, container_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
232
|
+
command = make_simple_command(:get, 'tagmanager/v1/accounts/{accountId}/containers/{containerId}', options)
|
|
253
233
|
command.response_representation = Google::Apis::TagmanagerV1::Container::Representation
|
|
254
234
|
command.response_class = Google::Apis::TagmanagerV1::Container
|
|
255
235
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
256
236
|
command.params['containerId'] = container_id unless container_id.nil?
|
|
257
237
|
command.query['fields'] = fields unless fields.nil?
|
|
258
238
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
259
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
260
239
|
execute_or_queue_command(command, &block)
|
|
261
240
|
end
|
|
262
241
|
|
|
@@ -266,10 +245,8 @@ module Google
|
|
|
266
245
|
# @param [String] fields
|
|
267
246
|
# Selector specifying which fields to include in a partial response.
|
|
268
247
|
# @param [String] quota_user
|
|
269
|
-
#
|
|
270
|
-
# characters.
|
|
271
|
-
# @param [String] user_ip
|
|
272
|
-
# Deprecated. Please use quotaUser instead.
|
|
248
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
249
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
273
250
|
# @param [Google::Apis::RequestOptions] options
|
|
274
251
|
# Request-specific options
|
|
275
252
|
#
|
|
@@ -282,14 +259,13 @@ module Google
|
|
|
282
259
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
283
260
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
284
261
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
285
|
-
def list_containers(account_id, fields: nil, quota_user: nil,
|
|
286
|
-
command = make_simple_command(:get, 'accounts/{accountId}/containers', options)
|
|
262
|
+
def list_containers(account_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
263
|
+
command = make_simple_command(:get, 'tagmanager/v1/accounts/{accountId}/containers', options)
|
|
287
264
|
command.response_representation = Google::Apis::TagmanagerV1::ListContainersResponse::Representation
|
|
288
265
|
command.response_class = Google::Apis::TagmanagerV1::ListContainersResponse
|
|
289
266
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
290
267
|
command.query['fields'] = fields unless fields.nil?
|
|
291
268
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
292
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
293
269
|
execute_or_queue_command(command, &block)
|
|
294
270
|
end
|
|
295
271
|
|
|
@@ -300,15 +276,13 @@ module Google
|
|
|
300
276
|
# The GTM Container ID.
|
|
301
277
|
# @param [Google::Apis::TagmanagerV1::Container] container_object
|
|
302
278
|
# @param [String] fingerprint
|
|
303
|
-
# When provided, this fingerprint must match the fingerprint of the
|
|
304
|
-
# storage.
|
|
279
|
+
# When provided, this fingerprint must match the fingerprint of the
|
|
280
|
+
# container in storage.
|
|
305
281
|
# @param [String] fields
|
|
306
282
|
# Selector specifying which fields to include in a partial response.
|
|
307
283
|
# @param [String] quota_user
|
|
308
|
-
#
|
|
309
|
-
# characters.
|
|
310
|
-
# @param [String] user_ip
|
|
311
|
-
# Deprecated. Please use quotaUser instead.
|
|
284
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
285
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
312
286
|
# @param [Google::Apis::RequestOptions] options
|
|
313
287
|
# Request-specific options
|
|
314
288
|
#
|
|
@@ -321,8 +295,8 @@ module Google
|
|
|
321
295
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
322
296
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
323
297
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
324
|
-
def update_container(account_id, container_id, container_object = nil, fingerprint: nil, fields: nil, quota_user: nil,
|
|
325
|
-
command = make_simple_command(:put, 'accounts/{accountId}/containers/{containerId}', options)
|
|
298
|
+
def update_container(account_id, container_id, container_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
299
|
+
command = make_simple_command(:put, 'tagmanager/v1/accounts/{accountId}/containers/{containerId}', options)
|
|
326
300
|
command.request_representation = Google::Apis::TagmanagerV1::Container::Representation
|
|
327
301
|
command.request_object = container_object
|
|
328
302
|
command.response_representation = Google::Apis::TagmanagerV1::Container::Representation
|
|
@@ -332,7 +306,6 @@ module Google
|
|
|
332
306
|
command.query['fingerprint'] = fingerprint unless fingerprint.nil?
|
|
333
307
|
command.query['fields'] = fields unless fields.nil?
|
|
334
308
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
335
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
336
309
|
execute_or_queue_command(command, &block)
|
|
337
310
|
end
|
|
338
311
|
|
|
@@ -345,10 +318,8 @@ module Google
|
|
|
345
318
|
# @param [String] fields
|
|
346
319
|
# Selector specifying which fields to include in a partial response.
|
|
347
320
|
# @param [String] quota_user
|
|
348
|
-
#
|
|
349
|
-
# characters.
|
|
350
|
-
# @param [String] user_ip
|
|
351
|
-
# Deprecated. Please use quotaUser instead.
|
|
321
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
322
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
352
323
|
# @param [Google::Apis::RequestOptions] options
|
|
353
324
|
# Request-specific options
|
|
354
325
|
#
|
|
@@ -361,8 +332,8 @@ module Google
|
|
|
361
332
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
362
333
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
363
334
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
364
|
-
def create_account_container_environment(account_id, container_id, environment_object = nil, fields: nil, quota_user: nil,
|
|
365
|
-
command = make_simple_command(:post, 'accounts/{accountId}/containers/{containerId}/environments', options)
|
|
335
|
+
def create_account_container_environment(account_id, container_id, environment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
336
|
+
command = make_simple_command(:post, 'tagmanager/v1/accounts/{accountId}/containers/{containerId}/environments', options)
|
|
366
337
|
command.request_representation = Google::Apis::TagmanagerV1::Environment::Representation
|
|
367
338
|
command.request_object = environment_object
|
|
368
339
|
command.response_representation = Google::Apis::TagmanagerV1::Environment::Representation
|
|
@@ -371,7 +342,6 @@ module Google
|
|
|
371
342
|
command.params['containerId'] = container_id unless container_id.nil?
|
|
372
343
|
command.query['fields'] = fields unless fields.nil?
|
|
373
344
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
374
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
375
345
|
execute_or_queue_command(command, &block)
|
|
376
346
|
end
|
|
377
347
|
|
|
@@ -385,10 +355,8 @@ module Google
|
|
|
385
355
|
# @param [String] fields
|
|
386
356
|
# Selector specifying which fields to include in a partial response.
|
|
387
357
|
# @param [String] quota_user
|
|
388
|
-
#
|
|
389
|
-
# characters.
|
|
390
|
-
# @param [String] user_ip
|
|
391
|
-
# 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.
|
|
392
360
|
# @param [Google::Apis::RequestOptions] options
|
|
393
361
|
# Request-specific options
|
|
394
362
|
#
|
|
@@ -401,14 +369,13 @@ module Google
|
|
|
401
369
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
402
370
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
403
371
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
404
|
-
def delete_account_container_environment(account_id, container_id, environment_id, fields: nil, quota_user: nil,
|
|
405
|
-
command = make_simple_command(:delete, 'accounts/{accountId}/containers/{containerId}/environments/{environmentId}', options)
|
|
372
|
+
def delete_account_container_environment(account_id, container_id, environment_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
373
|
+
command = make_simple_command(:delete, 'tagmanager/v1/accounts/{accountId}/containers/{containerId}/environments/{environmentId}', options)
|
|
406
374
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
407
375
|
command.params['containerId'] = container_id unless container_id.nil?
|
|
408
376
|
command.params['environmentId'] = environment_id unless environment_id.nil?
|
|
409
377
|
command.query['fields'] = fields unless fields.nil?
|
|
410
378
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
411
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
412
379
|
execute_or_queue_command(command, &block)
|
|
413
380
|
end
|
|
414
381
|
|
|
@@ -422,10 +389,8 @@ module Google
|
|
|
422
389
|
# @param [String] fields
|
|
423
390
|
# Selector specifying which fields to include in a partial response.
|
|
424
391
|
# @param [String] quota_user
|
|
425
|
-
#
|
|
426
|
-
# characters.
|
|
427
|
-
# @param [String] user_ip
|
|
428
|
-
# Deprecated. Please use quotaUser instead.
|
|
392
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
393
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
429
394
|
# @param [Google::Apis::RequestOptions] options
|
|
430
395
|
# Request-specific options
|
|
431
396
|
#
|
|
@@ -438,8 +403,8 @@ module Google
|
|
|
438
403
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
439
404
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
440
405
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
441
|
-
def get_account_container_environment(account_id, container_id, environment_id, fields: nil, quota_user: nil,
|
|
442
|
-
command = make_simple_command(:get, 'accounts/{accountId}/containers/{containerId}/environments/{environmentId}', options)
|
|
406
|
+
def get_account_container_environment(account_id, container_id, environment_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
407
|
+
command = make_simple_command(:get, 'tagmanager/v1/accounts/{accountId}/containers/{containerId}/environments/{environmentId}', options)
|
|
443
408
|
command.response_representation = Google::Apis::TagmanagerV1::Environment::Representation
|
|
444
409
|
command.response_class = Google::Apis::TagmanagerV1::Environment
|
|
445
410
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
@@ -447,7 +412,6 @@ module Google
|
|
|
447
412
|
command.params['environmentId'] = environment_id unless environment_id.nil?
|
|
448
413
|
command.query['fields'] = fields unless fields.nil?
|
|
449
414
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
450
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
451
415
|
execute_or_queue_command(command, &block)
|
|
452
416
|
end
|
|
453
417
|
|
|
@@ -459,10 +423,8 @@ module Google
|
|
|
459
423
|
# @param [String] fields
|
|
460
424
|
# Selector specifying which fields to include in a partial response.
|
|
461
425
|
# @param [String] quota_user
|
|
462
|
-
#
|
|
463
|
-
# characters.
|
|
464
|
-
# @param [String] user_ip
|
|
465
|
-
# Deprecated. Please use quotaUser instead.
|
|
426
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
427
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
466
428
|
# @param [Google::Apis::RequestOptions] options
|
|
467
429
|
# Request-specific options
|
|
468
430
|
#
|
|
@@ -475,15 +437,14 @@ module Google
|
|
|
475
437
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
476
438
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
477
439
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
478
|
-
def list_account_container_environments(account_id, container_id, fields: nil, quota_user: nil,
|
|
479
|
-
command = make_simple_command(:get, 'accounts/{accountId}/containers/{containerId}/environments', options)
|
|
440
|
+
def list_account_container_environments(account_id, container_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
441
|
+
command = make_simple_command(:get, 'tagmanager/v1/accounts/{accountId}/containers/{containerId}/environments', options)
|
|
480
442
|
command.response_representation = Google::Apis::TagmanagerV1::ListEnvironmentsResponse::Representation
|
|
481
443
|
command.response_class = Google::Apis::TagmanagerV1::ListEnvironmentsResponse
|
|
482
444
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
483
445
|
command.params['containerId'] = container_id unless container_id.nil?
|
|
484
446
|
command.query['fields'] = fields unless fields.nil?
|
|
485
447
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
486
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
487
448
|
execute_or_queue_command(command, &block)
|
|
488
449
|
end
|
|
489
450
|
|
|
@@ -496,15 +457,13 @@ module Google
|
|
|
496
457
|
# The GTM Environment ID.
|
|
497
458
|
# @param [Google::Apis::TagmanagerV1::Environment] environment_object
|
|
498
459
|
# @param [String] fingerprint
|
|
499
|
-
# When provided, this fingerprint must match the fingerprint of the
|
|
500
|
-
# in storage.
|
|
460
|
+
# When provided, this fingerprint must match the fingerprint of the
|
|
461
|
+
# environment in storage.
|
|
501
462
|
# @param [String] fields
|
|
502
463
|
# Selector specifying which fields to include in a partial response.
|
|
503
464
|
# @param [String] quota_user
|
|
504
|
-
#
|
|
505
|
-
# characters.
|
|
506
|
-
# @param [String] user_ip
|
|
507
|
-
# Deprecated. Please use quotaUser instead.
|
|
465
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
466
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
508
467
|
# @param [Google::Apis::RequestOptions] options
|
|
509
468
|
# Request-specific options
|
|
510
469
|
#
|
|
@@ -517,8 +476,8 @@ module Google
|
|
|
517
476
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
518
477
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
519
478
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
520
|
-
def update_account_container_environment(account_id, container_id, environment_id, environment_object = nil, fingerprint: nil, fields: nil, quota_user: nil,
|
|
521
|
-
command = make_simple_command(:put, 'accounts/{accountId}/containers/{containerId}/environments/{environmentId}', options)
|
|
479
|
+
def update_account_container_environment(account_id, container_id, environment_id, environment_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
480
|
+
command = make_simple_command(:put, 'tagmanager/v1/accounts/{accountId}/containers/{containerId}/environments/{environmentId}', options)
|
|
522
481
|
command.request_representation = Google::Apis::TagmanagerV1::Environment::Representation
|
|
523
482
|
command.request_object = environment_object
|
|
524
483
|
command.response_representation = Google::Apis::TagmanagerV1::Environment::Representation
|
|
@@ -529,7 +488,6 @@ module Google
|
|
|
529
488
|
command.query['fingerprint'] = fingerprint unless fingerprint.nil?
|
|
530
489
|
command.query['fields'] = fields unless fields.nil?
|
|
531
490
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
532
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
533
491
|
execute_or_queue_command(command, &block)
|
|
534
492
|
end
|
|
535
493
|
|
|
@@ -542,10 +500,8 @@ module Google
|
|
|
542
500
|
# @param [String] fields
|
|
543
501
|
# Selector specifying which fields to include in a partial response.
|
|
544
502
|
# @param [String] quota_user
|
|
545
|
-
#
|
|
546
|
-
# characters.
|
|
547
|
-
# @param [String] user_ip
|
|
548
|
-
# Deprecated. Please use quotaUser instead.
|
|
503
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
504
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
549
505
|
# @param [Google::Apis::RequestOptions] options
|
|
550
506
|
# Request-specific options
|
|
551
507
|
#
|
|
@@ -558,8 +514,8 @@ module Google
|
|
|
558
514
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
559
515
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
560
516
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
561
|
-
def create_account_container_folder(account_id, container_id, folder_object = nil, fields: nil, quota_user: nil,
|
|
562
|
-
command = make_simple_command(:post, 'accounts/{accountId}/containers/{containerId}/folders', options)
|
|
517
|
+
def create_account_container_folder(account_id, container_id, folder_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
518
|
+
command = make_simple_command(:post, 'tagmanager/v1/accounts/{accountId}/containers/{containerId}/folders', options)
|
|
563
519
|
command.request_representation = Google::Apis::TagmanagerV1::Folder::Representation
|
|
564
520
|
command.request_object = folder_object
|
|
565
521
|
command.response_representation = Google::Apis::TagmanagerV1::Folder::Representation
|
|
@@ -568,7 +524,6 @@ module Google
|
|
|
568
524
|
command.params['containerId'] = container_id unless container_id.nil?
|
|
569
525
|
command.query['fields'] = fields unless fields.nil?
|
|
570
526
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
571
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
572
527
|
execute_or_queue_command(command, &block)
|
|
573
528
|
end
|
|
574
529
|
|
|
@@ -582,10 +537,8 @@ module Google
|
|
|
582
537
|
# @param [String] fields
|
|
583
538
|
# Selector specifying which fields to include in a partial response.
|
|
584
539
|
# @param [String] quota_user
|
|
585
|
-
#
|
|
586
|
-
# characters.
|
|
587
|
-
# @param [String] user_ip
|
|
588
|
-
# Deprecated. Please use quotaUser instead.
|
|
540
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
541
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
589
542
|
# @param [Google::Apis::RequestOptions] options
|
|
590
543
|
# Request-specific options
|
|
591
544
|
#
|
|
@@ -598,14 +551,13 @@ module Google
|
|
|
598
551
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
599
552
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
600
553
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
601
|
-
def delete_account_container_folder(account_id, container_id, folder_id, fields: nil, quota_user: nil,
|
|
602
|
-
command = make_simple_command(:delete, 'accounts/{accountId}/containers/{containerId}/folders/{folderId}', options)
|
|
554
|
+
def delete_account_container_folder(account_id, container_id, folder_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
555
|
+
command = make_simple_command(:delete, 'tagmanager/v1/accounts/{accountId}/containers/{containerId}/folders/{folderId}', options)
|
|
603
556
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
604
557
|
command.params['containerId'] = container_id unless container_id.nil?
|
|
605
558
|
command.params['folderId'] = folder_id unless folder_id.nil?
|
|
606
559
|
command.query['fields'] = fields unless fields.nil?
|
|
607
560
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
608
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
609
561
|
execute_or_queue_command(command, &block)
|
|
610
562
|
end
|
|
611
563
|
|
|
@@ -619,10 +571,8 @@ module Google
|
|
|
619
571
|
# @param [String] fields
|
|
620
572
|
# Selector specifying which fields to include in a partial response.
|
|
621
573
|
# @param [String] quota_user
|
|
622
|
-
#
|
|
623
|
-
# characters.
|
|
624
|
-
# @param [String] user_ip
|
|
625
|
-
# Deprecated. Please use quotaUser instead.
|
|
574
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
575
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
626
576
|
# @param [Google::Apis::RequestOptions] options
|
|
627
577
|
# Request-specific options
|
|
628
578
|
#
|
|
@@ -635,8 +585,8 @@ module Google
|
|
|
635
585
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
636
586
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
637
587
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
638
|
-
def get_account_container_folder(account_id, container_id, folder_id, fields: nil, quota_user: nil,
|
|
639
|
-
command = make_simple_command(:get, 'accounts/{accountId}/containers/{containerId}/folders/{folderId}', options)
|
|
588
|
+
def get_account_container_folder(account_id, container_id, folder_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
589
|
+
command = make_simple_command(:get, 'tagmanager/v1/accounts/{accountId}/containers/{containerId}/folders/{folderId}', options)
|
|
640
590
|
command.response_representation = Google::Apis::TagmanagerV1::Folder::Representation
|
|
641
591
|
command.response_class = Google::Apis::TagmanagerV1::Folder
|
|
642
592
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
@@ -644,7 +594,6 @@ module Google
|
|
|
644
594
|
command.params['folderId'] = folder_id unless folder_id.nil?
|
|
645
595
|
command.query['fields'] = fields unless fields.nil?
|
|
646
596
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
647
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
648
597
|
execute_or_queue_command(command, &block)
|
|
649
598
|
end
|
|
650
599
|
|
|
@@ -656,10 +605,8 @@ module Google
|
|
|
656
605
|
# @param [String] fields
|
|
657
606
|
# Selector specifying which fields to include in a partial response.
|
|
658
607
|
# @param [String] quota_user
|
|
659
|
-
#
|
|
660
|
-
# characters.
|
|
661
|
-
# @param [String] user_ip
|
|
662
|
-
# Deprecated. Please use quotaUser instead.
|
|
608
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
609
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
663
610
|
# @param [Google::Apis::RequestOptions] options
|
|
664
611
|
# Request-specific options
|
|
665
612
|
#
|
|
@@ -672,15 +619,14 @@ module Google
|
|
|
672
619
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
673
620
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
674
621
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
675
|
-
def list_account_container_folders(account_id, container_id, fields: nil, quota_user: nil,
|
|
676
|
-
command = make_simple_command(:get, 'accounts/{accountId}/containers/{containerId}/folders', options)
|
|
622
|
+
def list_account_container_folders(account_id, container_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
623
|
+
command = make_simple_command(:get, 'tagmanager/v1/accounts/{accountId}/containers/{containerId}/folders', options)
|
|
677
624
|
command.response_representation = Google::Apis::TagmanagerV1::ListFoldersResponse::Representation
|
|
678
625
|
command.response_class = Google::Apis::TagmanagerV1::ListFoldersResponse
|
|
679
626
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
680
627
|
command.params['containerId'] = container_id unless container_id.nil?
|
|
681
628
|
command.query['fields'] = fields unless fields.nil?
|
|
682
629
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
683
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
684
630
|
execute_or_queue_command(command, &block)
|
|
685
631
|
end
|
|
686
632
|
|
|
@@ -698,10 +644,8 @@ module Google
|
|
|
698
644
|
# @param [String] fields
|
|
699
645
|
# Selector specifying which fields to include in a partial response.
|
|
700
646
|
# @param [String] quota_user
|
|
701
|
-
#
|
|
702
|
-
# characters.
|
|
703
|
-
# @param [String] user_ip
|
|
704
|
-
# Deprecated. Please use quotaUser instead.
|
|
647
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
648
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
705
649
|
# @param [Google::Apis::RequestOptions] options
|
|
706
650
|
# Request-specific options
|
|
707
651
|
#
|
|
@@ -714,8 +658,8 @@ module Google
|
|
|
714
658
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
715
659
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
716
660
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
717
|
-
def update_account_container_folder(account_id, container_id, folder_id, folder_object = nil, fingerprint: nil, fields: nil, quota_user: nil,
|
|
718
|
-
command = make_simple_command(:put, 'accounts/{accountId}/containers/{containerId}/folders/{folderId}', options)
|
|
661
|
+
def update_account_container_folder(account_id, container_id, folder_id, folder_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
662
|
+
command = make_simple_command(:put, 'tagmanager/v1/accounts/{accountId}/containers/{containerId}/folders/{folderId}', options)
|
|
719
663
|
command.request_representation = Google::Apis::TagmanagerV1::Folder::Representation
|
|
720
664
|
command.request_object = folder_object
|
|
721
665
|
command.response_representation = Google::Apis::TagmanagerV1::Folder::Representation
|
|
@@ -726,7 +670,6 @@ module Google
|
|
|
726
670
|
command.query['fingerprint'] = fingerprint unless fingerprint.nil?
|
|
727
671
|
command.query['fields'] = fields unless fields.nil?
|
|
728
672
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
729
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
730
673
|
execute_or_queue_command(command, &block)
|
|
731
674
|
end
|
|
732
675
|
|
|
@@ -740,10 +683,8 @@ module Google
|
|
|
740
683
|
# @param [String] fields
|
|
741
684
|
# Selector specifying which fields to include in a partial response.
|
|
742
685
|
# @param [String] quota_user
|
|
743
|
-
#
|
|
744
|
-
# characters.
|
|
745
|
-
# @param [String] user_ip
|
|
746
|
-
# Deprecated. Please use quotaUser instead.
|
|
686
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
687
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
747
688
|
# @param [Google::Apis::RequestOptions] options
|
|
748
689
|
# Request-specific options
|
|
749
690
|
#
|
|
@@ -756,8 +697,8 @@ module Google
|
|
|
756
697
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
757
698
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
758
699
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
759
|
-
def list_account_container_folder_entities(account_id, container_id, folder_id, fields: nil, quota_user: nil,
|
|
760
|
-
command = make_simple_command(:get, 'accounts/{accountId}/containers/{containerId}/folders/{folderId}/entities', options)
|
|
700
|
+
def list_account_container_folder_entities(account_id, container_id, folder_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
701
|
+
command = make_simple_command(:get, 'tagmanager/v1/accounts/{accountId}/containers/{containerId}/folders/{folderId}/entities', options)
|
|
761
702
|
command.response_representation = Google::Apis::TagmanagerV1::FolderEntities::Representation
|
|
762
703
|
command.response_class = Google::Apis::TagmanagerV1::FolderEntities
|
|
763
704
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
@@ -765,7 +706,6 @@ module Google
|
|
|
765
706
|
command.params['folderId'] = folder_id unless folder_id.nil?
|
|
766
707
|
command.query['fields'] = fields unless fields.nil?
|
|
767
708
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
768
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
769
709
|
execute_or_queue_command(command, &block)
|
|
770
710
|
end
|
|
771
711
|
|
|
@@ -786,10 +726,8 @@ module Google
|
|
|
786
726
|
# @param [String] fields
|
|
787
727
|
# Selector specifying which fields to include in a partial response.
|
|
788
728
|
# @param [String] quota_user
|
|
789
|
-
#
|
|
790
|
-
# characters.
|
|
791
|
-
# @param [String] user_ip
|
|
792
|
-
# Deprecated. Please use quotaUser instead.
|
|
729
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
730
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
793
731
|
# @param [Google::Apis::RequestOptions] options
|
|
794
732
|
# Request-specific options
|
|
795
733
|
#
|
|
@@ -802,8 +740,8 @@ module Google
|
|
|
802
740
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
803
741
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
804
742
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
805
|
-
def update_account_container_move_folder(account_id, container_id, folder_id, folder_object = nil, tag_id: nil, trigger_id: nil, variable_id: nil, fields: nil, quota_user: nil,
|
|
806
|
-
command = make_simple_command(:put, 'accounts/{accountId}/containers/{containerId}/move_folders/{folderId}', options)
|
|
743
|
+
def update_account_container_move_folder(account_id, container_id, folder_id, folder_object = nil, tag_id: nil, trigger_id: nil, variable_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
744
|
+
command = make_simple_command(:put, 'tagmanager/v1/accounts/{accountId}/containers/{containerId}/move_folders/{folderId}', options)
|
|
807
745
|
command.request_representation = Google::Apis::TagmanagerV1::Folder::Representation
|
|
808
746
|
command.request_object = folder_object
|
|
809
747
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
@@ -814,7 +752,6 @@ module Google
|
|
|
814
752
|
command.query['variableId'] = variable_id unless variable_id.nil?
|
|
815
753
|
command.query['fields'] = fields unless fields.nil?
|
|
816
754
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
817
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
818
755
|
execute_or_queue_command(command, &block)
|
|
819
756
|
end
|
|
820
757
|
|
|
@@ -829,10 +766,8 @@ module Google
|
|
|
829
766
|
# @param [String] fields
|
|
830
767
|
# Selector specifying which fields to include in a partial response.
|
|
831
768
|
# @param [String] quota_user
|
|
832
|
-
#
|
|
833
|
-
# characters.
|
|
834
|
-
# @param [String] user_ip
|
|
835
|
-
# Deprecated. Please use quotaUser instead.
|
|
769
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
770
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
836
771
|
# @param [Google::Apis::RequestOptions] options
|
|
837
772
|
# Request-specific options
|
|
838
773
|
#
|
|
@@ -845,8 +780,8 @@ module Google
|
|
|
845
780
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
846
781
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
847
782
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
848
|
-
def update_account_container_reauthorize_environment(account_id, container_id, environment_id, environment_object = nil, fields: nil, quota_user: nil,
|
|
849
|
-
command = make_simple_command(:put, 'accounts/{accountId}/containers/{containerId}/reauthorize_environments/{environmentId}', options)
|
|
783
|
+
def update_account_container_reauthorize_environment(account_id, container_id, environment_id, environment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
784
|
+
command = make_simple_command(:put, 'tagmanager/v1/accounts/{accountId}/containers/{containerId}/reauthorize_environments/{environmentId}', options)
|
|
850
785
|
command.request_representation = Google::Apis::TagmanagerV1::Environment::Representation
|
|
851
786
|
command.request_object = environment_object
|
|
852
787
|
command.response_representation = Google::Apis::TagmanagerV1::Environment::Representation
|
|
@@ -856,7 +791,6 @@ module Google
|
|
|
856
791
|
command.params['environmentId'] = environment_id unless environment_id.nil?
|
|
857
792
|
command.query['fields'] = fields unless fields.nil?
|
|
858
793
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
859
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
860
794
|
execute_or_queue_command(command, &block)
|
|
861
795
|
end
|
|
862
796
|
|
|
@@ -869,10 +803,8 @@ module Google
|
|
|
869
803
|
# @param [String] fields
|
|
870
804
|
# Selector specifying which fields to include in a partial response.
|
|
871
805
|
# @param [String] quota_user
|
|
872
|
-
#
|
|
873
|
-
# characters.
|
|
874
|
-
# @param [String] user_ip
|
|
875
|
-
# Deprecated. Please use quotaUser instead.
|
|
806
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
807
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
876
808
|
# @param [Google::Apis::RequestOptions] options
|
|
877
809
|
# Request-specific options
|
|
878
810
|
#
|
|
@@ -885,8 +817,8 @@ module Google
|
|
|
885
817
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
886
818
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
887
819
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
888
|
-
def create_tag(account_id, container_id, tag_object = nil, fields: nil, quota_user: nil,
|
|
889
|
-
command = make_simple_command(:post, 'accounts/{accountId}/containers/{containerId}/tags', options)
|
|
820
|
+
def create_tag(account_id, container_id, tag_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
821
|
+
command = make_simple_command(:post, 'tagmanager/v1/accounts/{accountId}/containers/{containerId}/tags', options)
|
|
890
822
|
command.request_representation = Google::Apis::TagmanagerV1::Tag::Representation
|
|
891
823
|
command.request_object = tag_object
|
|
892
824
|
command.response_representation = Google::Apis::TagmanagerV1::Tag::Representation
|
|
@@ -895,7 +827,6 @@ module Google
|
|
|
895
827
|
command.params['containerId'] = container_id unless container_id.nil?
|
|
896
828
|
command.query['fields'] = fields unless fields.nil?
|
|
897
829
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
898
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
899
830
|
execute_or_queue_command(command, &block)
|
|
900
831
|
end
|
|
901
832
|
|
|
@@ -909,10 +840,8 @@ module Google
|
|
|
909
840
|
# @param [String] fields
|
|
910
841
|
# Selector specifying which fields to include in a partial response.
|
|
911
842
|
# @param [String] quota_user
|
|
912
|
-
#
|
|
913
|
-
# characters.
|
|
914
|
-
# @param [String] user_ip
|
|
915
|
-
# Deprecated. Please use quotaUser instead.
|
|
843
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
844
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
916
845
|
# @param [Google::Apis::RequestOptions] options
|
|
917
846
|
# Request-specific options
|
|
918
847
|
#
|
|
@@ -925,14 +854,13 @@ module Google
|
|
|
925
854
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
926
855
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
927
856
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
928
|
-
def delete_tag(account_id, container_id, tag_id, fields: nil, quota_user: nil,
|
|
929
|
-
command = make_simple_command(:delete, 'accounts/{accountId}/containers/{containerId}/tags/{tagId}', options)
|
|
857
|
+
def delete_tag(account_id, container_id, tag_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
858
|
+
command = make_simple_command(:delete, 'tagmanager/v1/accounts/{accountId}/containers/{containerId}/tags/{tagId}', options)
|
|
930
859
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
931
860
|
command.params['containerId'] = container_id unless container_id.nil?
|
|
932
861
|
command.params['tagId'] = tag_id unless tag_id.nil?
|
|
933
862
|
command.query['fields'] = fields unless fields.nil?
|
|
934
863
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
935
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
936
864
|
execute_or_queue_command(command, &block)
|
|
937
865
|
end
|
|
938
866
|
|
|
@@ -946,10 +874,8 @@ module Google
|
|
|
946
874
|
# @param [String] fields
|
|
947
875
|
# Selector specifying which fields to include in a partial response.
|
|
948
876
|
# @param [String] quota_user
|
|
949
|
-
#
|
|
950
|
-
# characters.
|
|
951
|
-
# @param [String] user_ip
|
|
952
|
-
# Deprecated. Please use quotaUser instead.
|
|
877
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
878
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
953
879
|
# @param [Google::Apis::RequestOptions] options
|
|
954
880
|
# Request-specific options
|
|
955
881
|
#
|
|
@@ -962,8 +888,8 @@ module Google
|
|
|
962
888
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
963
889
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
964
890
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
965
|
-
def get_tag(account_id, container_id, tag_id, fields: nil, quota_user: nil,
|
|
966
|
-
command = make_simple_command(:get, 'accounts/{accountId}/containers/{containerId}/tags/{tagId}', options)
|
|
891
|
+
def get_tag(account_id, container_id, tag_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
892
|
+
command = make_simple_command(:get, 'tagmanager/v1/accounts/{accountId}/containers/{containerId}/tags/{tagId}', options)
|
|
967
893
|
command.response_representation = Google::Apis::TagmanagerV1::Tag::Representation
|
|
968
894
|
command.response_class = Google::Apis::TagmanagerV1::Tag
|
|
969
895
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
@@ -971,7 +897,6 @@ module Google
|
|
|
971
897
|
command.params['tagId'] = tag_id unless tag_id.nil?
|
|
972
898
|
command.query['fields'] = fields unless fields.nil?
|
|
973
899
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
974
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
975
900
|
execute_or_queue_command(command, &block)
|
|
976
901
|
end
|
|
977
902
|
|
|
@@ -983,10 +908,8 @@ module Google
|
|
|
983
908
|
# @param [String] fields
|
|
984
909
|
# Selector specifying which fields to include in a partial response.
|
|
985
910
|
# @param [String] quota_user
|
|
986
|
-
#
|
|
987
|
-
# characters.
|
|
988
|
-
# @param [String] user_ip
|
|
989
|
-
# Deprecated. Please use quotaUser instead.
|
|
911
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
912
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
990
913
|
# @param [Google::Apis::RequestOptions] options
|
|
991
914
|
# Request-specific options
|
|
992
915
|
#
|
|
@@ -999,15 +922,14 @@ module Google
|
|
|
999
922
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1000
923
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1001
924
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1002
|
-
def list_tags(account_id, container_id, fields: nil, quota_user: nil,
|
|
1003
|
-
command = make_simple_command(:get, 'accounts/{accountId}/containers/{containerId}/tags', options)
|
|
925
|
+
def list_tags(account_id, container_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
926
|
+
command = make_simple_command(:get, 'tagmanager/v1/accounts/{accountId}/containers/{containerId}/tags', options)
|
|
1004
927
|
command.response_representation = Google::Apis::TagmanagerV1::ListTagsResponse::Representation
|
|
1005
928
|
command.response_class = Google::Apis::TagmanagerV1::ListTagsResponse
|
|
1006
929
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
1007
930
|
command.params['containerId'] = container_id unless container_id.nil?
|
|
1008
931
|
command.query['fields'] = fields unless fields.nil?
|
|
1009
932
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1010
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1011
933
|
execute_or_queue_command(command, &block)
|
|
1012
934
|
end
|
|
1013
935
|
|
|
@@ -1025,10 +947,8 @@ module Google
|
|
|
1025
947
|
# @param [String] fields
|
|
1026
948
|
# Selector specifying which fields to include in a partial response.
|
|
1027
949
|
# @param [String] quota_user
|
|
1028
|
-
#
|
|
1029
|
-
# characters.
|
|
1030
|
-
# @param [String] user_ip
|
|
1031
|
-
# Deprecated. Please use quotaUser instead.
|
|
950
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
951
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1032
952
|
# @param [Google::Apis::RequestOptions] options
|
|
1033
953
|
# Request-specific options
|
|
1034
954
|
#
|
|
@@ -1041,8 +961,8 @@ module Google
|
|
|
1041
961
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1042
962
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1043
963
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1044
|
-
def update_tag(account_id, container_id, tag_id, tag_object = nil, fingerprint: nil, fields: nil, quota_user: nil,
|
|
1045
|
-
command = make_simple_command(:put, 'accounts/{accountId}/containers/{containerId}/tags/{tagId}', options)
|
|
964
|
+
def update_tag(account_id, container_id, tag_id, tag_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
965
|
+
command = make_simple_command(:put, 'tagmanager/v1/accounts/{accountId}/containers/{containerId}/tags/{tagId}', options)
|
|
1046
966
|
command.request_representation = Google::Apis::TagmanagerV1::Tag::Representation
|
|
1047
967
|
command.request_object = tag_object
|
|
1048
968
|
command.response_representation = Google::Apis::TagmanagerV1::Tag::Representation
|
|
@@ -1053,7 +973,6 @@ module Google
|
|
|
1053
973
|
command.query['fingerprint'] = fingerprint unless fingerprint.nil?
|
|
1054
974
|
command.query['fields'] = fields unless fields.nil?
|
|
1055
975
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1056
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1057
976
|
execute_or_queue_command(command, &block)
|
|
1058
977
|
end
|
|
1059
978
|
|
|
@@ -1066,10 +985,8 @@ module Google
|
|
|
1066
985
|
# @param [String] fields
|
|
1067
986
|
# Selector specifying which fields to include in a partial response.
|
|
1068
987
|
# @param [String] quota_user
|
|
1069
|
-
#
|
|
1070
|
-
# characters.
|
|
1071
|
-
# @param [String] user_ip
|
|
1072
|
-
# Deprecated. Please use quotaUser instead.
|
|
988
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
989
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1073
990
|
# @param [Google::Apis::RequestOptions] options
|
|
1074
991
|
# Request-specific options
|
|
1075
992
|
#
|
|
@@ -1082,8 +999,8 @@ module Google
|
|
|
1082
999
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1083
1000
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1084
1001
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1085
|
-
def create_trigger(account_id, container_id, trigger_object = nil, fields: nil, quota_user: nil,
|
|
1086
|
-
command = make_simple_command(:post, 'accounts/{accountId}/containers/{containerId}/triggers', options)
|
|
1002
|
+
def create_trigger(account_id, container_id, trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1003
|
+
command = make_simple_command(:post, 'tagmanager/v1/accounts/{accountId}/containers/{containerId}/triggers', options)
|
|
1087
1004
|
command.request_representation = Google::Apis::TagmanagerV1::Trigger::Representation
|
|
1088
1005
|
command.request_object = trigger_object
|
|
1089
1006
|
command.response_representation = Google::Apis::TagmanagerV1::Trigger::Representation
|
|
@@ -1092,7 +1009,6 @@ module Google
|
|
|
1092
1009
|
command.params['containerId'] = container_id unless container_id.nil?
|
|
1093
1010
|
command.query['fields'] = fields unless fields.nil?
|
|
1094
1011
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1095
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1096
1012
|
execute_or_queue_command(command, &block)
|
|
1097
1013
|
end
|
|
1098
1014
|
|
|
@@ -1106,10 +1022,8 @@ module Google
|
|
|
1106
1022
|
# @param [String] fields
|
|
1107
1023
|
# Selector specifying which fields to include in a partial response.
|
|
1108
1024
|
# @param [String] quota_user
|
|
1109
|
-
#
|
|
1110
|
-
# characters.
|
|
1111
|
-
# @param [String] user_ip
|
|
1112
|
-
# Deprecated. Please use quotaUser instead.
|
|
1025
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1026
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1113
1027
|
# @param [Google::Apis::RequestOptions] options
|
|
1114
1028
|
# Request-specific options
|
|
1115
1029
|
#
|
|
@@ -1122,14 +1036,13 @@ module Google
|
|
|
1122
1036
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1123
1037
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1124
1038
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1125
|
-
def delete_trigger(account_id, container_id, trigger_id, fields: nil, quota_user: nil,
|
|
1126
|
-
command = make_simple_command(:delete, 'accounts/{accountId}/containers/{containerId}/triggers/{triggerId}', options)
|
|
1039
|
+
def delete_trigger(account_id, container_id, trigger_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1040
|
+
command = make_simple_command(:delete, 'tagmanager/v1/accounts/{accountId}/containers/{containerId}/triggers/{triggerId}', options)
|
|
1127
1041
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
1128
1042
|
command.params['containerId'] = container_id unless container_id.nil?
|
|
1129
1043
|
command.params['triggerId'] = trigger_id unless trigger_id.nil?
|
|
1130
1044
|
command.query['fields'] = fields unless fields.nil?
|
|
1131
1045
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1132
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1133
1046
|
execute_or_queue_command(command, &block)
|
|
1134
1047
|
end
|
|
1135
1048
|
|
|
@@ -1143,10 +1056,8 @@ module Google
|
|
|
1143
1056
|
# @param [String] fields
|
|
1144
1057
|
# Selector specifying which fields to include in a partial response.
|
|
1145
1058
|
# @param [String] quota_user
|
|
1146
|
-
#
|
|
1147
|
-
# characters.
|
|
1148
|
-
# @param [String] user_ip
|
|
1149
|
-
# Deprecated. Please use quotaUser instead.
|
|
1059
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1060
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1150
1061
|
# @param [Google::Apis::RequestOptions] options
|
|
1151
1062
|
# Request-specific options
|
|
1152
1063
|
#
|
|
@@ -1159,8 +1070,8 @@ module Google
|
|
|
1159
1070
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1160
1071
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1161
1072
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1162
|
-
def get_trigger(account_id, container_id, trigger_id, fields: nil, quota_user: nil,
|
|
1163
|
-
command = make_simple_command(:get, 'accounts/{accountId}/containers/{containerId}/triggers/{triggerId}', options)
|
|
1073
|
+
def get_trigger(account_id, container_id, trigger_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1074
|
+
command = make_simple_command(:get, 'tagmanager/v1/accounts/{accountId}/containers/{containerId}/triggers/{triggerId}', options)
|
|
1164
1075
|
command.response_representation = Google::Apis::TagmanagerV1::Trigger::Representation
|
|
1165
1076
|
command.response_class = Google::Apis::TagmanagerV1::Trigger
|
|
1166
1077
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
@@ -1168,7 +1079,6 @@ module Google
|
|
|
1168
1079
|
command.params['triggerId'] = trigger_id unless trigger_id.nil?
|
|
1169
1080
|
command.query['fields'] = fields unless fields.nil?
|
|
1170
1081
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1171
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1172
1082
|
execute_or_queue_command(command, &block)
|
|
1173
1083
|
end
|
|
1174
1084
|
|
|
@@ -1180,10 +1090,8 @@ module Google
|
|
|
1180
1090
|
# @param [String] fields
|
|
1181
1091
|
# Selector specifying which fields to include in a partial response.
|
|
1182
1092
|
# @param [String] quota_user
|
|
1183
|
-
#
|
|
1184
|
-
# characters.
|
|
1185
|
-
# @param [String] user_ip
|
|
1186
|
-
# Deprecated. Please use quotaUser instead.
|
|
1093
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1094
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1187
1095
|
# @param [Google::Apis::RequestOptions] options
|
|
1188
1096
|
# Request-specific options
|
|
1189
1097
|
#
|
|
@@ -1196,15 +1104,14 @@ module Google
|
|
|
1196
1104
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1197
1105
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1198
1106
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1199
|
-
def list_triggers(account_id, container_id, fields: nil, quota_user: nil,
|
|
1200
|
-
command = make_simple_command(:get, 'accounts/{accountId}/containers/{containerId}/triggers', options)
|
|
1107
|
+
def list_triggers(account_id, container_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1108
|
+
command = make_simple_command(:get, 'tagmanager/v1/accounts/{accountId}/containers/{containerId}/triggers', options)
|
|
1201
1109
|
command.response_representation = Google::Apis::TagmanagerV1::ListTriggersResponse::Representation
|
|
1202
1110
|
command.response_class = Google::Apis::TagmanagerV1::ListTriggersResponse
|
|
1203
1111
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
1204
1112
|
command.params['containerId'] = container_id unless container_id.nil?
|
|
1205
1113
|
command.query['fields'] = fields unless fields.nil?
|
|
1206
1114
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1207
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1208
1115
|
execute_or_queue_command(command, &block)
|
|
1209
1116
|
end
|
|
1210
1117
|
|
|
@@ -1217,15 +1124,13 @@ module Google
|
|
|
1217
1124
|
# The GTM Trigger ID.
|
|
1218
1125
|
# @param [Google::Apis::TagmanagerV1::Trigger] trigger_object
|
|
1219
1126
|
# @param [String] fingerprint
|
|
1220
|
-
# When provided, this fingerprint must match the fingerprint of the trigger
|
|
1221
|
-
# storage.
|
|
1127
|
+
# When provided, this fingerprint must match the fingerprint of the trigger
|
|
1128
|
+
# in storage.
|
|
1222
1129
|
# @param [String] fields
|
|
1223
1130
|
# Selector specifying which fields to include in a partial response.
|
|
1224
1131
|
# @param [String] quota_user
|
|
1225
|
-
#
|
|
1226
|
-
# characters.
|
|
1227
|
-
# @param [String] user_ip
|
|
1228
|
-
# Deprecated. Please use quotaUser instead.
|
|
1132
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1133
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1229
1134
|
# @param [Google::Apis::RequestOptions] options
|
|
1230
1135
|
# Request-specific options
|
|
1231
1136
|
#
|
|
@@ -1238,8 +1143,8 @@ module Google
|
|
|
1238
1143
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1239
1144
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1240
1145
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1241
|
-
def update_trigger(account_id, container_id, trigger_id, trigger_object = nil, fingerprint: nil, fields: nil, quota_user: nil,
|
|
1242
|
-
command = make_simple_command(:put, 'accounts/{accountId}/containers/{containerId}/triggers/{triggerId}', options)
|
|
1146
|
+
def update_trigger(account_id, container_id, trigger_id, trigger_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1147
|
+
command = make_simple_command(:put, 'tagmanager/v1/accounts/{accountId}/containers/{containerId}/triggers/{triggerId}', options)
|
|
1243
1148
|
command.request_representation = Google::Apis::TagmanagerV1::Trigger::Representation
|
|
1244
1149
|
command.request_object = trigger_object
|
|
1245
1150
|
command.response_representation = Google::Apis::TagmanagerV1::Trigger::Representation
|
|
@@ -1250,7 +1155,6 @@ module Google
|
|
|
1250
1155
|
command.query['fingerprint'] = fingerprint unless fingerprint.nil?
|
|
1251
1156
|
command.query['fields'] = fields unless fields.nil?
|
|
1252
1157
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1253
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1254
1158
|
execute_or_queue_command(command, &block)
|
|
1255
1159
|
end
|
|
1256
1160
|
|
|
@@ -1263,10 +1167,8 @@ module Google
|
|
|
1263
1167
|
# @param [String] fields
|
|
1264
1168
|
# Selector specifying which fields to include in a partial response.
|
|
1265
1169
|
# @param [String] quota_user
|
|
1266
|
-
#
|
|
1267
|
-
# characters.
|
|
1268
|
-
# @param [String] user_ip
|
|
1269
|
-
# Deprecated. Please use quotaUser instead.
|
|
1170
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1171
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1270
1172
|
# @param [Google::Apis::RequestOptions] options
|
|
1271
1173
|
# Request-specific options
|
|
1272
1174
|
#
|
|
@@ -1279,8 +1181,8 @@ module Google
|
|
|
1279
1181
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1280
1182
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1281
1183
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1282
|
-
def create_variable(account_id, container_id, variable_object = nil, fields: nil, quota_user: nil,
|
|
1283
|
-
command = make_simple_command(:post, 'accounts/{accountId}/containers/{containerId}/variables', options)
|
|
1184
|
+
def create_variable(account_id, container_id, variable_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1185
|
+
command = make_simple_command(:post, 'tagmanager/v1/accounts/{accountId}/containers/{containerId}/variables', options)
|
|
1284
1186
|
command.request_representation = Google::Apis::TagmanagerV1::Variable::Representation
|
|
1285
1187
|
command.request_object = variable_object
|
|
1286
1188
|
command.response_representation = Google::Apis::TagmanagerV1::Variable::Representation
|
|
@@ -1289,7 +1191,6 @@ module Google
|
|
|
1289
1191
|
command.params['containerId'] = container_id unless container_id.nil?
|
|
1290
1192
|
command.query['fields'] = fields unless fields.nil?
|
|
1291
1193
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1292
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1293
1194
|
execute_or_queue_command(command, &block)
|
|
1294
1195
|
end
|
|
1295
1196
|
|
|
@@ -1303,10 +1204,8 @@ module Google
|
|
|
1303
1204
|
# @param [String] fields
|
|
1304
1205
|
# Selector specifying which fields to include in a partial response.
|
|
1305
1206
|
# @param [String] quota_user
|
|
1306
|
-
#
|
|
1307
|
-
# characters.
|
|
1308
|
-
# @param [String] user_ip
|
|
1309
|
-
# Deprecated. Please use quotaUser instead.
|
|
1207
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1208
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1310
1209
|
# @param [Google::Apis::RequestOptions] options
|
|
1311
1210
|
# Request-specific options
|
|
1312
1211
|
#
|
|
@@ -1319,14 +1218,13 @@ module Google
|
|
|
1319
1218
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1320
1219
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1321
1220
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1322
|
-
def delete_variable(account_id, container_id, variable_id, fields: nil, quota_user: nil,
|
|
1323
|
-
command = make_simple_command(:delete, 'accounts/{accountId}/containers/{containerId}/variables/{variableId}', options)
|
|
1221
|
+
def delete_variable(account_id, container_id, variable_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1222
|
+
command = make_simple_command(:delete, 'tagmanager/v1/accounts/{accountId}/containers/{containerId}/variables/{variableId}', options)
|
|
1324
1223
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
1325
1224
|
command.params['containerId'] = container_id unless container_id.nil?
|
|
1326
1225
|
command.params['variableId'] = variable_id unless variable_id.nil?
|
|
1327
1226
|
command.query['fields'] = fields unless fields.nil?
|
|
1328
1227
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1329
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1330
1228
|
execute_or_queue_command(command, &block)
|
|
1331
1229
|
end
|
|
1332
1230
|
|
|
@@ -1340,10 +1238,8 @@ module Google
|
|
|
1340
1238
|
# @param [String] fields
|
|
1341
1239
|
# Selector specifying which fields to include in a partial response.
|
|
1342
1240
|
# @param [String] quota_user
|
|
1343
|
-
#
|
|
1344
|
-
# characters.
|
|
1345
|
-
# @param [String] user_ip
|
|
1346
|
-
# Deprecated. Please use quotaUser instead.
|
|
1241
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1242
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1347
1243
|
# @param [Google::Apis::RequestOptions] options
|
|
1348
1244
|
# Request-specific options
|
|
1349
1245
|
#
|
|
@@ -1356,8 +1252,8 @@ module Google
|
|
|
1356
1252
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1357
1253
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1358
1254
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1359
|
-
def get_variable(account_id, container_id, variable_id, fields: nil, quota_user: nil,
|
|
1360
|
-
command = make_simple_command(:get, 'accounts/{accountId}/containers/{containerId}/variables/{variableId}', options)
|
|
1255
|
+
def get_variable(account_id, container_id, variable_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1256
|
+
command = make_simple_command(:get, 'tagmanager/v1/accounts/{accountId}/containers/{containerId}/variables/{variableId}', options)
|
|
1361
1257
|
command.response_representation = Google::Apis::TagmanagerV1::Variable::Representation
|
|
1362
1258
|
command.response_class = Google::Apis::TagmanagerV1::Variable
|
|
1363
1259
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
@@ -1365,7 +1261,6 @@ module Google
|
|
|
1365
1261
|
command.params['variableId'] = variable_id unless variable_id.nil?
|
|
1366
1262
|
command.query['fields'] = fields unless fields.nil?
|
|
1367
1263
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1368
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1369
1264
|
execute_or_queue_command(command, &block)
|
|
1370
1265
|
end
|
|
1371
1266
|
|
|
@@ -1377,10 +1272,8 @@ module Google
|
|
|
1377
1272
|
# @param [String] fields
|
|
1378
1273
|
# Selector specifying which fields to include in a partial response.
|
|
1379
1274
|
# @param [String] quota_user
|
|
1380
|
-
#
|
|
1381
|
-
# characters.
|
|
1382
|
-
# @param [String] user_ip
|
|
1383
|
-
# Deprecated. Please use quotaUser instead.
|
|
1275
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1276
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1384
1277
|
# @param [Google::Apis::RequestOptions] options
|
|
1385
1278
|
# Request-specific options
|
|
1386
1279
|
#
|
|
@@ -1393,15 +1286,14 @@ module Google
|
|
|
1393
1286
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1394
1287
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1395
1288
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1396
|
-
def list_variables(account_id, container_id, fields: nil, quota_user: nil,
|
|
1397
|
-
command = make_simple_command(:get, 'accounts/{accountId}/containers/{containerId}/variables', options)
|
|
1289
|
+
def list_variables(account_id, container_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1290
|
+
command = make_simple_command(:get, 'tagmanager/v1/accounts/{accountId}/containers/{containerId}/variables', options)
|
|
1398
1291
|
command.response_representation = Google::Apis::TagmanagerV1::ListVariablesResponse::Representation
|
|
1399
1292
|
command.response_class = Google::Apis::TagmanagerV1::ListVariablesResponse
|
|
1400
1293
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
1401
1294
|
command.params['containerId'] = container_id unless container_id.nil?
|
|
1402
1295
|
command.query['fields'] = fields unless fields.nil?
|
|
1403
1296
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1404
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1405
1297
|
execute_or_queue_command(command, &block)
|
|
1406
1298
|
end
|
|
1407
1299
|
|
|
@@ -1414,15 +1306,13 @@ module Google
|
|
|
1414
1306
|
# The GTM Variable ID.
|
|
1415
1307
|
# @param [Google::Apis::TagmanagerV1::Variable] variable_object
|
|
1416
1308
|
# @param [String] fingerprint
|
|
1417
|
-
# When provided, this fingerprint must match the fingerprint of the variable
|
|
1418
|
-
# storage.
|
|
1309
|
+
# When provided, this fingerprint must match the fingerprint of the variable
|
|
1310
|
+
# in storage.
|
|
1419
1311
|
# @param [String] fields
|
|
1420
1312
|
# Selector specifying which fields to include in a partial response.
|
|
1421
1313
|
# @param [String] quota_user
|
|
1422
|
-
#
|
|
1423
|
-
# characters.
|
|
1424
|
-
# @param [String] user_ip
|
|
1425
|
-
# Deprecated. Please use quotaUser instead.
|
|
1314
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1315
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1426
1316
|
# @param [Google::Apis::RequestOptions] options
|
|
1427
1317
|
# Request-specific options
|
|
1428
1318
|
#
|
|
@@ -1435,8 +1325,8 @@ module Google
|
|
|
1435
1325
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1436
1326
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1437
1327
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1438
|
-
def update_variable(account_id, container_id, variable_id, variable_object = nil, fingerprint: nil, fields: nil, quota_user: nil,
|
|
1439
|
-
command = make_simple_command(:put, 'accounts/{accountId}/containers/{containerId}/variables/{variableId}', options)
|
|
1328
|
+
def update_variable(account_id, container_id, variable_id, variable_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1329
|
+
command = make_simple_command(:put, 'tagmanager/v1/accounts/{accountId}/containers/{containerId}/variables/{variableId}', options)
|
|
1440
1330
|
command.request_representation = Google::Apis::TagmanagerV1::Variable::Representation
|
|
1441
1331
|
command.request_object = variable_object
|
|
1442
1332
|
command.response_representation = Google::Apis::TagmanagerV1::Variable::Representation
|
|
@@ -1447,7 +1337,6 @@ module Google
|
|
|
1447
1337
|
command.query['fingerprint'] = fingerprint unless fingerprint.nil?
|
|
1448
1338
|
command.query['fields'] = fields unless fields.nil?
|
|
1449
1339
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1450
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1451
1340
|
execute_or_queue_command(command, &block)
|
|
1452
1341
|
end
|
|
1453
1342
|
|
|
@@ -1460,10 +1349,8 @@ module Google
|
|
|
1460
1349
|
# @param [String] fields
|
|
1461
1350
|
# Selector specifying which fields to include in a partial response.
|
|
1462
1351
|
# @param [String] quota_user
|
|
1463
|
-
#
|
|
1464
|
-
# characters.
|
|
1465
|
-
# @param [String] user_ip
|
|
1466
|
-
# 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.
|
|
1467
1354
|
# @param [Google::Apis::RequestOptions] options
|
|
1468
1355
|
# Request-specific options
|
|
1469
1356
|
#
|
|
@@ -1476,8 +1363,8 @@ module Google
|
|
|
1476
1363
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1477
1364
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1478
1365
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1479
|
-
def create_version(account_id, container_id, create_container_version_request_version_options_object = nil, fields: nil, quota_user: nil,
|
|
1480
|
-
command = make_simple_command(:post, 'accounts/{accountId}/containers/{containerId}/versions', options)
|
|
1366
|
+
def create_version(account_id, container_id, create_container_version_request_version_options_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1367
|
+
command = make_simple_command(:post, 'tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions', options)
|
|
1481
1368
|
command.request_representation = Google::Apis::TagmanagerV1::CreateContainerVersionRequestVersionOptions::Representation
|
|
1482
1369
|
command.request_object = create_container_version_request_version_options_object
|
|
1483
1370
|
command.response_representation = Google::Apis::TagmanagerV1::CreateContainerVersionResponse::Representation
|
|
@@ -1486,7 +1373,6 @@ module Google
|
|
|
1486
1373
|
command.params['containerId'] = container_id unless container_id.nil?
|
|
1487
1374
|
command.query['fields'] = fields unless fields.nil?
|
|
1488
1375
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1489
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1490
1376
|
execute_or_queue_command(command, &block)
|
|
1491
1377
|
end
|
|
1492
1378
|
|
|
@@ -1500,10 +1386,8 @@ module Google
|
|
|
1500
1386
|
# @param [String] fields
|
|
1501
1387
|
# Selector specifying which fields to include in a partial response.
|
|
1502
1388
|
# @param [String] quota_user
|
|
1503
|
-
#
|
|
1504
|
-
# characters.
|
|
1505
|
-
# @param [String] user_ip
|
|
1506
|
-
# Deprecated. Please use quotaUser instead.
|
|
1389
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1390
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1507
1391
|
# @param [Google::Apis::RequestOptions] options
|
|
1508
1392
|
# Request-specific options
|
|
1509
1393
|
#
|
|
@@ -1516,14 +1400,13 @@ module Google
|
|
|
1516
1400
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1517
1401
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1518
1402
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1519
|
-
def delete_version(account_id, container_id, container_version_id, fields: nil, quota_user: nil,
|
|
1520
|
-
command = make_simple_command(:delete, 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}', options)
|
|
1403
|
+
def delete_version(account_id, container_id, container_version_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1404
|
+
command = make_simple_command(:delete, 'tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}', options)
|
|
1521
1405
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
1522
1406
|
command.params['containerId'] = container_id unless container_id.nil?
|
|
1523
1407
|
command.params['containerVersionId'] = container_version_id unless container_version_id.nil?
|
|
1524
1408
|
command.query['fields'] = fields unless fields.nil?
|
|
1525
1409
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1526
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1527
1410
|
execute_or_queue_command(command, &block)
|
|
1528
1411
|
end
|
|
1529
1412
|
|
|
@@ -1533,15 +1416,13 @@ module Google
|
|
|
1533
1416
|
# @param [String] container_id
|
|
1534
1417
|
# The GTM Container ID.
|
|
1535
1418
|
# @param [String] container_version_id
|
|
1536
|
-
# The GTM Container Version ID. Specify published to retrieve
|
|
1537
|
-
# published version.
|
|
1419
|
+
# The GTM Container Version ID. Specify <code>published</code> to retrieve
|
|
1420
|
+
# the currently published version.
|
|
1538
1421
|
# @param [String] fields
|
|
1539
1422
|
# Selector specifying which fields to include in a partial response.
|
|
1540
1423
|
# @param [String] quota_user
|
|
1541
|
-
#
|
|
1542
|
-
# characters.
|
|
1543
|
-
# @param [String] user_ip
|
|
1544
|
-
# Deprecated. Please use quotaUser instead.
|
|
1424
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1425
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1545
1426
|
# @param [Google::Apis::RequestOptions] options
|
|
1546
1427
|
# Request-specific options
|
|
1547
1428
|
#
|
|
@@ -1554,8 +1435,8 @@ module Google
|
|
|
1554
1435
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1555
1436
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1556
1437
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1557
|
-
def get_version(account_id, container_id, container_version_id, fields: nil, quota_user: nil,
|
|
1558
|
-
command = make_simple_command(:get, 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}', options)
|
|
1438
|
+
def get_version(account_id, container_id, container_version_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1439
|
+
command = make_simple_command(:get, 'tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}', options)
|
|
1559
1440
|
command.response_representation = Google::Apis::TagmanagerV1::ContainerVersion::Representation
|
|
1560
1441
|
command.response_class = Google::Apis::TagmanagerV1::ContainerVersion
|
|
1561
1442
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
@@ -1563,7 +1444,6 @@ module Google
|
|
|
1563
1444
|
command.params['containerVersionId'] = container_version_id unless container_version_id.nil?
|
|
1564
1445
|
command.query['fields'] = fields unless fields.nil?
|
|
1565
1446
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1566
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1567
1447
|
execute_or_queue_command(command, &block)
|
|
1568
1448
|
end
|
|
1569
1449
|
|
|
@@ -1579,10 +1459,8 @@ module Google
|
|
|
1579
1459
|
# @param [String] fields
|
|
1580
1460
|
# Selector specifying which fields to include in a partial response.
|
|
1581
1461
|
# @param [String] quota_user
|
|
1582
|
-
#
|
|
1583
|
-
# characters.
|
|
1584
|
-
# @param [String] user_ip
|
|
1585
|
-
# Deprecated. Please use quotaUser instead.
|
|
1462
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1463
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1586
1464
|
# @param [Google::Apis::RequestOptions] options
|
|
1587
1465
|
# Request-specific options
|
|
1588
1466
|
#
|
|
@@ -1595,8 +1473,8 @@ module Google
|
|
|
1595
1473
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1596
1474
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1597
1475
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1598
|
-
def list_versions(account_id, container_id, headers: nil, include_deleted: nil, fields: nil, quota_user: nil,
|
|
1599
|
-
command = make_simple_command(:get, 'accounts/{accountId}/containers/{containerId}/versions', options)
|
|
1476
|
+
def list_versions(account_id, container_id, headers: nil, include_deleted: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1477
|
+
command = make_simple_command(:get, 'tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions', options)
|
|
1600
1478
|
command.response_representation = Google::Apis::TagmanagerV1::ListContainerVersionsResponse::Representation
|
|
1601
1479
|
command.response_class = Google::Apis::TagmanagerV1::ListContainerVersionsResponse
|
|
1602
1480
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
@@ -1605,7 +1483,6 @@ module Google
|
|
|
1605
1483
|
command.query['includeDeleted'] = include_deleted unless include_deleted.nil?
|
|
1606
1484
|
command.query['fields'] = fields unless fields.nil?
|
|
1607
1485
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1608
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1609
1486
|
execute_or_queue_command(command, &block)
|
|
1610
1487
|
end
|
|
1611
1488
|
|
|
@@ -1617,15 +1494,13 @@ module Google
|
|
|
1617
1494
|
# @param [String] container_version_id
|
|
1618
1495
|
# The GTM Container Version ID.
|
|
1619
1496
|
# @param [String] fingerprint
|
|
1620
|
-
# When provided, this fingerprint must match the fingerprint of the
|
|
1621
|
-
# version in storage.
|
|
1497
|
+
# When provided, this fingerprint must match the fingerprint of the
|
|
1498
|
+
# container version in storage.
|
|
1622
1499
|
# @param [String] fields
|
|
1623
1500
|
# Selector specifying which fields to include in a partial response.
|
|
1624
1501
|
# @param [String] quota_user
|
|
1625
|
-
#
|
|
1626
|
-
# characters.
|
|
1627
|
-
# @param [String] user_ip
|
|
1628
|
-
# Deprecated. Please use quotaUser instead.
|
|
1502
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1503
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1629
1504
|
# @param [Google::Apis::RequestOptions] options
|
|
1630
1505
|
# Request-specific options
|
|
1631
1506
|
#
|
|
@@ -1638,8 +1513,8 @@ module Google
|
|
|
1638
1513
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1639
1514
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1640
1515
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1641
|
-
def publish_version(account_id, container_id, container_version_id, fingerprint: nil, fields: nil, quota_user: nil,
|
|
1642
|
-
command = make_simple_command(:post, 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/publish', options)
|
|
1516
|
+
def publish_version(account_id, container_id, container_version_id, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1517
|
+
command = make_simple_command(:post, 'tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/publish', options)
|
|
1643
1518
|
command.response_representation = Google::Apis::TagmanagerV1::PublishContainerVersionResponse::Representation
|
|
1644
1519
|
command.response_class = Google::Apis::TagmanagerV1::PublishContainerVersionResponse
|
|
1645
1520
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
@@ -1648,14 +1523,13 @@ module Google
|
|
|
1648
1523
|
command.query['fingerprint'] = fingerprint unless fingerprint.nil?
|
|
1649
1524
|
command.query['fields'] = fields unless fields.nil?
|
|
1650
1525
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1651
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1652
1526
|
execute_or_queue_command(command, &block)
|
|
1653
1527
|
end
|
|
1654
1528
|
|
|
1655
1529
|
# Restores a Container Version. This will overwrite the container's current
|
|
1656
|
-
# configuration (including its variables, triggers and tags). The operation
|
|
1657
|
-
# not have any effect on the version that is being served (i.e. the
|
|
1658
|
-
# version).
|
|
1530
|
+
# configuration (including its variables, triggers and tags). The operation
|
|
1531
|
+
# will not have any effect on the version that is being served (i.e. the
|
|
1532
|
+
# published version).
|
|
1659
1533
|
# @param [String] account_id
|
|
1660
1534
|
# The GTM Account ID.
|
|
1661
1535
|
# @param [String] container_id
|
|
@@ -1665,10 +1539,8 @@ module Google
|
|
|
1665
1539
|
# @param [String] fields
|
|
1666
1540
|
# Selector specifying which fields to include in a partial response.
|
|
1667
1541
|
# @param [String] quota_user
|
|
1668
|
-
#
|
|
1669
|
-
# characters.
|
|
1670
|
-
# @param [String] user_ip
|
|
1671
|
-
# Deprecated. Please use quotaUser instead.
|
|
1542
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1543
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1672
1544
|
# @param [Google::Apis::RequestOptions] options
|
|
1673
1545
|
# Request-specific options
|
|
1674
1546
|
#
|
|
@@ -1681,8 +1553,8 @@ module Google
|
|
|
1681
1553
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1682
1554
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1683
1555
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1684
|
-
def restore_version(account_id, container_id, container_version_id, fields: nil, quota_user: nil,
|
|
1685
|
-
command = make_simple_command(:post, 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/restore', options)
|
|
1556
|
+
def restore_version(account_id, container_id, container_version_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1557
|
+
command = make_simple_command(:post, 'tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/restore', options)
|
|
1686
1558
|
command.response_representation = Google::Apis::TagmanagerV1::ContainerVersion::Representation
|
|
1687
1559
|
command.response_class = Google::Apis::TagmanagerV1::ContainerVersion
|
|
1688
1560
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
@@ -1690,7 +1562,6 @@ module Google
|
|
|
1690
1562
|
command.params['containerVersionId'] = container_version_id unless container_version_id.nil?
|
|
1691
1563
|
command.query['fields'] = fields unless fields.nil?
|
|
1692
1564
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1693
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1694
1565
|
execute_or_queue_command(command, &block)
|
|
1695
1566
|
end
|
|
1696
1567
|
|
|
@@ -1704,10 +1575,8 @@ module Google
|
|
|
1704
1575
|
# @param [String] fields
|
|
1705
1576
|
# Selector specifying which fields to include in a partial response.
|
|
1706
1577
|
# @param [String] quota_user
|
|
1707
|
-
#
|
|
1708
|
-
# characters.
|
|
1709
|
-
# @param [String] user_ip
|
|
1710
|
-
# Deprecated. Please use quotaUser instead.
|
|
1578
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1579
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1711
1580
|
# @param [Google::Apis::RequestOptions] options
|
|
1712
1581
|
# Request-specific options
|
|
1713
1582
|
#
|
|
@@ -1720,8 +1589,8 @@ module Google
|
|
|
1720
1589
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1721
1590
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1722
1591
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1723
|
-
def undelete_version(account_id, container_id, container_version_id, fields: nil, quota_user: nil,
|
|
1724
|
-
command = make_simple_command(:post, 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/undelete', options)
|
|
1592
|
+
def undelete_version(account_id, container_id, container_version_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1593
|
+
command = make_simple_command(:post, 'tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/undelete', options)
|
|
1725
1594
|
command.response_representation = Google::Apis::TagmanagerV1::ContainerVersion::Representation
|
|
1726
1595
|
command.response_class = Google::Apis::TagmanagerV1::ContainerVersion
|
|
1727
1596
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
@@ -1729,7 +1598,6 @@ module Google
|
|
|
1729
1598
|
command.params['containerVersionId'] = container_version_id unless container_version_id.nil?
|
|
1730
1599
|
command.query['fields'] = fields unless fields.nil?
|
|
1731
1600
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1732
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1733
1601
|
execute_or_queue_command(command, &block)
|
|
1734
1602
|
end
|
|
1735
1603
|
|
|
@@ -1742,15 +1610,13 @@ module Google
|
|
|
1742
1610
|
# The GTM Container Version ID.
|
|
1743
1611
|
# @param [Google::Apis::TagmanagerV1::ContainerVersion] container_version_object
|
|
1744
1612
|
# @param [String] fingerprint
|
|
1745
|
-
# When provided, this fingerprint must match the fingerprint of the
|
|
1746
|
-
# version in storage.
|
|
1613
|
+
# When provided, this fingerprint must match the fingerprint of the
|
|
1614
|
+
# container version in storage.
|
|
1747
1615
|
# @param [String] fields
|
|
1748
1616
|
# Selector specifying which fields to include in a partial response.
|
|
1749
1617
|
# @param [String] quota_user
|
|
1750
|
-
#
|
|
1751
|
-
# characters.
|
|
1752
|
-
# @param [String] user_ip
|
|
1753
|
-
# Deprecated. Please use quotaUser instead.
|
|
1618
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1619
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1754
1620
|
# @param [Google::Apis::RequestOptions] options
|
|
1755
1621
|
# Request-specific options
|
|
1756
1622
|
#
|
|
@@ -1763,8 +1629,8 @@ module Google
|
|
|
1763
1629
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1764
1630
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1765
1631
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1766
|
-
def update_version(account_id, container_id, container_version_id, container_version_object = nil, fingerprint: nil, fields: nil, quota_user: nil,
|
|
1767
|
-
command = make_simple_command(:put, 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}', options)
|
|
1632
|
+
def update_version(account_id, container_id, container_version_id, container_version_object = nil, fingerprint: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1633
|
+
command = make_simple_command(:put, 'tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}', options)
|
|
1768
1634
|
command.request_representation = Google::Apis::TagmanagerV1::ContainerVersion::Representation
|
|
1769
1635
|
command.request_object = container_version_object
|
|
1770
1636
|
command.response_representation = Google::Apis::TagmanagerV1::ContainerVersion::Representation
|
|
@@ -1775,7 +1641,6 @@ module Google
|
|
|
1775
1641
|
command.query['fingerprint'] = fingerprint unless fingerprint.nil?
|
|
1776
1642
|
command.query['fields'] = fields unless fields.nil?
|
|
1777
1643
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1778
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1779
1644
|
execute_or_queue_command(command, &block)
|
|
1780
1645
|
end
|
|
1781
1646
|
|
|
@@ -1786,10 +1651,8 @@ module Google
|
|
|
1786
1651
|
# @param [String] fields
|
|
1787
1652
|
# Selector specifying which fields to include in a partial response.
|
|
1788
1653
|
# @param [String] quota_user
|
|
1789
|
-
#
|
|
1790
|
-
# characters.
|
|
1791
|
-
# @param [String] user_ip
|
|
1792
|
-
# Deprecated. Please use quotaUser instead.
|
|
1654
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1655
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1793
1656
|
# @param [Google::Apis::RequestOptions] options
|
|
1794
1657
|
# Request-specific options
|
|
1795
1658
|
#
|
|
@@ -1802,8 +1665,8 @@ module Google
|
|
|
1802
1665
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1803
1666
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1804
1667
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1805
|
-
def create_permission(account_id, user_access_object = nil, fields: nil, quota_user: nil,
|
|
1806
|
-
command = make_simple_command(:post, 'accounts/{accountId}/permissions', options)
|
|
1668
|
+
def create_permission(account_id, user_access_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1669
|
+
command = make_simple_command(:post, 'tagmanager/v1/accounts/{accountId}/permissions', options)
|
|
1807
1670
|
command.request_representation = Google::Apis::TagmanagerV1::UserAccess::Representation
|
|
1808
1671
|
command.request_object = user_access_object
|
|
1809
1672
|
command.response_representation = Google::Apis::TagmanagerV1::UserAccess::Representation
|
|
@@ -1811,7 +1674,6 @@ module Google
|
|
|
1811
1674
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
1812
1675
|
command.query['fields'] = fields unless fields.nil?
|
|
1813
1676
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1814
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1815
1677
|
execute_or_queue_command(command, &block)
|
|
1816
1678
|
end
|
|
1817
1679
|
|
|
@@ -1824,10 +1686,8 @@ module Google
|
|
|
1824
1686
|
# @param [String] fields
|
|
1825
1687
|
# Selector specifying which fields to include in a partial response.
|
|
1826
1688
|
# @param [String] quota_user
|
|
1827
|
-
#
|
|
1828
|
-
# characters.
|
|
1829
|
-
# @param [String] user_ip
|
|
1830
|
-
# Deprecated. Please use quotaUser instead.
|
|
1689
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1690
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1831
1691
|
# @param [Google::Apis::RequestOptions] options
|
|
1832
1692
|
# Request-specific options
|
|
1833
1693
|
#
|
|
@@ -1840,13 +1700,12 @@ module Google
|
|
|
1840
1700
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1841
1701
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1842
1702
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1843
|
-
def delete_permission(account_id, permission_id, fields: nil, quota_user: nil,
|
|
1844
|
-
command = make_simple_command(:delete, 'accounts/{accountId}/permissions/{permissionId}', options)
|
|
1703
|
+
def delete_permission(account_id, permission_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1704
|
+
command = make_simple_command(:delete, 'tagmanager/v1/accounts/{accountId}/permissions/{permissionId}', options)
|
|
1845
1705
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
1846
1706
|
command.params['permissionId'] = permission_id unless permission_id.nil?
|
|
1847
1707
|
command.query['fields'] = fields unless fields.nil?
|
|
1848
1708
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1849
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1850
1709
|
execute_or_queue_command(command, &block)
|
|
1851
1710
|
end
|
|
1852
1711
|
|
|
@@ -1858,10 +1717,8 @@ module Google
|
|
|
1858
1717
|
# @param [String] fields
|
|
1859
1718
|
# Selector specifying which fields to include in a partial response.
|
|
1860
1719
|
# @param [String] quota_user
|
|
1861
|
-
#
|
|
1862
|
-
# characters.
|
|
1863
|
-
# @param [String] user_ip
|
|
1864
|
-
# Deprecated. Please use quotaUser instead.
|
|
1720
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1721
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1865
1722
|
# @param [Google::Apis::RequestOptions] options
|
|
1866
1723
|
# Request-specific options
|
|
1867
1724
|
#
|
|
@@ -1874,29 +1731,26 @@ module Google
|
|
|
1874
1731
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1875
1732
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1876
1733
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1877
|
-
def get_permission(account_id, permission_id, fields: nil, quota_user: nil,
|
|
1878
|
-
command = make_simple_command(:get, 'accounts/{accountId}/permissions/{permissionId}', options)
|
|
1734
|
+
def get_permission(account_id, permission_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1735
|
+
command = make_simple_command(:get, 'tagmanager/v1/accounts/{accountId}/permissions/{permissionId}', options)
|
|
1879
1736
|
command.response_representation = Google::Apis::TagmanagerV1::UserAccess::Representation
|
|
1880
1737
|
command.response_class = Google::Apis::TagmanagerV1::UserAccess
|
|
1881
1738
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
1882
1739
|
command.params['permissionId'] = permission_id unless permission_id.nil?
|
|
1883
1740
|
command.query['fields'] = fields unless fields.nil?
|
|
1884
1741
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1885
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1886
1742
|
execute_or_queue_command(command, &block)
|
|
1887
1743
|
end
|
|
1888
1744
|
|
|
1889
1745
|
# List all users that have access to the account along with Account and
|
|
1890
1746
|
# Container Permissions granted to each of them.
|
|
1891
1747
|
# @param [String] account_id
|
|
1892
|
-
# The GTM Account ID.
|
|
1748
|
+
# The GTM Account ID.
|
|
1893
1749
|
# @param [String] fields
|
|
1894
1750
|
# Selector specifying which fields to include in a partial response.
|
|
1895
1751
|
# @param [String] quota_user
|
|
1896
|
-
#
|
|
1897
|
-
# characters.
|
|
1898
|
-
# @param [String] user_ip
|
|
1899
|
-
# Deprecated. Please use quotaUser instead.
|
|
1752
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1753
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1900
1754
|
# @param [Google::Apis::RequestOptions] options
|
|
1901
1755
|
# Request-specific options
|
|
1902
1756
|
#
|
|
@@ -1909,14 +1763,13 @@ module Google
|
|
|
1909
1763
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1910
1764
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1911
1765
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1912
|
-
def list_permissions(account_id, fields: nil, quota_user: nil,
|
|
1913
|
-
command = make_simple_command(:get, 'accounts/{accountId}/permissions', options)
|
|
1766
|
+
def list_permissions(account_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1767
|
+
command = make_simple_command(:get, 'tagmanager/v1/accounts/{accountId}/permissions', options)
|
|
1914
1768
|
command.response_representation = Google::Apis::TagmanagerV1::ListAccountUsersResponse::Representation
|
|
1915
1769
|
command.response_class = Google::Apis::TagmanagerV1::ListAccountUsersResponse
|
|
1916
1770
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
1917
1771
|
command.query['fields'] = fields unless fields.nil?
|
|
1918
1772
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1919
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1920
1773
|
execute_or_queue_command(command, &block)
|
|
1921
1774
|
end
|
|
1922
1775
|
|
|
@@ -1929,10 +1782,8 @@ module Google
|
|
|
1929
1782
|
# @param [String] fields
|
|
1930
1783
|
# Selector specifying which fields to include in a partial response.
|
|
1931
1784
|
# @param [String] quota_user
|
|
1932
|
-
#
|
|
1933
|
-
# characters.
|
|
1934
|
-
# @param [String] user_ip
|
|
1935
|
-
# Deprecated. Please use quotaUser instead.
|
|
1785
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1786
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1936
1787
|
# @param [Google::Apis::RequestOptions] options
|
|
1937
1788
|
# Request-specific options
|
|
1938
1789
|
#
|
|
@@ -1945,8 +1796,8 @@ module Google
|
|
|
1945
1796
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1946
1797
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1947
1798
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1948
|
-
def update_permission(account_id, permission_id, user_access_object = nil, fields: nil, quota_user: nil,
|
|
1949
|
-
command = make_simple_command(:put, 'accounts/{accountId}/permissions/{permissionId}', options)
|
|
1799
|
+
def update_permission(account_id, permission_id, user_access_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1800
|
+
command = make_simple_command(:put, 'tagmanager/v1/accounts/{accountId}/permissions/{permissionId}', options)
|
|
1950
1801
|
command.request_representation = Google::Apis::TagmanagerV1::UserAccess::Representation
|
|
1951
1802
|
command.request_object = user_access_object
|
|
1952
1803
|
command.response_representation = Google::Apis::TagmanagerV1::UserAccess::Representation
|
|
@@ -1955,7 +1806,6 @@ module Google
|
|
|
1955
1806
|
command.params['permissionId'] = permission_id unless permission_id.nil?
|
|
1956
1807
|
command.query['fields'] = fields unless fields.nil?
|
|
1957
1808
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1958
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1959
1809
|
execute_or_queue_command(command, &block)
|
|
1960
1810
|
end
|
|
1961
1811
|
|
|
@@ -1964,7 +1814,6 @@ module Google
|
|
|
1964
1814
|
def apply_command_defaults(command)
|
|
1965
1815
|
command.query['key'] = key unless key.nil?
|
|
1966
1816
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1967
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1968
1817
|
end
|
|
1969
1818
|
end
|
|
1970
1819
|
end
|