google-api-client 0.43.0 → 0.48.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/autoapprove.yml +49 -0
- data/.github/workflows/release-please.yml +77 -0
- data/.gitignore +2 -0
- data/.kokoro/trampoline.sh +0 -0
- data/CHANGELOG.md +1066 -184
- data/Gemfile +1 -0
- data/Rakefile +31 -3
- data/api_list_config.yaml +8 -0
- data/api_names.yaml +1 -0
- data/bin/generate-api +77 -15
- data/docs/oauth-server.md +4 -6
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +60 -86
- data/generated/google/apis/accessapproval_v1/service.rb +93 -132
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +266 -236
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +308 -171
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +47 -36
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +72 -2
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +33 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
- data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
- data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
- data/generated/google/apis/admin_directory_v1/classes.rb +344 -242
- data/generated/google/apis/admin_directory_v1/representations.rb +62 -39
- data/generated/google/apis/admin_directory_v1/service.rb +607 -998
- data/generated/google/apis/admin_directory_v1.rb +6 -8
- data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
- data/generated/google/apis/admin_reports_v1/service.rb +131 -187
- data/generated/google/apis/admin_reports_v1.rb +6 -5
- data/generated/google/apis/admob_v1/classes.rb +31 -31
- data/generated/google/apis/admob_v1/service.rb +2 -1
- data/generated/google/apis/admob_v1.rb +6 -2
- data/generated/google/apis/adsense_v1_4/service.rb +4 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
- data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2134 -0
- data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1655 -0
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +806 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +261 -0
- data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +115 -75
- data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +9 -1
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
- data/generated/google/apis/{memcache_v1 → apigateway_v1beta}/representations.rb +156 -157
- data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
- data/generated/google/apis/apigateway_v1beta.rb +34 -0
- data/generated/google/apis/apigee_v1/classes.rb +630 -88
- data/generated/google/apis/apigee_v1/representations.rb +209 -1
- data/generated/google/apis/apigee_v1/service.rb +401 -74
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/appengine_v1/classes.rb +96 -59
- data/generated/google/apis/appengine_v1/representations.rb +17 -0
- data/generated/google/apis/appengine_v1/service.rb +38 -47
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +103 -59
- data/generated/google/apis/appengine_v1beta/representations.rb +18 -0
- data/generated/google/apis/appengine_v1beta/service.rb +37 -47
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/area120tables_v1alpha1/classes.rb +423 -0
- data/generated/google/apis/area120tables_v1alpha1/representations.rb +248 -0
- data/generated/google/apis/area120tables_v1alpha1/service.rb +381 -0
- data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +249 -337
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +2 -0
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +722 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +359 -0
- data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
- data/generated/google/apis/{accessapproval_v1beta1.rb → assuredworkloads_v1beta1.rb} +8 -8
- data/generated/google/apis/bigquery_v2/classes.rb +593 -576
- data/generated/google/apis/bigquery_v2/representations.rb +85 -0
- data/generated/google/apis/bigquery_v2/service.rb +79 -41
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +137 -119
- data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +455 -607
- data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/billingbudgets_v1/classes.rb +373 -0
- data/generated/google/apis/billingbudgets_v1/representations.rb +171 -0
- data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
- data/generated/google/apis/billingbudgets_v1.rb +38 -0
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +27 -6
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +2 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +434 -355
- data/generated/google/apis/binaryauthorization_v1/representations.rb +75 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +109 -89
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +434 -355
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +75 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +109 -89
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +54 -54
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +13 -10
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +173 -116
- data/generated/google/apis/chat_v1/representations.rb +36 -0
- data/generated/google/apis/chat_v1/service.rb +30 -42
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +18 -32
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -3
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +153 -21
- data/generated/google/apis/classroom_v1/representations.rb +43 -0
- data/generated/google/apis/classroom_v1/service.rb +240 -0
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +1461 -1039
- data/generated/google/apis/cloudasset_v1/representations.rb +320 -0
- data/generated/google/apis/cloudasset_v1/service.rb +296 -167
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -777
- data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +222 -276
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -720
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
- data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +285 -446
- data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
- data/generated/google/apis/cloudbilling_v1.rb +7 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +339 -344
- data/generated/google/apis/cloudbuild_v1/representations.rb +8 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +277 -67
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +291 -329
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +277 -313
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
- data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +127 -156
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +335 -494
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +989 -107
- data/generated/google/apis/cloudidentity_v1/representations.rb +371 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +883 -88
- data/generated/google/apis/cloudidentity_v1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1236 -307
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +424 -21
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +921 -96
- data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +270 -373
- data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
- data/generated/google/apis/cloudiot_v1/service.rb +147 -154
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +509 -692
- data/generated/google/apis/cloudkms_v1/representations.rb +18 -0
- data/generated/google/apis/cloudkms_v1/service.rb +170 -216
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
- data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
- data/generated/google/apis/cloudprofiler_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -7
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +62 -60
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +26 -25
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
- data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +273 -384
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +651 -781
- data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
- data/generated/google/apis/cloudsearch_v1.rb +2 -2
- data/generated/google/apis/cloudshell_v1/classes.rb +256 -105
- data/generated/google/apis/cloudshell_v1/representations.rb +143 -10
- data/generated/google/apis/cloudshell_v1/service.rb +198 -25
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +69 -78
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +612 -933
- data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +608 -964
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +616 -938
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
- data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
- data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
- data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +189 -242
- data/generated/google/apis/composer_v1/service.rb +79 -150
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
- data/generated/google/apis/composer_v1beta1/service.rb +94 -179
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1227 -186
- data/generated/google/apis/compute_alpha/representations.rb +235 -8
- data/generated/google/apis/compute_alpha/service.rb +2009 -1024
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1080 -108
- data/generated/google/apis/compute_beta/representations.rb +212 -2
- data/generated/google/apis/compute_beta/service.rb +1413 -741
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1512 -106
- data/generated/google/apis/compute_v1/representations.rb +470 -1
- data/generated/google/apis/compute_v1/service.rb +1625 -285
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +982 -965
- data/generated/google/apis/container_v1/representations.rb +60 -0
- data/generated/google/apis/container_v1/service.rb +435 -502
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +1106 -1044
- data/generated/google/apis/container_v1beta1/representations.rb +91 -0
- data/generated/google/apis/container_v1beta1/service.rb +403 -466
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +463 -596
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +461 -613
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +515 -1219
- data/generated/google/apis/content_v2/service.rb +377 -650
- data/generated/google/apis/content_v2.rb +3 -4
- data/generated/google/apis/content_v2_1/classes.rb +1108 -1058
- data/generated/google/apis/content_v2_1/representations.rb +288 -0
- data/generated/google/apis/content_v2_1/service.rb +987 -795
- data/generated/google/apis/content_v2_1.rb +3 -4
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +413 -573
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +6 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +1174 -973
- data/generated/google/apis/dataflow_v1b3/representations.rb +148 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +308 -257
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1/classes.rb +283 -397
- data/generated/google/apis/datafusion_v1/representations.rb +5 -0
- data/generated/google/apis/datafusion_v1/service.rb +76 -89
- data/generated/google/apis/datafusion_v1.rb +5 -8
- data/generated/google/apis/datafusion_v1beta1/classes.rb +283 -397
- data/generated/google/apis/datafusion_v1beta1/representations.rb +5 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
- data/generated/google/apis/datafusion_v1beta1.rb +5 -8
- data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
- data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
- data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
- data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
- data/generated/google/apis/dataproc_v1/classes.rb +97 -13
- data/generated/google/apis/dataproc_v1/representations.rb +34 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +117 -9
- data/generated/google/apis/dataproc_v1beta2/representations.rb +49 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +334 -476
- data/generated/google/apis/datastore_v1/service.rb +52 -63
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
- data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +259 -375
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
- data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
- data/generated/google/apis/deploymentmanager_v2.rb +6 -4
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
- data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
- data/generated/google/apis/dfareporting_v3_3/classes.rb +162 -339
- data/generated/google/apis/dfareporting_v3_3/service.rb +646 -1262
- data/generated/google/apis/dfareporting_v3_3.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/classes.rb +184 -350
- data/generated/google/apis/dfareporting_v3_4/representations.rb +1 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +681 -1261
- data/generated/google/apis/dfareporting_v3_4.rb +2 -2
- data/generated/google/apis/dialogflow_v2/classes.rb +746 -217
- data/generated/google/apis/dialogflow_v2/representations.rb +318 -67
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +764 -233
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +318 -67
- data/generated/google/apis/dialogflow_v2beta1/service.rb +556 -331
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +8816 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +3725 -0
- data/generated/google/apis/dialogflow_v3beta1/service.rb +2825 -0
- data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
- data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
- data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +271 -38
- data/generated/google/apis/displayvideo_v1/representations.rb +83 -0
- data/generated/google/apis/displayvideo_v1/service.rb +287 -32
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
- data/generated/google/apis/displayvideo_v1beta.rb +38 -0
- data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
- data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
- data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
- data/generated/google/apis/displayvideo_v1dev.rb +38 -0
- data/generated/google/apis/dlp_v2/classes.rb +1111 -1310
- data/generated/google/apis/dlp_v2/representations.rb +16 -0
- data/generated/google/apis/dlp_v2/service.rb +962 -905
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +356 -198
- data/generated/google/apis/dns_v1/representations.rb +83 -0
- data/generated/google/apis/dns_v1/service.rb +83 -98
- data/generated/google/apis/dns_v1.rb +2 -2
- data/generated/google/apis/dns_v1beta2/classes.rb +362 -206
- data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
- data/generated/google/apis/dns_v1beta2/service.rb +83 -98
- data/generated/google/apis/dns_v1beta2.rb +2 -2
- data/generated/google/apis/docs_v1/classes.rb +894 -1229
- data/generated/google/apis/docs_v1/service.rb +17 -22
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/documentai_v1beta2/classes.rb +2253 -824
- data/generated/google/apis/documentai_v1beta2/representations.rb +701 -0
- data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
- data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
- data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
- data/generated/google/apis/{securitycenter_v1p1alpha1.rb → documentai_v1beta3.rb} +11 -10
- data/generated/google/apis/domains_v1alpha2/classes.rb +1540 -0
- data/generated/google/apis/domains_v1alpha2/representations.rb +606 -0
- data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
- data/generated/google/apis/domains_v1alpha2.rb +34 -0
- data/generated/google/apis/domains_v1beta1/classes.rb +1540 -0
- data/generated/google/apis/domains_v1beta1/representations.rb +606 -0
- data/generated/google/apis/domains_v1beta1/service.rb +805 -0
- data/generated/google/apis/domains_v1beta1.rb +34 -0
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -12
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
- data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +13 -20
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
- data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +18 -7
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v2/service.rb +79 -15
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +18 -8
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/drive_v3/service.rb +59 -11
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/eventarc_v1beta1/classes.rb +931 -0
- data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
- data/generated/google/apis/{memcache_v1 → eventarc_v1beta1}/service.rb +236 -215
- data/generated/google/apis/eventarc_v1beta1.rb +34 -0
- data/generated/google/apis/file_v1/classes.rb +155 -174
- data/generated/google/apis/file_v1/service.rb +43 -52
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +335 -194
- data/generated/google/apis/file_v1beta1/representations.rb +55 -0
- data/generated/google/apis/file_v1beta1/service.rb +267 -55
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +33 -51
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
- data/generated/google/apis/firebase_v1beta1/service.rb +21 -1
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +188 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +83 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +418 -4
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +8 -8
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
- data/generated/google/apis/firebaserules_v1/service.rb +87 -110
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +406 -502
- data/generated/google/apis/firestore_v1/service.rb +165 -201
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +338 -413
- data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
- data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +982 -0
- data/generated/google/apis/fitness_v1/representations.rb +398 -0
- data/generated/google/apis/fitness_v1/service.rb +628 -0
- data/generated/google/apis/fitness_v1.rb +97 -0
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
- data/generated/google/apis/games_configuration_v1configuration/service.rb +6 -6
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +14 -20
- data/generated/google/apis/games_management_v1management/service.rb +35 -36
- data/generated/google/apis/games_management_v1management.rb +2 -3
- data/generated/google/apis/games_v1/classes.rb +376 -83
- data/generated/google/apis/games_v1/representations.rb +118 -0
- data/generated/google/apis/games_v1/service.rb +118 -90
- data/generated/google/apis/games_v1.rb +2 -3
- data/generated/google/apis/gameservices_v1/classes.rb +22 -14
- data/generated/google/apis/gameservices_v1/representations.rb +1 -0
- data/generated/google/apis/gameservices_v1/service.rb +54 -51
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +22 -14
- data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
- data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +70 -76
- data/generated/google/apis/genomics_v1/service.rb +28 -43
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
- data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +356 -275
- data/generated/google/apis/genomics_v2alpha1/representations.rb +48 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +37 -43
- data/generated/google/apis/gmail_v1/service.rb +5 -4
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +11 -11
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
- data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
- data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
- data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
- data/generated/google/apis/groupsmigration_v1.rb +35 -0
- data/generated/google/apis/healthcare_v1/classes.rb +637 -826
- data/generated/google/apis/healthcare_v1/representations.rb +32 -0
- data/generated/google/apis/healthcare_v1/service.rb +842 -855
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +1937 -1299
- data/generated/google/apis/healthcare_v1beta1/representations.rb +534 -65
- data/generated/google/apis/healthcare_v1beta1/service.rb +2534 -1293
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +76 -164
- data/generated/google/apis/homegraph_v1/service.rb +23 -35
- data/generated/google/apis/homegraph_v1.rb +4 -1
- data/generated/google/apis/iam_v1/classes.rb +395 -592
- data/generated/google/apis/iam_v1/representations.rb +1 -0
- data/generated/google/apis/iam_v1/service.rb +427 -555
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
- data/generated/google/apis/iamcredentials_v1/service.rb +14 -13
- data/generated/google/apis/iamcredentials_v1.rb +3 -2
- data/generated/google/apis/iap_v1/classes.rb +253 -355
- data/generated/google/apis/iap_v1/representations.rb +1 -0
- data/generated/google/apis/iap_v1/service.rb +61 -71
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +164 -254
- data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
- data/generated/google/apis/iap_v1beta1/service.rb +17 -19
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/indexing_v3/classes.rb +11 -11
- data/generated/google/apis/indexing_v3.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +1584 -1086
- data/generated/google/apis/jobs_v2/representations.rb +272 -0
- data/generated/google/apis/jobs_v2/service.rb +85 -126
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +1559 -980
- data/generated/google/apis/jobs_v3/representations.rb +272 -0
- data/generated/google/apis/jobs_v3/service.rb +101 -139
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +1521 -1023
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
- data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
- data/generated/google/apis/kgsearch_v1/service.rb +11 -11
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/classes.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +56 -86
- data/generated/google/apis/licensing_v1.rb +4 -3
- data/generated/google/apis/lifesciences_v2beta/classes.rb +366 -290
- data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
- data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/localservices_v1/classes.rb +426 -0
- data/generated/google/apis/localservices_v1/representations.rb +174 -0
- data/generated/google/apis/localservices_v1/service.rb +199 -0
- data/generated/google/apis/{appsactivity_v1.rb → localservices_v1.rb} +8 -11
- data/generated/google/apis/logging_v2/classes.rb +306 -232
- data/generated/google/apis/logging_v2/representations.rb +79 -0
- data/generated/google/apis/logging_v2/service.rb +3307 -1579
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +8 -1
- data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1/service.rb +1 -4
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +87 -1
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +34 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +88 -1
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +34 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
- data/generated/google/apis/manufacturers_v1/service.rb +44 -55
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +171 -250
- data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
- data/generated/google/apis/memcache_v1beta2/service.rb +60 -73
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1122 -1149
- data/generated/google/apis/ml_v1/representations.rb +82 -0
- data/generated/google/apis/ml_v1/service.rb +194 -253
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +107 -26
- data/generated/google/apis/monitoring_v1/representations.rb +35 -0
- data/generated/google/apis/monitoring_v1/service.rb +10 -11
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +303 -345
- data/generated/google/apis/monitoring_v3/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3/service.rb +176 -146
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
- data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +456 -429
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +63 -0
- data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +154 -902
- data/generated/google/apis/osconfig_v1/representations.rb +0 -337
- data/generated/google/apis/osconfig_v1/service.rb +26 -31
- data/generated/google/apis/osconfig_v1.rb +3 -3
- data/generated/google/apis/osconfig_v1beta/classes.rb +327 -411
- data/generated/google/apis/osconfig_v1beta/service.rb +43 -56
- data/generated/google/apis/osconfig_v1beta.rb +3 -3
- data/generated/google/apis/oslogin_v1/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1/service.rb +12 -16
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +16 -14
- data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +17 -17
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
- data/generated/google/apis/pagespeedonline_v5.rb +2 -2
- data/generated/google/apis/people_v1/classes.rb +173 -63
- data/generated/google/apis/people_v1/representations.rb +41 -0
- data/generated/google/apis/people_v1/service.rb +63 -61
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +114 -161
- data/generated/google/apis/playablelocations_v3/service.rb +10 -10
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/poly_v1/classes.rb +65 -79
- data/generated/google/apis/poly_v1/service.rb +50 -63
- data/generated/google/apis/poly_v1.rb +3 -4
- data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
- data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
- data/generated/google/apis/privateca_v1beta1/service.rb +1487 -0
- data/generated/google/apis/privateca_v1beta1.rb +34 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +26 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +644 -56
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +399 -518
- data/generated/google/apis/pubsub_v1/representations.rb +2 -0
- data/generated/google/apis/pubsub_v1/service.rb +221 -247
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
- data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
- data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +251 -354
- data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
- data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsublite_v1/classes.rb +461 -0
- data/generated/google/apis/pubsublite_v1/representations.rb +261 -0
- data/generated/google/apis/pubsublite_v1/service.rb +558 -0
- data/generated/google/apis/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
- data/generated/google/apis/realtimebidding_v1/classes.rb +84 -123
- data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
- data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +367 -456
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -16
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1/service.rb +4 -2
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +91 -513
- data/generated/google/apis/redis_v1/representations.rb +0 -139
- data/generated/google/apis/redis_v1/service.rb +92 -109
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +123 -517
- data/generated/google/apis/redis_v1beta1/representations.rb +12 -137
- data/generated/google/apis/redis_v1beta1/service.rb +126 -109
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +957 -1078
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +62 -0
- data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +952 -1071
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +62 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1105 -1250
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +62 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +151 -219
- data/generated/google/apis/reseller_v1/service.rb +122 -173
- data/generated/google/apis/reseller_v1.rb +2 -2
- data/generated/google/apis/run_v1/classes.rb +19 -138
- data/generated/google/apis/run_v1/representations.rb +1 -62
- data/generated/google/apis/run_v1/service.rb +0 -342
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +3 -2
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +301 -412
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
- data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +26 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +644 -56
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +88 -111
- data/generated/google/apis/script_v1/service.rb +63 -69
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
- data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
- data/generated/google/apis/searchconsole_v1/service.rb +287 -0
- data/generated/google/apis/searchconsole_v1.rb +7 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +378 -365
- data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
- data/generated/google/apis/secretmanager_v1/service.rb +66 -82
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +217 -363
- data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +20 -204
- data/generated/google/apis/securitycenter_v1/representations.rb +1 -72
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +22 -204
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -72
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +275 -291
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +83 -84
- data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
- data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +35 -123
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +32 -30
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +24 -112
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +601 -642
- data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +343 -325
- data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
- data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +221 -333
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1244 -2174
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -31
- data/generated/google/apis/servicemanagement_v1/service.rb +141 -228
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +278 -121
- data/generated/google/apis/servicenetworking_v1/representations.rb +115 -15
- data/generated/google/apis/servicenetworking_v1/service.rb +118 -2
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +213 -112
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +84 -14
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +57 -111
- data/generated/google/apis/serviceusage_v1/representations.rb +4 -18
- data/generated/google/apis/serviceusage_v1/service.rb +5 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +122 -112
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +23 -18
- data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +4029 -5014
- data/generated/google/apis/sheets_v4/representations.rb +625 -0
- data/generated/google/apis/sheets_v4/service.rb +113 -149
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +841 -1114
- data/generated/google/apis/slides_v1/service.rb +23 -30
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +273 -0
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +157 -0
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +304 -0
- data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
- data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
- data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +1553 -2157
- data/generated/google/apis/spanner_v1/representations.rb +1 -0
- data/generated/google/apis/spanner_v1/service.rb +443 -618
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +174 -220
- data/generated/google/apis/speech_v1/service.rb +27 -32
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
- data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
- data/generated/google/apis/speech_v2beta1/service.rb +10 -12
- data/generated/google/apis/speech_v2beta1.rb +1 -1
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +537 -452
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +142 -87
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +295 -300
- data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
- data/generated/google/apis/storage_v1/classes.rb +10 -17
- data/generated/google/apis/storage_v1/representations.rb +2 -3
- data/generated/google/apis/storage_v1/service.rb +3 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +301 -349
- data/generated/google/apis/storagetransfer_v1/representations.rb +13 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +53 -72
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +110 -152
- data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/sts_v1/classes.rb +121 -0
- data/generated/google/apis/sts_v1/representations.rb +59 -0
- data/generated/google/apis/sts_v1/service.rb +90 -0
- data/generated/google/apis/sts_v1.rb +32 -0
- data/generated/google/apis/sts_v1beta/classes.rb +191 -0
- data/generated/google/apis/sts_v1beta/representations.rb +61 -0
- data/generated/google/apis/sts_v1beta/service.rb +92 -0
- data/generated/google/apis/sts_v1beta.rb +32 -0
- data/generated/google/apis/tagmanager_v1/service.rb +2 -2
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
- data/generated/google/apis/tagmanager_v2/service.rb +2 -2
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +21 -22
- data/generated/google/apis/tasks_v1/service.rb +19 -19
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +384 -390
- data/generated/google/apis/testing_v1/representations.rb +23 -0
- data/generated/google/apis/testing_v1/service.rb +22 -28
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
- data/generated/google/apis/texttospeech_v1/service.rb +9 -10
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
- data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
- data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +20 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +13 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +57 -3
- data/generated/google/apis/tpu_v1/representations.rb +19 -0
- data/generated/google/apis/tpu_v1/service.rb +8 -8
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +57 -3
- data/generated/google/apis/tpu_v1alpha1/representations.rb +19 -0
- data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
- data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
- data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
- data/generated/google/apis/trafficdirector_v2.rb +34 -0
- data/generated/google/apis/translate_v3/classes.rb +151 -177
- data/generated/google/apis/translate_v3/service.rb +122 -151
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +150 -170
- data/generated/google/apis/translate_v3beta1/service.rb +122 -151
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +413 -103
- data/generated/google/apis/vault_v1/representations.rb +162 -0
- data/generated/google/apis/vault_v1/service.rb +182 -37
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vectortile_v1/classes.rb +185 -267
- data/generated/google/apis/vectortile_v1/service.rb +75 -88
- data/generated/google/apis/vectortile_v1.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
- data/generated/google/apis/verifiedaccess_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +1493 -935
- data/generated/google/apis/videointelligence_v1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1/service.rb +38 -77
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +1488 -928
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1482 -922
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1485 -925
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1410 -937
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +368 -2
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +16 -16
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/webfonts_v1/classes.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +2 -4
- data/generated/google/apis/webfonts_v1.rb +2 -3
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
- data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
- data/generated/google/apis/{securitycenter_v1p1alpha1 → workflowexecutions_v1beta}/service.rb +73 -69
- data/generated/google/apis/workflowexecutions_v1beta.rb +34 -0
- data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
- data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
- data/generated/google/apis/workflows_v1beta/service.rb +438 -0
- data/generated/google/apis/workflows_v1beta.rb +35 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +0 -586
- data/generated/google/apis/youtube_v3/representations.rb +0 -269
- data/generated/google/apis/youtube_v3/service.rb +3 -120
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/google-api-client.gemspec +25 -24
- data/lib/google/apis/core/api_command.rb +1 -0
- data/lib/google/apis/core/http_command.rb +2 -1
- data/lib/google/apis/options.rb +8 -5
- data/lib/google/apis/version.rb +1 -1
- data/synth.py +40 -0
- metadata +134 -41
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +0 -203
- data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
- data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
- data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
- data/generated/google/apis/appsactivity_v1/service.rb +0 -126
- data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
- data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
- data/generated/google/apis/dns_v2beta1/service.rb +0 -928
- data/generated/google/apis/dns_v2beta1.rb +0 -43
- data/generated/google/apis/memcache_v1/classes.rb +0 -1157
- data/generated/google/apis/plus_v1/classes.rb +0 -2094
- data/generated/google/apis/plus_v1/representations.rb +0 -907
- data/generated/google/apis/plus_v1/service.rb +0 -451
- data/generated/google/apis/plus_v1.rb +0 -43
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2059
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1243
- data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
- data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
- data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
- data/generated/google/apis/storage_v1beta2.rb +0 -40
@@ -0,0 +1,2134 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'google/apis/core/base_service'
|
16
|
+
require 'google/apis/core/json_representation'
|
17
|
+
require 'google/apis/core/hashable'
|
18
|
+
require 'google/apis/errors'
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Apis
|
22
|
+
module AnalyticsadminV1alpha
|
23
|
+
# Google Analytics Admin API
|
24
|
+
#
|
25
|
+
#
|
26
|
+
#
|
27
|
+
# @example
|
28
|
+
# require 'google/apis/analyticsadmin_v1alpha'
|
29
|
+
#
|
30
|
+
# Analyticsadmin = Google::Apis::AnalyticsadminV1alpha # Alias the module
|
31
|
+
# service = Analyticsadmin::GoogleAnalyticsAdminService.new
|
32
|
+
#
|
33
|
+
# @see http://code.google.com/apis/analytics/docs/mgmt/home.html
|
34
|
+
class GoogleAnalyticsAdminService < Google::Apis::Core::BaseService
|
35
|
+
# @return [String]
|
36
|
+
# API key. Your API key identifies your project and provides you with API access,
|
37
|
+
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
38
|
+
attr_accessor :key
|
39
|
+
|
40
|
+
# @return [String]
|
41
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
42
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
43
|
+
attr_accessor :quota_user
|
44
|
+
|
45
|
+
def initialize
|
46
|
+
super('https://analyticsadmin.googleapis.com/', '')
|
47
|
+
@batch_path = 'batch'
|
48
|
+
end
|
49
|
+
|
50
|
+
# Returns summaries of all accounts accessible by the caller.
|
51
|
+
# @param [Fixnum] page_size
|
52
|
+
# The maximum number of AccountSummary resources to return. The service may
|
53
|
+
# return fewer than this value, even if there are additional pages. If
|
54
|
+
# unspecified, at most 50 resources will be returned. The maximum value is 200; (
|
55
|
+
# higher values will be coerced to the maximum)
|
56
|
+
# @param [String] page_token
|
57
|
+
# A page token, received from a previous `ListAccountSummaries` call. Provide
|
58
|
+
# this to retrieve the subsequent page. When paginating, all other parameters
|
59
|
+
# provided to `ListAccountSummaries` must match the call that provided the page
|
60
|
+
# token.
|
61
|
+
# @param [String] fields
|
62
|
+
# Selector specifying which fields to include in a partial response.
|
63
|
+
# @param [String] quota_user
|
64
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
65
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
66
|
+
# @param [Google::Apis::RequestOptions] options
|
67
|
+
# Request-specific options
|
68
|
+
#
|
69
|
+
# @yield [result, err] Result & error if block supplied
|
70
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListAccountSummariesResponse] parsed result object
|
71
|
+
# @yieldparam err [StandardError] error object if request failed
|
72
|
+
#
|
73
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListAccountSummariesResponse]
|
74
|
+
#
|
75
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
76
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
77
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
78
|
+
def list_account_summaries(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
79
|
+
command = make_simple_command(:get, 'v1alpha/accountSummaries', options)
|
80
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListAccountSummariesResponse::Representation
|
81
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListAccountSummariesResponse
|
82
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
83
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
84
|
+
command.query['fields'] = fields unless fields.nil?
|
85
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
86
|
+
execute_or_queue_command(command, &block)
|
87
|
+
end
|
88
|
+
|
89
|
+
# Marks target Account as soft-deleted (ie: "trashed") and returns it. This API
|
90
|
+
# does not have a method to restore soft-deleted accounts. However, they can be
|
91
|
+
# restored using the Trash Can UI. If the accounts are not restored before the
|
92
|
+
# expiration time, the account and all child resources (eg: Properties,
|
93
|
+
# GoogleAdsLinks, Streams, UserLinks) will be permanently purged. https://
|
94
|
+
# support.google.com/analytics/answer/6154772 Returns an error if the target is
|
95
|
+
# not found.
|
96
|
+
# @param [String] name
|
97
|
+
# Required. The name of the Account to soft-delete. Format: accounts/`account`
|
98
|
+
# Example: "accounts/100"
|
99
|
+
# @param [String] fields
|
100
|
+
# Selector specifying which fields to include in a partial response.
|
101
|
+
# @param [String] quota_user
|
102
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
103
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
104
|
+
# @param [Google::Apis::RequestOptions] options
|
105
|
+
# Request-specific options
|
106
|
+
#
|
107
|
+
# @yield [result, err] Result & error if block supplied
|
108
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
109
|
+
# @yieldparam err [StandardError] error object if request failed
|
110
|
+
#
|
111
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
112
|
+
#
|
113
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
114
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
115
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
116
|
+
def delete_account(name, fields: nil, quota_user: nil, options: nil, &block)
|
117
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
118
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
119
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
120
|
+
command.params['name'] = name unless name.nil?
|
121
|
+
command.query['fields'] = fields unless fields.nil?
|
122
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
123
|
+
execute_or_queue_command(command, &block)
|
124
|
+
end
|
125
|
+
|
126
|
+
# Lookup for a single Account. Throws "Target not found" if no such account
|
127
|
+
# found, or if caller does not have permissions to access it.
|
128
|
+
# @param [String] name
|
129
|
+
# Required. The name of the account to lookup. Format: accounts/`account`
|
130
|
+
# Example: "accounts/100"
|
131
|
+
# @param [String] fields
|
132
|
+
# Selector specifying which fields to include in a partial response.
|
133
|
+
# @param [String] quota_user
|
134
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
135
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
136
|
+
# @param [Google::Apis::RequestOptions] options
|
137
|
+
# Request-specific options
|
138
|
+
#
|
139
|
+
# @yield [result, err] Result & error if block supplied
|
140
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount] parsed result object
|
141
|
+
# @yieldparam err [StandardError] error object if request failed
|
142
|
+
#
|
143
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount]
|
144
|
+
#
|
145
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
146
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
147
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
148
|
+
def get_account(name, fields: nil, quota_user: nil, options: nil, &block)
|
149
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
150
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount::Representation
|
151
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount
|
152
|
+
command.params['name'] = name unless name.nil?
|
153
|
+
command.query['fields'] = fields unless fields.nil?
|
154
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
155
|
+
execute_or_queue_command(command, &block)
|
156
|
+
end
|
157
|
+
|
158
|
+
# Get data sharing settings on an account. Data sharing settings are singletons.
|
159
|
+
# @param [String] name
|
160
|
+
# Required. The name of the settings to lookup. Format: accounts/`account`/
|
161
|
+
# dataSharingSettings Example: "accounts/1000/dataSharingSettings"
|
162
|
+
# @param [String] fields
|
163
|
+
# Selector specifying which fields to include in a partial response.
|
164
|
+
# @param [String] quota_user
|
165
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
166
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
167
|
+
# @param [Google::Apis::RequestOptions] options
|
168
|
+
# Request-specific options
|
169
|
+
#
|
170
|
+
# @yield [result, err] Result & error if block supplied
|
171
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataSharingSettings] parsed result object
|
172
|
+
# @yieldparam err [StandardError] error object if request failed
|
173
|
+
#
|
174
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataSharingSettings]
|
175
|
+
#
|
176
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
177
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
178
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
179
|
+
def get_account_data_sharing_settings(name, fields: nil, quota_user: nil, options: nil, &block)
|
180
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
181
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataSharingSettings::Representation
|
182
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataSharingSettings
|
183
|
+
command.params['name'] = name unless name.nil?
|
184
|
+
command.query['fields'] = fields unless fields.nil?
|
185
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
186
|
+
execute_or_queue_command(command, &block)
|
187
|
+
end
|
188
|
+
|
189
|
+
# Returns all accounts accessible by the caller. Note that these accounts might
|
190
|
+
# not currently have GA4 properties. Soft-deleted (ie: "trashed") accounts are
|
191
|
+
# excluded by default. Returns an empty list if no relevant accounts are found.
|
192
|
+
# @param [Fixnum] page_size
|
193
|
+
# The maximum number of resources to return. The service may return fewer than
|
194
|
+
# this value, even if there are additional pages. If unspecified, at most 50
|
195
|
+
# resources will be returned. The maximum value is 200; (higher values will be
|
196
|
+
# coerced to the maximum)
|
197
|
+
# @param [String] page_token
|
198
|
+
# A page token, received from a previous `ListAccounts` call. Provide this to
|
199
|
+
# retrieve the subsequent page. When paginating, all other parameters provided
|
200
|
+
# to `ListAccounts` must match the call that provided the page token.
|
201
|
+
# @param [Boolean] show_deleted
|
202
|
+
# Whether to include soft-deleted (ie: "trashed") Accounts in the results.
|
203
|
+
# Accounts can be inspected to determine whether they are deleted or not.
|
204
|
+
# @param [String] fields
|
205
|
+
# Selector specifying which fields to include in a partial response.
|
206
|
+
# @param [String] quota_user
|
207
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
208
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
209
|
+
# @param [Google::Apis::RequestOptions] options
|
210
|
+
# Request-specific options
|
211
|
+
#
|
212
|
+
# @yield [result, err] Result & error if block supplied
|
213
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListAccountsResponse] parsed result object
|
214
|
+
# @yieldparam err [StandardError] error object if request failed
|
215
|
+
#
|
216
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListAccountsResponse]
|
217
|
+
#
|
218
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
219
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
220
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
221
|
+
def list_accounts(page_size: nil, page_token: nil, show_deleted: nil, fields: nil, quota_user: nil, options: nil, &block)
|
222
|
+
command = make_simple_command(:get, 'v1alpha/accounts', options)
|
223
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListAccountsResponse::Representation
|
224
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListAccountsResponse
|
225
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
226
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
227
|
+
command.query['showDeleted'] = show_deleted unless show_deleted.nil?
|
228
|
+
command.query['fields'] = fields unless fields.nil?
|
229
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
230
|
+
execute_or_queue_command(command, &block)
|
231
|
+
end
|
232
|
+
|
233
|
+
# Updates an account.
|
234
|
+
# @param [String] name
|
235
|
+
# Output only. Resource name of this account. Format: accounts/`account` Example:
|
236
|
+
# "accounts/100"
|
237
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount] google_analytics_admin_v1alpha_account_object
|
238
|
+
# @param [String] update_mask
|
239
|
+
# The list of fields to be updated. Omitted fields will not be updated.
|
240
|
+
# @param [String] fields
|
241
|
+
# Selector specifying which fields to include in a partial response.
|
242
|
+
# @param [String] quota_user
|
243
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
244
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
245
|
+
# @param [Google::Apis::RequestOptions] options
|
246
|
+
# Request-specific options
|
247
|
+
#
|
248
|
+
# @yield [result, err] Result & error if block supplied
|
249
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount] parsed result object
|
250
|
+
# @yieldparam err [StandardError] error object if request failed
|
251
|
+
#
|
252
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount]
|
253
|
+
#
|
254
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
255
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
256
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
257
|
+
def patch_account(name, google_analytics_admin_v1alpha_account_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
258
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
259
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount::Representation
|
260
|
+
command.request_object = google_analytics_admin_v1alpha_account_object
|
261
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount::Representation
|
262
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount
|
263
|
+
command.params['name'] = name unless name.nil?
|
264
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
265
|
+
command.query['fields'] = fields unless fields.nil?
|
266
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
267
|
+
execute_or_queue_command(command, &block)
|
268
|
+
end
|
269
|
+
|
270
|
+
# Requests a ticket for creating an account.
|
271
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest] google_analytics_admin_v1alpha_provision_account_ticket_request_object
|
272
|
+
# @param [String] fields
|
273
|
+
# Selector specifying which fields to include in a partial response.
|
274
|
+
# @param [String] quota_user
|
275
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
276
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
277
|
+
# @param [Google::Apis::RequestOptions] options
|
278
|
+
# Request-specific options
|
279
|
+
#
|
280
|
+
# @yield [result, err] Result & error if block supplied
|
281
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse] parsed result object
|
282
|
+
# @yieldparam err [StandardError] error object if request failed
|
283
|
+
#
|
284
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse]
|
285
|
+
#
|
286
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
287
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
288
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
289
|
+
def provision_account_account_ticket(google_analytics_admin_v1alpha_provision_account_ticket_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
290
|
+
command = make_simple_command(:post, 'v1alpha/accounts:provisionAccountTicket', options)
|
291
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest::Representation
|
292
|
+
command.request_object = google_analytics_admin_v1alpha_provision_account_ticket_request_object
|
293
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse::Representation
|
294
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse
|
295
|
+
command.query['fields'] = fields unless fields.nil?
|
296
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
297
|
+
execute_or_queue_command(command, &block)
|
298
|
+
end
|
299
|
+
|
300
|
+
# Lists all user links on an account or property, including implicit ones that
|
301
|
+
# come from effective permissions granted by groups or organization admin roles.
|
302
|
+
# If a returned user link does not have direct permissions, they cannot be
|
303
|
+
# removed from the account or property directly with the DeleteUserLink command.
|
304
|
+
# They have to be removed from the group/etc that gives them permissions, which
|
305
|
+
# is currently only usable/discoverable in the GA or GMP UIs.
|
306
|
+
# @param [String] parent
|
307
|
+
# Required. Example format: accounts/1234
|
308
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksRequest] google_analytics_admin_v1alpha_audit_user_links_request_object
|
309
|
+
# @param [String] fields
|
310
|
+
# Selector specifying which fields to include in a partial response.
|
311
|
+
# @param [String] quota_user
|
312
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
313
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
314
|
+
# @param [Google::Apis::RequestOptions] options
|
315
|
+
# Request-specific options
|
316
|
+
#
|
317
|
+
# @yield [result, err] Result & error if block supplied
|
318
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksResponse] parsed result object
|
319
|
+
# @yieldparam err [StandardError] error object if request failed
|
320
|
+
#
|
321
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksResponse]
|
322
|
+
#
|
323
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
324
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
325
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
326
|
+
def audit_account_user_link(parent, google_analytics_admin_v1alpha_audit_user_links_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
327
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/userLinks:audit', options)
|
328
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksRequest::Representation
|
329
|
+
command.request_object = google_analytics_admin_v1alpha_audit_user_links_request_object
|
330
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksResponse::Representation
|
331
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksResponse
|
332
|
+
command.params['parent'] = parent unless parent.nil?
|
333
|
+
command.query['fields'] = fields unless fields.nil?
|
334
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
335
|
+
execute_or_queue_command(command, &block)
|
336
|
+
end
|
337
|
+
|
338
|
+
# Creates information about multiple users' links to an account or property.
|
339
|
+
# This method is transactional. If any UserLink cannot be created, none of the
|
340
|
+
# UserLinks will be created.
|
341
|
+
# @param [String] parent
|
342
|
+
# Required. The account or property that all user links in the request are for.
|
343
|
+
# This field is required. The parent field in the CreateUserLinkRequest messages
|
344
|
+
# must either be empty or match this field. Example format: accounts/1234
|
345
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest] google_analytics_admin_v1alpha_batch_create_user_links_request_object
|
346
|
+
# @param [String] fields
|
347
|
+
# Selector specifying which fields to include in a partial response.
|
348
|
+
# @param [String] quota_user
|
349
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
350
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
351
|
+
# @param [Google::Apis::RequestOptions] options
|
352
|
+
# Request-specific options
|
353
|
+
#
|
354
|
+
# @yield [result, err] Result & error if block supplied
|
355
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse] parsed result object
|
356
|
+
# @yieldparam err [StandardError] error object if request failed
|
357
|
+
#
|
358
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse]
|
359
|
+
#
|
360
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
361
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
362
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
363
|
+
def batch_account_user_link_create(parent, google_analytics_admin_v1alpha_batch_create_user_links_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
364
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/userLinks:batchCreate', options)
|
365
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest::Representation
|
366
|
+
command.request_object = google_analytics_admin_v1alpha_batch_create_user_links_request_object
|
367
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse::Representation
|
368
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse
|
369
|
+
command.params['parent'] = parent unless parent.nil?
|
370
|
+
command.query['fields'] = fields unless fields.nil?
|
371
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
372
|
+
execute_or_queue_command(command, &block)
|
373
|
+
end
|
374
|
+
|
375
|
+
# Deletes information about multiple users' links to an account or property.
|
376
|
+
# @param [String] parent
|
377
|
+
# Required. The account or property that all user links in the request are for.
|
378
|
+
# The parent of all values for user link names to delete must match this field.
|
379
|
+
# Example format: accounts/1234
|
380
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest] google_analytics_admin_v1alpha_batch_delete_user_links_request_object
|
381
|
+
# @param [String] fields
|
382
|
+
# Selector specifying which fields to include in a partial response.
|
383
|
+
# @param [String] quota_user
|
384
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
385
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
386
|
+
# @param [Google::Apis::RequestOptions] options
|
387
|
+
# Request-specific options
|
388
|
+
#
|
389
|
+
# @yield [result, err] Result & error if block supplied
|
390
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
391
|
+
# @yieldparam err [StandardError] error object if request failed
|
392
|
+
#
|
393
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
394
|
+
#
|
395
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
396
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
397
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
398
|
+
def batch_account_user_link_delete(parent, google_analytics_admin_v1alpha_batch_delete_user_links_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
399
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/userLinks:batchDelete', options)
|
400
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest::Representation
|
401
|
+
command.request_object = google_analytics_admin_v1alpha_batch_delete_user_links_request_object
|
402
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
403
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
404
|
+
command.params['parent'] = parent unless parent.nil?
|
405
|
+
command.query['fields'] = fields unless fields.nil?
|
406
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
407
|
+
execute_or_queue_command(command, &block)
|
408
|
+
end
|
409
|
+
|
410
|
+
# Gets information about multiple users' links to an account or property.
|
411
|
+
# @param [String] parent
|
412
|
+
# Required. The account or property that all user links in the request are for.
|
413
|
+
# The parent of all provided values for the 'names' field must match this field.
|
414
|
+
# Example format: accounts/1234
|
415
|
+
# @param [Array<String>, String] names
|
416
|
+
# Required. The names of the user links to retrieve. A maximum of 1000 user
|
417
|
+
# links can be retrieved in a batch. Format: accounts/`accountId`/userLinks/`
|
418
|
+
# userLinkId`
|
419
|
+
# @param [String] fields
|
420
|
+
# Selector specifying which fields to include in a partial response.
|
421
|
+
# @param [String] quota_user
|
422
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
423
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
424
|
+
# @param [Google::Apis::RequestOptions] options
|
425
|
+
# Request-specific options
|
426
|
+
#
|
427
|
+
# @yield [result, err] Result & error if block supplied
|
428
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse] parsed result object
|
429
|
+
# @yieldparam err [StandardError] error object if request failed
|
430
|
+
#
|
431
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse]
|
432
|
+
#
|
433
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
434
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
435
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
436
|
+
def batch_account_user_link_get(parent, names: nil, fields: nil, quota_user: nil, options: nil, &block)
|
437
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/userLinks:batchGet', options)
|
438
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse::Representation
|
439
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse
|
440
|
+
command.params['parent'] = parent unless parent.nil?
|
441
|
+
command.query['names'] = names unless names.nil?
|
442
|
+
command.query['fields'] = fields unless fields.nil?
|
443
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
444
|
+
execute_or_queue_command(command, &block)
|
445
|
+
end
|
446
|
+
|
447
|
+
# Updates information about multiple users' links to an account or property.
|
448
|
+
# @param [String] parent
|
449
|
+
# Required. The account or property that all user links in the request are for.
|
450
|
+
# The parent field in the UpdateUserLinkRequest messages must either be empty or
|
451
|
+
# match this field. Example format: accounts/1234
|
452
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest] google_analytics_admin_v1alpha_batch_update_user_links_request_object
|
453
|
+
# @param [String] fields
|
454
|
+
# Selector specifying which fields to include in a partial response.
|
455
|
+
# @param [String] quota_user
|
456
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
457
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
458
|
+
# @param [Google::Apis::RequestOptions] options
|
459
|
+
# Request-specific options
|
460
|
+
#
|
461
|
+
# @yield [result, err] Result & error if block supplied
|
462
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse] parsed result object
|
463
|
+
# @yieldparam err [StandardError] error object if request failed
|
464
|
+
#
|
465
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse]
|
466
|
+
#
|
467
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
468
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
469
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
470
|
+
def batch_account_user_link_update(parent, google_analytics_admin_v1alpha_batch_update_user_links_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
471
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/userLinks:batchUpdate', options)
|
472
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest::Representation
|
473
|
+
command.request_object = google_analytics_admin_v1alpha_batch_update_user_links_request_object
|
474
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse::Representation
|
475
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse
|
476
|
+
command.params['parent'] = parent unless parent.nil?
|
477
|
+
command.query['fields'] = fields unless fields.nil?
|
478
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
479
|
+
execute_or_queue_command(command, &block)
|
480
|
+
end
|
481
|
+
|
482
|
+
# Creates a user link on an account or property. If the user with the specified
|
483
|
+
# email already has permissions on the account or property, then the user's
|
484
|
+
# existing permissions will be unioned with the permissions specified in the new
|
485
|
+
# UserLink.
|
486
|
+
# @param [String] parent
|
487
|
+
# Required. Example format: accounts/1234
|
488
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink] google_analytics_admin_v1alpha_user_link_object
|
489
|
+
# @param [Boolean] notify_new_user
|
490
|
+
# Optional. If notify_new_user is set, then email new user that they've been
|
491
|
+
# given permissions on the resource.
|
492
|
+
# @param [String] fields
|
493
|
+
# Selector specifying which fields to include in a partial response.
|
494
|
+
# @param [String] quota_user
|
495
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
496
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
497
|
+
# @param [Google::Apis::RequestOptions] options
|
498
|
+
# Request-specific options
|
499
|
+
#
|
500
|
+
# @yield [result, err] Result & error if block supplied
|
501
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink] parsed result object
|
502
|
+
# @yieldparam err [StandardError] error object if request failed
|
503
|
+
#
|
504
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink]
|
505
|
+
#
|
506
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
507
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
508
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
509
|
+
def create_account_user_link(parent, google_analytics_admin_v1alpha_user_link_object = nil, notify_new_user: nil, fields: nil, quota_user: nil, options: nil, &block)
|
510
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/userLinks', options)
|
511
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink::Representation
|
512
|
+
command.request_object = google_analytics_admin_v1alpha_user_link_object
|
513
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink::Representation
|
514
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink
|
515
|
+
command.params['parent'] = parent unless parent.nil?
|
516
|
+
command.query['notifyNewUser'] = notify_new_user unless notify_new_user.nil?
|
517
|
+
command.query['fields'] = fields unless fields.nil?
|
518
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
519
|
+
execute_or_queue_command(command, &block)
|
520
|
+
end
|
521
|
+
|
522
|
+
# Deletes a user link on an account or property.
|
523
|
+
# @param [String] name
|
524
|
+
# Required. Example format: accounts/1234/userLinks/5678
|
525
|
+
# @param [String] fields
|
526
|
+
# Selector specifying which fields to include in a partial response.
|
527
|
+
# @param [String] quota_user
|
528
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
529
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
530
|
+
# @param [Google::Apis::RequestOptions] options
|
531
|
+
# Request-specific options
|
532
|
+
#
|
533
|
+
# @yield [result, err] Result & error if block supplied
|
534
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
535
|
+
# @yieldparam err [StandardError] error object if request failed
|
536
|
+
#
|
537
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
538
|
+
#
|
539
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
540
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
541
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
542
|
+
def delete_account_user_link(name, fields: nil, quota_user: nil, options: nil, &block)
|
543
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
544
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
545
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
546
|
+
command.params['name'] = name unless name.nil?
|
547
|
+
command.query['fields'] = fields unless fields.nil?
|
548
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
549
|
+
execute_or_queue_command(command, &block)
|
550
|
+
end
|
551
|
+
|
552
|
+
# Gets information about a user's link to an account or property.
|
553
|
+
# @param [String] name
|
554
|
+
# Required. Example format: accounts/1234/userLinks/5678
|
555
|
+
# @param [String] fields
|
556
|
+
# Selector specifying which fields to include in a partial response.
|
557
|
+
# @param [String] quota_user
|
558
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
559
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
560
|
+
# @param [Google::Apis::RequestOptions] options
|
561
|
+
# Request-specific options
|
562
|
+
#
|
563
|
+
# @yield [result, err] Result & error if block supplied
|
564
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink] parsed result object
|
565
|
+
# @yieldparam err [StandardError] error object if request failed
|
566
|
+
#
|
567
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink]
|
568
|
+
#
|
569
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
570
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
571
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
572
|
+
def get_account_user_link(name, fields: nil, quota_user: nil, options: nil, &block)
|
573
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
574
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink::Representation
|
575
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink
|
576
|
+
command.params['name'] = name unless name.nil?
|
577
|
+
command.query['fields'] = fields unless fields.nil?
|
578
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
579
|
+
execute_or_queue_command(command, &block)
|
580
|
+
end
|
581
|
+
|
582
|
+
# Lists all user links on an account or property.
|
583
|
+
# @param [String] parent
|
584
|
+
# Required. Example format: accounts/1234
|
585
|
+
# @param [Fixnum] page_size
|
586
|
+
# The maximum number of user links to return. The service may return fewer than
|
587
|
+
# this value. If unspecified, at most 200 user links will be returned. The
|
588
|
+
# maximum value is 500; values above 500 will be coerced to 500.
|
589
|
+
# @param [String] page_token
|
590
|
+
# A page token, received from a previous `ListUserLinks` call. Provide this to
|
591
|
+
# retrieve the subsequent page. When paginating, all other parameters provided
|
592
|
+
# to `ListUserLinks` must match the call that provided the page token.
|
593
|
+
# @param [String] fields
|
594
|
+
# Selector specifying which fields to include in a partial response.
|
595
|
+
# @param [String] quota_user
|
596
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
597
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
598
|
+
# @param [Google::Apis::RequestOptions] options
|
599
|
+
# Request-specific options
|
600
|
+
#
|
601
|
+
# @yield [result, err] Result & error if block supplied
|
602
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListUserLinksResponse] parsed result object
|
603
|
+
# @yieldparam err [StandardError] error object if request failed
|
604
|
+
#
|
605
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListUserLinksResponse]
|
606
|
+
#
|
607
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
608
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
609
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
610
|
+
def list_account_user_links(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
611
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/userLinks', options)
|
612
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListUserLinksResponse::Representation
|
613
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListUserLinksResponse
|
614
|
+
command.params['parent'] = parent unless parent.nil?
|
615
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
616
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
617
|
+
command.query['fields'] = fields unless fields.nil?
|
618
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
619
|
+
execute_or_queue_command(command, &block)
|
620
|
+
end
|
621
|
+
|
622
|
+
# Updates a user link on an account or property.
|
623
|
+
# @param [String] name
|
624
|
+
# Example format: properties/1234/userLinks/5678
|
625
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink] google_analytics_admin_v1alpha_user_link_object
|
626
|
+
# @param [String] fields
|
627
|
+
# Selector specifying which fields to include in a partial response.
|
628
|
+
# @param [String] quota_user
|
629
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
630
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
631
|
+
# @param [Google::Apis::RequestOptions] options
|
632
|
+
# Request-specific options
|
633
|
+
#
|
634
|
+
# @yield [result, err] Result & error if block supplied
|
635
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink] parsed result object
|
636
|
+
# @yieldparam err [StandardError] error object if request failed
|
637
|
+
#
|
638
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink]
|
639
|
+
#
|
640
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
641
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
642
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
643
|
+
def patch_account_user_link(name, google_analytics_admin_v1alpha_user_link_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
644
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
645
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink::Representation
|
646
|
+
command.request_object = google_analytics_admin_v1alpha_user_link_object
|
647
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink::Representation
|
648
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink
|
649
|
+
command.params['name'] = name unless name.nil?
|
650
|
+
command.query['fields'] = fields unless fields.nil?
|
651
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
652
|
+
execute_or_queue_command(command, &block)
|
653
|
+
end
|
654
|
+
|
655
|
+
# Creates an "GA4" property with the specified location and attributes.
|
656
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty] google_analytics_admin_v1alpha_property_object
|
657
|
+
# @param [String] fields
|
658
|
+
# Selector specifying which fields to include in a partial response.
|
659
|
+
# @param [String] quota_user
|
660
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
661
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
662
|
+
# @param [Google::Apis::RequestOptions] options
|
663
|
+
# Request-specific options
|
664
|
+
#
|
665
|
+
# @yield [result, err] Result & error if block supplied
|
666
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty] parsed result object
|
667
|
+
# @yieldparam err [StandardError] error object if request failed
|
668
|
+
#
|
669
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty]
|
670
|
+
#
|
671
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
672
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
673
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
674
|
+
def create_property(google_analytics_admin_v1alpha_property_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
675
|
+
command = make_simple_command(:post, 'v1alpha/properties', options)
|
676
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty::Representation
|
677
|
+
command.request_object = google_analytics_admin_v1alpha_property_object
|
678
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty::Representation
|
679
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty
|
680
|
+
command.query['fields'] = fields unless fields.nil?
|
681
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
682
|
+
execute_or_queue_command(command, &block)
|
683
|
+
end
|
684
|
+
|
685
|
+
# Marks target Property as soft-deleted (ie: "trashed") and returns it. This API
|
686
|
+
# does not have a method to restore soft-deleted properties. However, they can
|
687
|
+
# be restored using the Trash Can UI. If the properties are not restored before
|
688
|
+
# the expiration time, the Property and all child resources (eg: GoogleAdsLinks,
|
689
|
+
# Streams, UserLinks) will be permanently purged. https://support.google.com/
|
690
|
+
# analytics/answer/6154772 Returns an error if the target is not found, or is
|
691
|
+
# not an GA4 Property.
|
692
|
+
# @param [String] name
|
693
|
+
# Required. The name of the Property to soft-delete. Format: properties/`
|
694
|
+
# property_id` Example: "properties/1000"
|
695
|
+
# @param [String] fields
|
696
|
+
# Selector specifying which fields to include in a partial response.
|
697
|
+
# @param [String] quota_user
|
698
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
699
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
700
|
+
# @param [Google::Apis::RequestOptions] options
|
701
|
+
# Request-specific options
|
702
|
+
#
|
703
|
+
# @yield [result, err] Result & error if block supplied
|
704
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
705
|
+
# @yieldparam err [StandardError] error object if request failed
|
706
|
+
#
|
707
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
708
|
+
#
|
709
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
710
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
711
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
712
|
+
def delete_property(name, fields: nil, quota_user: nil, options: nil, &block)
|
713
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
714
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
715
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
716
|
+
command.params['name'] = name unless name.nil?
|
717
|
+
command.query['fields'] = fields unless fields.nil?
|
718
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
719
|
+
execute_or_queue_command(command, &block)
|
720
|
+
end
|
721
|
+
|
722
|
+
# Lookup for a single "GA4" Property. Throws "Target not found" if no such
|
723
|
+
# property found, if property is not of the type "GA4", or if caller does not
|
724
|
+
# have permissions to access it.
|
725
|
+
# @param [String] name
|
726
|
+
# Required. The name of the property to lookup. Format: properties/`property_id`
|
727
|
+
# Example: "properties/1000"
|
728
|
+
# @param [String] fields
|
729
|
+
# Selector specifying which fields to include in a partial response.
|
730
|
+
# @param [String] quota_user
|
731
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
732
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
733
|
+
# @param [Google::Apis::RequestOptions] options
|
734
|
+
# Request-specific options
|
735
|
+
#
|
736
|
+
# @yield [result, err] Result & error if block supplied
|
737
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty] parsed result object
|
738
|
+
# @yieldparam err [StandardError] error object if request failed
|
739
|
+
#
|
740
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty]
|
741
|
+
#
|
742
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
743
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
744
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
745
|
+
def get_property(name, fields: nil, quota_user: nil, options: nil, &block)
|
746
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
747
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty::Representation
|
748
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty
|
749
|
+
command.params['name'] = name unless name.nil?
|
750
|
+
command.query['fields'] = fields unless fields.nil?
|
751
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
752
|
+
execute_or_queue_command(command, &block)
|
753
|
+
end
|
754
|
+
|
755
|
+
# Returns child Properties under the specified parent Account. Only "GA4"
|
756
|
+
# properties will be returned. Properties will be excluded if the caller does
|
757
|
+
# not have access. Soft-deleted (ie: "trashed") properties are excluded by
|
758
|
+
# default. Returns an empty list if no relevant properties are found.
|
759
|
+
# @param [String] filter
|
760
|
+
# Required. An expression for filtering the results of the request. Fields
|
761
|
+
# eligible for filtering are: `parent:`(The resource name of the parent account)
|
762
|
+
# or `firebase_project:`(The id or number of the linked firebase project). Some
|
763
|
+
# examples of filters: | Filter | Description | |-----------------------------|--
|
764
|
+
# -----------------------------------------| | parent:accounts/123 | The account
|
765
|
+
# with account id: 123. | | firebase_project:project-id | The firebase project
|
766
|
+
# with id: project-id. | | firebase_project:123 | The firebase project with
|
767
|
+
# number: 123. |
|
768
|
+
# @param [Fixnum] page_size
|
769
|
+
# The maximum number of resources to return. The service may return fewer than
|
770
|
+
# this value, even if there are additional pages. If unspecified, at most 50
|
771
|
+
# resources will be returned. The maximum value is 200; (higher values will be
|
772
|
+
# coerced to the maximum)
|
773
|
+
# @param [String] page_token
|
774
|
+
# A page token, received from a previous `ListProperties` call. Provide this to
|
775
|
+
# retrieve the subsequent page. When paginating, all other parameters provided
|
776
|
+
# to `ListProperties` must match the call that provided the page token.
|
777
|
+
# @param [Boolean] show_deleted
|
778
|
+
# Whether to include soft-deleted (ie: "trashed") Properties in the results.
|
779
|
+
# Properties can be inspected to determine whether they are deleted or not.
|
780
|
+
# @param [String] fields
|
781
|
+
# Selector specifying which fields to include in a partial response.
|
782
|
+
# @param [String] quota_user
|
783
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
784
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
785
|
+
# @param [Google::Apis::RequestOptions] options
|
786
|
+
# Request-specific options
|
787
|
+
#
|
788
|
+
# @yield [result, err] Result & error if block supplied
|
789
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListPropertiesResponse] parsed result object
|
790
|
+
# @yieldparam err [StandardError] error object if request failed
|
791
|
+
#
|
792
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListPropertiesResponse]
|
793
|
+
#
|
794
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
795
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
796
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
797
|
+
def list_properties(filter: nil, page_size: nil, page_token: nil, show_deleted: nil, fields: nil, quota_user: nil, options: nil, &block)
|
798
|
+
command = make_simple_command(:get, 'v1alpha/properties', options)
|
799
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListPropertiesResponse::Representation
|
800
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListPropertiesResponse
|
801
|
+
command.query['filter'] = filter unless filter.nil?
|
802
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
803
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
804
|
+
command.query['showDeleted'] = show_deleted unless show_deleted.nil?
|
805
|
+
command.query['fields'] = fields unless fields.nil?
|
806
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
807
|
+
execute_or_queue_command(command, &block)
|
808
|
+
end
|
809
|
+
|
810
|
+
# Updates a property.
|
811
|
+
# @param [String] name
|
812
|
+
# Output only. Resource name of this property. Format: properties/`property_id`
|
813
|
+
# Example: "properties/1000"
|
814
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty] google_analytics_admin_v1alpha_property_object
|
815
|
+
# @param [String] update_mask
|
816
|
+
# The list of fields to be updated. Omitted fields will not be updated.
|
817
|
+
# @param [String] fields
|
818
|
+
# Selector specifying which fields to include in a partial response.
|
819
|
+
# @param [String] quota_user
|
820
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
821
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
822
|
+
# @param [Google::Apis::RequestOptions] options
|
823
|
+
# Request-specific options
|
824
|
+
#
|
825
|
+
# @yield [result, err] Result & error if block supplied
|
826
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty] parsed result object
|
827
|
+
# @yieldparam err [StandardError] error object if request failed
|
828
|
+
#
|
829
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty]
|
830
|
+
#
|
831
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
832
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
833
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
834
|
+
def patch_property(name, google_analytics_admin_v1alpha_property_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
835
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
836
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty::Representation
|
837
|
+
command.request_object = google_analytics_admin_v1alpha_property_object
|
838
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty::Representation
|
839
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty
|
840
|
+
command.params['name'] = name unless name.nil?
|
841
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
842
|
+
command.query['fields'] = fields unless fields.nil?
|
843
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
844
|
+
execute_or_queue_command(command, &block)
|
845
|
+
end
|
846
|
+
|
847
|
+
# Creates an android app stream with the specified location and attributes.
|
848
|
+
# @param [String] parent
|
849
|
+
# Required. The parent resource where this android app data stream will be
|
850
|
+
# created. Format: properties/123
|
851
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream] google_analytics_admin_v1alpha_android_app_data_stream_object
|
852
|
+
# @param [String] fields
|
853
|
+
# Selector specifying which fields to include in a partial response.
|
854
|
+
# @param [String] quota_user
|
855
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
856
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
857
|
+
# @param [Google::Apis::RequestOptions] options
|
858
|
+
# Request-specific options
|
859
|
+
#
|
860
|
+
# @yield [result, err] Result & error if block supplied
|
861
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream] parsed result object
|
862
|
+
# @yieldparam err [StandardError] error object if request failed
|
863
|
+
#
|
864
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream]
|
865
|
+
#
|
866
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
867
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
868
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
869
|
+
def create_property_android_app_data_stream(parent, google_analytics_admin_v1alpha_android_app_data_stream_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
870
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/androidAppDataStreams', options)
|
871
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream::Representation
|
872
|
+
command.request_object = google_analytics_admin_v1alpha_android_app_data_stream_object
|
873
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream::Representation
|
874
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream
|
875
|
+
command.params['parent'] = parent unless parent.nil?
|
876
|
+
command.query['fields'] = fields unless fields.nil?
|
877
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
878
|
+
execute_or_queue_command(command, &block)
|
879
|
+
end
|
880
|
+
|
881
|
+
# Deletes an android app stream on a property.
|
882
|
+
# @param [String] name
|
883
|
+
# Required. The name of the android app data stream to delete. Format:
|
884
|
+
# properties/`property_id`/androidAppDataStreams/`stream_id` Example: "
|
885
|
+
# properties/123/androidAppDataStreams/456"
|
886
|
+
# @param [String] fields
|
887
|
+
# Selector specifying which fields to include in a partial response.
|
888
|
+
# @param [String] quota_user
|
889
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
890
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
891
|
+
# @param [Google::Apis::RequestOptions] options
|
892
|
+
# Request-specific options
|
893
|
+
#
|
894
|
+
# @yield [result, err] Result & error if block supplied
|
895
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
896
|
+
# @yieldparam err [StandardError] error object if request failed
|
897
|
+
#
|
898
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
899
|
+
#
|
900
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
901
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
902
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
903
|
+
def delete_property_android_app_data_stream(name, fields: nil, quota_user: nil, options: nil, &block)
|
904
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
905
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
906
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
907
|
+
command.params['name'] = name unless name.nil?
|
908
|
+
command.query['fields'] = fields unless fields.nil?
|
909
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
910
|
+
execute_or_queue_command(command, &block)
|
911
|
+
end
|
912
|
+
|
913
|
+
# Lookup for a single AndroidAppDataStream Throws "Target not found" if no such
|
914
|
+
# android app data stream found, or if the caller does not have permissions to
|
915
|
+
# access it.
|
916
|
+
# @param [String] name
|
917
|
+
# Required. The name of the android app data stream to lookup. Format:
|
918
|
+
# properties/`property_id`/androidAppDataStreams/`stream_id` Example: "
|
919
|
+
# properties/123/androidAppDataStreams/456"
|
920
|
+
# @param [String] fields
|
921
|
+
# Selector specifying which fields to include in a partial response.
|
922
|
+
# @param [String] quota_user
|
923
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
924
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
925
|
+
# @param [Google::Apis::RequestOptions] options
|
926
|
+
# Request-specific options
|
927
|
+
#
|
928
|
+
# @yield [result, err] Result & error if block supplied
|
929
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream] parsed result object
|
930
|
+
# @yieldparam err [StandardError] error object if request failed
|
931
|
+
#
|
932
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream]
|
933
|
+
#
|
934
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
935
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
936
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
937
|
+
def get_property_android_app_data_stream(name, fields: nil, quota_user: nil, options: nil, &block)
|
938
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
939
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream::Representation
|
940
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream
|
941
|
+
command.params['name'] = name unless name.nil?
|
942
|
+
command.query['fields'] = fields unless fields.nil?
|
943
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
944
|
+
execute_or_queue_command(command, &block)
|
945
|
+
end
|
946
|
+
|
947
|
+
# Returns child android app streams under the specified parent property. Android
|
948
|
+
# app streams will be excluded if the caller does not have access. Returns an
|
949
|
+
# empty list if no relevant android app streams are found.
|
950
|
+
# @param [String] parent
|
951
|
+
# Required. The name of the parent property. For example, to limit results to
|
952
|
+
# app streams under the property with Id 123: "properties/123"
|
953
|
+
# @param [Fixnum] page_size
|
954
|
+
# The maximum number of resources to return. If unspecified, at most 50
|
955
|
+
# resources will be returned. The maximum value is 200; (higher values will be
|
956
|
+
# coerced to the maximum)
|
957
|
+
# @param [String] page_token
|
958
|
+
# A page token, received from a previous call. Provide this to retrieve the
|
959
|
+
# subsequent page. When paginating, all other parameters provided to `
|
960
|
+
# ListAndroidAppDataStreams` must match the call that provided the page token.
|
961
|
+
# @param [String] fields
|
962
|
+
# Selector specifying which fields to include in a partial response.
|
963
|
+
# @param [String] quota_user
|
964
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
965
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
966
|
+
# @param [Google::Apis::RequestOptions] options
|
967
|
+
# Request-specific options
|
968
|
+
#
|
969
|
+
# @yield [result, err] Result & error if block supplied
|
970
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse] parsed result object
|
971
|
+
# @yieldparam err [StandardError] error object if request failed
|
972
|
+
#
|
973
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse]
|
974
|
+
#
|
975
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
976
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
977
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
978
|
+
def list_property_android_app_data_streams(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
979
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/androidAppDataStreams', options)
|
980
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse::Representation
|
981
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse
|
982
|
+
command.params['parent'] = parent unless parent.nil?
|
983
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
984
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
985
|
+
command.query['fields'] = fields unless fields.nil?
|
986
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
987
|
+
execute_or_queue_command(command, &block)
|
988
|
+
end
|
989
|
+
|
990
|
+
# Updates an android app stream on a property.
|
991
|
+
# @param [String] name
|
992
|
+
# Output only. Resource name of this Data Stream. Format: properties/`
|
993
|
+
# property_id`/androidAppDataStreams/`stream_id` Example: "properties/1000/
|
994
|
+
# androidAppDataStreams/2000"
|
995
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream] google_analytics_admin_v1alpha_android_app_data_stream_object
|
996
|
+
# @param [String] update_mask
|
997
|
+
# The list of fields to be updated. Omitted fields will not be updated.
|
998
|
+
# @param [String] fields
|
999
|
+
# Selector specifying which fields to include in a partial response.
|
1000
|
+
# @param [String] quota_user
|
1001
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1002
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1003
|
+
# @param [Google::Apis::RequestOptions] options
|
1004
|
+
# Request-specific options
|
1005
|
+
#
|
1006
|
+
# @yield [result, err] Result & error if block supplied
|
1007
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream] parsed result object
|
1008
|
+
# @yieldparam err [StandardError] error object if request failed
|
1009
|
+
#
|
1010
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream]
|
1011
|
+
#
|
1012
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1013
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1014
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1015
|
+
def patch_property_android_app_data_stream(name, google_analytics_admin_v1alpha_android_app_data_stream_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1016
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
1017
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream::Representation
|
1018
|
+
command.request_object = google_analytics_admin_v1alpha_android_app_data_stream_object
|
1019
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream::Representation
|
1020
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream
|
1021
|
+
command.params['name'] = name unless name.nil?
|
1022
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1023
|
+
command.query['fields'] = fields unless fields.nil?
|
1024
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1025
|
+
execute_or_queue_command(command, &block)
|
1026
|
+
end
|
1027
|
+
|
1028
|
+
# Creates a FirebaseLink. Properties can have at most one FirebaseLink.
|
1029
|
+
# @param [String] parent
|
1030
|
+
# Required. Format: properties/`property_id` Example: properties/1234
|
1031
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink] google_analytics_admin_v1alpha_firebase_link_object
|
1032
|
+
# @param [String] fields
|
1033
|
+
# Selector specifying which fields to include in a partial response.
|
1034
|
+
# @param [String] quota_user
|
1035
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1036
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1037
|
+
# @param [Google::Apis::RequestOptions] options
|
1038
|
+
# Request-specific options
|
1039
|
+
#
|
1040
|
+
# @yield [result, err] Result & error if block supplied
|
1041
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink] parsed result object
|
1042
|
+
# @yieldparam err [StandardError] error object if request failed
|
1043
|
+
#
|
1044
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink]
|
1045
|
+
#
|
1046
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1047
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1048
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1049
|
+
def create_property_firebase_link(parent, google_analytics_admin_v1alpha_firebase_link_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1050
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/firebaseLinks', options)
|
1051
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink::Representation
|
1052
|
+
command.request_object = google_analytics_admin_v1alpha_firebase_link_object
|
1053
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink::Representation
|
1054
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink
|
1055
|
+
command.params['parent'] = parent unless parent.nil?
|
1056
|
+
command.query['fields'] = fields unless fields.nil?
|
1057
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1058
|
+
execute_or_queue_command(command, &block)
|
1059
|
+
end
|
1060
|
+
|
1061
|
+
# Deletes a FirebaseLink on a property
|
1062
|
+
# @param [String] name
|
1063
|
+
# Required. Format: properties/`property_id`/firebaseLinks/`firebase_link_id`
|
1064
|
+
# Example: properties/1234/firebaseLinks/5678
|
1065
|
+
# @param [String] fields
|
1066
|
+
# Selector specifying which fields to include in a partial response.
|
1067
|
+
# @param [String] quota_user
|
1068
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1069
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1070
|
+
# @param [Google::Apis::RequestOptions] options
|
1071
|
+
# Request-specific options
|
1072
|
+
#
|
1073
|
+
# @yield [result, err] Result & error if block supplied
|
1074
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
1075
|
+
# @yieldparam err [StandardError] error object if request failed
|
1076
|
+
#
|
1077
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
1078
|
+
#
|
1079
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1080
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1081
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1082
|
+
def delete_property_firebase_link(name, fields: nil, quota_user: nil, options: nil, &block)
|
1083
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
1084
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
1085
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
1086
|
+
command.params['name'] = name unless name.nil?
|
1087
|
+
command.query['fields'] = fields unless fields.nil?
|
1088
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1089
|
+
execute_or_queue_command(command, &block)
|
1090
|
+
end
|
1091
|
+
|
1092
|
+
# Lists FirebaseLinks on a property. Properties can have at most one
|
1093
|
+
# FirebaseLink.
|
1094
|
+
# @param [String] parent
|
1095
|
+
# Required. Format: properties/`property_id` Example: properties/1234
|
1096
|
+
# @param [String] fields
|
1097
|
+
# Selector specifying which fields to include in a partial response.
|
1098
|
+
# @param [String] quota_user
|
1099
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1100
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1101
|
+
# @param [Google::Apis::RequestOptions] options
|
1102
|
+
# Request-specific options
|
1103
|
+
#
|
1104
|
+
# @yield [result, err] Result & error if block supplied
|
1105
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse] parsed result object
|
1106
|
+
# @yieldparam err [StandardError] error object if request failed
|
1107
|
+
#
|
1108
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse]
|
1109
|
+
#
|
1110
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1111
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1112
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1113
|
+
def list_property_firebase_links(parent, fields: nil, quota_user: nil, options: nil, &block)
|
1114
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/firebaseLinks', options)
|
1115
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse::Representation
|
1116
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse
|
1117
|
+
command.params['parent'] = parent unless parent.nil?
|
1118
|
+
command.query['fields'] = fields unless fields.nil?
|
1119
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1120
|
+
execute_or_queue_command(command, &block)
|
1121
|
+
end
|
1122
|
+
|
1123
|
+
# Updates a FirebaseLink on a property
|
1124
|
+
# @param [String] name
|
1125
|
+
# Output only. Example format: properties/1234/firebaseLinks/5678
|
1126
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink] google_analytics_admin_v1alpha_firebase_link_object
|
1127
|
+
# @param [String] update_mask
|
1128
|
+
# The list of fields to be updated. Omitted fields will not be updated.
|
1129
|
+
# @param [String] fields
|
1130
|
+
# Selector specifying which fields to include in a partial response.
|
1131
|
+
# @param [String] quota_user
|
1132
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1133
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1134
|
+
# @param [Google::Apis::RequestOptions] options
|
1135
|
+
# Request-specific options
|
1136
|
+
#
|
1137
|
+
# @yield [result, err] Result & error if block supplied
|
1138
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink] parsed result object
|
1139
|
+
# @yieldparam err [StandardError] error object if request failed
|
1140
|
+
#
|
1141
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink]
|
1142
|
+
#
|
1143
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1144
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1145
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1146
|
+
def patch_property_firebase_link(name, google_analytics_admin_v1alpha_firebase_link_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1147
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
1148
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink::Representation
|
1149
|
+
command.request_object = google_analytics_admin_v1alpha_firebase_link_object
|
1150
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink::Representation
|
1151
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink
|
1152
|
+
command.params['name'] = name unless name.nil?
|
1153
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1154
|
+
command.query['fields'] = fields unless fields.nil?
|
1155
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1156
|
+
execute_or_queue_command(command, &block)
|
1157
|
+
end
|
1158
|
+
|
1159
|
+
# Creates a GoogleAdsLink.
|
1160
|
+
# @param [String] parent
|
1161
|
+
# Required. Example format: properties/1234
|
1162
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink] google_analytics_admin_v1alpha_google_ads_link_object
|
1163
|
+
# @param [String] fields
|
1164
|
+
# Selector specifying which fields to include in a partial response.
|
1165
|
+
# @param [String] quota_user
|
1166
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1167
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1168
|
+
# @param [Google::Apis::RequestOptions] options
|
1169
|
+
# Request-specific options
|
1170
|
+
#
|
1171
|
+
# @yield [result, err] Result & error if block supplied
|
1172
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink] parsed result object
|
1173
|
+
# @yieldparam err [StandardError] error object if request failed
|
1174
|
+
#
|
1175
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink]
|
1176
|
+
#
|
1177
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1178
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1179
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1180
|
+
def create_property_google_ads_link(parent, google_analytics_admin_v1alpha_google_ads_link_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1181
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/googleAdsLinks', options)
|
1182
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink::Representation
|
1183
|
+
command.request_object = google_analytics_admin_v1alpha_google_ads_link_object
|
1184
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink::Representation
|
1185
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink
|
1186
|
+
command.params['parent'] = parent unless parent.nil?
|
1187
|
+
command.query['fields'] = fields unless fields.nil?
|
1188
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1189
|
+
execute_or_queue_command(command, &block)
|
1190
|
+
end
|
1191
|
+
|
1192
|
+
# Deletes a GoogleAdsLink on a property
|
1193
|
+
# @param [String] name
|
1194
|
+
# Required. Example format: properties/1234/googleAdsLinks/5678
|
1195
|
+
# @param [String] fields
|
1196
|
+
# Selector specifying which fields to include in a partial response.
|
1197
|
+
# @param [String] quota_user
|
1198
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1199
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1200
|
+
# @param [Google::Apis::RequestOptions] options
|
1201
|
+
# Request-specific options
|
1202
|
+
#
|
1203
|
+
# @yield [result, err] Result & error if block supplied
|
1204
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
1205
|
+
# @yieldparam err [StandardError] error object if request failed
|
1206
|
+
#
|
1207
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
1208
|
+
#
|
1209
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1210
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1211
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1212
|
+
def delete_property_google_ads_link(name, fields: nil, quota_user: nil, options: nil, &block)
|
1213
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
1214
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
1215
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
1216
|
+
command.params['name'] = name unless name.nil?
|
1217
|
+
command.query['fields'] = fields unless fields.nil?
|
1218
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1219
|
+
execute_or_queue_command(command, &block)
|
1220
|
+
end
|
1221
|
+
|
1222
|
+
# Lists GoogleAdsLinks on a property.
|
1223
|
+
# @param [String] parent
|
1224
|
+
# Required. Example format: properties/1234
|
1225
|
+
# @param [Fixnum] page_size
|
1226
|
+
# The maximum number of resources to return. If unspecified, at most 50
|
1227
|
+
# resources will be returned. The maximum value is 200 (higher values will be
|
1228
|
+
# coerced to the maximum).
|
1229
|
+
# @param [String] page_token
|
1230
|
+
# A page token, received from a previous `ListGoogleAdsLinks` call. Provide this
|
1231
|
+
# to retrieve the subsequent page. When paginating, all other parameters
|
1232
|
+
# provided to `ListGoogleAdsLinks` must match the call that provided the page
|
1233
|
+
# token.
|
1234
|
+
# @param [String] fields
|
1235
|
+
# Selector specifying which fields to include in a partial response.
|
1236
|
+
# @param [String] quota_user
|
1237
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1238
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1239
|
+
# @param [Google::Apis::RequestOptions] options
|
1240
|
+
# Request-specific options
|
1241
|
+
#
|
1242
|
+
# @yield [result, err] Result & error if block supplied
|
1243
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse] parsed result object
|
1244
|
+
# @yieldparam err [StandardError] error object if request failed
|
1245
|
+
#
|
1246
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse]
|
1247
|
+
#
|
1248
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1249
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1250
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1251
|
+
def list_property_google_ads_links(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1252
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/googleAdsLinks', options)
|
1253
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse::Representation
|
1254
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse
|
1255
|
+
command.params['parent'] = parent unless parent.nil?
|
1256
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1257
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1258
|
+
command.query['fields'] = fields unless fields.nil?
|
1259
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1260
|
+
execute_or_queue_command(command, &block)
|
1261
|
+
end
|
1262
|
+
|
1263
|
+
# Updates a GoogleAdsLink on a property
|
1264
|
+
# @param [String] name
|
1265
|
+
# Output only. Format: properties/`propertyId`/googleAdsLinks/`googleAdsLinkId`
|
1266
|
+
# Note: googleAdsLinkId is not the Google Ads customer ID.
|
1267
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink] google_analytics_admin_v1alpha_google_ads_link_object
|
1268
|
+
# @param [String] update_mask
|
1269
|
+
# The list of fields to be updated. Omitted fields will not be updated.
|
1270
|
+
# @param [String] fields
|
1271
|
+
# Selector specifying which fields to include in a partial response.
|
1272
|
+
# @param [String] quota_user
|
1273
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1274
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1275
|
+
# @param [Google::Apis::RequestOptions] options
|
1276
|
+
# Request-specific options
|
1277
|
+
#
|
1278
|
+
# @yield [result, err] Result & error if block supplied
|
1279
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink] parsed result object
|
1280
|
+
# @yieldparam err [StandardError] error object if request failed
|
1281
|
+
#
|
1282
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink]
|
1283
|
+
#
|
1284
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1285
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1286
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1287
|
+
def patch_property_google_ads_link(name, google_analytics_admin_v1alpha_google_ads_link_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1288
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
1289
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink::Representation
|
1290
|
+
command.request_object = google_analytics_admin_v1alpha_google_ads_link_object
|
1291
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink::Representation
|
1292
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink
|
1293
|
+
command.params['name'] = name unless name.nil?
|
1294
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1295
|
+
command.query['fields'] = fields unless fields.nil?
|
1296
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1297
|
+
execute_or_queue_command(command, &block)
|
1298
|
+
end
|
1299
|
+
|
1300
|
+
# Creates an iOS app data stream with the specified location and attributes.
|
1301
|
+
# @param [String] parent
|
1302
|
+
# Required. The parent resource where this ios app data stream will be created.
|
1303
|
+
# Format: properties/123
|
1304
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream] google_analytics_admin_v1alpha_ios_app_data_stream_object
|
1305
|
+
# @param [String] fields
|
1306
|
+
# Selector specifying which fields to include in a partial response.
|
1307
|
+
# @param [String] quota_user
|
1308
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1309
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1310
|
+
# @param [Google::Apis::RequestOptions] options
|
1311
|
+
# Request-specific options
|
1312
|
+
#
|
1313
|
+
# @yield [result, err] Result & error if block supplied
|
1314
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream] parsed result object
|
1315
|
+
# @yieldparam err [StandardError] error object if request failed
|
1316
|
+
#
|
1317
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream]
|
1318
|
+
#
|
1319
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1320
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1321
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1322
|
+
def create_property_ios_app_data_stream(parent, google_analytics_admin_v1alpha_ios_app_data_stream_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1323
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/iosAppDataStreams', options)
|
1324
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream::Representation
|
1325
|
+
command.request_object = google_analytics_admin_v1alpha_ios_app_data_stream_object
|
1326
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream::Representation
|
1327
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream
|
1328
|
+
command.params['parent'] = parent unless parent.nil?
|
1329
|
+
command.query['fields'] = fields unless fields.nil?
|
1330
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1331
|
+
execute_or_queue_command(command, &block)
|
1332
|
+
end
|
1333
|
+
|
1334
|
+
# Deletes an iOS app stream on a property.
|
1335
|
+
# @param [String] name
|
1336
|
+
# Required. The name of the iOS app data stream to delete. Format: properties/`
|
1337
|
+
# property_id`/iosAppDataStreams/`stream_id` Example: "properties/123/
|
1338
|
+
# iosAppDataStreams/456"
|
1339
|
+
# @param [String] fields
|
1340
|
+
# Selector specifying which fields to include in a partial response.
|
1341
|
+
# @param [String] quota_user
|
1342
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1343
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1344
|
+
# @param [Google::Apis::RequestOptions] options
|
1345
|
+
# Request-specific options
|
1346
|
+
#
|
1347
|
+
# @yield [result, err] Result & error if block supplied
|
1348
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
1349
|
+
# @yieldparam err [StandardError] error object if request failed
|
1350
|
+
#
|
1351
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
1352
|
+
#
|
1353
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1354
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1355
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1356
|
+
def delete_property_ios_app_data_stream(name, fields: nil, quota_user: nil, options: nil, &block)
|
1357
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
1358
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
1359
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
1360
|
+
command.params['name'] = name unless name.nil?
|
1361
|
+
command.query['fields'] = fields unless fields.nil?
|
1362
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1363
|
+
execute_or_queue_command(command, &block)
|
1364
|
+
end
|
1365
|
+
|
1366
|
+
# Lookup for a single IosAppDataStream Throws "Target not found" if no such iOS
|
1367
|
+
# app data stream found, or if the caller does not have permissions to access it.
|
1368
|
+
# @param [String] name
|
1369
|
+
# Required. The name of the iOS app data stream to lookup. Format: properties/`
|
1370
|
+
# property_id`/iosAppDataStreams/`stream_id` Example: "properties/123/
|
1371
|
+
# iosAppDataStreams/456"
|
1372
|
+
# @param [String] fields
|
1373
|
+
# Selector specifying which fields to include in a partial response.
|
1374
|
+
# @param [String] quota_user
|
1375
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1376
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1377
|
+
# @param [Google::Apis::RequestOptions] options
|
1378
|
+
# Request-specific options
|
1379
|
+
#
|
1380
|
+
# @yield [result, err] Result & error if block supplied
|
1381
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream] parsed result object
|
1382
|
+
# @yieldparam err [StandardError] error object if request failed
|
1383
|
+
#
|
1384
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream]
|
1385
|
+
#
|
1386
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1387
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1388
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1389
|
+
def get_property_ios_app_data_stream(name, fields: nil, quota_user: nil, options: nil, &block)
|
1390
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
1391
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream::Representation
|
1392
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream
|
1393
|
+
command.params['name'] = name unless name.nil?
|
1394
|
+
command.query['fields'] = fields unless fields.nil?
|
1395
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1396
|
+
execute_or_queue_command(command, &block)
|
1397
|
+
end
|
1398
|
+
|
1399
|
+
# Returns child iOS app data streams under the specified parent property. iOS
|
1400
|
+
# app data streams will be excluded if the caller does not have access. Returns
|
1401
|
+
# an empty list if no relevant iOS app data streams are found.
|
1402
|
+
# @param [String] parent
|
1403
|
+
# Required. The name of the parent property. For example, to list results of app
|
1404
|
+
# streams under the property with Id 123: "properties/123"
|
1405
|
+
# @param [Fixnum] page_size
|
1406
|
+
# The maximum number of resources to return. If unspecified, at most 50
|
1407
|
+
# resources will be returned. The maximum value is 200; (higher values will be
|
1408
|
+
# coerced to the maximum)
|
1409
|
+
# @param [String] page_token
|
1410
|
+
# A page token, received from a previous `ListIosAppDataStreams` call. Provide
|
1411
|
+
# this to retrieve the subsequent page. When paginating, all other parameters
|
1412
|
+
# provided to `ListIosAppDataStreams` must match the call that provided the page
|
1413
|
+
# token.
|
1414
|
+
# @param [String] fields
|
1415
|
+
# Selector specifying which fields to include in a partial response.
|
1416
|
+
# @param [String] quota_user
|
1417
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1418
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1419
|
+
# @param [Google::Apis::RequestOptions] options
|
1420
|
+
# Request-specific options
|
1421
|
+
#
|
1422
|
+
# @yield [result, err] Result & error if block supplied
|
1423
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse] parsed result object
|
1424
|
+
# @yieldparam err [StandardError] error object if request failed
|
1425
|
+
#
|
1426
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse]
|
1427
|
+
#
|
1428
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1429
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1430
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1431
|
+
def list_property_ios_app_data_streams(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1432
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/iosAppDataStreams', options)
|
1433
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse::Representation
|
1434
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse
|
1435
|
+
command.params['parent'] = parent unless parent.nil?
|
1436
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1437
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1438
|
+
command.query['fields'] = fields unless fields.nil?
|
1439
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1440
|
+
execute_or_queue_command(command, &block)
|
1441
|
+
end
|
1442
|
+
|
1443
|
+
# Updates an iOS app stream on a property.
|
1444
|
+
# @param [String] name
|
1445
|
+
# Output only. Resource name of this Data Stream. Format: properties/`
|
1446
|
+
# property_id`/iosAppDataStreams/`stream_id` Example: "properties/1000/
|
1447
|
+
# iosAppDataStreams/2000"
|
1448
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream] google_analytics_admin_v1alpha_ios_app_data_stream_object
|
1449
|
+
# @param [String] update_mask
|
1450
|
+
# The list of fields to be updated. Omitted fields will not be updated.
|
1451
|
+
# @param [String] fields
|
1452
|
+
# Selector specifying which fields to include in a partial response.
|
1453
|
+
# @param [String] quota_user
|
1454
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1455
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1456
|
+
# @param [Google::Apis::RequestOptions] options
|
1457
|
+
# Request-specific options
|
1458
|
+
#
|
1459
|
+
# @yield [result, err] Result & error if block supplied
|
1460
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream] parsed result object
|
1461
|
+
# @yieldparam err [StandardError] error object if request failed
|
1462
|
+
#
|
1463
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream]
|
1464
|
+
#
|
1465
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1466
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1467
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1468
|
+
def patch_property_ios_app_data_stream(name, google_analytics_admin_v1alpha_ios_app_data_stream_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1469
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
1470
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream::Representation
|
1471
|
+
command.request_object = google_analytics_admin_v1alpha_ios_app_data_stream_object
|
1472
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream::Representation
|
1473
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream
|
1474
|
+
command.params['name'] = name unless name.nil?
|
1475
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1476
|
+
command.query['fields'] = fields unless fields.nil?
|
1477
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1478
|
+
execute_or_queue_command(command, &block)
|
1479
|
+
end
|
1480
|
+
|
1481
|
+
# Lists all user links on an account or property, including implicit ones that
|
1482
|
+
# come from effective permissions granted by groups or organization admin roles.
|
1483
|
+
# If a returned user link does not have direct permissions, they cannot be
|
1484
|
+
# removed from the account or property directly with the DeleteUserLink command.
|
1485
|
+
# They have to be removed from the group/etc that gives them permissions, which
|
1486
|
+
# is currently only usable/discoverable in the GA or GMP UIs.
|
1487
|
+
# @param [String] parent
|
1488
|
+
# Required. Example format: accounts/1234
|
1489
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksRequest] google_analytics_admin_v1alpha_audit_user_links_request_object
|
1490
|
+
# @param [String] fields
|
1491
|
+
# Selector specifying which fields to include in a partial response.
|
1492
|
+
# @param [String] quota_user
|
1493
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1494
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1495
|
+
# @param [Google::Apis::RequestOptions] options
|
1496
|
+
# Request-specific options
|
1497
|
+
#
|
1498
|
+
# @yield [result, err] Result & error if block supplied
|
1499
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksResponse] parsed result object
|
1500
|
+
# @yieldparam err [StandardError] error object if request failed
|
1501
|
+
#
|
1502
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksResponse]
|
1503
|
+
#
|
1504
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1505
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1506
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1507
|
+
def audit_property_user_link(parent, google_analytics_admin_v1alpha_audit_user_links_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1508
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/userLinks:audit', options)
|
1509
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksRequest::Representation
|
1510
|
+
command.request_object = google_analytics_admin_v1alpha_audit_user_links_request_object
|
1511
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksResponse::Representation
|
1512
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksResponse
|
1513
|
+
command.params['parent'] = parent unless parent.nil?
|
1514
|
+
command.query['fields'] = fields unless fields.nil?
|
1515
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1516
|
+
execute_or_queue_command(command, &block)
|
1517
|
+
end
|
1518
|
+
|
1519
|
+
# Creates information about multiple users' links to an account or property.
|
1520
|
+
# This method is transactional. If any UserLink cannot be created, none of the
|
1521
|
+
# UserLinks will be created.
|
1522
|
+
# @param [String] parent
|
1523
|
+
# Required. The account or property that all user links in the request are for.
|
1524
|
+
# This field is required. The parent field in the CreateUserLinkRequest messages
|
1525
|
+
# must either be empty or match this field. Example format: accounts/1234
|
1526
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest] google_analytics_admin_v1alpha_batch_create_user_links_request_object
|
1527
|
+
# @param [String] fields
|
1528
|
+
# Selector specifying which fields to include in a partial response.
|
1529
|
+
# @param [String] quota_user
|
1530
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1531
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1532
|
+
# @param [Google::Apis::RequestOptions] options
|
1533
|
+
# Request-specific options
|
1534
|
+
#
|
1535
|
+
# @yield [result, err] Result & error if block supplied
|
1536
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse] parsed result object
|
1537
|
+
# @yieldparam err [StandardError] error object if request failed
|
1538
|
+
#
|
1539
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse]
|
1540
|
+
#
|
1541
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1542
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1543
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1544
|
+
def batch_property_user_link_create(parent, google_analytics_admin_v1alpha_batch_create_user_links_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1545
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/userLinks:batchCreate', options)
|
1546
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest::Representation
|
1547
|
+
command.request_object = google_analytics_admin_v1alpha_batch_create_user_links_request_object
|
1548
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse::Representation
|
1549
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse
|
1550
|
+
command.params['parent'] = parent unless parent.nil?
|
1551
|
+
command.query['fields'] = fields unless fields.nil?
|
1552
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1553
|
+
execute_or_queue_command(command, &block)
|
1554
|
+
end
|
1555
|
+
|
1556
|
+
# Deletes information about multiple users' links to an account or property.
|
1557
|
+
# @param [String] parent
|
1558
|
+
# Required. The account or property that all user links in the request are for.
|
1559
|
+
# The parent of all values for user link names to delete must match this field.
|
1560
|
+
# Example format: accounts/1234
|
1561
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest] google_analytics_admin_v1alpha_batch_delete_user_links_request_object
|
1562
|
+
# @param [String] fields
|
1563
|
+
# Selector specifying which fields to include in a partial response.
|
1564
|
+
# @param [String] quota_user
|
1565
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1566
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1567
|
+
# @param [Google::Apis::RequestOptions] options
|
1568
|
+
# Request-specific options
|
1569
|
+
#
|
1570
|
+
# @yield [result, err] Result & error if block supplied
|
1571
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
1572
|
+
# @yieldparam err [StandardError] error object if request failed
|
1573
|
+
#
|
1574
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
1575
|
+
#
|
1576
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1577
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1578
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1579
|
+
def batch_property_user_link_delete(parent, google_analytics_admin_v1alpha_batch_delete_user_links_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1580
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/userLinks:batchDelete', options)
|
1581
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest::Representation
|
1582
|
+
command.request_object = google_analytics_admin_v1alpha_batch_delete_user_links_request_object
|
1583
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
1584
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
1585
|
+
command.params['parent'] = parent unless parent.nil?
|
1586
|
+
command.query['fields'] = fields unless fields.nil?
|
1587
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1588
|
+
execute_or_queue_command(command, &block)
|
1589
|
+
end
|
1590
|
+
|
1591
|
+
# Gets information about multiple users' links to an account or property.
|
1592
|
+
# @param [String] parent
|
1593
|
+
# Required. The account or property that all user links in the request are for.
|
1594
|
+
# The parent of all provided values for the 'names' field must match this field.
|
1595
|
+
# Example format: accounts/1234
|
1596
|
+
# @param [Array<String>, String] names
|
1597
|
+
# Required. The names of the user links to retrieve. A maximum of 1000 user
|
1598
|
+
# links can be retrieved in a batch. Format: accounts/`accountId`/userLinks/`
|
1599
|
+
# userLinkId`
|
1600
|
+
# @param [String] fields
|
1601
|
+
# Selector specifying which fields to include in a partial response.
|
1602
|
+
# @param [String] quota_user
|
1603
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1604
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1605
|
+
# @param [Google::Apis::RequestOptions] options
|
1606
|
+
# Request-specific options
|
1607
|
+
#
|
1608
|
+
# @yield [result, err] Result & error if block supplied
|
1609
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse] parsed result object
|
1610
|
+
# @yieldparam err [StandardError] error object if request failed
|
1611
|
+
#
|
1612
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse]
|
1613
|
+
#
|
1614
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1615
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1616
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1617
|
+
def batch_property_user_link_get(parent, names: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1618
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/userLinks:batchGet', options)
|
1619
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse::Representation
|
1620
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse
|
1621
|
+
command.params['parent'] = parent unless parent.nil?
|
1622
|
+
command.query['names'] = names unless names.nil?
|
1623
|
+
command.query['fields'] = fields unless fields.nil?
|
1624
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1625
|
+
execute_or_queue_command(command, &block)
|
1626
|
+
end
|
1627
|
+
|
1628
|
+
# Updates information about multiple users' links to an account or property.
|
1629
|
+
# @param [String] parent
|
1630
|
+
# Required. The account or property that all user links in the request are for.
|
1631
|
+
# The parent field in the UpdateUserLinkRequest messages must either be empty or
|
1632
|
+
# match this field. Example format: accounts/1234
|
1633
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest] google_analytics_admin_v1alpha_batch_update_user_links_request_object
|
1634
|
+
# @param [String] fields
|
1635
|
+
# Selector specifying which fields to include in a partial response.
|
1636
|
+
# @param [String] quota_user
|
1637
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1638
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1639
|
+
# @param [Google::Apis::RequestOptions] options
|
1640
|
+
# Request-specific options
|
1641
|
+
#
|
1642
|
+
# @yield [result, err] Result & error if block supplied
|
1643
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse] parsed result object
|
1644
|
+
# @yieldparam err [StandardError] error object if request failed
|
1645
|
+
#
|
1646
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse]
|
1647
|
+
#
|
1648
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1649
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1650
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1651
|
+
def batch_property_user_link_update(parent, google_analytics_admin_v1alpha_batch_update_user_links_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1652
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/userLinks:batchUpdate', options)
|
1653
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest::Representation
|
1654
|
+
command.request_object = google_analytics_admin_v1alpha_batch_update_user_links_request_object
|
1655
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse::Representation
|
1656
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse
|
1657
|
+
command.params['parent'] = parent unless parent.nil?
|
1658
|
+
command.query['fields'] = fields unless fields.nil?
|
1659
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1660
|
+
execute_or_queue_command(command, &block)
|
1661
|
+
end
|
1662
|
+
|
1663
|
+
# Creates a user link on an account or property. If the user with the specified
|
1664
|
+
# email already has permissions on the account or property, then the user's
|
1665
|
+
# existing permissions will be unioned with the permissions specified in the new
|
1666
|
+
# UserLink.
|
1667
|
+
# @param [String] parent
|
1668
|
+
# Required. Example format: accounts/1234
|
1669
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink] google_analytics_admin_v1alpha_user_link_object
|
1670
|
+
# @param [Boolean] notify_new_user
|
1671
|
+
# Optional. If notify_new_user is set, then email new user that they've been
|
1672
|
+
# given permissions on the resource.
|
1673
|
+
# @param [String] fields
|
1674
|
+
# Selector specifying which fields to include in a partial response.
|
1675
|
+
# @param [String] quota_user
|
1676
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1677
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1678
|
+
# @param [Google::Apis::RequestOptions] options
|
1679
|
+
# Request-specific options
|
1680
|
+
#
|
1681
|
+
# @yield [result, err] Result & error if block supplied
|
1682
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink] parsed result object
|
1683
|
+
# @yieldparam err [StandardError] error object if request failed
|
1684
|
+
#
|
1685
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink]
|
1686
|
+
#
|
1687
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1688
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1689
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1690
|
+
def create_property_user_link(parent, google_analytics_admin_v1alpha_user_link_object = nil, notify_new_user: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1691
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/userLinks', options)
|
1692
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink::Representation
|
1693
|
+
command.request_object = google_analytics_admin_v1alpha_user_link_object
|
1694
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink::Representation
|
1695
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink
|
1696
|
+
command.params['parent'] = parent unless parent.nil?
|
1697
|
+
command.query['notifyNewUser'] = notify_new_user unless notify_new_user.nil?
|
1698
|
+
command.query['fields'] = fields unless fields.nil?
|
1699
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1700
|
+
execute_or_queue_command(command, &block)
|
1701
|
+
end
|
1702
|
+
|
1703
|
+
# Deletes a user link on an account or property.
|
1704
|
+
# @param [String] name
|
1705
|
+
# Required. Example format: accounts/1234/userLinks/5678
|
1706
|
+
# @param [String] fields
|
1707
|
+
# Selector specifying which fields to include in a partial response.
|
1708
|
+
# @param [String] quota_user
|
1709
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1710
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1711
|
+
# @param [Google::Apis::RequestOptions] options
|
1712
|
+
# Request-specific options
|
1713
|
+
#
|
1714
|
+
# @yield [result, err] Result & error if block supplied
|
1715
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
1716
|
+
# @yieldparam err [StandardError] error object if request failed
|
1717
|
+
#
|
1718
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
1719
|
+
#
|
1720
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1721
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1722
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1723
|
+
def delete_property_user_link(name, fields: nil, quota_user: nil, options: nil, &block)
|
1724
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
1725
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
1726
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
1727
|
+
command.params['name'] = name unless name.nil?
|
1728
|
+
command.query['fields'] = fields unless fields.nil?
|
1729
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1730
|
+
execute_or_queue_command(command, &block)
|
1731
|
+
end
|
1732
|
+
|
1733
|
+
# Gets information about a user's link to an account or property.
|
1734
|
+
# @param [String] name
|
1735
|
+
# Required. Example format: accounts/1234/userLinks/5678
|
1736
|
+
# @param [String] fields
|
1737
|
+
# Selector specifying which fields to include in a partial response.
|
1738
|
+
# @param [String] quota_user
|
1739
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1740
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1741
|
+
# @param [Google::Apis::RequestOptions] options
|
1742
|
+
# Request-specific options
|
1743
|
+
#
|
1744
|
+
# @yield [result, err] Result & error if block supplied
|
1745
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink] parsed result object
|
1746
|
+
# @yieldparam err [StandardError] error object if request failed
|
1747
|
+
#
|
1748
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink]
|
1749
|
+
#
|
1750
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1751
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1752
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1753
|
+
def get_property_user_link(name, fields: nil, quota_user: nil, options: nil, &block)
|
1754
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
1755
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink::Representation
|
1756
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink
|
1757
|
+
command.params['name'] = name unless name.nil?
|
1758
|
+
command.query['fields'] = fields unless fields.nil?
|
1759
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1760
|
+
execute_or_queue_command(command, &block)
|
1761
|
+
end
|
1762
|
+
|
1763
|
+
# Lists all user links on an account or property.
|
1764
|
+
# @param [String] parent
|
1765
|
+
# Required. Example format: accounts/1234
|
1766
|
+
# @param [Fixnum] page_size
|
1767
|
+
# The maximum number of user links to return. The service may return fewer than
|
1768
|
+
# this value. If unspecified, at most 200 user links will be returned. The
|
1769
|
+
# maximum value is 500; values above 500 will be coerced to 500.
|
1770
|
+
# @param [String] page_token
|
1771
|
+
# A page token, received from a previous `ListUserLinks` call. Provide this to
|
1772
|
+
# retrieve the subsequent page. When paginating, all other parameters provided
|
1773
|
+
# to `ListUserLinks` must match the call that provided the page token.
|
1774
|
+
# @param [String] fields
|
1775
|
+
# Selector specifying which fields to include in a partial response.
|
1776
|
+
# @param [String] quota_user
|
1777
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1778
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1779
|
+
# @param [Google::Apis::RequestOptions] options
|
1780
|
+
# Request-specific options
|
1781
|
+
#
|
1782
|
+
# @yield [result, err] Result & error if block supplied
|
1783
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListUserLinksResponse] parsed result object
|
1784
|
+
# @yieldparam err [StandardError] error object if request failed
|
1785
|
+
#
|
1786
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListUserLinksResponse]
|
1787
|
+
#
|
1788
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1789
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1790
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1791
|
+
def list_property_user_links(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1792
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/userLinks', options)
|
1793
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListUserLinksResponse::Representation
|
1794
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListUserLinksResponse
|
1795
|
+
command.params['parent'] = parent unless parent.nil?
|
1796
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1797
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1798
|
+
command.query['fields'] = fields unless fields.nil?
|
1799
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1800
|
+
execute_or_queue_command(command, &block)
|
1801
|
+
end
|
1802
|
+
|
1803
|
+
# Updates a user link on an account or property.
|
1804
|
+
# @param [String] name
|
1805
|
+
# Example format: properties/1234/userLinks/5678
|
1806
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink] google_analytics_admin_v1alpha_user_link_object
|
1807
|
+
# @param [String] fields
|
1808
|
+
# Selector specifying which fields to include in a partial response.
|
1809
|
+
# @param [String] quota_user
|
1810
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1811
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1812
|
+
# @param [Google::Apis::RequestOptions] options
|
1813
|
+
# Request-specific options
|
1814
|
+
#
|
1815
|
+
# @yield [result, err] Result & error if block supplied
|
1816
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink] parsed result object
|
1817
|
+
# @yieldparam err [StandardError] error object if request failed
|
1818
|
+
#
|
1819
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink]
|
1820
|
+
#
|
1821
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1822
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1823
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1824
|
+
def patch_property_user_link(name, google_analytics_admin_v1alpha_user_link_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1825
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
1826
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink::Representation
|
1827
|
+
command.request_object = google_analytics_admin_v1alpha_user_link_object
|
1828
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink::Representation
|
1829
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink
|
1830
|
+
command.params['name'] = name unless name.nil?
|
1831
|
+
command.query['fields'] = fields unless fields.nil?
|
1832
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1833
|
+
execute_or_queue_command(command, &block)
|
1834
|
+
end
|
1835
|
+
|
1836
|
+
# Creates a web stream with the specified location and attributes.
|
1837
|
+
# @param [String] parent
|
1838
|
+
# Required. The parent resource where this web data stream will be created.
|
1839
|
+
# Format: properties/123
|
1840
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream] google_analytics_admin_v1alpha_web_data_stream_object
|
1841
|
+
# @param [String] fields
|
1842
|
+
# Selector specifying which fields to include in a partial response.
|
1843
|
+
# @param [String] quota_user
|
1844
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1845
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1846
|
+
# @param [Google::Apis::RequestOptions] options
|
1847
|
+
# Request-specific options
|
1848
|
+
#
|
1849
|
+
# @yield [result, err] Result & error if block supplied
|
1850
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream] parsed result object
|
1851
|
+
# @yieldparam err [StandardError] error object if request failed
|
1852
|
+
#
|
1853
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream]
|
1854
|
+
#
|
1855
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1856
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1857
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1858
|
+
def create_property_web_data_stream(parent, google_analytics_admin_v1alpha_web_data_stream_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1859
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/webDataStreams', options)
|
1860
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream::Representation
|
1861
|
+
command.request_object = google_analytics_admin_v1alpha_web_data_stream_object
|
1862
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream::Representation
|
1863
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream
|
1864
|
+
command.params['parent'] = parent unless parent.nil?
|
1865
|
+
command.query['fields'] = fields unless fields.nil?
|
1866
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1867
|
+
execute_or_queue_command(command, &block)
|
1868
|
+
end
|
1869
|
+
|
1870
|
+
# Deletes a web stream on a property.
|
1871
|
+
# @param [String] name
|
1872
|
+
# Required. The name of the web data stream to delete. Format: properties/`
|
1873
|
+
# property_id`/webDataStreams/`stream_id` Example: "properties/123/
|
1874
|
+
# webDataStreams/456"
|
1875
|
+
# @param [String] fields
|
1876
|
+
# Selector specifying which fields to include in a partial response.
|
1877
|
+
# @param [String] quota_user
|
1878
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1879
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1880
|
+
# @param [Google::Apis::RequestOptions] options
|
1881
|
+
# Request-specific options
|
1882
|
+
#
|
1883
|
+
# @yield [result, err] Result & error if block supplied
|
1884
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
1885
|
+
# @yieldparam err [StandardError] error object if request failed
|
1886
|
+
#
|
1887
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
1888
|
+
#
|
1889
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1890
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1891
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1892
|
+
def delete_property_web_data_stream(name, fields: nil, quota_user: nil, options: nil, &block)
|
1893
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
1894
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
1895
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
1896
|
+
command.params['name'] = name unless name.nil?
|
1897
|
+
command.query['fields'] = fields unless fields.nil?
|
1898
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1899
|
+
execute_or_queue_command(command, &block)
|
1900
|
+
end
|
1901
|
+
|
1902
|
+
# Lookup for a single WebDataStream Throws "Target not found" if no such web
|
1903
|
+
# data stream found, or if the caller does not have permissions to access it.
|
1904
|
+
# @param [String] name
|
1905
|
+
# Required. The name of the web data stream to lookup. Format: properties/`
|
1906
|
+
# property_id`/webDataStreams/`stream_id` Example: "properties/123/
|
1907
|
+
# webDataStreams/456"
|
1908
|
+
# @param [String] fields
|
1909
|
+
# Selector specifying which fields to include in a partial response.
|
1910
|
+
# @param [String] quota_user
|
1911
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1912
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1913
|
+
# @param [Google::Apis::RequestOptions] options
|
1914
|
+
# Request-specific options
|
1915
|
+
#
|
1916
|
+
# @yield [result, err] Result & error if block supplied
|
1917
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream] parsed result object
|
1918
|
+
# @yieldparam err [StandardError] error object if request failed
|
1919
|
+
#
|
1920
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream]
|
1921
|
+
#
|
1922
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1923
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1924
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1925
|
+
def get_property_web_data_stream(name, fields: nil, quota_user: nil, options: nil, &block)
|
1926
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
1927
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream::Representation
|
1928
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream
|
1929
|
+
command.params['name'] = name unless name.nil?
|
1930
|
+
command.query['fields'] = fields unless fields.nil?
|
1931
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1932
|
+
execute_or_queue_command(command, &block)
|
1933
|
+
end
|
1934
|
+
|
1935
|
+
# Returns the singleton enhanced measurement settings for this web stream. Note
|
1936
|
+
# that the stream must enable enhanced measurement for these settings to take
|
1937
|
+
# effect.
|
1938
|
+
# @param [String] name
|
1939
|
+
# Required. The name of the settings to lookup. Format: properties/`property_id`/
|
1940
|
+
# webDataStreams/`stream_id`/enhancedMeasurementSettings Example: "properties/
|
1941
|
+
# 1000/webDataStreams/2000/enhancedMeasurementSettings"
|
1942
|
+
# @param [String] fields
|
1943
|
+
# Selector specifying which fields to include in a partial response.
|
1944
|
+
# @param [String] quota_user
|
1945
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1946
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1947
|
+
# @param [Google::Apis::RequestOptions] options
|
1948
|
+
# Request-specific options
|
1949
|
+
#
|
1950
|
+
# @yield [result, err] Result & error if block supplied
|
1951
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings] parsed result object
|
1952
|
+
# @yieldparam err [StandardError] error object if request failed
|
1953
|
+
#
|
1954
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings]
|
1955
|
+
#
|
1956
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1957
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1958
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1959
|
+
def get_property_web_data_stream_enhanced_measurement_settings(name, fields: nil, quota_user: nil, options: nil, &block)
|
1960
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
1961
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings::Representation
|
1962
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings
|
1963
|
+
command.params['name'] = name unless name.nil?
|
1964
|
+
command.query['fields'] = fields unless fields.nil?
|
1965
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1966
|
+
execute_or_queue_command(command, &block)
|
1967
|
+
end
|
1968
|
+
|
1969
|
+
# Returns the Site Tag for the specified web stream. Site Tags are immutable
|
1970
|
+
# singletons.
|
1971
|
+
# @param [String] name
|
1972
|
+
# Required. The name of the site tag to lookup. Note that site tags are
|
1973
|
+
# singletons and do not have unique IDs. Format: properties/`property_id`/
|
1974
|
+
# webDataStreams/`stream_id`/globalSiteTag Example: "properties/123/
|
1975
|
+
# webDataStreams/456/globalSiteTag"
|
1976
|
+
# @param [String] fields
|
1977
|
+
# Selector specifying which fields to include in a partial response.
|
1978
|
+
# @param [String] quota_user
|
1979
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1980
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1981
|
+
# @param [Google::Apis::RequestOptions] options
|
1982
|
+
# Request-specific options
|
1983
|
+
#
|
1984
|
+
# @yield [result, err] Result & error if block supplied
|
1985
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGlobalSiteTag] parsed result object
|
1986
|
+
# @yieldparam err [StandardError] error object if request failed
|
1987
|
+
#
|
1988
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGlobalSiteTag]
|
1989
|
+
#
|
1990
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1991
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1992
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1993
|
+
def get_property_web_data_stream_global_site_tag(name, fields: nil, quota_user: nil, options: nil, &block)
|
1994
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
1995
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGlobalSiteTag::Representation
|
1996
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGlobalSiteTag
|
1997
|
+
command.params['name'] = name unless name.nil?
|
1998
|
+
command.query['fields'] = fields unless fields.nil?
|
1999
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2000
|
+
execute_or_queue_command(command, &block)
|
2001
|
+
end
|
2002
|
+
|
2003
|
+
# Returns child web data streams under the specified parent property. Web data
|
2004
|
+
# streams will be excluded if the caller does not have access. Returns an empty
|
2005
|
+
# list if no relevant web data streams are found.
|
2006
|
+
# @param [String] parent
|
2007
|
+
# Required. The name of the parent property. For example, to list results of web
|
2008
|
+
# streams under the property with Id 123: "properties/123"
|
2009
|
+
# @param [Fixnum] page_size
|
2010
|
+
# The maximum number of resources to return. If unspecified, at most 50
|
2011
|
+
# resources will be returned. The maximum value is 200; (higher values will be
|
2012
|
+
# coerced to the maximum)
|
2013
|
+
# @param [String] page_token
|
2014
|
+
# A page token, received from a previous `ListWebDataStreams` call. Provide this
|
2015
|
+
# to retrieve the subsequent page. When paginating, all other parameters
|
2016
|
+
# provided to `ListWebDataStreams` must match the call that provided the page
|
2017
|
+
# token.
|
2018
|
+
# @param [String] fields
|
2019
|
+
# Selector specifying which fields to include in a partial response.
|
2020
|
+
# @param [String] quota_user
|
2021
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2022
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2023
|
+
# @param [Google::Apis::RequestOptions] options
|
2024
|
+
# Request-specific options
|
2025
|
+
#
|
2026
|
+
# @yield [result, err] Result & error if block supplied
|
2027
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListWebDataStreamsResponse] parsed result object
|
2028
|
+
# @yieldparam err [StandardError] error object if request failed
|
2029
|
+
#
|
2030
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListWebDataStreamsResponse]
|
2031
|
+
#
|
2032
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2033
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2034
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2035
|
+
def list_property_web_data_streams(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2036
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/webDataStreams', options)
|
2037
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListWebDataStreamsResponse::Representation
|
2038
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListWebDataStreamsResponse
|
2039
|
+
command.params['parent'] = parent unless parent.nil?
|
2040
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2041
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2042
|
+
command.query['fields'] = fields unless fields.nil?
|
2043
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2044
|
+
execute_or_queue_command(command, &block)
|
2045
|
+
end
|
2046
|
+
|
2047
|
+
# Updates a web stream on a property.
|
2048
|
+
# @param [String] name
|
2049
|
+
# Output only. Resource name of this Data Stream. Format: properties/`
|
2050
|
+
# property_id`/webDataStreams/`stream_id` Example: "properties/1000/
|
2051
|
+
# webDataStreams/2000"
|
2052
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream] google_analytics_admin_v1alpha_web_data_stream_object
|
2053
|
+
# @param [String] update_mask
|
2054
|
+
# The list of fields to be updated. Omitted fields will not be updated.
|
2055
|
+
# @param [String] fields
|
2056
|
+
# Selector specifying which fields to include in a partial response.
|
2057
|
+
# @param [String] quota_user
|
2058
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2059
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2060
|
+
# @param [Google::Apis::RequestOptions] options
|
2061
|
+
# Request-specific options
|
2062
|
+
#
|
2063
|
+
# @yield [result, err] Result & error if block supplied
|
2064
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream] parsed result object
|
2065
|
+
# @yieldparam err [StandardError] error object if request failed
|
2066
|
+
#
|
2067
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream]
|
2068
|
+
#
|
2069
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2070
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2071
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2072
|
+
def patch_property_web_data_stream(name, google_analytics_admin_v1alpha_web_data_stream_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2073
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
2074
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream::Representation
|
2075
|
+
command.request_object = google_analytics_admin_v1alpha_web_data_stream_object
|
2076
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream::Representation
|
2077
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream
|
2078
|
+
command.params['name'] = name unless name.nil?
|
2079
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2080
|
+
command.query['fields'] = fields unless fields.nil?
|
2081
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2082
|
+
execute_or_queue_command(command, &block)
|
2083
|
+
end
|
2084
|
+
|
2085
|
+
# Updates the singleton enhanced measurement settings for this web stream. Note
|
2086
|
+
# that the stream must enable enhanced measurement for these settings to take
|
2087
|
+
# effect.
|
2088
|
+
# @param [String] name
|
2089
|
+
# Output only. Resource name of this Data Stream. Format: properties/`
|
2090
|
+
# property_id`/webDataStreams/`stream_id`/enhancedMeasurementSettings Example: "
|
2091
|
+
# properties/1000/webDataStreams/2000/enhancedMeasurementSettings"
|
2092
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings] google_analytics_admin_v1alpha_enhanced_measurement_settings_object
|
2093
|
+
# @param [String] update_mask
|
2094
|
+
# The list of fields to be updated. Omitted fields will not be updated.
|
2095
|
+
# @param [String] fields
|
2096
|
+
# Selector specifying which fields to include in a partial response.
|
2097
|
+
# @param [String] quota_user
|
2098
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2099
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2100
|
+
# @param [Google::Apis::RequestOptions] options
|
2101
|
+
# Request-specific options
|
2102
|
+
#
|
2103
|
+
# @yield [result, err] Result & error if block supplied
|
2104
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings] parsed result object
|
2105
|
+
# @yieldparam err [StandardError] error object if request failed
|
2106
|
+
#
|
2107
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings]
|
2108
|
+
#
|
2109
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2110
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2111
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2112
|
+
def update_property_web_data_stream_enhanced_measurement_settings(name, google_analytics_admin_v1alpha_enhanced_measurement_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2113
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
2114
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings::Representation
|
2115
|
+
command.request_object = google_analytics_admin_v1alpha_enhanced_measurement_settings_object
|
2116
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings::Representation
|
2117
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings
|
2118
|
+
command.params['name'] = name unless name.nil?
|
2119
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2120
|
+
command.query['fields'] = fields unless fields.nil?
|
2121
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2122
|
+
execute_or_queue_command(command, &block)
|
2123
|
+
end
|
2124
|
+
|
2125
|
+
protected
|
2126
|
+
|
2127
|
+
def apply_command_defaults(command)
|
2128
|
+
command.query['key'] = key unless key.nil?
|
2129
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2130
|
+
end
|
2131
|
+
end
|
2132
|
+
end
|
2133
|
+
end
|
2134
|
+
end
|