google-api-client 0.9.pre3 → 0.9.pre4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/CHANGELOG.md +14 -2
- data/Gemfile +4 -0
- data/MIGRATING.md +1 -1
- data/README.md +17 -3
- data/api_names.yaml +127 -14
- data/api_names_out.yaml +5442 -710
- data/bin/generate-api +16 -14
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +213 -2
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +71 -0
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -42
- data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +15 -29
- data/generated/google/apis/admin_datatransfer_v1.rb +37 -0
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +267 -0
- data/generated/google/apis/admin_datatransfer_v1/representations.rb +118 -0
- data/generated/google/apis/admin_datatransfer_v1/service.rb +262 -0
- data/generated/google/apis/admin_directory_v1.rb +25 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +718 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +244 -0
- data/generated/google/apis/admin_directory_v1/service.rb +1522 -509
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1/service.rb +5 -10
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +6 -0
- data/generated/google/apis/adsense_v1_4/representations.rb +1 -0
- data/generated/google/apis/adsense_v1_4/service.rb +40 -78
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +26 -52
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +11 -13
- data/generated/google/apis/analytics_v3/service.rb +84 -158
- data/generated/google/apis/androidenterprise_v1.rb +2 -2
- data/generated/google/apis/androidenterprise_v1/classes.rb +276 -8
- data/generated/google/apis/androidenterprise_v1/representations.rb +106 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +715 -97
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +2 -2
- data/generated/google/apis/androidpublisher_v2/service.rb +55 -107
- data/generated/google/apis/appengine_v1beta4.rb +35 -0
- data/generated/google/apis/appengine_v1beta4/classes.rb +1532 -0
- data/generated/google/apis/appengine_v1beta4/representations.rb +526 -0
- data/generated/google/apis/appengine_v1beta4/service.rb +476 -0
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsactivity_v1/service.rb +1 -2
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/appstate_v1/service.rb +6 -11
- data/generated/google/apis/autoscaler_v1beta2/service.rb +10 -20
- data/generated/google/apis/bigquery_v2.rb +4 -1
- data/generated/google/apis/bigquery_v2/classes.rb +231 -16
- data/generated/google/apis/bigquery_v2/representations.rb +62 -0
- data/generated/google/apis/bigquery_v2/service.rb +24 -45
- data/generated/google/apis/blogger_v3/service.rb +33 -66
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +441 -0
- data/generated/google/apis/books_v1/representations.rb +177 -0
- data/generated/google/apis/books_v1/service.rb +210 -90
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +34 -18
- data/generated/google/apis/calendar_v3/service.rb +118 -103
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +12 -3
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2/service.rb +5 -10
- data/generated/google/apis/classroom_v1.rb +49 -0
- data/generated/google/apis/classroom_v1/classes.rb +512 -0
- data/generated/google/apis/classroom_v1/representations.rb +217 -0
- data/generated/google/apis/classroom_v1/service.rb +970 -0
- data/generated/google/apis/cloudbilling_v1.rb +35 -0
- data/generated/google/apis/cloudbilling_v1/classes.rb +169 -0
- data/generated/google/apis/cloudbilling_v1/representations.rb +79 -0
- data/generated/google/apis/cloudbilling_v1/service.rb +258 -0
- data/generated/google/apis/clouddebugger_v2.rb +41 -0
- data/generated/google/apis/clouddebugger_v2/classes.rb +1004 -0
- data/generated/google/apis/clouddebugger_v2/representations.rb +410 -0
- data/generated/google/apis/clouddebugger_v2/service.rb +370 -0
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +6 -12
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +5 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +173 -249
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +36 -68
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +293 -80
- data/generated/google/apis/cloudtrace_v1.rb +35 -0
- data/generated/google/apis/cloudtrace_v1/classes.rb +188 -0
- data/generated/google/apis/cloudtrace_v1/representations.rb +92 -0
- data/generated/google/apis/cloudtrace_v1/service.rb +190 -0
- data/generated/google/apis/clouduseraccounts_beta.rb +43 -0
- data/generated/google/apis/clouduseraccounts_beta/classes.rb +823 -0
- data/generated/google/apis/clouduseraccounts_beta/representations.rb +313 -0
- data/generated/google/apis/clouduseraccounts_beta/service.rb +854 -0
- data/generated/google/apis/compute_beta.rb +49 -0
- data/generated/google/apis/compute_beta/classes.rb +9128 -0
- data/generated/google/apis/compute_beta/representations.rb +3048 -0
- data/generated/google/apis/compute_beta/service.rb +10154 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1305 -520
- data/generated/google/apis/compute_v1/representations.rb +122 -15
- data/generated/google/apis/compute_v1/service.rb +2202 -1085
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +56 -31
- data/generated/google/apis/container_v1/representations.rb +12 -0
- data/generated/google/apis/container_v1/service.rb +62 -41
- data/generated/google/apis/content_v2.rb +2 -2
- data/generated/google/apis/content_v2/classes.rb +2252 -56
- data/generated/google/apis/content_v2/representations.rb +917 -87
- data/generated/google/apis/content_v2/service.rb +680 -85
- data/generated/google/apis/coordinate_v1.rb +1 -1
- data/generated/google/apis/coordinate_v1/service.rb +16 -25
- data/generated/google/apis/customsearch_v1/service.rb +1 -2
- data/generated/google/apis/datastore_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1beta2/service.rb +12 -18
- data/generated/google/apis/deploymentmanager_v2.rb +44 -0
- data/generated/google/apis/deploymentmanager_v2/classes.rb +1089 -0
- data/generated/google/apis/deploymentmanager_v2/representations.rb +422 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +857 -0
- data/generated/google/apis/deploymentmanager_v2beta2.rb +5 -2
- data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +22 -3
- data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +3 -0
- data/generated/google/apis/deploymentmanager_v2beta2/service.rb +14 -27
- data/generated/google/apis/dfareporting_v2_1.rb +1 -1
- data/generated/google/apis/dfareporting_v2_1/classes.rb +29 -14
- data/generated/google/apis/dfareporting_v2_1/service.rb +196 -389
- data/generated/google/apis/discovery_v1/classes.rb +7 -0
- data/generated/google/apis/discovery_v1/representations.rb +1 -0
- data/generated/google/apis/discovery_v1/service.rb +2 -4
- data/generated/google/apis/dns_v1.rb +4 -1
- data/generated/google/apis/dns_v1/service.rb +9 -18
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +9 -2
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +1 -0
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -16
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +15 -6
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +1 -0
- data/generated/google/apis/doubleclicksearch_v2/service.rb +13 -23
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +73 -30
- data/generated/google/apis/drive_v2/representations.rb +14 -0
- data/generated/google/apis/drive_v2/service.rb +139 -135
- data/generated/google/apis/drive_v3.rb +55 -0
- data/generated/google/apis/drive_v3/classes.rb +1534 -0
- data/generated/google/apis/drive_v3/representations.rb +497 -0
- data/generated/google/apis/drive_v3/service.rb +1541 -0
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +14 -27
- data/generated/google/apis/fusiontables_v2/service.rb +40 -73
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +14 -27
- data/generated/google/apis/games_management_v1management.rb +37 -0
- data/generated/google/apis/games_management_v1management/classes.rb +524 -0
- data/generated/google/apis/games_management_v1management/representations.rb +231 -0
- data/generated/google/apis/games_management_v1management/service.rb +994 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +39 -0
- data/generated/google/apis/games_v1/representations.rb +14 -0
- data/generated/google/apis/games_v1/service.rb +93 -109
- data/generated/google/apis/gan_v1beta1/service.rb +10 -20
- data/generated/google/apis/genomics_v1.rb +5 -3
- data/generated/google/apis/genomics_v1/classes.rb +519 -200
- data/generated/google/apis/genomics_v1/representations.rb +126 -13
- data/generated/google/apis/genomics_v1/service.rb +392 -236
- data/generated/google/apis/gmail_v1.rb +4 -1
- data/generated/google/apis/gmail_v1/service.rb +39 -71
- data/generated/google/apis/groupsmigration_v1/service.rb +2 -3
- data/generated/google/apis/groupssettings_v1/service.rb +3 -6
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +125 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +37 -0
- data/generated/google/apis/identitytoolkit_v3/service.rb +44 -24
- data/generated/google/apis/kgsearch_v1.rb +32 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +59 -0
- data/generated/google/apis/kgsearch_v1/representations.rb +39 -0
- data/generated/google/apis/kgsearch_v1/service.rb +111 -0
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +7 -14
- data/generated/google/apis/logging_v1beta3.rb +16 -4
- data/generated/google/apis/logging_v1beta3/classes.rb +620 -46
- data/generated/google/apis/logging_v1beta3/representations.rb +144 -0
- data/generated/google/apis/logging_v1beta3/service.rb +435 -104
- data/generated/google/apis/manager_v1beta2.rb +3 -0
- data/generated/google/apis/manager_v1beta2/service.rb +8 -16
- data/generated/google/apis/mapsengine_v1.rb +1 -1
- data/generated/google/apis/mapsengine_v1/service.rb +85 -162
- data/generated/google/apis/mirror_v1.rb +1 -1
- data/generated/google/apis/mirror_v1/service.rb +28 -52
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/oauth2_v2/service.rb +4 -8
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -2
- data/generated/google/apis/partners_v2.rb +32 -0
- data/generated/google/apis/partners_v2/classes.rb +942 -0
- data/generated/google/apis/partners_v2/representations.rb +402 -0
- data/generated/google/apis/partners_v2/service.rb +400 -0
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1/classes.rb +207 -0
- data/generated/google/apis/plus_domains_v1/representations.rb +114 -0
- data/generated/google/apis/plus_domains_v1/service.rb +21 -41
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/plus_v1/classes.rb +207 -0
- data/generated/google/apis/plus_v1/representations.rb +114 -0
- data/generated/google/apis/plus_v1/service.rb +11 -56
- data/generated/google/apis/prediction_v1_6.rb +1 -1
- data/generated/google/apis/prediction_v1_6/service.rb +8 -16
- data/generated/google/apis/proximitybeacon_v1beta1.rb +31 -0
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +639 -0
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +274 -0
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +591 -0
- data/generated/google/apis/pubsub_v1.rb +37 -0
- data/generated/google/apis/pubsub_v1/classes.rb +614 -0
- data/generated/google/apis/pubsub_v1/representations.rb +281 -0
- data/generated/google/apis/pubsub_v1/service.rb +774 -0
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +78 -283
- data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -85
- data/generated/google/apis/pubsub_v1beta2/service.rb +79 -87
- data/generated/google/apis/qpx_express_v1/service.rb +1 -2
- data/generated/google/apis/replicapool_v1beta2.rb +3 -0
- data/generated/google/apis/replicapool_v1beta2/service.rb +12 -24
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -1
- data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +46 -2
- data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +16 -0
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +58 -18
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +19 -1
- data/generated/google/apis/reseller_v1/representations.rb +1 -0
- data/generated/google/apis/reseller_v1/service.rb +16 -30
- data/generated/google/apis/resourceviews_v1beta2.rb +3 -0
- data/generated/google/apis/resourceviews_v1beta2/service.rb +16 -27
- data/generated/google/apis/script_v1.rb +61 -0
- data/generated/google/apis/script_v1/classes.rb +259 -0
- data/generated/google/apis/script_v1/representations.rb +106 -0
- data/generated/google/apis/script_v1/service.rb +98 -0
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/site_verification_v1/service.rb +8 -15
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +186 -2
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +70 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +166 -75
- data/generated/google/apis/storage_v1.rb +5 -2
- data/generated/google/apis/storage_v1/classes.rb +47 -4
- data/generated/google/apis/storage_v1/representations.rb +18 -0
- data/generated/google/apis/storage_v1/service.rb +77 -94
- data/generated/google/apis/storagetransfer_v1.rb +35 -0
- data/generated/google/apis/storagetransfer_v1/classes.rb +1046 -0
- data/generated/google/apis/storagetransfer_v1/representations.rb +370 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +473 -0
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/classes.rb +189 -31
- data/generated/google/apis/tagmanager_v1/representations.rb +69 -15
- data/generated/google/apis/tagmanager_v1/service.rb +114 -275
- data/generated/google/apis/taskqueue_v1beta2/service.rb +8 -16
- data/generated/google/apis/tasks_v1/service.rb +14 -28
- data/generated/google/apis/translate_v2/service.rb +3 -6
- data/generated/google/apis/urlshortener_v1/service.rb +3 -6
- data/generated/google/apis/webmasters_v3.rb +3 -3
- data/generated/google/apis/webmasters_v3/classes.rb +4 -4
- data/generated/google/apis/webmasters_v3/service.rb +16 -30
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +6 -0
- data/generated/google/apis/youtube_analytics_v1/representations.rb +1 -0
- data/generated/google/apis/youtube_analytics_v1/service.rb +16 -21
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +111 -78
- data/generated/google/apis/youtube_v3/representations.rb +2 -0
- data/generated/google/apis/youtube_v3/service.rb +78 -246
- data/generated/google/apis/youtubereporting_v1.rb +38 -0
- data/generated/google/apis/youtubereporting_v1/classes.rb +258 -0
- data/generated/google/apis/youtubereporting_v1/representations.rb +128 -0
- data/generated/google/apis/youtubereporting_v1/service.rb +364 -0
- data/google-api-client.gemspec +3 -3
- data/lib/google/api_client/auth/installed_app.rb +2 -2
- data/lib/google/api_client/auth/key_utils.rb +1 -0
- data/lib/google/api_client/auth/storage.rb +1 -0
- data/lib/google/api_client/auth/storages/file_store.rb +1 -0
- data/lib/google/api_client/auth/storages/redis_store.rb +1 -0
- data/lib/google/api_client/client_secrets.rb +4 -5
- data/lib/google/apis/core/api_command.rb +2 -2
- data/lib/google/apis/core/base_service.rb +1 -0
- data/lib/google/apis/core/batch.rb +25 -8
- data/lib/google/apis/core/download.rb +1 -1
- data/lib/google/apis/core/http_command.rb +24 -12
- data/lib/google/apis/core/multipart.rb +20 -6
- data/lib/google/apis/core/upload.rb +11 -4
- data/lib/google/apis/generator/annotator.rb +29 -10
- data/lib/google/apis/generator/helpers.rb +1 -1
- data/lib/google/apis/generator/templates/_method.tmpl +5 -6
- data/lib/google/apis/options.rb +7 -3
- data/lib/google/apis/version.rb +1 -1
- data/samples/calendar/calendar.rb +1 -1
- data/samples/drive/drive.rb +9 -2
- data/samples/pubsub/pubsub.rb +5 -6
- data/samples/translate/translate.rb +1 -5
- data/script/generate +20 -5
- data/spec/fixtures/files/child/.gitignore +0 -0
- data/spec/fixtures/files/invalid.json +1 -0
- data/spec/google/api_client/client_secrets_spec.rb +38 -1
- data/spec/google/apis/core/batch_spec.rb +22 -8
- data/spec/google/apis/core/download_spec.rb +13 -0
- data/spec/google/apis/core/http_command_spec.rb +26 -9
- data/spec/google/apis/core/upload_spec.rb +65 -17
- data/spec/google/apis/options_spec.rb +8 -0
- data/spec/integration_tests/adsense_spec.rb +28 -0
- data/spec/integration_tests/pubsub_spec.rb +3 -3
- data/spec/spec_helper.rb +5 -1
- data/third_party/hurley_patches.rb +103 -0
- metadata +87 -7
@@ -77,8 +77,7 @@ module Google
|
|
77
77
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
78
78
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
79
79
|
def get_account(account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
80
|
-
|
81
|
-
command = make_simple_command(:get, path, options)
|
80
|
+
command = make_simple_command(:get, 'accounts/{accountId}', options)
|
82
81
|
command.response_representation = Google::Apis::TagmanagerV1::Account::Representation
|
83
82
|
command.response_class = Google::Apis::TagmanagerV1::Account
|
84
83
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -111,8 +110,7 @@ module Google
|
|
111
110
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
112
111
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
113
112
|
def list_accounts(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
114
|
-
|
115
|
-
command = make_simple_command(:get, path, options)
|
113
|
+
command = make_simple_command(:get, 'accounts', options)
|
116
114
|
command.response_representation = Google::Apis::TagmanagerV1::ListAccountsResponse::Representation
|
117
115
|
command.response_class = Google::Apis::TagmanagerV1::ListAccountsResponse
|
118
116
|
command.query['fields'] = fields unless fields.nil?
|
@@ -150,8 +148,7 @@ module Google
|
|
150
148
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
151
149
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
152
150
|
def update_account(account_id, account_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
153
|
-
|
154
|
-
command = make_simple_command(:put, path, options)
|
151
|
+
command = make_simple_command(:put, 'accounts/{accountId}', options)
|
155
152
|
command.request_representation = Google::Apis::TagmanagerV1::Account::Representation
|
156
153
|
command.request_object = account_object
|
157
154
|
command.response_representation = Google::Apis::TagmanagerV1::Account::Representation
|
@@ -190,8 +187,7 @@ module Google
|
|
190
187
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
191
188
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
192
189
|
def create_container(account_id, container_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
193
|
-
|
194
|
-
command = make_simple_command(:post, path, options)
|
190
|
+
command = make_simple_command(:post, 'accounts/{accountId}/containers', options)
|
195
191
|
command.request_representation = Google::Apis::TagmanagerV1::Container::Representation
|
196
192
|
command.request_object = container_object
|
197
193
|
command.response_representation = Google::Apis::TagmanagerV1::Container::Representation
|
@@ -230,8 +226,7 @@ module Google
|
|
230
226
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
231
227
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
232
228
|
def delete_container(account_id, container_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
233
|
-
|
234
|
-
command = make_simple_command(:delete, path, options)
|
229
|
+
command = make_simple_command(:delete, 'accounts/{accountId}/containers/{containerId}', options)
|
235
230
|
command.params['accountId'] = account_id unless account_id.nil?
|
236
231
|
command.params['containerId'] = container_id unless container_id.nil?
|
237
232
|
command.query['fields'] = fields unless fields.nil?
|
@@ -267,8 +262,7 @@ module Google
|
|
267
262
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
268
263
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
269
264
|
def get_container(account_id, container_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
270
|
-
|
271
|
-
command = make_simple_command(:get, path, options)
|
265
|
+
command = make_simple_command(:get, 'accounts/{accountId}/containers/{containerId}', options)
|
272
266
|
command.response_representation = Google::Apis::TagmanagerV1::Container::Representation
|
273
267
|
command.response_class = Google::Apis::TagmanagerV1::Container
|
274
268
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -304,8 +298,7 @@ module Google
|
|
304
298
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
305
299
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
306
300
|
def list_containers(account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
307
|
-
|
308
|
-
command = make_simple_command(:get, path, options)
|
301
|
+
command = make_simple_command(:get, 'accounts/{accountId}/containers', options)
|
309
302
|
command.response_representation = Google::Apis::TagmanagerV1::ListContainersResponse::Representation
|
310
303
|
command.response_class = Google::Apis::TagmanagerV1::ListContainersResponse
|
311
304
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -346,8 +339,7 @@ module Google
|
|
346
339
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
347
340
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
348
341
|
def update_container(account_id, container_id, container_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
349
|
-
|
350
|
-
command = make_simple_command(:put, path, options)
|
342
|
+
command = make_simple_command(:put, 'accounts/{accountId}/containers/{containerId}', options)
|
351
343
|
command.request_representation = Google::Apis::TagmanagerV1::Container::Representation
|
352
344
|
command.request_object = container_object
|
353
345
|
command.response_representation = Google::Apis::TagmanagerV1::Container::Representation
|
@@ -361,12 +353,12 @@ module Google
|
|
361
353
|
execute_or_queue_command(command, &block)
|
362
354
|
end
|
363
355
|
|
364
|
-
# Creates a GTM
|
356
|
+
# Creates a GTM Folder.
|
365
357
|
# @param [String] account_id
|
366
358
|
# The GTM Account ID.
|
367
359
|
# @param [String] container_id
|
368
360
|
# The GTM Container ID.
|
369
|
-
# @param [Google::Apis::TagmanagerV1::
|
361
|
+
# @param [Google::Apis::TagmanagerV1::Folder] folder_object
|
370
362
|
# @param [String] fields
|
371
363
|
# Selector specifying which fields to include in a partial response.
|
372
364
|
# @param [String] quota_user
|
@@ -380,21 +372,20 @@ module Google
|
|
380
372
|
# Request-specific options
|
381
373
|
#
|
382
374
|
# @yield [result, err] Result & error if block supplied
|
383
|
-
# @yieldparam result [Google::Apis::TagmanagerV1::
|
375
|
+
# @yieldparam result [Google::Apis::TagmanagerV1::Folder] parsed result object
|
384
376
|
# @yieldparam err [StandardError] error object if request failed
|
385
377
|
#
|
386
|
-
# @return [Google::Apis::TagmanagerV1::
|
378
|
+
# @return [Google::Apis::TagmanagerV1::Folder]
|
387
379
|
#
|
388
380
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
389
381
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
390
382
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
391
|
-
def
|
392
|
-
|
393
|
-
command =
|
394
|
-
command.
|
395
|
-
command.
|
396
|
-
command.
|
397
|
-
command.response_class = Google::Apis::TagmanagerV1::Macro
|
383
|
+
def create_account_container_folder(account_id, container_id, folder_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
384
|
+
command = make_simple_command(:post, 'accounts/{accountId}/containers/{containerId}/folders', options)
|
385
|
+
command.request_representation = Google::Apis::TagmanagerV1::Folder::Representation
|
386
|
+
command.request_object = folder_object
|
387
|
+
command.response_representation = Google::Apis::TagmanagerV1::Folder::Representation
|
388
|
+
command.response_class = Google::Apis::TagmanagerV1::Folder
|
398
389
|
command.params['accountId'] = account_id unless account_id.nil?
|
399
390
|
command.params['containerId'] = container_id unless container_id.nil?
|
400
391
|
command.query['fields'] = fields unless fields.nil?
|
@@ -403,13 +394,13 @@ module Google
|
|
403
394
|
execute_or_queue_command(command, &block)
|
404
395
|
end
|
405
396
|
|
406
|
-
# Deletes a GTM
|
397
|
+
# Deletes a GTM Folder.
|
407
398
|
# @param [String] account_id
|
408
399
|
# The GTM Account ID.
|
409
400
|
# @param [String] container_id
|
410
401
|
# The GTM Container ID.
|
411
|
-
# @param [String]
|
412
|
-
# The GTM
|
402
|
+
# @param [String] folder_id
|
403
|
+
# The GTM Folder ID.
|
413
404
|
# @param [String] fields
|
414
405
|
# Selector specifying which fields to include in a partial response.
|
415
406
|
# @param [String] quota_user
|
@@ -431,25 +422,24 @@ module Google
|
|
431
422
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
432
423
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
433
424
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
434
|
-
def
|
435
|
-
|
436
|
-
command = make_simple_command(:delete, path, options)
|
425
|
+
def delete_account_container_folder(account_id, container_id, folder_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
426
|
+
command = make_simple_command(:delete, 'accounts/{accountId}/containers/{containerId}/folders/{folderId}', options)
|
437
427
|
command.params['accountId'] = account_id unless account_id.nil?
|
438
428
|
command.params['containerId'] = container_id unless container_id.nil?
|
439
|
-
command.params['
|
429
|
+
command.params['folderId'] = folder_id unless folder_id.nil?
|
440
430
|
command.query['fields'] = fields unless fields.nil?
|
441
431
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
442
432
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
443
433
|
execute_or_queue_command(command, &block)
|
444
434
|
end
|
445
435
|
|
446
|
-
# Gets a GTM
|
436
|
+
# Gets a GTM Folder.
|
447
437
|
# @param [String] account_id
|
448
438
|
# The GTM Account ID.
|
449
439
|
# @param [String] container_id
|
450
440
|
# The GTM Container ID.
|
451
|
-
# @param [String]
|
452
|
-
# The GTM
|
441
|
+
# @param [String] folder_id
|
442
|
+
# The GTM Folder ID.
|
453
443
|
# @param [String] fields
|
454
444
|
# Selector specifying which fields to include in a partial response.
|
455
445
|
# @param [String] quota_user
|
@@ -463,29 +453,28 @@ module Google
|
|
463
453
|
# Request-specific options
|
464
454
|
#
|
465
455
|
# @yield [result, err] Result & error if block supplied
|
466
|
-
# @yieldparam result [Google::Apis::TagmanagerV1::
|
456
|
+
# @yieldparam result [Google::Apis::TagmanagerV1::Folder] parsed result object
|
467
457
|
# @yieldparam err [StandardError] error object if request failed
|
468
458
|
#
|
469
|
-
# @return [Google::Apis::TagmanagerV1::
|
459
|
+
# @return [Google::Apis::TagmanagerV1::Folder]
|
470
460
|
#
|
471
461
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
472
462
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
473
463
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
474
|
-
def
|
475
|
-
|
476
|
-
command =
|
477
|
-
command.
|
478
|
-
command.response_class = Google::Apis::TagmanagerV1::Macro
|
464
|
+
def get_account_container_folder(account_id, container_id, folder_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
465
|
+
command = make_simple_command(:get, 'accounts/{accountId}/containers/{containerId}/folders/{folderId}', options)
|
466
|
+
command.response_representation = Google::Apis::TagmanagerV1::Folder::Representation
|
467
|
+
command.response_class = Google::Apis::TagmanagerV1::Folder
|
479
468
|
command.params['accountId'] = account_id unless account_id.nil?
|
480
469
|
command.params['containerId'] = container_id unless container_id.nil?
|
481
|
-
command.params['
|
470
|
+
command.params['folderId'] = folder_id unless folder_id.nil?
|
482
471
|
command.query['fields'] = fields unless fields.nil?
|
483
472
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
484
473
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
485
474
|
execute_or_queue_command(command, &block)
|
486
475
|
end
|
487
476
|
|
488
|
-
# Lists all GTM
|
477
|
+
# Lists all GTM Folders of a Container.
|
489
478
|
# @param [String] account_id
|
490
479
|
# The GTM Account ID.
|
491
480
|
# @param [String] container_id
|
@@ -503,19 +492,18 @@ module Google
|
|
503
492
|
# Request-specific options
|
504
493
|
#
|
505
494
|
# @yield [result, err] Result & error if block supplied
|
506
|
-
# @yieldparam result [Google::Apis::TagmanagerV1::
|
495
|
+
# @yieldparam result [Google::Apis::TagmanagerV1::ListFoldersResponse] parsed result object
|
507
496
|
# @yieldparam err [StandardError] error object if request failed
|
508
497
|
#
|
509
|
-
# @return [Google::Apis::TagmanagerV1::
|
498
|
+
# @return [Google::Apis::TagmanagerV1::ListFoldersResponse]
|
510
499
|
#
|
511
500
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
512
501
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
513
502
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
514
|
-
def
|
515
|
-
|
516
|
-
command =
|
517
|
-
command.
|
518
|
-
command.response_class = Google::Apis::TagmanagerV1::ListMacrosResponse
|
503
|
+
def list_account_container_folders(account_id, container_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
504
|
+
command = make_simple_command(:get, 'accounts/{accountId}/containers/{containerId}/folders', options)
|
505
|
+
command.response_representation = Google::Apis::TagmanagerV1::ListFoldersResponse::Representation
|
506
|
+
command.response_class = Google::Apis::TagmanagerV1::ListFoldersResponse
|
519
507
|
command.params['accountId'] = account_id unless account_id.nil?
|
520
508
|
command.params['containerId'] = container_id unless container_id.nil?
|
521
509
|
command.query['fields'] = fields unless fields.nil?
|
@@ -524,16 +512,16 @@ module Google
|
|
524
512
|
execute_or_queue_command(command, &block)
|
525
513
|
end
|
526
514
|
|
527
|
-
# Updates a GTM
|
515
|
+
# Updates a GTM Folder.
|
528
516
|
# @param [String] account_id
|
529
517
|
# The GTM Account ID.
|
530
518
|
# @param [String] container_id
|
531
519
|
# The GTM Container ID.
|
532
|
-
# @param [String]
|
533
|
-
# The GTM
|
534
|
-
# @param [Google::Apis::TagmanagerV1::
|
520
|
+
# @param [String] folder_id
|
521
|
+
# The GTM Folder ID.
|
522
|
+
# @param [Google::Apis::TagmanagerV1::Folder] folder_object
|
535
523
|
# @param [String] fingerprint
|
536
|
-
# When provided, this fingerprint must match the fingerprint of the
|
524
|
+
# When provided, this fingerprint must match the fingerprint of the folder in
|
537
525
|
# storage.
|
538
526
|
# @param [String] fields
|
539
527
|
# Selector specifying which fields to include in a partial response.
|
@@ -548,24 +536,23 @@ module Google
|
|
548
536
|
# Request-specific options
|
549
537
|
#
|
550
538
|
# @yield [result, err] Result & error if block supplied
|
551
|
-
# @yieldparam result [Google::Apis::TagmanagerV1::
|
539
|
+
# @yieldparam result [Google::Apis::TagmanagerV1::Folder] parsed result object
|
552
540
|
# @yieldparam err [StandardError] error object if request failed
|
553
541
|
#
|
554
|
-
# @return [Google::Apis::TagmanagerV1::
|
542
|
+
# @return [Google::Apis::TagmanagerV1::Folder]
|
555
543
|
#
|
556
544
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
557
545
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
558
546
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
559
|
-
def
|
560
|
-
|
561
|
-
command =
|
562
|
-
command.
|
563
|
-
command.
|
564
|
-
command.
|
565
|
-
command.response_class = Google::Apis::TagmanagerV1::Macro
|
547
|
+
def update_account_container_folder(account_id, container_id, folder_id, folder_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
548
|
+
command = make_simple_command(:put, 'accounts/{accountId}/containers/{containerId}/folders/{folderId}', options)
|
549
|
+
command.request_representation = Google::Apis::TagmanagerV1::Folder::Representation
|
550
|
+
command.request_object = folder_object
|
551
|
+
command.response_representation = Google::Apis::TagmanagerV1::Folder::Representation
|
552
|
+
command.response_class = Google::Apis::TagmanagerV1::Folder
|
566
553
|
command.params['accountId'] = account_id unless account_id.nil?
|
567
554
|
command.params['containerId'] = container_id unless container_id.nil?
|
568
|
-
command.params['
|
555
|
+
command.params['folderId'] = folder_id unless folder_id.nil?
|
569
556
|
command.query['fingerprint'] = fingerprint unless fingerprint.nil?
|
570
557
|
command.query['fields'] = fields unless fields.nil?
|
571
558
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -573,12 +560,13 @@ module Google
|
|
573
560
|
execute_or_queue_command(command, &block)
|
574
561
|
end
|
575
562
|
|
576
|
-
#
|
563
|
+
# List all entities in a GTM Folder.
|
577
564
|
# @param [String] account_id
|
578
565
|
# The GTM Account ID.
|
579
566
|
# @param [String] container_id
|
580
567
|
# The GTM Container ID.
|
581
|
-
# @param [
|
568
|
+
# @param [String] folder_id
|
569
|
+
# The GTM Folder ID.
|
582
570
|
# @param [String] fields
|
583
571
|
# Selector specifying which fields to include in a partial response.
|
584
572
|
# @param [String] quota_user
|
@@ -592,36 +580,40 @@ module Google
|
|
592
580
|
# Request-specific options
|
593
581
|
#
|
594
582
|
# @yield [result, err] Result & error if block supplied
|
595
|
-
# @yieldparam result [Google::Apis::TagmanagerV1::
|
583
|
+
# @yieldparam result [Google::Apis::TagmanagerV1::FolderEntities] parsed result object
|
596
584
|
# @yieldparam err [StandardError] error object if request failed
|
597
585
|
#
|
598
|
-
# @return [Google::Apis::TagmanagerV1::
|
586
|
+
# @return [Google::Apis::TagmanagerV1::FolderEntities]
|
599
587
|
#
|
600
588
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
601
589
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
602
590
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
603
|
-
def
|
604
|
-
|
605
|
-
command =
|
606
|
-
command.
|
607
|
-
command.request_object = rule_object
|
608
|
-
command.response_representation = Google::Apis::TagmanagerV1::Rule::Representation
|
609
|
-
command.response_class = Google::Apis::TagmanagerV1::Rule
|
591
|
+
def list_account_container_folder_entities(account_id, container_id, folder_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
592
|
+
command = make_simple_command(:get, 'accounts/{accountId}/containers/{containerId}/folders/{folderId}/entities', options)
|
593
|
+
command.response_representation = Google::Apis::TagmanagerV1::FolderEntities::Representation
|
594
|
+
command.response_class = Google::Apis::TagmanagerV1::FolderEntities
|
610
595
|
command.params['accountId'] = account_id unless account_id.nil?
|
611
596
|
command.params['containerId'] = container_id unless container_id.nil?
|
597
|
+
command.params['folderId'] = folder_id unless folder_id.nil?
|
612
598
|
command.query['fields'] = fields unless fields.nil?
|
613
599
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
614
600
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
615
601
|
execute_or_queue_command(command, &block)
|
616
602
|
end
|
617
603
|
|
618
|
-
#
|
604
|
+
# Moves entities to a GTM Folder.
|
619
605
|
# @param [String] account_id
|
620
606
|
# The GTM Account ID.
|
621
607
|
# @param [String] container_id
|
622
608
|
# The GTM Container ID.
|
623
|
-
# @param [String]
|
624
|
-
# The GTM
|
609
|
+
# @param [String] folder_id
|
610
|
+
# The GTM Folder ID.
|
611
|
+
# @param [Array<String>, String] tag_id
|
612
|
+
# The tags to be moved to the folder.
|
613
|
+
# @param [Array<String>, String] trigger_id
|
614
|
+
# The triggers to be moved to the folder.
|
615
|
+
# @param [Array<String>, String] variable_id
|
616
|
+
# The variables to be moved to the folder.
|
625
617
|
# @param [String] fields
|
626
618
|
# Selector specifying which fields to include in a partial response.
|
627
619
|
# @param [String] quota_user
|
@@ -643,142 +635,14 @@ module Google
|
|
643
635
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
644
636
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
645
637
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
646
|
-
def
|
647
|
-
|
648
|
-
command = make_simple_command(:delete, path, options)
|
638
|
+
def update_account_container_move_folder(account_id, container_id, folder_id, tag_id: nil, trigger_id: nil, variable_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
639
|
+
command = make_simple_command(:put, 'accounts/{accountId}/containers/{containerId}/move_folders/{folderId}', options)
|
649
640
|
command.params['accountId'] = account_id unless account_id.nil?
|
650
641
|
command.params['containerId'] = container_id unless container_id.nil?
|
651
|
-
command.params['
|
652
|
-
command.query['
|
653
|
-
command.query['
|
654
|
-
command.query['
|
655
|
-
execute_or_queue_command(command, &block)
|
656
|
-
end
|
657
|
-
|
658
|
-
# Gets a GTM Rule.
|
659
|
-
# @param [String] account_id
|
660
|
-
# The GTM Account ID.
|
661
|
-
# @param [String] container_id
|
662
|
-
# The GTM Container ID.
|
663
|
-
# @param [String] rule_id
|
664
|
-
# The GTM Rule ID.
|
665
|
-
# @param [String] fields
|
666
|
-
# Selector specifying which fields to include in a partial response.
|
667
|
-
# @param [String] quota_user
|
668
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
669
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
670
|
-
# Overrides userIp if both are provided.
|
671
|
-
# @param [String] user_ip
|
672
|
-
# IP address of the site where the request originates. Use this if you want to
|
673
|
-
# enforce per-user limits.
|
674
|
-
# @param [Google::Apis::RequestOptions] options
|
675
|
-
# Request-specific options
|
676
|
-
#
|
677
|
-
# @yield [result, err] Result & error if block supplied
|
678
|
-
# @yieldparam result [Google::Apis::TagmanagerV1::Rule] parsed result object
|
679
|
-
# @yieldparam err [StandardError] error object if request failed
|
680
|
-
#
|
681
|
-
# @return [Google::Apis::TagmanagerV1::Rule]
|
682
|
-
#
|
683
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
684
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
685
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
686
|
-
def get_rule(account_id, container_id, rule_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
687
|
-
path = 'accounts/{accountId}/containers/{containerId}/rules/{ruleId}'
|
688
|
-
command = make_simple_command(:get, path, options)
|
689
|
-
command.response_representation = Google::Apis::TagmanagerV1::Rule::Representation
|
690
|
-
command.response_class = Google::Apis::TagmanagerV1::Rule
|
691
|
-
command.params['accountId'] = account_id unless account_id.nil?
|
692
|
-
command.params['containerId'] = container_id unless container_id.nil?
|
693
|
-
command.params['ruleId'] = rule_id unless rule_id.nil?
|
694
|
-
command.query['fields'] = fields unless fields.nil?
|
695
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
696
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
697
|
-
execute_or_queue_command(command, &block)
|
698
|
-
end
|
699
|
-
|
700
|
-
# Lists all GTM Rules of a Container.
|
701
|
-
# @param [String] account_id
|
702
|
-
# The GTM Account ID.
|
703
|
-
# @param [String] container_id
|
704
|
-
# The GTM Container ID.
|
705
|
-
# @param [String] fields
|
706
|
-
# Selector specifying which fields to include in a partial response.
|
707
|
-
# @param [String] quota_user
|
708
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
709
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
710
|
-
# Overrides userIp if both are provided.
|
711
|
-
# @param [String] user_ip
|
712
|
-
# IP address of the site where the request originates. Use this if you want to
|
713
|
-
# enforce per-user limits.
|
714
|
-
# @param [Google::Apis::RequestOptions] options
|
715
|
-
# Request-specific options
|
716
|
-
#
|
717
|
-
# @yield [result, err] Result & error if block supplied
|
718
|
-
# @yieldparam result [Google::Apis::TagmanagerV1::ListRulesResponse] parsed result object
|
719
|
-
# @yieldparam err [StandardError] error object if request failed
|
720
|
-
#
|
721
|
-
# @return [Google::Apis::TagmanagerV1::ListRulesResponse]
|
722
|
-
#
|
723
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
724
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
725
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
726
|
-
def list_rules(account_id, container_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
727
|
-
path = 'accounts/{accountId}/containers/{containerId}/rules'
|
728
|
-
command = make_simple_command(:get, path, options)
|
729
|
-
command.response_representation = Google::Apis::TagmanagerV1::ListRulesResponse::Representation
|
730
|
-
command.response_class = Google::Apis::TagmanagerV1::ListRulesResponse
|
731
|
-
command.params['accountId'] = account_id unless account_id.nil?
|
732
|
-
command.params['containerId'] = container_id unless container_id.nil?
|
733
|
-
command.query['fields'] = fields unless fields.nil?
|
734
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
735
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
736
|
-
execute_or_queue_command(command, &block)
|
737
|
-
end
|
738
|
-
|
739
|
-
# Updates a GTM Rule.
|
740
|
-
# @param [String] account_id
|
741
|
-
# The GTM Account ID.
|
742
|
-
# @param [String] container_id
|
743
|
-
# The GTM Container ID.
|
744
|
-
# @param [String] rule_id
|
745
|
-
# The GTM Rule ID.
|
746
|
-
# @param [Google::Apis::TagmanagerV1::Rule] rule_object
|
747
|
-
# @param [String] fingerprint
|
748
|
-
# When provided, this fingerprint must match the fingerprint of the rule in
|
749
|
-
# storage.
|
750
|
-
# @param [String] fields
|
751
|
-
# Selector specifying which fields to include in a partial response.
|
752
|
-
# @param [String] quota_user
|
753
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
754
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
755
|
-
# Overrides userIp if both are provided.
|
756
|
-
# @param [String] user_ip
|
757
|
-
# IP address of the site where the request originates. Use this if you want to
|
758
|
-
# enforce per-user limits.
|
759
|
-
# @param [Google::Apis::RequestOptions] options
|
760
|
-
# Request-specific options
|
761
|
-
#
|
762
|
-
# @yield [result, err] Result & error if block supplied
|
763
|
-
# @yieldparam result [Google::Apis::TagmanagerV1::Rule] parsed result object
|
764
|
-
# @yieldparam err [StandardError] error object if request failed
|
765
|
-
#
|
766
|
-
# @return [Google::Apis::TagmanagerV1::Rule]
|
767
|
-
#
|
768
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
769
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
770
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
771
|
-
def update_rule(account_id, container_id, rule_id, rule_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
772
|
-
path = 'accounts/{accountId}/containers/{containerId}/rules/{ruleId}'
|
773
|
-
command = make_simple_command(:put, path, options)
|
774
|
-
command.request_representation = Google::Apis::TagmanagerV1::Rule::Representation
|
775
|
-
command.request_object = rule_object
|
776
|
-
command.response_representation = Google::Apis::TagmanagerV1::Rule::Representation
|
777
|
-
command.response_class = Google::Apis::TagmanagerV1::Rule
|
778
|
-
command.params['accountId'] = account_id unless account_id.nil?
|
779
|
-
command.params['containerId'] = container_id unless container_id.nil?
|
780
|
-
command.params['ruleId'] = rule_id unless rule_id.nil?
|
781
|
-
command.query['fingerprint'] = fingerprint unless fingerprint.nil?
|
642
|
+
command.params['folderId'] = folder_id unless folder_id.nil?
|
643
|
+
command.query['tagId'] = tag_id unless tag_id.nil?
|
644
|
+
command.query['triggerId'] = trigger_id unless trigger_id.nil?
|
645
|
+
command.query['variableId'] = variable_id unless variable_id.nil?
|
782
646
|
command.query['fields'] = fields unless fields.nil?
|
783
647
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
784
648
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -813,8 +677,7 @@ module Google
|
|
813
677
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
814
678
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
815
679
|
def create_tag(account_id, container_id, tag_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
816
|
-
|
817
|
-
command = make_simple_command(:post, path, options)
|
680
|
+
command = make_simple_command(:post, 'accounts/{accountId}/containers/{containerId}/tags', options)
|
818
681
|
command.request_representation = Google::Apis::TagmanagerV1::Tag::Representation
|
819
682
|
command.request_object = tag_object
|
820
683
|
command.response_representation = Google::Apis::TagmanagerV1::Tag::Representation
|
@@ -856,8 +719,7 @@ module Google
|
|
856
719
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
857
720
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
858
721
|
def delete_tag(account_id, container_id, tag_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
859
|
-
|
860
|
-
command = make_simple_command(:delete, path, options)
|
722
|
+
command = make_simple_command(:delete, 'accounts/{accountId}/containers/{containerId}/tags/{tagId}', options)
|
861
723
|
command.params['accountId'] = account_id unless account_id.nil?
|
862
724
|
command.params['containerId'] = container_id unless container_id.nil?
|
863
725
|
command.params['tagId'] = tag_id unless tag_id.nil?
|
@@ -896,8 +758,7 @@ module Google
|
|
896
758
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
897
759
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
898
760
|
def get_tag(account_id, container_id, tag_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
899
|
-
|
900
|
-
command = make_simple_command(:get, path, options)
|
761
|
+
command = make_simple_command(:get, 'accounts/{accountId}/containers/{containerId}/tags/{tagId}', options)
|
901
762
|
command.response_representation = Google::Apis::TagmanagerV1::Tag::Representation
|
902
763
|
command.response_class = Google::Apis::TagmanagerV1::Tag
|
903
764
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -936,8 +797,7 @@ module Google
|
|
936
797
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
937
798
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
938
799
|
def list_tags(account_id, container_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
939
|
-
|
940
|
-
command = make_simple_command(:get, path, options)
|
800
|
+
command = make_simple_command(:get, 'accounts/{accountId}/containers/{containerId}/tags', options)
|
941
801
|
command.response_representation = Google::Apis::TagmanagerV1::ListTagsResponse::Representation
|
942
802
|
command.response_class = Google::Apis::TagmanagerV1::ListTagsResponse
|
943
803
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -981,8 +841,7 @@ module Google
|
|
981
841
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
982
842
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
983
843
|
def update_tag(account_id, container_id, tag_id, tag_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
984
|
-
|
985
|
-
command = make_simple_command(:put, path, options)
|
844
|
+
command = make_simple_command(:put, 'accounts/{accountId}/containers/{containerId}/tags/{tagId}', options)
|
986
845
|
command.request_representation = Google::Apis::TagmanagerV1::Tag::Representation
|
987
846
|
command.request_object = tag_object
|
988
847
|
command.response_representation = Google::Apis::TagmanagerV1::Tag::Representation
|
@@ -1025,8 +884,7 @@ module Google
|
|
1025
884
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1026
885
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1027
886
|
def create_trigger(account_id, container_id, trigger_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1028
|
-
|
1029
|
-
command = make_simple_command(:post, path, options)
|
887
|
+
command = make_simple_command(:post, 'accounts/{accountId}/containers/{containerId}/triggers', options)
|
1030
888
|
command.request_representation = Google::Apis::TagmanagerV1::Trigger::Representation
|
1031
889
|
command.request_object = trigger_object
|
1032
890
|
command.response_representation = Google::Apis::TagmanagerV1::Trigger::Representation
|
@@ -1068,8 +926,7 @@ module Google
|
|
1068
926
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1069
927
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1070
928
|
def delete_trigger(account_id, container_id, trigger_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1071
|
-
|
1072
|
-
command = make_simple_command(:delete, path, options)
|
929
|
+
command = make_simple_command(:delete, 'accounts/{accountId}/containers/{containerId}/triggers/{triggerId}', options)
|
1073
930
|
command.params['accountId'] = account_id unless account_id.nil?
|
1074
931
|
command.params['containerId'] = container_id unless container_id.nil?
|
1075
932
|
command.params['triggerId'] = trigger_id unless trigger_id.nil?
|
@@ -1108,8 +965,7 @@ module Google
|
|
1108
965
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1109
966
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1110
967
|
def get_trigger(account_id, container_id, trigger_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1111
|
-
|
1112
|
-
command = make_simple_command(:get, path, options)
|
968
|
+
command = make_simple_command(:get, 'accounts/{accountId}/containers/{containerId}/triggers/{triggerId}', options)
|
1113
969
|
command.response_representation = Google::Apis::TagmanagerV1::Trigger::Representation
|
1114
970
|
command.response_class = Google::Apis::TagmanagerV1::Trigger
|
1115
971
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -1148,8 +1004,7 @@ module Google
|
|
1148
1004
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1149
1005
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1150
1006
|
def list_triggers(account_id, container_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1151
|
-
|
1152
|
-
command = make_simple_command(:get, path, options)
|
1007
|
+
command = make_simple_command(:get, 'accounts/{accountId}/containers/{containerId}/triggers', options)
|
1153
1008
|
command.response_representation = Google::Apis::TagmanagerV1::ListTriggersResponse::Representation
|
1154
1009
|
command.response_class = Google::Apis::TagmanagerV1::ListTriggersResponse
|
1155
1010
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -1193,8 +1048,7 @@ module Google
|
|
1193
1048
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1194
1049
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1195
1050
|
def update_trigger(account_id, container_id, trigger_id, trigger_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1196
|
-
|
1197
|
-
command = make_simple_command(:put, path, options)
|
1051
|
+
command = make_simple_command(:put, 'accounts/{accountId}/containers/{containerId}/triggers/{triggerId}', options)
|
1198
1052
|
command.request_representation = Google::Apis::TagmanagerV1::Trigger::Representation
|
1199
1053
|
command.request_object = trigger_object
|
1200
1054
|
command.response_representation = Google::Apis::TagmanagerV1::Trigger::Representation
|
@@ -1237,8 +1091,7 @@ module Google
|
|
1237
1091
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1238
1092
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1239
1093
|
def create_variable(account_id, container_id, variable_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1240
|
-
|
1241
|
-
command = make_simple_command(:post, path, options)
|
1094
|
+
command = make_simple_command(:post, 'accounts/{accountId}/containers/{containerId}/variables', options)
|
1242
1095
|
command.request_representation = Google::Apis::TagmanagerV1::Variable::Representation
|
1243
1096
|
command.request_object = variable_object
|
1244
1097
|
command.response_representation = Google::Apis::TagmanagerV1::Variable::Representation
|
@@ -1280,8 +1133,7 @@ module Google
|
|
1280
1133
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1281
1134
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1282
1135
|
def delete_variable(account_id, container_id, variable_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1283
|
-
|
1284
|
-
command = make_simple_command(:delete, path, options)
|
1136
|
+
command = make_simple_command(:delete, 'accounts/{accountId}/containers/{containerId}/variables/{variableId}', options)
|
1285
1137
|
command.params['accountId'] = account_id unless account_id.nil?
|
1286
1138
|
command.params['containerId'] = container_id unless container_id.nil?
|
1287
1139
|
command.params['variableId'] = variable_id unless variable_id.nil?
|
@@ -1320,8 +1172,7 @@ module Google
|
|
1320
1172
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1321
1173
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1322
1174
|
def get_variable(account_id, container_id, variable_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1323
|
-
|
1324
|
-
command = make_simple_command(:get, path, options)
|
1175
|
+
command = make_simple_command(:get, 'accounts/{accountId}/containers/{containerId}/variables/{variableId}', options)
|
1325
1176
|
command.response_representation = Google::Apis::TagmanagerV1::Variable::Representation
|
1326
1177
|
command.response_class = Google::Apis::TagmanagerV1::Variable
|
1327
1178
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -1360,8 +1211,7 @@ module Google
|
|
1360
1211
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1361
1212
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1362
1213
|
def list_variables(account_id, container_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1363
|
-
|
1364
|
-
command = make_simple_command(:get, path, options)
|
1214
|
+
command = make_simple_command(:get, 'accounts/{accountId}/containers/{containerId}/variables', options)
|
1365
1215
|
command.response_representation = Google::Apis::TagmanagerV1::ListVariablesResponse::Representation
|
1366
1216
|
command.response_class = Google::Apis::TagmanagerV1::ListVariablesResponse
|
1367
1217
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -1405,8 +1255,7 @@ module Google
|
|
1405
1255
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1406
1256
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1407
1257
|
def update_variable(account_id, container_id, variable_id, variable_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1408
|
-
|
1409
|
-
command = make_simple_command(:put, path, options)
|
1258
|
+
command = make_simple_command(:put, 'accounts/{accountId}/containers/{containerId}/variables/{variableId}', options)
|
1410
1259
|
command.request_representation = Google::Apis::TagmanagerV1::Variable::Representation
|
1411
1260
|
command.request_object = variable_object
|
1412
1261
|
command.response_representation = Google::Apis::TagmanagerV1::Variable::Representation
|
@@ -1449,8 +1298,7 @@ module Google
|
|
1449
1298
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1450
1299
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1451
1300
|
def create_version(account_id, container_id, create_container_version_request_version_options_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1452
|
-
|
1453
|
-
command = make_simple_command(:post, path, options)
|
1301
|
+
command = make_simple_command(:post, 'accounts/{accountId}/containers/{containerId}/versions', options)
|
1454
1302
|
command.request_representation = Google::Apis::TagmanagerV1::CreateContainerVersionRequestVersionOptions::Representation
|
1455
1303
|
command.request_object = create_container_version_request_version_options_object
|
1456
1304
|
command.response_representation = Google::Apis::TagmanagerV1::CreateContainerVersionResponse::Representation
|
@@ -1492,8 +1340,7 @@ module Google
|
|
1492
1340
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1493
1341
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1494
1342
|
def delete_version(account_id, container_id, container_version_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1495
|
-
|
1496
|
-
command = make_simple_command(:delete, path, options)
|
1343
|
+
command = make_simple_command(:delete, 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}', options)
|
1497
1344
|
command.params['accountId'] = account_id unless account_id.nil?
|
1498
1345
|
command.params['containerId'] = container_id unless container_id.nil?
|
1499
1346
|
command.params['containerVersionId'] = container_version_id unless container_version_id.nil?
|
@@ -1533,8 +1380,7 @@ module Google
|
|
1533
1380
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1534
1381
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1535
1382
|
def get_version(account_id, container_id, container_version_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1536
|
-
|
1537
|
-
command = make_simple_command(:get, path, options)
|
1383
|
+
command = make_simple_command(:get, 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}', options)
|
1538
1384
|
command.response_representation = Google::Apis::TagmanagerV1::ContainerVersion::Representation
|
1539
1385
|
command.response_class = Google::Apis::TagmanagerV1::ContainerVersion
|
1540
1386
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -1553,6 +1399,8 @@ module Google
|
|
1553
1399
|
# The GTM Container ID.
|
1554
1400
|
# @param [Boolean] headers
|
1555
1401
|
# Retrieve headers only when true.
|
1402
|
+
# @param [Boolean] include_deleted
|
1403
|
+
# Also retrieve deleted (archived) versions when true.
|
1556
1404
|
# @param [String] fields
|
1557
1405
|
# Selector specifying which fields to include in a partial response.
|
1558
1406
|
# @param [String] quota_user
|
@@ -1574,14 +1422,14 @@ module Google
|
|
1574
1422
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1575
1423
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1576
1424
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1577
|
-
def list_versions(account_id, container_id, headers: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1578
|
-
|
1579
|
-
command = make_simple_command(:get, path, options)
|
1425
|
+
def list_versions(account_id, container_id, headers: nil, include_deleted: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1426
|
+
command = make_simple_command(:get, 'accounts/{accountId}/containers/{containerId}/versions', options)
|
1580
1427
|
command.response_representation = Google::Apis::TagmanagerV1::ListContainerVersionsResponse::Representation
|
1581
1428
|
command.response_class = Google::Apis::TagmanagerV1::ListContainerVersionsResponse
|
1582
1429
|
command.params['accountId'] = account_id unless account_id.nil?
|
1583
1430
|
command.params['containerId'] = container_id unless container_id.nil?
|
1584
1431
|
command.query['headers'] = headers unless headers.nil?
|
1432
|
+
command.query['includeDeleted'] = include_deleted unless include_deleted.nil?
|
1585
1433
|
command.query['fields'] = fields unless fields.nil?
|
1586
1434
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1587
1435
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -1620,8 +1468,7 @@ module Google
|
|
1620
1468
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1621
1469
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1622
1470
|
def publish_version(account_id, container_id, container_version_id, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1623
|
-
|
1624
|
-
command = make_simple_command(:post, path, options)
|
1471
|
+
command = make_simple_command(:post, 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/publish', options)
|
1625
1472
|
command.response_representation = Google::Apis::TagmanagerV1::PublishContainerVersionResponse::Representation
|
1626
1473
|
command.response_class = Google::Apis::TagmanagerV1::PublishContainerVersionResponse
|
1627
1474
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -1635,8 +1482,8 @@ module Google
|
|
1635
1482
|
end
|
1636
1483
|
|
1637
1484
|
# Restores a Container Version. This will overwrite the container's current
|
1638
|
-
# configuration (including its
|
1639
|
-
# have any effect on the version that is being served (i.e. the published
|
1485
|
+
# configuration (including its variables, triggers and tags). The operation will
|
1486
|
+
# not have any effect on the version that is being served (i.e. the published
|
1640
1487
|
# version).
|
1641
1488
|
# @param [String] account_id
|
1642
1489
|
# The GTM Account ID.
|
@@ -1666,8 +1513,7 @@ module Google
|
|
1666
1513
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1667
1514
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1668
1515
|
def restore_version(account_id, container_id, container_version_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1669
|
-
|
1670
|
-
command = make_simple_command(:post, path, options)
|
1516
|
+
command = make_simple_command(:post, 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/restore', options)
|
1671
1517
|
command.response_representation = Google::Apis::TagmanagerV1::ContainerVersion::Representation
|
1672
1518
|
command.response_class = Google::Apis::TagmanagerV1::ContainerVersion
|
1673
1519
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -1708,8 +1554,7 @@ module Google
|
|
1708
1554
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1709
1555
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1710
1556
|
def undelete_version(account_id, container_id, container_version_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1711
|
-
|
1712
|
-
command = make_simple_command(:post, path, options)
|
1557
|
+
command = make_simple_command(:post, 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/undelete', options)
|
1713
1558
|
command.response_representation = Google::Apis::TagmanagerV1::ContainerVersion::Representation
|
1714
1559
|
command.response_class = Google::Apis::TagmanagerV1::ContainerVersion
|
1715
1560
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -1754,8 +1599,7 @@ module Google
|
|
1754
1599
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1755
1600
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1756
1601
|
def update_version(account_id, container_id, container_version_id, container_version_object = nil, fingerprint: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1757
|
-
|
1758
|
-
command = make_simple_command(:put, path, options)
|
1602
|
+
command = make_simple_command(:put, 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}', options)
|
1759
1603
|
command.request_representation = Google::Apis::TagmanagerV1::ContainerVersion::Representation
|
1760
1604
|
command.request_object = container_version_object
|
1761
1605
|
command.response_representation = Google::Apis::TagmanagerV1::ContainerVersion::Representation
|
@@ -1796,8 +1640,7 @@ module Google
|
|
1796
1640
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1797
1641
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1798
1642
|
def create_permission(account_id, user_access_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1799
|
-
|
1800
|
-
command = make_simple_command(:post, path, options)
|
1643
|
+
command = make_simple_command(:post, 'accounts/{accountId}/permissions', options)
|
1801
1644
|
command.request_representation = Google::Apis::TagmanagerV1::UserAccess::Representation
|
1802
1645
|
command.request_object = user_access_object
|
1803
1646
|
command.response_representation = Google::Apis::TagmanagerV1::UserAccess::Representation
|
@@ -1837,8 +1680,7 @@ module Google
|
|
1837
1680
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1838
1681
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1839
1682
|
def delete_permission(account_id, permission_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1840
|
-
|
1841
|
-
command = make_simple_command(:delete, path, options)
|
1683
|
+
command = make_simple_command(:delete, 'accounts/{accountId}/permissions/{permissionId}', options)
|
1842
1684
|
command.params['accountId'] = account_id unless account_id.nil?
|
1843
1685
|
command.params['permissionId'] = permission_id unless permission_id.nil?
|
1844
1686
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1874,8 +1716,7 @@ module Google
|
|
1874
1716
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1875
1717
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1876
1718
|
def get_permission(account_id, permission_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1877
|
-
|
1878
|
-
command = make_simple_command(:get, path, options)
|
1719
|
+
command = make_simple_command(:get, 'accounts/{accountId}/permissions/{permissionId}', options)
|
1879
1720
|
command.response_representation = Google::Apis::TagmanagerV1::UserAccess::Representation
|
1880
1721
|
command.response_class = Google::Apis::TagmanagerV1::UserAccess
|
1881
1722
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -1912,8 +1753,7 @@ module Google
|
|
1912
1753
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1913
1754
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1914
1755
|
def list_permissions(account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1915
|
-
|
1916
|
-
command = make_simple_command(:get, path, options)
|
1756
|
+
command = make_simple_command(:get, 'accounts/{accountId}/permissions', options)
|
1917
1757
|
command.response_representation = Google::Apis::TagmanagerV1::ListAccountUsersResponse::Representation
|
1918
1758
|
command.response_class = Google::Apis::TagmanagerV1::ListAccountUsersResponse
|
1919
1759
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -1951,8 +1791,7 @@ module Google
|
|
1951
1791
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1952
1792
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1953
1793
|
def update_permission(account_id, permission_id, user_access_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1954
|
-
|
1955
|
-
command = make_simple_command(:put, path, options)
|
1794
|
+
command = make_simple_command(:put, 'accounts/{accountId}/permissions/{permissionId}', options)
|
1956
1795
|
command.request_representation = Google::Apis::TagmanagerV1::UserAccess::Representation
|
1957
1796
|
command.request_object = user_access_object
|
1958
1797
|
command.response_representation = Google::Apis::TagmanagerV1::UserAccess::Representation
|