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
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/adsense/host/
|
27
27
|
module AdsensehostV4_1
|
28
28
|
VERSION = 'V4_1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20151206'
|
30
30
|
|
31
31
|
# View and manage your AdSense host data and associated accounts
|
32
32
|
AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost'
|
@@ -78,8 +78,7 @@ module Google
|
|
78
78
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
79
79
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
80
80
|
def get_account(account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
81
|
-
|
82
|
-
command = make_simple_command(:get, path, options)
|
81
|
+
command = make_simple_command(:get, 'accounts/{accountId}', options)
|
83
82
|
command.response_representation = Google::Apis::AdsensehostV4_1::Account::Representation
|
84
83
|
command.response_class = Google::Apis::AdsensehostV4_1::Account
|
85
84
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -114,8 +113,7 @@ module Google
|
|
114
113
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
115
114
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
116
115
|
def list_accounts(filter_ad_client_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
117
|
-
|
118
|
-
command = make_simple_command(:get, path, options)
|
116
|
+
command = make_simple_command(:get, 'accounts', options)
|
119
117
|
command.response_representation = Google::Apis::AdsensehostV4_1::Accounts::Representation
|
120
118
|
command.response_class = Google::Apis::AdsensehostV4_1::Accounts
|
121
119
|
command.query['filterAdClientId'] = filter_ad_client_id unless filter_ad_client_id.nil?
|
@@ -153,8 +151,7 @@ module Google
|
|
153
151
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
154
152
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
155
153
|
def get_account_ad_client(account_id, ad_client_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
156
|
-
|
157
|
-
command = make_simple_command(:get, path, options)
|
154
|
+
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}', options)
|
158
155
|
command.response_representation = Google::Apis::AdsensehostV4_1::AdClient::Representation
|
159
156
|
command.response_class = Google::Apis::AdsensehostV4_1::AdClient
|
160
157
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -196,8 +193,7 @@ module Google
|
|
196
193
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
197
194
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
198
195
|
def list_account_ad_clients(account_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
199
|
-
|
200
|
-
command = make_simple_command(:get, path, options)
|
196
|
+
command = make_simple_command(:get, 'accounts/{accountId}/adclients', options)
|
201
197
|
command.response_representation = Google::Apis::AdsensehostV4_1::AdClients::Representation
|
202
198
|
command.response_class = Google::Apis::AdsensehostV4_1::AdClients
|
203
199
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -238,8 +234,7 @@ module Google
|
|
238
234
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
239
235
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
240
236
|
def delete_account_ad_unit(account_id, ad_client_id, ad_unit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
241
|
-
|
242
|
-
command = make_simple_command(:delete, path, options)
|
237
|
+
command = make_simple_command(:delete, 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}', options)
|
243
238
|
command.response_representation = Google::Apis::AdsensehostV4_1::AdUnit::Representation
|
244
239
|
command.response_class = Google::Apis::AdsensehostV4_1::AdUnit
|
245
240
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -280,8 +275,7 @@ module Google
|
|
280
275
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
281
276
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
282
277
|
def get_account_ad_unit(account_id, ad_client_id, ad_unit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
283
|
-
|
284
|
-
command = make_simple_command(:get, path, options)
|
278
|
+
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}', options)
|
285
279
|
command.response_representation = Google::Apis::AdsensehostV4_1::AdUnit::Representation
|
286
280
|
command.response_class = Google::Apis::AdsensehostV4_1::AdUnit
|
287
281
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -325,8 +319,7 @@ module Google
|
|
325
319
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
326
320
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
327
321
|
def get_account_ad_unit_ad_code(account_id, ad_client_id, ad_unit_id, host_custom_channel_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
328
|
-
|
329
|
-
command = make_simple_command(:get, path, options)
|
322
|
+
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/adcode', options)
|
330
323
|
command.response_representation = Google::Apis::AdsensehostV4_1::AdCode::Representation
|
331
324
|
command.response_class = Google::Apis::AdsensehostV4_1::AdCode
|
332
325
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -367,8 +360,7 @@ module Google
|
|
367
360
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
368
361
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
369
362
|
def insert_account_ad_unit(account_id, ad_client_id, ad_unit_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
370
|
-
|
371
|
-
command = make_simple_command(:post, path, options)
|
363
|
+
command = make_simple_command(:post, 'accounts/{accountId}/adclients/{adClientId}/adunits', options)
|
372
364
|
command.request_representation = Google::Apis::AdsensehostV4_1::AdUnit::Representation
|
373
365
|
command.request_object = ad_unit_object
|
374
366
|
command.response_representation = Google::Apis::AdsensehostV4_1::AdUnit::Representation
|
@@ -415,8 +407,7 @@ module Google
|
|
415
407
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
416
408
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
417
409
|
def list_account_ad_units(account_id, ad_client_id, include_inactive: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
418
|
-
|
419
|
-
command = make_simple_command(:get, path, options)
|
410
|
+
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/adunits', options)
|
420
411
|
command.response_representation = Google::Apis::AdsensehostV4_1::AdUnits::Representation
|
421
412
|
command.response_class = Google::Apis::AdsensehostV4_1::AdUnits
|
422
413
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -461,8 +452,7 @@ module Google
|
|
461
452
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
462
453
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
463
454
|
def patch_account_ad_unit(account_id, ad_client_id, ad_unit_id, ad_unit_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
464
|
-
|
465
|
-
command = make_simple_command(:patch, path, options)
|
455
|
+
command = make_simple_command(:patch, 'accounts/{accountId}/adclients/{adClientId}/adunits', options)
|
466
456
|
command.request_representation = Google::Apis::AdsensehostV4_1::AdUnit::Representation
|
467
457
|
command.request_object = ad_unit_object
|
468
458
|
command.response_representation = Google::Apis::AdsensehostV4_1::AdUnit::Representation
|
@@ -504,8 +494,7 @@ module Google
|
|
504
494
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
505
495
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
506
496
|
def update_account_ad_unit(account_id, ad_client_id, ad_unit_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
507
|
-
|
508
|
-
command = make_simple_command(:put, path, options)
|
497
|
+
command = make_simple_command(:put, 'accounts/{accountId}/adclients/{adClientId}/adunits', options)
|
509
498
|
command.request_representation = Google::Apis::AdsensehostV4_1::AdUnit::Representation
|
510
499
|
command.request_object = ad_unit_object
|
511
500
|
command.response_representation = Google::Apis::AdsensehostV4_1::AdUnit::Representation
|
@@ -566,8 +555,7 @@ module Google
|
|
566
555
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
567
556
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
568
557
|
def generate_account_report(account_id, start_date, end_date, dimension: nil, filter: nil, locale: nil, max_results: nil, metric: nil, sort: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
569
|
-
|
570
|
-
command = make_simple_command(:get, path, options)
|
558
|
+
command = make_simple_command(:get, 'accounts/{accountId}/reports', options)
|
571
559
|
command.response_representation = Google::Apis::AdsensehostV4_1::Report::Representation
|
572
560
|
command.response_class = Google::Apis::AdsensehostV4_1::Report
|
573
561
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -611,8 +599,7 @@ module Google
|
|
611
599
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
612
600
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
613
601
|
def get_ad_client(ad_client_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
614
|
-
|
615
|
-
command = make_simple_command(:get, path, options)
|
602
|
+
command = make_simple_command(:get, 'adclients/{adClientId}', options)
|
616
603
|
command.response_representation = Google::Apis::AdsensehostV4_1::AdClient::Representation
|
617
604
|
command.response_class = Google::Apis::AdsensehostV4_1::AdClient
|
618
605
|
command.params['adClientId'] = ad_client_id unless ad_client_id.nil?
|
@@ -651,8 +638,7 @@ module Google
|
|
651
638
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
652
639
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
653
640
|
def list_ad_clients(max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
654
|
-
|
655
|
-
command = make_simple_command(:get, path, options)
|
641
|
+
command = make_simple_command(:get, 'adclients', options)
|
656
642
|
command.response_representation = Google::Apis::AdsensehostV4_1::AdClients::Representation
|
657
643
|
command.response_class = Google::Apis::AdsensehostV4_1::AdClients
|
658
644
|
command.query['maxResults'] = max_results unless max_results.nil?
|
@@ -695,8 +681,7 @@ module Google
|
|
695
681
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
696
682
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
697
683
|
def start_association_session(product_code, website_url, user_locale: nil, website_locale: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
698
|
-
|
699
|
-
command = make_simple_command(:get, path, options)
|
684
|
+
command = make_simple_command(:get, 'associationsessions/start', options)
|
700
685
|
command.response_representation = Google::Apis::AdsensehostV4_1::AssociationSession::Representation
|
701
686
|
command.response_class = Google::Apis::AdsensehostV4_1::AssociationSession
|
702
687
|
command.query['productCode'] = product_code unless product_code.nil?
|
@@ -735,8 +720,7 @@ module Google
|
|
735
720
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
736
721
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
737
722
|
def verify_association_session(token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
738
|
-
|
739
|
-
command = make_simple_command(:get, path, options)
|
723
|
+
command = make_simple_command(:get, 'associationsessions/verify', options)
|
740
724
|
command.response_representation = Google::Apis::AdsensehostV4_1::AssociationSession::Representation
|
741
725
|
command.response_class = Google::Apis::AdsensehostV4_1::AssociationSession
|
742
726
|
command.query['token'] = token unless token.nil?
|
@@ -773,8 +757,7 @@ module Google
|
|
773
757
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
774
758
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
775
759
|
def delete_custom_channel(ad_client_id, custom_channel_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
776
|
-
|
777
|
-
command = make_simple_command(:delete, path, options)
|
760
|
+
command = make_simple_command(:delete, 'adclients/{adClientId}/customchannels/{customChannelId}', options)
|
778
761
|
command.response_representation = Google::Apis::AdsensehostV4_1::CustomChannel::Representation
|
779
762
|
command.response_class = Google::Apis::AdsensehostV4_1::CustomChannel
|
780
763
|
command.params['adClientId'] = ad_client_id unless ad_client_id.nil?
|
@@ -812,8 +795,7 @@ module Google
|
|
812
795
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
813
796
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
814
797
|
def get_custom_channel(ad_client_id, custom_channel_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
815
|
-
|
816
|
-
command = make_simple_command(:get, path, options)
|
798
|
+
command = make_simple_command(:get, 'adclients/{adClientId}/customchannels/{customChannelId}', options)
|
817
799
|
command.response_representation = Google::Apis::AdsensehostV4_1::CustomChannel::Representation
|
818
800
|
command.response_class = Google::Apis::AdsensehostV4_1::CustomChannel
|
819
801
|
command.params['adClientId'] = ad_client_id unless ad_client_id.nil?
|
@@ -850,8 +832,7 @@ module Google
|
|
850
832
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
851
833
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
852
834
|
def insert_custom_channel(ad_client_id, custom_channel_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
853
|
-
|
854
|
-
command = make_simple_command(:post, path, options)
|
835
|
+
command = make_simple_command(:post, 'adclients/{adClientId}/customchannels', options)
|
855
836
|
command.request_representation = Google::Apis::AdsensehostV4_1::CustomChannel::Representation
|
856
837
|
command.request_object = custom_channel_object
|
857
838
|
command.response_representation = Google::Apis::AdsensehostV4_1::CustomChannel::Representation
|
@@ -895,8 +876,7 @@ module Google
|
|
895
876
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
896
877
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
897
878
|
def list_custom_channels(ad_client_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
898
|
-
|
899
|
-
command = make_simple_command(:get, path, options)
|
879
|
+
command = make_simple_command(:get, 'adclients/{adClientId}/customchannels', options)
|
900
880
|
command.response_representation = Google::Apis::AdsensehostV4_1::CustomChannels::Representation
|
901
881
|
command.response_class = Google::Apis::AdsensehostV4_1::CustomChannels
|
902
882
|
command.params['adClientId'] = ad_client_id unless ad_client_id.nil?
|
@@ -937,8 +917,7 @@ module Google
|
|
937
917
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
938
918
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
939
919
|
def patch_custom_channel(ad_client_id, custom_channel_id, custom_channel_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
940
|
-
|
941
|
-
command = make_simple_command(:patch, path, options)
|
920
|
+
command = make_simple_command(:patch, 'adclients/{adClientId}/customchannels', options)
|
942
921
|
command.request_representation = Google::Apis::AdsensehostV4_1::CustomChannel::Representation
|
943
922
|
command.request_object = custom_channel_object
|
944
923
|
command.response_representation = Google::Apis::AdsensehostV4_1::CustomChannel::Representation
|
@@ -977,8 +956,7 @@ module Google
|
|
977
956
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
978
957
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
979
958
|
def update_custom_channel(ad_client_id, custom_channel_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
980
|
-
|
981
|
-
command = make_simple_command(:put, path, options)
|
959
|
+
command = make_simple_command(:put, 'adclients/{adClientId}/customchannels', options)
|
982
960
|
command.request_representation = Google::Apis::AdsensehostV4_1::CustomChannel::Representation
|
983
961
|
command.request_object = custom_channel_object
|
984
962
|
command.response_representation = Google::Apis::AdsensehostV4_1::CustomChannel::Representation
|
@@ -1036,8 +1014,7 @@ module Google
|
|
1036
1014
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1037
1015
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1038
1016
|
def generate_report(start_date, end_date, dimension: nil, filter: nil, locale: nil, max_results: nil, metric: nil, sort: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1039
|
-
|
1040
|
-
command = make_simple_command(:get, path, options)
|
1017
|
+
command = make_simple_command(:get, 'reports', options)
|
1041
1018
|
command.response_representation = Google::Apis::AdsensehostV4_1::Report::Representation
|
1042
1019
|
command.response_class = Google::Apis::AdsensehostV4_1::Report
|
1043
1020
|
command.query['dimension'] = dimension unless dimension.nil?
|
@@ -1082,8 +1059,7 @@ module Google
|
|
1082
1059
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1083
1060
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1084
1061
|
def delete_url_channel(ad_client_id, url_channel_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1085
|
-
|
1086
|
-
command = make_simple_command(:delete, path, options)
|
1062
|
+
command = make_simple_command(:delete, 'adclients/{adClientId}/urlchannels/{urlChannelId}', options)
|
1087
1063
|
command.response_representation = Google::Apis::AdsensehostV4_1::UrlChannel::Representation
|
1088
1064
|
command.response_class = Google::Apis::AdsensehostV4_1::UrlChannel
|
1089
1065
|
command.params['adClientId'] = ad_client_id unless ad_client_id.nil?
|
@@ -1120,8 +1096,7 @@ module Google
|
|
1120
1096
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1121
1097
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1122
1098
|
def insert_url_channel(ad_client_id, url_channel_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1123
|
-
|
1124
|
-
command = make_simple_command(:post, path, options)
|
1099
|
+
command = make_simple_command(:post, 'adclients/{adClientId}/urlchannels', options)
|
1125
1100
|
command.request_representation = Google::Apis::AdsensehostV4_1::UrlChannel::Representation
|
1126
1101
|
command.request_object = url_channel_object
|
1127
1102
|
command.response_representation = Google::Apis::AdsensehostV4_1::UrlChannel::Representation
|
@@ -1164,8 +1139,7 @@ module Google
|
|
1164
1139
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1165
1140
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1166
1141
|
def list_url_channels(ad_client_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1167
|
-
|
1168
|
-
command = make_simple_command(:get, path, options)
|
1142
|
+
command = make_simple_command(:get, 'adclients/{adClientId}/urlchannels', options)
|
1169
1143
|
command.response_representation = Google::Apis::AdsensehostV4_1::UrlChannels::Representation
|
1170
1144
|
command.response_class = Google::Apis::AdsensehostV4_1::UrlChannels
|
1171
1145
|
command.params['adClientId'] = ad_client_id unless ad_client_id.nil?
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/analytics/
|
26
26
|
module AnalyticsV3
|
27
27
|
VERSION = 'V3'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20151124'
|
29
29
|
|
30
30
|
# View and manage your Google Analytics data
|
31
31
|
AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics'
|
@@ -1591,9 +1591,9 @@ module Google
|
|
1591
1591
|
# @return [String]
|
1592
1592
|
attr_accessor :status
|
1593
1593
|
|
1594
|
-
# A floating-point number
|
1595
|
-
#
|
1596
|
-
#
|
1594
|
+
# A floating-point number in (0, 1]. Specifies the fraction of the traffic that
|
1595
|
+
# participates in the experiment. Can be changed for a running experiment. This
|
1596
|
+
# field may not be changed for an experiments whose status is ENDED.
|
1597
1597
|
# Corresponds to the JSON property `trafficCoverage`
|
1598
1598
|
# @return [Float]
|
1599
1599
|
attr_accessor :traffic_coverage
|
@@ -1616,9 +1616,9 @@ module Google
|
|
1616
1616
|
# @return [String]
|
1617
1617
|
attr_accessor :web_property_id
|
1618
1618
|
|
1619
|
-
# A floating-point number
|
1620
|
-
#
|
1621
|
-
#
|
1619
|
+
# A floating-point number in (0, 1). Specifies the necessary confidence level to
|
1620
|
+
# choose a winner. This field may not be changed for an experiments whose status
|
1621
|
+
# is ENDED.
|
1622
1622
|
# Corresponds to the JSON property `winnerConfidenceLevel`
|
1623
1623
|
# @return [Float]
|
1624
1624
|
attr_accessor :winner_confidence_level
|
@@ -2251,11 +2251,9 @@ module Google
|
|
2251
2251
|
attr_accessor :kind
|
2252
2252
|
|
2253
2253
|
# Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH,
|
2254
|
-
# CONTAINS, MATCHES.
|
2255
|
-
#
|
2256
|
-
#
|
2257
|
-
# expressions in the Advanced filter default to MATCHES. User should not set
|
2258
|
-
# match type for those filters.
|
2254
|
+
# CONTAINS, or MATCHES. GEO_DOMAIN, GEO_IP_ADDRESS, PAGE_REQUEST_URI, or
|
2255
|
+
# PAGE_HOSTNAME filters can use any match type; all other filters must use
|
2256
|
+
# MATCHES.
|
2259
2257
|
# Corresponds to the JSON property `matchType`
|
2260
2258
|
# @return [String]
|
2261
2259
|
attr_accessor :match_type
|
@@ -3519,8 +3517,8 @@ module Google
|
|
3519
3517
|
# @return [DateTime]
|
3520
3518
|
attr_accessor :created
|
3521
3519
|
|
3522
|
-
# The currency type associated with this view (profile). The
|
3523
|
-
# are:
|
3520
|
+
# The currency type associated with this view (profile), defaults to USD. The
|
3521
|
+
# supported values are:
|
3524
3522
|
# ARS, AUD, BGN, BRL, CAD, CHF, CNY, CZK, DKK, EUR, GBP, HKD, HUF, IDR, INR, JPY,
|
3525
3523
|
# KRW, LTL, MXN, NOK, NZD, PHP, PLN, RUB, SEK, THB, TRY, TWD, USD, VND, ZAR
|
3526
3524
|
# Corresponds to the JSON property `currency`
|
@@ -72,6 +72,9 @@ module Google
|
|
72
72
|
# @param [String] filters
|
73
73
|
# A comma-separated list of dimension or metric filters to be applied to
|
74
74
|
# Analytics data.
|
75
|
+
# @param [Boolean] include_empty_rows
|
76
|
+
# The response will include empty rows if this parameter is set to true, the
|
77
|
+
# default is true
|
75
78
|
# @param [Fixnum] max_results
|
76
79
|
# The maximum number of entries to include in this feed.
|
77
80
|
# @param [String] output
|
@@ -107,15 +110,15 @@ module Google
|
|
107
110
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
108
111
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
109
112
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
110
|
-
def get_ga_data(ids, start_date, end_date, metrics, dimensions: nil, filters: nil, max_results: nil, output: nil, sampling_level: nil, segment: nil, sort: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
111
|
-
|
112
|
-
command = make_simple_command(:get, path, options)
|
113
|
+
def get_ga_data(ids, start_date, end_date, metrics, dimensions: nil, filters: nil, include_empty_rows: nil, max_results: nil, output: nil, sampling_level: nil, segment: nil, sort: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
114
|
+
command = make_simple_command(:get, 'data/ga', options)
|
113
115
|
command.response_representation = Google::Apis::AnalyticsV3::GaData::Representation
|
114
116
|
command.response_class = Google::Apis::AnalyticsV3::GaData
|
115
117
|
command.query['dimensions'] = dimensions unless dimensions.nil?
|
116
118
|
command.query['end-date'] = end_date unless end_date.nil?
|
117
119
|
command.query['filters'] = filters unless filters.nil?
|
118
120
|
command.query['ids'] = ids unless ids.nil?
|
121
|
+
command.query['include-empty-rows'] = include_empty_rows unless include_empty_rows.nil?
|
119
122
|
command.query['max-results'] = max_results unless max_results.nil?
|
120
123
|
command.query['metrics'] = metrics unless metrics.nil?
|
121
124
|
command.query['output'] = output unless output.nil?
|
@@ -184,8 +187,7 @@ module Google
|
|
184
187
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
185
188
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
186
189
|
def get_mcf_data(ids, start_date, end_date, metrics, dimensions: nil, filters: nil, max_results: nil, sampling_level: nil, sort: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
187
|
-
|
188
|
-
command = make_simple_command(:get, path, options)
|
190
|
+
command = make_simple_command(:get, 'data/mcf', options)
|
189
191
|
command.response_representation = Google::Apis::AnalyticsV3::McfData::Representation
|
190
192
|
command.response_class = Google::Apis::AnalyticsV3::McfData
|
191
193
|
command.query['dimensions'] = dimensions unless dimensions.nil?
|
@@ -243,8 +245,7 @@ module Google
|
|
243
245
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
244
246
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
245
247
|
def get_realtime_data(ids, metrics, dimensions: nil, filters: nil, max_results: nil, sort: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
246
|
-
|
247
|
-
command = make_simple_command(:get, path, options)
|
248
|
+
command = make_simple_command(:get, 'data/realtime', options)
|
248
249
|
command.response_representation = Google::Apis::AnalyticsV3::RealtimeData::Representation
|
249
250
|
command.response_class = Google::Apis::AnalyticsV3::RealtimeData
|
250
251
|
command.query['dimensions'] = dimensions unless dimensions.nil?
|
@@ -289,8 +290,7 @@ module Google
|
|
289
290
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
290
291
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
291
292
|
def list_account_summaries(max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
292
|
-
|
293
|
-
command = make_simple_command(:get, path, options)
|
293
|
+
command = make_simple_command(:get, 'management/accountSummaries', options)
|
294
294
|
command.response_representation = Google::Apis::AnalyticsV3::AccountSummaries::Representation
|
295
295
|
command.response_class = Google::Apis::AnalyticsV3::AccountSummaries
|
296
296
|
command.query['max-results'] = max_results unless max_results.nil?
|
@@ -328,8 +328,7 @@ module Google
|
|
328
328
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
329
329
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
330
330
|
def delete_account_user_link(account_id, link_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
331
|
-
|
332
|
-
command = make_simple_command(:delete, path, options)
|
331
|
+
command = make_simple_command(:delete, 'management/accounts/{accountId}/entityUserLinks/{linkId}', options)
|
333
332
|
command.params['accountId'] = account_id unless account_id.nil?
|
334
333
|
command.params['linkId'] = link_id unless link_id.nil?
|
335
334
|
command.query['fields'] = fields unless fields.nil?
|
@@ -364,8 +363,7 @@ module Google
|
|
364
363
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
365
364
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
366
365
|
def insert_account_user_link(account_id, entity_user_link_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
367
|
-
|
368
|
-
command = make_simple_command(:post, path, options)
|
366
|
+
command = make_simple_command(:post, 'management/accounts/{accountId}/entityUserLinks', options)
|
369
367
|
command.request_representation = Google::Apis::AnalyticsV3::EntityUserLink::Representation
|
370
368
|
command.request_object = entity_user_link_object
|
371
369
|
command.response_representation = Google::Apis::AnalyticsV3::EntityUserLink::Representation
|
@@ -407,8 +405,7 @@ module Google
|
|
407
405
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
408
406
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
409
407
|
def list_account_user_links(account_id, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
410
|
-
|
411
|
-
command = make_simple_command(:get, path, options)
|
408
|
+
command = make_simple_command(:get, 'management/accounts/{accountId}/entityUserLinks', options)
|
412
409
|
command.response_representation = Google::Apis::AnalyticsV3::EntityUserLinks::Representation
|
413
410
|
command.response_class = Google::Apis::AnalyticsV3::EntityUserLinks
|
414
411
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -448,8 +445,7 @@ module Google
|
|
448
445
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
449
446
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
450
447
|
def update_account_user_link(account_id, link_id, entity_user_link_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
451
|
-
|
452
|
-
command = make_simple_command(:put, path, options)
|
448
|
+
command = make_simple_command(:put, 'management/accounts/{accountId}/entityUserLinks/{linkId}', options)
|
453
449
|
command.request_representation = Google::Apis::AnalyticsV3::EntityUserLink::Representation
|
454
450
|
command.request_object = entity_user_link_object
|
455
451
|
command.response_representation = Google::Apis::AnalyticsV3::EntityUserLink::Representation
|
@@ -490,8 +486,7 @@ module Google
|
|
490
486
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
491
487
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
492
488
|
def list_accounts(max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
493
|
-
|
494
|
-
command = make_simple_command(:get, path, options)
|
489
|
+
command = make_simple_command(:get, 'management/accounts', options)
|
495
490
|
command.response_representation = Google::Apis::AnalyticsV3::Accounts::Representation
|
496
491
|
command.response_class = Google::Apis::AnalyticsV3::Accounts
|
497
492
|
command.query['max-results'] = max_results unless max_results.nil?
|
@@ -534,8 +529,7 @@ module Google
|
|
534
529
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
535
530
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
536
531
|
def list_custom_data_sources(account_id, web_property_id, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
537
|
-
|
538
|
-
command = make_simple_command(:get, path, options)
|
532
|
+
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources', options)
|
539
533
|
command.response_representation = Google::Apis::AnalyticsV3::CustomDataSources::Representation
|
540
534
|
command.response_class = Google::Apis::AnalyticsV3::CustomDataSources
|
541
535
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -577,8 +571,7 @@ module Google
|
|
577
571
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
578
572
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
579
573
|
def get_custom_dimension(account_id, web_property_id, custom_dimension_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
580
|
-
|
581
|
-
command = make_simple_command(:get, path, options)
|
574
|
+
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}', options)
|
582
575
|
command.response_representation = Google::Apis::AnalyticsV3::CustomDimension::Representation
|
583
576
|
command.response_class = Google::Apis::AnalyticsV3::CustomDimension
|
584
577
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -618,8 +611,7 @@ module Google
|
|
618
611
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
619
612
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
620
613
|
def insert_custom_dimension(account_id, web_property_id, custom_dimension_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
621
|
-
|
622
|
-
command = make_simple_command(:post, path, options)
|
614
|
+
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions', options)
|
623
615
|
command.request_representation = Google::Apis::AnalyticsV3::CustomDimension::Representation
|
624
616
|
command.request_object = custom_dimension_object
|
625
617
|
command.response_representation = Google::Apis::AnalyticsV3::CustomDimension::Representation
|
@@ -664,8 +656,7 @@ module Google
|
|
664
656
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
665
657
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
666
658
|
def list_custom_dimensions(account_id, web_property_id, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
667
|
-
|
668
|
-
command = make_simple_command(:get, path, options)
|
659
|
+
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions', options)
|
669
660
|
command.response_representation = Google::Apis::AnalyticsV3::CustomDimensions::Representation
|
670
661
|
command.response_class = Google::Apis::AnalyticsV3::CustomDimensions
|
671
662
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -711,8 +702,7 @@ module Google
|
|
711
702
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
712
703
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
713
704
|
def patch_custom_dimension(account_id, web_property_id, custom_dimension_id, custom_dimension_object = nil, ignore_custom_data_source_links: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
714
|
-
|
715
|
-
command = make_simple_command(:patch, path, options)
|
705
|
+
command = make_simple_command(:patch, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}', options)
|
716
706
|
command.request_representation = Google::Apis::AnalyticsV3::CustomDimension::Representation
|
717
707
|
command.request_object = custom_dimension_object
|
718
708
|
command.response_representation = Google::Apis::AnalyticsV3::CustomDimension::Representation
|
@@ -760,8 +750,7 @@ module Google
|
|
760
750
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
761
751
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
762
752
|
def update_custom_dimension(account_id, web_property_id, custom_dimension_id, custom_dimension_object = nil, ignore_custom_data_source_links: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
763
|
-
|
764
|
-
command = make_simple_command(:put, path, options)
|
753
|
+
command = make_simple_command(:put, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}', options)
|
765
754
|
command.request_representation = Google::Apis::AnalyticsV3::CustomDimension::Representation
|
766
755
|
command.request_object = custom_dimension_object
|
767
756
|
command.response_representation = Google::Apis::AnalyticsV3::CustomDimension::Representation
|
@@ -805,8 +794,7 @@ module Google
|
|
805
794
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
806
795
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
807
796
|
def get_custom_metric(account_id, web_property_id, custom_metric_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
808
|
-
|
809
|
-
command = make_simple_command(:get, path, options)
|
797
|
+
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}', options)
|
810
798
|
command.response_representation = Google::Apis::AnalyticsV3::CustomMetric::Representation
|
811
799
|
command.response_class = Google::Apis::AnalyticsV3::CustomMetric
|
812
800
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -846,8 +834,7 @@ module Google
|
|
846
834
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
847
835
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
848
836
|
def insert_custom_metric(account_id, web_property_id, custom_metric_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
849
|
-
|
850
|
-
command = make_simple_command(:post, path, options)
|
837
|
+
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics', options)
|
851
838
|
command.request_representation = Google::Apis::AnalyticsV3::CustomMetric::Representation
|
852
839
|
command.request_object = custom_metric_object
|
853
840
|
command.response_representation = Google::Apis::AnalyticsV3::CustomMetric::Representation
|
@@ -892,8 +879,7 @@ module Google
|
|
892
879
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
893
880
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
894
881
|
def list_custom_metrics(account_id, web_property_id, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
895
|
-
|
896
|
-
command = make_simple_command(:get, path, options)
|
882
|
+
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics', options)
|
897
883
|
command.response_representation = Google::Apis::AnalyticsV3::CustomMetrics::Representation
|
898
884
|
command.response_class = Google::Apis::AnalyticsV3::CustomMetrics
|
899
885
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -939,8 +925,7 @@ module Google
|
|
939
925
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
940
926
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
941
927
|
def patch_custom_metric(account_id, web_property_id, custom_metric_id, custom_metric_object = nil, ignore_custom_data_source_links: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
942
|
-
|
943
|
-
command = make_simple_command(:patch, path, options)
|
928
|
+
command = make_simple_command(:patch, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}', options)
|
944
929
|
command.request_representation = Google::Apis::AnalyticsV3::CustomMetric::Representation
|
945
930
|
command.request_object = custom_metric_object
|
946
931
|
command.response_representation = Google::Apis::AnalyticsV3::CustomMetric::Representation
|
@@ -988,8 +973,7 @@ module Google
|
|
988
973
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
989
974
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
990
975
|
def update_custom_metric(account_id, web_property_id, custom_metric_id, custom_metric_object = nil, ignore_custom_data_source_links: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
991
|
-
|
992
|
-
command = make_simple_command(:put, path, options)
|
976
|
+
command = make_simple_command(:put, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}', options)
|
993
977
|
command.request_representation = Google::Apis::AnalyticsV3::CustomMetric::Representation
|
994
978
|
command.request_object = custom_metric_object
|
995
979
|
command.response_representation = Google::Apis::AnalyticsV3::CustomMetric::Representation
|
@@ -1035,8 +1019,7 @@ module Google
|
|
1035
1019
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1036
1020
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1037
1021
|
def delete_experiment(account_id, web_property_id, profile_id, experiment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1038
|
-
|
1039
|
-
command = make_simple_command(:delete, path, options)
|
1022
|
+
command = make_simple_command(:delete, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', options)
|
1040
1023
|
command.params['accountId'] = account_id unless account_id.nil?
|
1041
1024
|
command.params['webPropertyId'] = web_property_id unless web_property_id.nil?
|
1042
1025
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
@@ -1078,8 +1061,7 @@ module Google
|
|
1078
1061
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1079
1062
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1080
1063
|
def get_experiment(account_id, web_property_id, profile_id, experiment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1081
|
-
|
1082
|
-
command = make_simple_command(:get, path, options)
|
1064
|
+
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', options)
|
1083
1065
|
command.response_representation = Google::Apis::AnalyticsV3::Experiment::Representation
|
1084
1066
|
command.response_class = Google::Apis::AnalyticsV3::Experiment
|
1085
1067
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -1122,8 +1104,7 @@ module Google
|
|
1122
1104
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1123
1105
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1124
1106
|
def insert_experiment(account_id, web_property_id, profile_id, experiment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1125
|
-
|
1126
|
-
command = make_simple_command(:post, path, options)
|
1107
|
+
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments', options)
|
1127
1108
|
command.request_representation = Google::Apis::AnalyticsV3::Experiment::Representation
|
1128
1109
|
command.request_object = experiment_object
|
1129
1110
|
command.response_representation = Google::Apis::AnalyticsV3::Experiment::Representation
|
@@ -1171,8 +1152,7 @@ module Google
|
|
1171
1152
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1172
1153
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1173
1154
|
def list_experiments(account_id, web_property_id, profile_id, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1174
|
-
|
1175
|
-
command = make_simple_command(:get, path, options)
|
1155
|
+
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments', options)
|
1176
1156
|
command.response_representation = Google::Apis::AnalyticsV3::Experiments::Representation
|
1177
1157
|
command.response_class = Google::Apis::AnalyticsV3::Experiments
|
1178
1158
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -1218,8 +1198,7 @@ module Google
|
|
1218
1198
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1219
1199
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1220
1200
|
def patch_experiment(account_id, web_property_id, profile_id, experiment_id, experiment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1221
|
-
|
1222
|
-
command = make_simple_command(:patch, path, options)
|
1201
|
+
command = make_simple_command(:patch, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', options)
|
1223
1202
|
command.request_representation = Google::Apis::AnalyticsV3::Experiment::Representation
|
1224
1203
|
command.request_object = experiment_object
|
1225
1204
|
command.response_representation = Google::Apis::AnalyticsV3::Experiment::Representation
|
@@ -1266,8 +1245,7 @@ module Google
|
|
1266
1245
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1267
1246
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1268
1247
|
def update_experiment(account_id, web_property_id, profile_id, experiment_id, experiment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1269
|
-
|
1270
|
-
command = make_simple_command(:put, path, options)
|
1248
|
+
command = make_simple_command(:put, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', options)
|
1271
1249
|
command.request_representation = Google::Apis::AnalyticsV3::Experiment::Representation
|
1272
1250
|
command.request_object = experiment_object
|
1273
1251
|
command.response_representation = Google::Apis::AnalyticsV3::Experiment::Representation
|
@@ -1309,8 +1287,7 @@ module Google
|
|
1309
1287
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1310
1288
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1311
1289
|
def delete_filter(account_id, filter_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1312
|
-
|
1313
|
-
command = make_simple_command(:delete, path, options)
|
1290
|
+
command = make_simple_command(:delete, 'management/accounts/{accountId}/filters/{filterId}', options)
|
1314
1291
|
command.response_representation = Google::Apis::AnalyticsV3::Filter::Representation
|
1315
1292
|
command.response_class = Google::Apis::AnalyticsV3::Filter
|
1316
1293
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -1348,8 +1325,7 @@ module Google
|
|
1348
1325
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1349
1326
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1350
1327
|
def get_filter(account_id, filter_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1351
|
-
|
1352
|
-
command = make_simple_command(:get, path, options)
|
1328
|
+
command = make_simple_command(:get, 'management/accounts/{accountId}/filters/{filterId}', options)
|
1353
1329
|
command.response_representation = Google::Apis::AnalyticsV3::Filter::Representation
|
1354
1330
|
command.response_class = Google::Apis::AnalyticsV3::Filter
|
1355
1331
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -1386,8 +1362,7 @@ module Google
|
|
1386
1362
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1387
1363
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1388
1364
|
def insert_filter(account_id, filter_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1389
|
-
|
1390
|
-
command = make_simple_command(:post, path, options)
|
1365
|
+
command = make_simple_command(:post, 'management/accounts/{accountId}/filters', options)
|
1391
1366
|
command.request_representation = Google::Apis::AnalyticsV3::Filter::Representation
|
1392
1367
|
command.request_object = filter_object
|
1393
1368
|
command.response_representation = Google::Apis::AnalyticsV3::Filter::Representation
|
@@ -1429,8 +1404,7 @@ module Google
|
|
1429
1404
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1430
1405
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1431
1406
|
def list_filters(account_id, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1432
|
-
|
1433
|
-
command = make_simple_command(:get, path, options)
|
1407
|
+
command = make_simple_command(:get, 'management/accounts/{accountId}/filters', options)
|
1434
1408
|
command.response_representation = Google::Apis::AnalyticsV3::Filters::Representation
|
1435
1409
|
command.response_class = Google::Apis::AnalyticsV3::Filters
|
1436
1410
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -1470,8 +1444,7 @@ module Google
|
|
1470
1444
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1471
1445
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1472
1446
|
def patch_filter(account_id, filter_id, filter_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1473
|
-
|
1474
|
-
command = make_simple_command(:patch, path, options)
|
1447
|
+
command = make_simple_command(:patch, 'management/accounts/{accountId}/filters/{filterId}', options)
|
1475
1448
|
command.request_representation = Google::Apis::AnalyticsV3::Filter::Representation
|
1476
1449
|
command.request_object = filter_object
|
1477
1450
|
command.response_representation = Google::Apis::AnalyticsV3::Filter::Representation
|
@@ -1512,8 +1485,7 @@ module Google
|
|
1512
1485
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1513
1486
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1514
1487
|
def update_filter(account_id, filter_id, filter_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1515
|
-
|
1516
|
-
command = make_simple_command(:put, path, options)
|
1488
|
+
command = make_simple_command(:put, 'management/accounts/{accountId}/filters/{filterId}', options)
|
1517
1489
|
command.request_representation = Google::Apis::AnalyticsV3::Filter::Representation
|
1518
1490
|
command.request_object = filter_object
|
1519
1491
|
command.response_representation = Google::Apis::AnalyticsV3::Filter::Representation
|
@@ -1557,8 +1529,7 @@ module Google
|
|
1557
1529
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1558
1530
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1559
1531
|
def get_goal(account_id, web_property_id, profile_id, goal_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1560
|
-
|
1561
|
-
command = make_simple_command(:get, path, options)
|
1532
|
+
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}', options)
|
1562
1533
|
command.response_representation = Google::Apis::AnalyticsV3::Goal::Representation
|
1563
1534
|
command.response_class = Google::Apis::AnalyticsV3::Goal
|
1564
1535
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -1601,8 +1572,7 @@ module Google
|
|
1601
1572
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1602
1573
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1603
1574
|
def insert_goal(account_id, web_property_id, profile_id, goal_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1604
|
-
|
1605
|
-
command = make_simple_command(:post, path, options)
|
1575
|
+
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals', options)
|
1606
1576
|
command.request_representation = Google::Apis::AnalyticsV3::Goal::Representation
|
1607
1577
|
command.request_object = goal_object
|
1608
1578
|
command.response_representation = Google::Apis::AnalyticsV3::Goal::Representation
|
@@ -1654,8 +1624,7 @@ module Google
|
|
1654
1624
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1655
1625
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1656
1626
|
def list_goals(account_id, web_property_id, profile_id, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1657
|
-
|
1658
|
-
command = make_simple_command(:get, path, options)
|
1627
|
+
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals', options)
|
1659
1628
|
command.response_representation = Google::Apis::AnalyticsV3::Goals::Representation
|
1660
1629
|
command.response_class = Google::Apis::AnalyticsV3::Goals
|
1661
1630
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -1701,8 +1670,7 @@ module Google
|
|
1701
1670
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1702
1671
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1703
1672
|
def patch_goal(account_id, web_property_id, profile_id, goal_id, goal_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1704
|
-
|
1705
|
-
command = make_simple_command(:patch, path, options)
|
1673
|
+
command = make_simple_command(:patch, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}', options)
|
1706
1674
|
command.request_representation = Google::Apis::AnalyticsV3::Goal::Representation
|
1707
1675
|
command.request_object = goal_object
|
1708
1676
|
command.response_representation = Google::Apis::AnalyticsV3::Goal::Representation
|
@@ -1749,8 +1717,7 @@ module Google
|
|
1749
1717
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1750
1718
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1751
1719
|
def update_goal(account_id, web_property_id, profile_id, goal_id, goal_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1752
|
-
|
1753
|
-
command = make_simple_command(:put, path, options)
|
1720
|
+
command = make_simple_command(:put, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}', options)
|
1754
1721
|
command.request_representation = Google::Apis::AnalyticsV3::Goal::Representation
|
1755
1722
|
command.request_object = goal_object
|
1756
1723
|
command.response_representation = Google::Apis::AnalyticsV3::Goal::Representation
|
@@ -1796,8 +1763,7 @@ module Google
|
|
1796
1763
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1797
1764
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1798
1765
|
def delete_profile_filter_link(account_id, web_property_id, profile_id, link_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1799
|
-
|
1800
|
-
command = make_simple_command(:delete, path, options)
|
1766
|
+
command = make_simple_command(:delete, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}', options)
|
1801
1767
|
command.params['accountId'] = account_id unless account_id.nil?
|
1802
1768
|
command.params['webPropertyId'] = web_property_id unless web_property_id.nil?
|
1803
1769
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
@@ -1839,8 +1805,7 @@ module Google
|
|
1839
1805
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1840
1806
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1841
1807
|
def get_profile_filter_link(account_id, web_property_id, profile_id, link_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1842
|
-
|
1843
|
-
command = make_simple_command(:get, path, options)
|
1808
|
+
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}', options)
|
1844
1809
|
command.response_representation = Google::Apis::AnalyticsV3::ProfileFilterLink::Representation
|
1845
1810
|
command.response_class = Google::Apis::AnalyticsV3::ProfileFilterLink
|
1846
1811
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -1883,8 +1848,7 @@ module Google
|
|
1883
1848
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1884
1849
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1885
1850
|
def insert_profile_filter_link(account_id, web_property_id, profile_id, profile_filter_link_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1886
|
-
|
1887
|
-
command = make_simple_command(:post, path, options)
|
1851
|
+
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks', options)
|
1888
1852
|
command.request_representation = Google::Apis::AnalyticsV3::ProfileFilterLink::Representation
|
1889
1853
|
command.request_object = profile_filter_link_object
|
1890
1854
|
command.response_representation = Google::Apis::AnalyticsV3::ProfileFilterLink::Representation
|
@@ -1935,8 +1899,7 @@ module Google
|
|
1935
1899
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1936
1900
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1937
1901
|
def list_profile_filter_links(account_id, web_property_id, profile_id, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1938
|
-
|
1939
|
-
command = make_simple_command(:get, path, options)
|
1902
|
+
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks', options)
|
1940
1903
|
command.response_representation = Google::Apis::AnalyticsV3::ProfileFilterLinks::Representation
|
1941
1904
|
command.response_class = Google::Apis::AnalyticsV3::ProfileFilterLinks
|
1942
1905
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -1982,8 +1945,7 @@ module Google
|
|
1982
1945
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1983
1946
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1984
1947
|
def patch_profile_filter_link(account_id, web_property_id, profile_id, link_id, profile_filter_link_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1985
|
-
|
1986
|
-
command = make_simple_command(:patch, path, options)
|
1948
|
+
command = make_simple_command(:patch, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}', options)
|
1987
1949
|
command.request_representation = Google::Apis::AnalyticsV3::ProfileFilterLink::Representation
|
1988
1950
|
command.request_object = profile_filter_link_object
|
1989
1951
|
command.response_representation = Google::Apis::AnalyticsV3::ProfileFilterLink::Representation
|
@@ -2030,8 +1992,7 @@ module Google
|
|
2030
1992
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2031
1993
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2032
1994
|
def update_profile_filter_link(account_id, web_property_id, profile_id, link_id, profile_filter_link_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2033
|
-
|
2034
|
-
command = make_simple_command(:put, path, options)
|
1995
|
+
command = make_simple_command(:put, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}', options)
|
2035
1996
|
command.request_representation = Google::Apis::AnalyticsV3::ProfileFilterLink::Representation
|
2036
1997
|
command.request_object = profile_filter_link_object
|
2037
1998
|
command.response_representation = Google::Apis::AnalyticsV3::ProfileFilterLink::Representation
|
@@ -2077,8 +2038,7 @@ module Google
|
|
2077
2038
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2078
2039
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2079
2040
|
def delete_profile_user_link(account_id, web_property_id, profile_id, link_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2080
|
-
|
2081
|
-
command = make_simple_command(:delete, path, options)
|
2041
|
+
command = make_simple_command(:delete, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}', options)
|
2082
2042
|
command.params['accountId'] = account_id unless account_id.nil?
|
2083
2043
|
command.params['webPropertyId'] = web_property_id unless web_property_id.nil?
|
2084
2044
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
@@ -2119,8 +2079,7 @@ module Google
|
|
2119
2079
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2120
2080
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2121
2081
|
def insert_profile_user_link(account_id, web_property_id, profile_id, entity_user_link_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2122
|
-
|
2123
|
-
command = make_simple_command(:post, path, options)
|
2082
|
+
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks', options)
|
2124
2083
|
command.request_representation = Google::Apis::AnalyticsV3::EntityUserLink::Representation
|
2125
2084
|
command.request_object = entity_user_link_object
|
2126
2085
|
command.response_representation = Google::Apis::AnalyticsV3::EntityUserLink::Representation
|
@@ -2172,8 +2131,7 @@ module Google
|
|
2172
2131
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2173
2132
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2174
2133
|
def list_profile_user_links(account_id, web_property_id, profile_id, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2175
|
-
|
2176
|
-
command = make_simple_command(:get, path, options)
|
2134
|
+
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks', options)
|
2177
2135
|
command.response_representation = Google::Apis::AnalyticsV3::EntityUserLinks::Representation
|
2178
2136
|
command.response_class = Google::Apis::AnalyticsV3::EntityUserLinks
|
2179
2137
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -2219,8 +2177,7 @@ module Google
|
|
2219
2177
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2220
2178
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2221
2179
|
def update_profile_user_link(account_id, web_property_id, profile_id, link_id, entity_user_link_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2222
|
-
|
2223
|
-
command = make_simple_command(:put, path, options)
|
2180
|
+
command = make_simple_command(:put, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}', options)
|
2224
2181
|
command.request_representation = Google::Apis::AnalyticsV3::EntityUserLink::Representation
|
2225
2182
|
command.request_object = entity_user_link_object
|
2226
2183
|
command.response_representation = Google::Apis::AnalyticsV3::EntityUserLink::Representation
|
@@ -2264,8 +2221,7 @@ module Google
|
|
2264
2221
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2265
2222
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2266
2223
|
def delete_profile(account_id, web_property_id, profile_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2267
|
-
|
2268
|
-
command = make_simple_command(:delete, path, options)
|
2224
|
+
command = make_simple_command(:delete, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', options)
|
2269
2225
|
command.params['accountId'] = account_id unless account_id.nil?
|
2270
2226
|
command.params['webPropertyId'] = web_property_id unless web_property_id.nil?
|
2271
2227
|
command.params['profileId'] = profile_id unless profile_id.nil?
|
@@ -2304,8 +2260,7 @@ module Google
|
|
2304
2260
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2305
2261
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2306
2262
|
def get_profile(account_id, web_property_id, profile_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2307
|
-
|
2308
|
-
command = make_simple_command(:get, path, options)
|
2263
|
+
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', options)
|
2309
2264
|
command.response_representation = Google::Apis::AnalyticsV3::Profile::Representation
|
2310
2265
|
command.response_class = Google::Apis::AnalyticsV3::Profile
|
2311
2266
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -2345,8 +2300,7 @@ module Google
|
|
2345
2300
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2346
2301
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2347
2302
|
def insert_profile(account_id, web_property_id, profile_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2348
|
-
|
2349
|
-
command = make_simple_command(:post, path, options)
|
2303
|
+
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles', options)
|
2350
2304
|
command.request_representation = Google::Apis::AnalyticsV3::Profile::Representation
|
2351
2305
|
command.request_object = profile_object
|
2352
2306
|
command.response_representation = Google::Apis::AnalyticsV3::Profile::Representation
|
@@ -2395,8 +2349,7 @@ module Google
|
|
2395
2349
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2396
2350
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2397
2351
|
def list_profiles(account_id, web_property_id, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2398
|
-
|
2399
|
-
command = make_simple_command(:get, path, options)
|
2352
|
+
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles', options)
|
2400
2353
|
command.response_representation = Google::Apis::AnalyticsV3::Profiles::Representation
|
2401
2354
|
command.response_class = Google::Apis::AnalyticsV3::Profiles
|
2402
2355
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -2439,8 +2392,7 @@ module Google
|
|
2439
2392
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2440
2393
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2441
2394
|
def patch_profile(account_id, web_property_id, profile_id, profile_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2442
|
-
|
2443
|
-
command = make_simple_command(:patch, path, options)
|
2395
|
+
command = make_simple_command(:patch, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', options)
|
2444
2396
|
command.request_representation = Google::Apis::AnalyticsV3::Profile::Representation
|
2445
2397
|
command.request_object = profile_object
|
2446
2398
|
command.response_representation = Google::Apis::AnalyticsV3::Profile::Representation
|
@@ -2484,8 +2436,7 @@ module Google
|
|
2484
2436
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2485
2437
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2486
2438
|
def update_profile(account_id, web_property_id, profile_id, profile_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2487
|
-
|
2488
|
-
command = make_simple_command(:put, path, options)
|
2439
|
+
command = make_simple_command(:put, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', options)
|
2489
2440
|
command.request_representation = Google::Apis::AnalyticsV3::Profile::Representation
|
2490
2441
|
command.request_object = profile_object
|
2491
2442
|
command.response_representation = Google::Apis::AnalyticsV3::Profile::Representation
|
@@ -2527,8 +2478,7 @@ module Google
|
|
2527
2478
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2528
2479
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2529
2480
|
def list_segments(max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2530
|
-
|
2531
|
-
command = make_simple_command(:get, path, options)
|
2481
|
+
command = make_simple_command(:get, 'management/segments', options)
|
2532
2482
|
command.response_representation = Google::Apis::AnalyticsV3::Segments::Representation
|
2533
2483
|
command.response_class = Google::Apis::AnalyticsV3::Segments
|
2534
2484
|
command.query['max-results'] = max_results unless max_results.nil?
|
@@ -2570,8 +2520,7 @@ module Google
|
|
2570
2520
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2571
2521
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2572
2522
|
def get_unsampled_report(account_id, web_property_id, profile_id, unsampled_report_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2573
|
-
|
2574
|
-
command = make_simple_command(:get, path, options)
|
2523
|
+
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports/{unsampledReportId}', options)
|
2575
2524
|
command.response_representation = Google::Apis::AnalyticsV3::UnsampledReport::Representation
|
2576
2525
|
command.response_class = Google::Apis::AnalyticsV3::UnsampledReport
|
2577
2526
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -2614,8 +2563,7 @@ module Google
|
|
2614
2563
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2615
2564
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2616
2565
|
def insert_unsampled_report(account_id, web_property_id, profile_id, unsampled_report_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2617
|
-
|
2618
|
-
command = make_simple_command(:post, path, options)
|
2566
|
+
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports', options)
|
2619
2567
|
command.request_representation = Google::Apis::AnalyticsV3::UnsampledReport::Representation
|
2620
2568
|
command.request_object = unsampled_report_object
|
2621
2569
|
command.response_representation = Google::Apis::AnalyticsV3::UnsampledReport::Representation
|
@@ -2666,8 +2614,7 @@ module Google
|
|
2666
2614
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2667
2615
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2668
2616
|
def list_unsampled_reports(account_id, web_property_id, profile_id, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2669
|
-
|
2670
|
-
command = make_simple_command(:get, path, options)
|
2617
|
+
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports', options)
|
2671
2618
|
command.response_representation = Google::Apis::AnalyticsV3::UnsampledReports::Representation
|
2672
2619
|
command.response_class = Google::Apis::AnalyticsV3::UnsampledReports
|
2673
2620
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -2711,8 +2658,7 @@ module Google
|
|
2711
2658
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2712
2659
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2713
2660
|
def delete_upload_data(account_id, web_property_id, custom_data_source_id, delete_upload_data_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2714
|
-
|
2715
|
-
command = make_simple_command(:post, path, options)
|
2661
|
+
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/deleteUploadData', options)
|
2716
2662
|
command.request_representation = Google::Apis::AnalyticsV3::DeleteUploadDataRequest::Representation
|
2717
2663
|
command.request_object = delete_upload_data_request_object
|
2718
2664
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -2755,8 +2701,7 @@ module Google
|
|
2755
2701
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2756
2702
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2757
2703
|
def get_upload(account_id, web_property_id, custom_data_source_id, upload_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2758
|
-
|
2759
|
-
command = make_simple_command(:get, path, options)
|
2704
|
+
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads/{uploadId}', options)
|
2760
2705
|
command.response_representation = Google::Apis::AnalyticsV3::Upload::Representation
|
2761
2706
|
command.response_class = Google::Apis::AnalyticsV3::Upload
|
2762
2707
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -2803,8 +2748,7 @@ module Google
|
|
2803
2748
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2804
2749
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2805
2750
|
def list_uploads(account_id, web_property_id, custom_data_source_id, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2806
|
-
|
2807
|
-
command = make_simple_command(:get, path, options)
|
2751
|
+
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads', options)
|
2808
2752
|
command.response_representation = Google::Apis::AnalyticsV3::Uploads::Representation
|
2809
2753
|
command.response_class = Google::Apis::AnalyticsV3::Uploads
|
2810
2754
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -2851,11 +2795,10 @@ module Google
|
|
2851
2795
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2852
2796
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2853
2797
|
def upload_data(account_id, web_property_id, custom_data_source_id, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
2854
|
-
path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads'
|
2855
2798
|
if upload_source.nil?
|
2856
|
-
command = make_simple_command(:post,
|
2799
|
+
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads', options)
|
2857
2800
|
else
|
2858
|
-
command = make_upload_command(:post,
|
2801
|
+
command = make_upload_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads', options)
|
2859
2802
|
command.upload_source = upload_source
|
2860
2803
|
command.upload_content_type = content_type
|
2861
2804
|
end
|
@@ -2899,8 +2842,7 @@ module Google
|
|
2899
2842
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2900
2843
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2901
2844
|
def delete_web_property_ad_words_link(account_id, web_property_id, web_property_ad_words_link_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2902
|
-
|
2903
|
-
command = make_simple_command(:delete, path, options)
|
2845
|
+
command = make_simple_command(:delete, 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}', options)
|
2904
2846
|
command.params['accountId'] = account_id unless account_id.nil?
|
2905
2847
|
command.params['webPropertyId'] = web_property_id unless web_property_id.nil?
|
2906
2848
|
command.params['webPropertyAdWordsLinkId'] = web_property_ad_words_link_id unless web_property_ad_words_link_id.nil?
|
@@ -2939,8 +2881,7 @@ module Google
|
|
2939
2881
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2940
2882
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2941
2883
|
def get_web_property_ad_words_link(account_id, web_property_id, web_property_ad_words_link_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2942
|
-
|
2943
|
-
command = make_simple_command(:get, path, options)
|
2884
|
+
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}', options)
|
2944
2885
|
command.response_representation = Google::Apis::AnalyticsV3::EntityAdWordsLink::Representation
|
2945
2886
|
command.response_class = Google::Apis::AnalyticsV3::EntityAdWordsLink
|
2946
2887
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -2980,8 +2921,7 @@ module Google
|
|
2980
2921
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2981
2922
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2982
2923
|
def insert_web_property_ad_words_link(account_id, web_property_id, entity_ad_words_link_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2983
|
-
|
2984
|
-
command = make_simple_command(:post, path, options)
|
2924
|
+
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks', options)
|
2985
2925
|
command.request_representation = Google::Apis::AnalyticsV3::EntityAdWordsLink::Representation
|
2986
2926
|
command.request_object = entity_ad_words_link_object
|
2987
2927
|
command.response_representation = Google::Apis::AnalyticsV3::EntityAdWordsLink::Representation
|
@@ -3026,8 +2966,7 @@ module Google
|
|
3026
2966
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3027
2967
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3028
2968
|
def list_web_property_ad_words_links(account_id, web_property_id, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3029
|
-
|
3030
|
-
command = make_simple_command(:get, path, options)
|
2969
|
+
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks', options)
|
3031
2970
|
command.response_representation = Google::Apis::AnalyticsV3::EntityAdWordsLinks::Representation
|
3032
2971
|
command.response_class = Google::Apis::AnalyticsV3::EntityAdWordsLinks
|
3033
2972
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -3071,8 +3010,7 @@ module Google
|
|
3071
3010
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3072
3011
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3073
3012
|
def patch_web_property_ad_words_link(account_id, web_property_id, web_property_ad_words_link_id, entity_ad_words_link_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3074
|
-
|
3075
|
-
command = make_simple_command(:patch, path, options)
|
3013
|
+
command = make_simple_command(:patch, 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}', options)
|
3076
3014
|
command.request_representation = Google::Apis::AnalyticsV3::EntityAdWordsLink::Representation
|
3077
3015
|
command.request_object = entity_ad_words_link_object
|
3078
3016
|
command.response_representation = Google::Apis::AnalyticsV3::EntityAdWordsLink::Representation
|
@@ -3116,8 +3054,7 @@ module Google
|
|
3116
3054
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3117
3055
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3118
3056
|
def update_web_property_ad_words_link(account_id, web_property_id, web_property_ad_words_link_id, entity_ad_words_link_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3119
|
-
|
3120
|
-
command = make_simple_command(:put, path, options)
|
3057
|
+
command = make_simple_command(:put, 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}', options)
|
3121
3058
|
command.request_representation = Google::Apis::AnalyticsV3::EntityAdWordsLink::Representation
|
3122
3059
|
command.request_object = entity_ad_words_link_object
|
3123
3060
|
command.response_representation = Google::Apis::AnalyticsV3::EntityAdWordsLink::Representation
|
@@ -3158,8 +3095,7 @@ module Google
|
|
3158
3095
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3159
3096
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3160
3097
|
def get_web_property(account_id, web_property_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3161
|
-
|
3162
|
-
command = make_simple_command(:get, path, options)
|
3098
|
+
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}', options)
|
3163
3099
|
command.response_representation = Google::Apis::AnalyticsV3::Webproperty::Representation
|
3164
3100
|
command.response_class = Google::Apis::AnalyticsV3::Webproperty
|
3165
3101
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -3198,8 +3134,7 @@ module Google
|
|
3198
3134
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3199
3135
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3200
3136
|
def insert_web_property(account_id, webproperty_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3201
|
-
|
3202
|
-
command = make_simple_command(:post, path, options)
|
3137
|
+
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties', options)
|
3203
3138
|
command.request_representation = Google::Apis::AnalyticsV3::Webproperty::Representation
|
3204
3139
|
command.request_object = webproperty_object
|
3205
3140
|
command.response_representation = Google::Apis::AnalyticsV3::Webproperty::Representation
|
@@ -3242,8 +3177,7 @@ module Google
|
|
3242
3177
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3243
3178
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3244
3179
|
def list_web_properties(account_id, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3245
|
-
|
3246
|
-
command = make_simple_command(:get, path, options)
|
3180
|
+
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties', options)
|
3247
3181
|
command.response_representation = Google::Apis::AnalyticsV3::Webproperties::Representation
|
3248
3182
|
command.response_class = Google::Apis::AnalyticsV3::Webproperties
|
3249
3183
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -3283,8 +3217,7 @@ module Google
|
|
3283
3217
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3284
3218
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3285
3219
|
def patch_web_property(account_id, web_property_id, webproperty_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3286
|
-
|
3287
|
-
command = make_simple_command(:patch, path, options)
|
3220
|
+
command = make_simple_command(:patch, 'management/accounts/{accountId}/webproperties/{webPropertyId}', options)
|
3288
3221
|
command.request_representation = Google::Apis::AnalyticsV3::Webproperty::Representation
|
3289
3222
|
command.request_object = webproperty_object
|
3290
3223
|
command.response_representation = Google::Apis::AnalyticsV3::Webproperty::Representation
|
@@ -3325,8 +3258,7 @@ module Google
|
|
3325
3258
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3326
3259
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3327
3260
|
def update_web_property(account_id, web_property_id, webproperty_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3328
|
-
|
3329
|
-
command = make_simple_command(:put, path, options)
|
3261
|
+
command = make_simple_command(:put, 'management/accounts/{accountId}/webproperties/{webPropertyId}', options)
|
3330
3262
|
command.request_representation = Google::Apis::AnalyticsV3::Webproperty::Representation
|
3331
3263
|
command.request_object = webproperty_object
|
3332
3264
|
command.response_representation = Google::Apis::AnalyticsV3::Webproperty::Representation
|
@@ -3368,8 +3300,7 @@ module Google
|
|
3368
3300
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3369
3301
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3370
3302
|
def delete_web_property_user_link(account_id, web_property_id, link_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3371
|
-
|
3372
|
-
command = make_simple_command(:delete, path, options)
|
3303
|
+
command = make_simple_command(:delete, 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}', options)
|
3373
3304
|
command.params['accountId'] = account_id unless account_id.nil?
|
3374
3305
|
command.params['webPropertyId'] = web_property_id unless web_property_id.nil?
|
3375
3306
|
command.params['linkId'] = link_id unless link_id.nil?
|
@@ -3407,8 +3338,7 @@ module Google
|
|
3407
3338
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3408
3339
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3409
3340
|
def insert_web_property_user_link(account_id, web_property_id, entity_user_link_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3410
|
-
|
3411
|
-
command = make_simple_command(:post, path, options)
|
3341
|
+
command = make_simple_command(:post, 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks', options)
|
3412
3342
|
command.request_representation = Google::Apis::AnalyticsV3::EntityUserLink::Representation
|
3413
3343
|
command.request_object = entity_user_link_object
|
3414
3344
|
command.response_representation = Google::Apis::AnalyticsV3::EntityUserLink::Representation
|
@@ -3455,8 +3385,7 @@ module Google
|
|
3455
3385
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3456
3386
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3457
3387
|
def list_web_property_user_links(account_id, web_property_id, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3458
|
-
|
3459
|
-
command = make_simple_command(:get, path, options)
|
3388
|
+
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks', options)
|
3460
3389
|
command.response_representation = Google::Apis::AnalyticsV3::EntityUserLinks::Representation
|
3461
3390
|
command.response_class = Google::Apis::AnalyticsV3::EntityUserLinks
|
3462
3391
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -3499,8 +3428,7 @@ module Google
|
|
3499
3428
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3500
3429
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3501
3430
|
def update_web_property_user_link(account_id, web_property_id, link_id, entity_user_link_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3502
|
-
|
3503
|
-
command = make_simple_command(:put, path, options)
|
3431
|
+
command = make_simple_command(:put, 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}', options)
|
3504
3432
|
command.request_representation = Google::Apis::AnalyticsV3::EntityUserLink::Representation
|
3505
3433
|
command.request_object = entity_user_link_object
|
3506
3434
|
command.response_representation = Google::Apis::AnalyticsV3::EntityUserLink::Representation
|
@@ -3540,8 +3468,7 @@ module Google
|
|
3540
3468
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3541
3469
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3542
3470
|
def list_metadata_columns(report_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3543
|
-
|
3544
|
-
command = make_simple_command(:get, path, options)
|
3471
|
+
command = make_simple_command(:get, 'metadata/{reportType}/columns', options)
|
3545
3472
|
command.response_representation = Google::Apis::AnalyticsV3::Columns::Representation
|
3546
3473
|
command.response_class = Google::Apis::AnalyticsV3::Columns
|
3547
3474
|
command.params['reportType'] = report_type unless report_type.nil?
|
@@ -3575,8 +3502,7 @@ module Google
|
|
3575
3502
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3576
3503
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3577
3504
|
def create_account_ticket(account_ticket_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3578
|
-
|
3579
|
-
command = make_simple_command(:post, path, options)
|
3505
|
+
command = make_simple_command(:post, 'provisioning/createAccountTicket', options)
|
3580
3506
|
command.request_representation = Google::Apis::AnalyticsV3::AccountTicket::Representation
|
3581
3507
|
command.request_object = account_ticket_object
|
3582
3508
|
command.response_representation = Google::Apis::AnalyticsV3::AccountTicket::Representation
|