google-api-client 0.46.1 → 0.50.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 +666 -191
- data/Gemfile +1 -0
- data/Rakefile +31 -3
- data/api_list_config.yaml +8 -0
- data/bin/generate-api +77 -15
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +13 -15
- data/generated/google/apis/accessapproval_v1/service.rb +12 -9
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +30 -30
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +135 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +62 -0
- data/generated/google/apis/admin_directory_v1/service.rb +72 -0
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admob_v1.rb +4 -1
- data/generated/google/apis/admob_v1/classes.rb +29 -29
- data/generated/google/apis/admob_v1/service.rb +4 -0
- data/generated/google/apis/admob_v1beta.rb +38 -0
- data/generated/google/apis/admob_v1beta/classes.rb +1035 -0
- data/generated/google/apis/admob_v1beta/representations.rb +472 -0
- data/generated/google/apis/admob_v1beta/service.rb +279 -0
- data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +19 -18
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +12 -13
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +179 -50
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +50 -14
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +49 -38
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +6 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +29 -26
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +2 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +5 -2
- data/generated/google/apis/apigateway_v1beta.rb +1 -1
- data/generated/google/apis/apigateway_v1beta/classes.rb +8 -5
- data/generated/google/apis/apigateway_v1beta/representations.rb +1 -0
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +377 -137
- data/generated/google/apis/apigee_v1/representations.rb +109 -18
- data/generated/google/apis/apigee_v1/service.rb +673 -56
- data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
- data/generated/google/apis/area120tables_v1alpha1/classes.rb +481 -0
- data/generated/google/apis/area120tables_v1alpha1/representations.rb +279 -0
- data/generated/google/apis/area120tables_v1alpha1/service.rb +448 -0
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -7
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -1
- data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +20 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +2 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +158 -5
- data/generated/google/apis/bigquery_v2/representations.rb +67 -0
- data/generated/google/apis/bigquery_v2/service.rb +46 -0
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -0
- data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +1 -0
- data/generated/google/apis/billingbudgets_v1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1/classes.rb +12 -1
- data/generated/google/apis/billingbudgets_v1/representations.rb +1 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +12 -1
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +3 -4
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +3 -4
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +52 -52
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +2 -2
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +7 -0
- data/generated/google/apis/chat_v1/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +0 -24
- data/generated/google/apis/civicinfo_v2/representations.rb +0 -3
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +21 -21
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +1122 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +474 -0
- data/generated/google/apis/cloudasset_v1/service.rb +171 -0
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +2 -1
- data/generated/google/apis/cloudbuild_v1/service.rb +10 -2
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/service.rb +7 -3
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +29 -17
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +1 -2
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +1 -2
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +401 -7
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +280 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +401 -7
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +280 -1
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +405 -11
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +280 -1
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +13 -13
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +405 -11
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +280 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +13 -13
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +1 -2
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +1 -2
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +12 -2
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +1 -2
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +282 -29
- data/generated/google/apis/compute_v1/representations.rb +43 -0
- data/generated/google/apis/compute_v1/service.rb +4 -1
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +22 -10
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +51 -10
- data/generated/google/apis/container_v1beta1/representations.rb +15 -0
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +1 -2
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -2
- data/generated/google/apis/content_v2.rb +3 -4
- data/generated/google/apis/content_v2/classes.rb +511 -1219
- data/generated/google/apis/content_v2/service.rb +380 -651
- data/generated/google/apis/content_v2_1.rb +3 -4
- data/generated/google/apis/content_v2_1/classes.rb +1353 -1061
- data/generated/google/apis/content_v2_1/representations.rb +342 -0
- data/generated/google/apis/content_v2_1/service.rb +948 -809
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +26 -12
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +12 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
- 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/datamigration_v1beta1.rb +34 -0
- data/generated/google/apis/datamigration_v1beta1/classes.rb +1670 -0
- data/generated/google/apis/datamigration_v1beta1/representations.rb +678 -0
- data/generated/google/apis/datamigration_v1beta1/service.rb +1172 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +18 -7
- data/generated/google/apis/dataproc_v1/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +18 -7
- data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +4 -4
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +4 -4
- data/generated/google/apis/deploymentmanager_v2.rb +6 -4
- data/generated/google/apis/deploymentmanager_v2/classes.rb +209 -558
- data/generated/google/apis/deploymentmanager_v2/representations.rb +1 -132
- data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
- data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +253 -609
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +1 -132
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
- data/generated/google/apis/dfareporting_v3_3.rb +2 -2
- data/generated/google/apis/dfareporting_v3_3/classes.rb +6 -6
- data/generated/google/apis/dfareporting_v3_3/service.rb +12 -12
- data/generated/google/apis/dfareporting_v3_4.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/classes.rb +6 -6
- data/generated/google/apis/dfareporting_v3_4/service.rb +12 -12
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +649 -385
- data/generated/google/apis/dialogflow_v2/representations.rb +279 -192
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +649 -385
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +283 -196
- data/generated/google/apis/dialogflow_v2beta1/service.rb +14 -8
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +712 -391
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +301 -195
- data/generated/google/apis/dialogflow_v3beta1/service.rb +1 -1
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +241 -63
- data/generated/google/apis/displayvideo_v1/representations.rb +77 -0
- data/generated/google/apis/displayvideo_v1/service.rb +257 -17
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +39 -32
- data/generated/google/apis/dlp_v2/representations.rb +1 -0
- data/generated/google/apis/dns_v1.rb +2 -2
- data/generated/google/apis/dns_v1/classes.rb +181 -0
- data/generated/google/apis/dns_v1/representations.rb +83 -0
- data/generated/google/apis/dns_v1/service.rb +1 -1
- data/generated/google/apis/dns_v1beta2.rb +2 -2
- data/generated/google/apis/dns_v1beta2/classes.rb +195 -1
- data/generated/google/apis/dns_v1beta2/representations.rb +95 -0
- data/generated/google/apis/dns_v1beta2/service.rb +177 -1
- data/generated/google/apis/domains_v1alpha2.rb +34 -0
- data/generated/google/apis/domains_v1alpha2/classes.rb +1534 -0
- data/generated/google/apis/domains_v1alpha2/representations.rb +605 -0
- data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
- data/generated/google/apis/domains_v1beta1.rb +34 -0
- data/generated/google/apis/domains_v1beta1/classes.rb +1534 -0
- data/generated/google/apis/domains_v1beta1/representations.rb +605 -0
- data/generated/google/apis/domains_v1beta1/service.rb +805 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +2 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +2 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +22 -20
- data/generated/google/apis/drive_v2/service.rb +2 -2
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +12 -9
- data/generated/google/apis/eventarc_v1beta1.rb +34 -0
- data/generated/google/apis/eventarc_v1beta1/classes.rb +937 -0
- data/generated/google/apis/eventarc_v1beta1/representations.rb +380 -0
- data/generated/google/apis/eventarc_v1beta1/service.rb +579 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +505 -4
- data/generated/google/apis/file_v1/representations.rb +203 -0
- data/generated/google/apis/file_v1/service.rb +229 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +346 -6
- data/generated/google/apis/file_v1beta1/representations.rb +149 -0
- data/generated/google/apis/file_v1beta1/service.rb +6 -2
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +17 -4
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +2 -0
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +4 -4
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +4 -4
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +3 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +300 -0
- data/generated/google/apis/games_v1/representations.rb +116 -0
- data/generated/google/apis/games_v1/service.rb +34 -0
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +16 -16
- data/generated/google/apis/gameservices_v1/service.rb +54 -51
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +16 -16
- data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +25 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +15 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +10 -10
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +10 -4
- data/generated/google/apis/healthcare_v1/representations.rb +1 -0
- data/generated/google/apis/healthcare_v1/service.rb +2 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +350 -46
- data/generated/google/apis/healthcare_v1beta1/representations.rb +150 -18
- data/generated/google/apis/healthcare_v1beta1/service.rb +91 -13
- data/generated/google/apis/iam_v1.rb +2 -5
- data/generated/google/apis/iam_v1/classes.rb +8 -11
- data/generated/google/apis/iam_v1/representations.rb +0 -1
- data/generated/google/apis/iam_v1/service.rb +1 -4
- data/generated/google/apis/iamcredentials_v1.rb +3 -4
- data/generated/google/apis/iamcredentials_v1/service.rb +2 -3
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +1 -13
- data/generated/google/apis/iap_v1/representations.rb +0 -1
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +1 -2
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/localservices_v1.rb +1 -1
- data/generated/google/apis/localservices_v1/classes.rb +7 -0
- data/generated/google/apis/localservices_v1/representations.rb +2 -0
- data/generated/google/apis/localservices_v1/service.rb +20 -20
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +186 -10
- data/generated/google/apis/logging_v2/representations.rb +77 -0
- data/generated/google/apis/logging_v2/service.rb +446 -25
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +347 -7
- data/generated/google/apis/managedidentities_v1/representations.rb +149 -0
- data/generated/google/apis/managedidentities_v1/service.rb +1 -4
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +426 -15
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +182 -1
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +427 -15
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +182 -1
- data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +345 -4
- data/generated/google/apis/memcache_v1beta2/representations.rb +149 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +273 -79
- data/generated/google/apis/ml_v1/representations.rb +43 -0
- data/generated/google/apis/ml_v1/service.rb +35 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +19 -13
- data/generated/google/apis/monitoring_v3/service.rb +50 -1
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +6 -0
- data/generated/google/apis/networkmanagement_v1/representations.rb +1 -0
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +57 -0
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +31 -0
- data/generated/google/apis/notebooks_v1.rb +34 -0
- data/generated/google/apis/notebooks_v1/classes.rb +1461 -0
- data/generated/google/apis/notebooks_v1/representations.rb +581 -0
- data/generated/google/apis/notebooks_v1/service.rb +1042 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +49 -49
- data/generated/google/apis/people_v1/service.rb +21 -18
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +6 -6
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/poly_v1.rb +3 -4
- data/generated/google/apis/poly_v1/classes.rb +65 -79
- data/generated/google/apis/poly_v1/service.rb +50 -63
- data/generated/google/apis/privateca_v1beta1.rb +36 -0
- 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 +1437 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +109 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +1 -2
- data/generated/google/apis/pubsub_v1/service.rb +2 -2
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +1 -2
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +578 -33
- data/generated/google/apis/realtimebidding_v1/representations.rb +232 -0
- data/generated/google/apis/realtimebidding_v1/service.rb +454 -4
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +32 -0
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -0
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +86 -0
- data/generated/google/apis/redis_v1/representations.rb +34 -0
- data/generated/google/apis/redis_v1/service.rb +34 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +58 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +20 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +7 -6
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +0 -7
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +0 -1
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/service.rb +109 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +0 -7
- data/generated/google/apis/secretmanager_v1/representations.rb +0 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +0 -7
- data/generated/google/apis/secretmanager_v1beta1/representations.rb +0 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +6 -64
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +6 -64
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +77 -2
- data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +62 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +27 -8
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +6 -64
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -18
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +207 -65
- data/generated/google/apis/servicenetworking_v1/representations.rb +77 -14
- data/generated/google/apis/servicenetworking_v1/service.rb +82 -2
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +140 -65
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +46 -14
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +6 -64
- data/generated/google/apis/serviceusage_v1/representations.rb +0 -18
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +36 -64
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -18
- data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +23 -7
- data/generated/google/apis/sheets_v4/representations.rb +3 -0
- data/generated/google/apis/smartdevicemanagement_v1.rb +1 -1
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +0 -34
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +0 -16
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +3 -8
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +2 -3
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +28 -4
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +3 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +82 -50
- data/generated/google/apis/storagetransfer_v1/representations.rb +4 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +20 -21
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +4 -4
- data/generated/google/apis/sts_v1beta.rb +1 -1
- data/generated/google/apis/sts_v1beta/classes.rb +12 -11
- data/generated/google/apis/tagmanager_v2.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/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +45 -33
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/testing_v1/service.rb +4 -4
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +13 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +12 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1/service.rb +8 -8
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
- data/generated/google/apis/transcoder_v1beta1.rb +34 -0
- data/generated/google/apis/transcoder_v1beta1/classes.rb +1684 -0
- data/generated/google/apis/transcoder_v1beta1/representations.rb +756 -0
- data/generated/google/apis/transcoder_v1beta1/service.rb +329 -0
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +2 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +2 -1
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +333 -0
- data/generated/google/apis/vault_v1/representations.rb +162 -0
- data/generated/google/apis/vault_v1/service.rb +151 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/service.rb +0 -62
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +8 -8
- data/google-api-client.gemspec +25 -25
- 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 +47 -16
- data/generated/google/apis/displayvideo_v1beta.rb +0 -38
- data/generated/google/apis/displayvideo_v1beta/classes.rb +0 -146
- data/generated/google/apis/displayvideo_v1beta/representations.rb +0 -72
- data/generated/google/apis/displayvideo_v1beta/service.rb +0 -161
- data/generated/google/apis/displayvideo_v1beta2.rb +0 -38
- data/generated/google/apis/displayvideo_v1beta2/classes.rb +0 -146
- data/generated/google/apis/displayvideo_v1beta2/representations.rb +0 -72
- data/generated/google/apis/displayvideo_v1beta2/service.rb +0 -130
- data/generated/google/apis/displayvideo_v1dev.rb +0 -38
- data/generated/google/apis/displayvideo_v1dev/classes.rb +0 -146
- data/generated/google/apis/displayvideo_v1dev/representations.rb +0 -72
- data/generated/google/apis/displayvideo_v1dev/service.rb +0 -130
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/analytics/trusted-testing/analytics-data/
|
26
26
|
module AnalyticsdataV1alpha
|
27
27
|
VERSION = 'V1alpha'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20201110'
|
29
29
|
|
30
30
|
# View and manage your Google Analytics data
|
31
31
|
AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics'
|
@@ -164,8 +164,7 @@ module Google
|
|
164
164
|
include Google::Apis::Core::Hashable
|
165
165
|
|
166
166
|
# A contiguous set of days: startDate, startDate + 1, ..., endDate. Requests are
|
167
|
-
# allowed up to 4 date ranges
|
168
|
-
# year.
|
167
|
+
# allowed up to 4 date ranges.
|
169
168
|
# Corresponds to the JSON property `dateRange`
|
170
169
|
# @return [Google::Apis::AnalyticsdataV1alpha::DateRange]
|
171
170
|
attr_accessor :date_range
|
@@ -312,8 +311,7 @@ module Google
|
|
312
311
|
end
|
313
312
|
|
314
313
|
# A contiguous set of days: startDate, startDate + 1, ..., endDate. Requests are
|
315
|
-
# allowed up to 4 date ranges
|
316
|
-
# year.
|
314
|
+
# allowed up to 4 date ranges.
|
317
315
|
class DateRange
|
318
316
|
include Google::Apis::Core::Hashable
|
319
317
|
|
@@ -353,9 +351,10 @@ module Google
|
|
353
351
|
end
|
354
352
|
end
|
355
353
|
|
356
|
-
# Dimensions are attributes of your data. For example, the dimension
|
357
|
-
# indicates the city
|
358
|
-
#
|
354
|
+
# Dimensions are attributes of your data. For example, the dimension city
|
355
|
+
# indicates the city from which an event originates. Dimension values in report
|
356
|
+
# responses are strings; for example, city could be "Paris" or "New York".
|
357
|
+
# Requests are allowed up to 8 dimensions.
|
359
358
|
class Dimension
|
360
359
|
include Google::Apis::Core::Hashable
|
361
360
|
|
@@ -366,7 +365,13 @@ module Google
|
|
366
365
|
# @return [Google::Apis::AnalyticsdataV1alpha::DimensionExpression]
|
367
366
|
attr_accessor :dimension_expression
|
368
367
|
|
369
|
-
# The name of the dimension.
|
368
|
+
# The name of the dimension. See the [API Dimensions](https://developers.google.
|
369
|
+
# com/analytics/trusted-testing/analytics-data/api-schema#dimensions) for the
|
370
|
+
# list of dimension names. If `dimensionExpression` is specified, `name` can be
|
371
|
+
# any string that you would like. For example if a `dimensionExpression`
|
372
|
+
# concatenates `country` and `city`, you could call that dimension `
|
373
|
+
# countryAndCity`. Dimensions are referenced by `name` in `dimensionFilter`, `
|
374
|
+
# orderBys`, `dimensionExpression`, and `pivots`.
|
370
375
|
# Corresponds to the JSON property `name`
|
371
376
|
# @return [String]
|
372
377
|
attr_accessor :name
|
@@ -527,7 +532,9 @@ module Google
|
|
527
532
|
class Entity
|
528
533
|
include Google::Apis::Core::Hashable
|
529
534
|
|
530
|
-
# A Google Analytics
|
535
|
+
# A Google Analytics GA4 property id. To learn more, see [where to find your
|
536
|
+
# Property ID](https://developers.google.com/analytics/trusted-testing/analytics-
|
537
|
+
# data/property-id).
|
531
538
|
# Corresponds to the JSON property `propertyId`
|
532
539
|
# @return [String]
|
533
540
|
attr_accessor :property_id
|
@@ -562,7 +569,10 @@ module Google
|
|
562
569
|
# @return [Google::Apis::AnalyticsdataV1alpha::InListFilter]
|
563
570
|
attr_accessor :in_list_filter
|
564
571
|
|
565
|
-
# A filter for null values.
|
572
|
+
# A filter for null values. If True, a null dimension value is matched by this
|
573
|
+
# filter. Null filter is commonly used inside a NOT filter expression. For
|
574
|
+
# example, a NOT expression of a null filter removes rows when a dimension is
|
575
|
+
# null.
|
566
576
|
# Corresponds to the JSON property `nullFilter`
|
567
577
|
# @return [Boolean]
|
568
578
|
attr_accessor :null_filter
|
@@ -681,7 +691,7 @@ module Google
|
|
681
691
|
class Metadata
|
682
692
|
include Google::Apis::Core::Hashable
|
683
693
|
|
684
|
-
# The
|
694
|
+
# The dimension descriptions.
|
685
695
|
# Corresponds to the JSON property `dimensions`
|
686
696
|
# @return [Array<Google::Apis::AnalyticsdataV1alpha::DimensionMetadata>]
|
687
697
|
attr_accessor :dimensions
|
@@ -708,26 +718,31 @@ module Google
|
|
708
718
|
end
|
709
719
|
end
|
710
720
|
|
711
|
-
# The quantitative measurements of a report. For example, the metric eventCount
|
721
|
+
# The quantitative measurements of a report. For example, the metric `eventCount`
|
712
722
|
# is the total number of events. Requests are allowed up to 10 metrics.
|
713
723
|
class Metric
|
714
724
|
include Google::Apis::Core::Hashable
|
715
725
|
|
716
726
|
# A mathematical expression for derived metrics. For example, the metric Event
|
717
|
-
# count per user is eventCount/totalUsers
|
727
|
+
# count per user is `eventCount/totalUsers`.
|
718
728
|
# Corresponds to the JSON property `expression`
|
719
729
|
# @return [String]
|
720
730
|
attr_accessor :expression
|
721
731
|
|
722
|
-
# Indicates if a metric is invisible
|
723
|
-
# not in the response, but can be
|
724
|
-
#
|
732
|
+
# Indicates if a metric is invisible in the report response. If a metric is
|
733
|
+
# invisible, the metric will not produce a column in the response, but can be
|
734
|
+
# used in `metricFilter`, `orderBys`, or a metric `expression`.
|
725
735
|
# Corresponds to the JSON property `invisible`
|
726
736
|
# @return [Boolean]
|
727
737
|
attr_accessor :invisible
|
728
738
|
alias_method :invisible?, :invisible
|
729
739
|
|
730
|
-
# The name of the metric.
|
740
|
+
# The name of the metric. See the [API Metrics](https://developers.google.com/
|
741
|
+
# analytics/trusted-testing/analytics-data/api-schema#metrics) for the list of
|
742
|
+
# metric names. If `expression` is specified, `name` can be any string that you
|
743
|
+
# would like. For example if `expression` is `screenPageViews/sessions`, you
|
744
|
+
# could call that metric's name = `viewsPerSession`. Metrics are referenced by `
|
745
|
+
# name` in `metricFilter`, `orderBys`, and metric `expression`.
|
731
746
|
# Corresponds to the JSON property `name`
|
732
747
|
# @return [String]
|
733
748
|
attr_accessor :name
|
@@ -1199,11 +1214,12 @@ module Google
|
|
1199
1214
|
end
|
1200
1215
|
end
|
1201
1216
|
|
1202
|
-
# Report data for each row. For example if RunReportRequest contains: ```none
|
1203
|
-
# dimensions ` name: "eventName"
|
1204
|
-
# name: "eventCount" ` ``` One row with 'in_app_purchase' as the
|
1205
|
-
# as the countryId, and 15 as the eventCount, would be: ```none
|
1206
|
-
# `
|
1217
|
+
# Report data for each row. For example if RunReportRequest contains: ```none "
|
1218
|
+
# dimensions": [ ` "name": "eventName" `, ` "name": "countryId" ` ], "metrics": [
|
1219
|
+
# ` "name": "eventCount" ` ] ``` One row with 'in_app_purchase' as the
|
1220
|
+
# eventName, 'JP' as the countryId, and 15 as the eventCount, would be: ```none "
|
1221
|
+
# dimensionValues": [ ` "value": "in_app_purchase" `, ` "value": "JP" ` ], "
|
1222
|
+
# metricValues": [ ` "value": "15" ` ] ```
|
1207
1223
|
class Row
|
1208
1224
|
include Google::Apis::Core::Hashable
|
1209
1225
|
|
@@ -1395,6 +1411,141 @@ module Google
|
|
1395
1411
|
end
|
1396
1412
|
end
|
1397
1413
|
|
1414
|
+
# The request to generate a realtime report.
|
1415
|
+
class RunRealtimeReportRequest
|
1416
|
+
include Google::Apis::Core::Hashable
|
1417
|
+
|
1418
|
+
# To express dimension or metric filters. The fields in the same
|
1419
|
+
# FilterExpression need to be either all dimensions or all metrics.
|
1420
|
+
# Corresponds to the JSON property `dimensionFilter`
|
1421
|
+
# @return [Google::Apis::AnalyticsdataV1alpha::FilterExpression]
|
1422
|
+
attr_accessor :dimension_filter
|
1423
|
+
|
1424
|
+
# The dimensions requested and displayed.
|
1425
|
+
# Corresponds to the JSON property `dimensions`
|
1426
|
+
# @return [Array<Google::Apis::AnalyticsdataV1alpha::Dimension>]
|
1427
|
+
attr_accessor :dimensions
|
1428
|
+
|
1429
|
+
# The number of rows to return. If unspecified, 10 rows are returned. If -1, all
|
1430
|
+
# rows are returned.
|
1431
|
+
# Corresponds to the JSON property `limit`
|
1432
|
+
# @return [Fixnum]
|
1433
|
+
attr_accessor :limit
|
1434
|
+
|
1435
|
+
# Aggregation of metrics. Aggregated metric values will be shown in rows where
|
1436
|
+
# the dimension_values are set to "RESERVED_(MetricAggregation)".
|
1437
|
+
# Corresponds to the JSON property `metricAggregations`
|
1438
|
+
# @return [Array<String>]
|
1439
|
+
attr_accessor :metric_aggregations
|
1440
|
+
|
1441
|
+
# To express dimension or metric filters. The fields in the same
|
1442
|
+
# FilterExpression need to be either all dimensions or all metrics.
|
1443
|
+
# Corresponds to the JSON property `metricFilter`
|
1444
|
+
# @return [Google::Apis::AnalyticsdataV1alpha::FilterExpression]
|
1445
|
+
attr_accessor :metric_filter
|
1446
|
+
|
1447
|
+
# The metrics requested and displayed.
|
1448
|
+
# Corresponds to the JSON property `metrics`
|
1449
|
+
# @return [Array<Google::Apis::AnalyticsdataV1alpha::Metric>]
|
1450
|
+
attr_accessor :metrics
|
1451
|
+
|
1452
|
+
# Specifies how rows are ordered in the response.
|
1453
|
+
# Corresponds to the JSON property `orderBys`
|
1454
|
+
# @return [Array<Google::Apis::AnalyticsdataV1alpha::OrderBy>]
|
1455
|
+
attr_accessor :order_bys
|
1456
|
+
|
1457
|
+
# Toggles whether to return the current state of this Analytics Property's
|
1458
|
+
# Realtime quota. Quota is returned in [PropertyQuota](#PropertyQuota).
|
1459
|
+
# Corresponds to the JSON property `returnPropertyQuota`
|
1460
|
+
# @return [Boolean]
|
1461
|
+
attr_accessor :return_property_quota
|
1462
|
+
alias_method :return_property_quota?, :return_property_quota
|
1463
|
+
|
1464
|
+
def initialize(**args)
|
1465
|
+
update!(**args)
|
1466
|
+
end
|
1467
|
+
|
1468
|
+
# Update properties of this object
|
1469
|
+
def update!(**args)
|
1470
|
+
@dimension_filter = args[:dimension_filter] if args.key?(:dimension_filter)
|
1471
|
+
@dimensions = args[:dimensions] if args.key?(:dimensions)
|
1472
|
+
@limit = args[:limit] if args.key?(:limit)
|
1473
|
+
@metric_aggregations = args[:metric_aggregations] if args.key?(:metric_aggregations)
|
1474
|
+
@metric_filter = args[:metric_filter] if args.key?(:metric_filter)
|
1475
|
+
@metrics = args[:metrics] if args.key?(:metrics)
|
1476
|
+
@order_bys = args[:order_bys] if args.key?(:order_bys)
|
1477
|
+
@return_property_quota = args[:return_property_quota] if args.key?(:return_property_quota)
|
1478
|
+
end
|
1479
|
+
end
|
1480
|
+
|
1481
|
+
# The response realtime report table corresponding to a request.
|
1482
|
+
class RunRealtimeReportResponse
|
1483
|
+
include Google::Apis::Core::Hashable
|
1484
|
+
|
1485
|
+
# Describes dimension columns. The number of DimensionHeaders and ordering of
|
1486
|
+
# DimensionHeaders matches the dimensions present in rows.
|
1487
|
+
# Corresponds to the JSON property `dimensionHeaders`
|
1488
|
+
# @return [Array<Google::Apis::AnalyticsdataV1alpha::DimensionHeader>]
|
1489
|
+
attr_accessor :dimension_headers
|
1490
|
+
|
1491
|
+
# If requested, the maximum values of metrics.
|
1492
|
+
# Corresponds to the JSON property `maximums`
|
1493
|
+
# @return [Array<Google::Apis::AnalyticsdataV1alpha::Row>]
|
1494
|
+
attr_accessor :maximums
|
1495
|
+
|
1496
|
+
# Describes metric columns. The number of MetricHeaders and ordering of
|
1497
|
+
# MetricHeaders matches the metrics present in rows.
|
1498
|
+
# Corresponds to the JSON property `metricHeaders`
|
1499
|
+
# @return [Array<Google::Apis::AnalyticsdataV1alpha::MetricHeader>]
|
1500
|
+
attr_accessor :metric_headers
|
1501
|
+
|
1502
|
+
# If requested, the minimum values of metrics.
|
1503
|
+
# Corresponds to the JSON property `minimums`
|
1504
|
+
# @return [Array<Google::Apis::AnalyticsdataV1alpha::Row>]
|
1505
|
+
attr_accessor :minimums
|
1506
|
+
|
1507
|
+
# Current state of all quotas for this Analytics Property. If any quota for a
|
1508
|
+
# property is exhausted, all requests to that property will return Resource
|
1509
|
+
# Exhausted errors.
|
1510
|
+
# Corresponds to the JSON property `propertyQuota`
|
1511
|
+
# @return [Google::Apis::AnalyticsdataV1alpha::PropertyQuota]
|
1512
|
+
attr_accessor :property_quota
|
1513
|
+
|
1514
|
+
# The total number of rows in the query result, regardless of the number of rows
|
1515
|
+
# returned in the response. For example if a query returns 175 rows and includes
|
1516
|
+
# limit = 50 in the API request, the response will contain row_count = 175 but
|
1517
|
+
# only 50 rows.
|
1518
|
+
# Corresponds to the JSON property `rowCount`
|
1519
|
+
# @return [Fixnum]
|
1520
|
+
attr_accessor :row_count
|
1521
|
+
|
1522
|
+
# Rows of dimension value combinations and metric values in the report.
|
1523
|
+
# Corresponds to the JSON property `rows`
|
1524
|
+
# @return [Array<Google::Apis::AnalyticsdataV1alpha::Row>]
|
1525
|
+
attr_accessor :rows
|
1526
|
+
|
1527
|
+
# If requested, the totaled values of metrics.
|
1528
|
+
# Corresponds to the JSON property `totals`
|
1529
|
+
# @return [Array<Google::Apis::AnalyticsdataV1alpha::Row>]
|
1530
|
+
attr_accessor :totals
|
1531
|
+
|
1532
|
+
def initialize(**args)
|
1533
|
+
update!(**args)
|
1534
|
+
end
|
1535
|
+
|
1536
|
+
# Update properties of this object
|
1537
|
+
def update!(**args)
|
1538
|
+
@dimension_headers = args[:dimension_headers] if args.key?(:dimension_headers)
|
1539
|
+
@maximums = args[:maximums] if args.key?(:maximums)
|
1540
|
+
@metric_headers = args[:metric_headers] if args.key?(:metric_headers)
|
1541
|
+
@minimums = args[:minimums] if args.key?(:minimums)
|
1542
|
+
@property_quota = args[:property_quota] if args.key?(:property_quota)
|
1543
|
+
@row_count = args[:row_count] if args.key?(:row_count)
|
1544
|
+
@rows = args[:rows] if args.key?(:rows)
|
1545
|
+
@totals = args[:totals] if args.key?(:totals)
|
1546
|
+
end
|
1547
|
+
end
|
1548
|
+
|
1398
1549
|
# The request to generate a report.
|
1399
1550
|
class RunReportRequest
|
1400
1551
|
include Google::Apis::Core::Hashable
|
@@ -1444,7 +1595,8 @@ module Google
|
|
1444
1595
|
alias_method :keep_empty_rows?, :keep_empty_rows
|
1445
1596
|
|
1446
1597
|
# The number of rows to return. If unspecified, 10 rows are returned. If -1, all
|
1447
|
-
# rows are returned.
|
1598
|
+
# rows are returned. To learn more about this pagination parameter, see [
|
1599
|
+
# Pagination](basics#pagination).
|
1448
1600
|
# Corresponds to the JSON property `limit`
|
1449
1601
|
# @return [Fixnum]
|
1450
1602
|
attr_accessor :limit
|
@@ -1466,7 +1618,8 @@ module Google
|
|
1466
1618
|
# @return [Array<Google::Apis::AnalyticsdataV1alpha::Metric>]
|
1467
1619
|
attr_accessor :metrics
|
1468
1620
|
|
1469
|
-
# The row count of the start row. The first row is counted as row 0.
|
1621
|
+
# The row count of the start row. The first row is counted as row 0. To learn
|
1622
|
+
# more about this pagination parameter, see [Pagination](basics#pagination).
|
1470
1623
|
# Corresponds to the JSON property `offset`
|
1471
1624
|
# @return [Fixnum]
|
1472
1625
|
attr_accessor :offset
|
@@ -1547,7 +1700,8 @@ module Google
|
|
1547
1700
|
# The total number of rows in the query result, regardless of the number of rows
|
1548
1701
|
# returned in the response. For example if a query returns 175 rows and includes
|
1549
1702
|
# limit = 50 in the API request, the response will contain row_count = 175 but
|
1550
|
-
# only 50 rows.
|
1703
|
+
# only 50 rows. To learn more about this pagination parameter, see [Pagination](
|
1704
|
+
# basics#pagination).
|
1551
1705
|
# Corresponds to the JSON property `rowCount`
|
1552
1706
|
# @return [Fixnum]
|
1553
1707
|
attr_accessor :row_count
|
@@ -1611,31 +1765,6 @@ module Google
|
|
1611
1765
|
@value = args[:value] if args.key?(:value)
|
1612
1766
|
end
|
1613
1767
|
end
|
1614
|
-
|
1615
|
-
# The dimensions and metrics currently accepted in reporting methods.
|
1616
|
-
class UniversalMetadata
|
1617
|
-
include Google::Apis::Core::Hashable
|
1618
|
-
|
1619
|
-
# The dimensions descriptions.
|
1620
|
-
# Corresponds to the JSON property `dimensions`
|
1621
|
-
# @return [Array<Google::Apis::AnalyticsdataV1alpha::DimensionMetadata>]
|
1622
|
-
attr_accessor :dimensions
|
1623
|
-
|
1624
|
-
# The metric descriptions.
|
1625
|
-
# Corresponds to the JSON property `metrics`
|
1626
|
-
# @return [Array<Google::Apis::AnalyticsdataV1alpha::MetricMetadata>]
|
1627
|
-
attr_accessor :metrics
|
1628
|
-
|
1629
|
-
def initialize(**args)
|
1630
|
-
update!(**args)
|
1631
|
-
end
|
1632
|
-
|
1633
|
-
# Update properties of this object
|
1634
|
-
def update!(**args)
|
1635
|
-
@dimensions = args[:dimensions] if args.key?(:dimensions)
|
1636
|
-
@metrics = args[:metrics] if args.key?(:metrics)
|
1637
|
-
end
|
1638
|
-
end
|
1639
1768
|
end
|
1640
1769
|
end
|
1641
1770
|
end
|
@@ -280,25 +280,31 @@ module Google
|
|
280
280
|
include Google::Apis::Core::JsonObjectSupport
|
281
281
|
end
|
282
282
|
|
283
|
-
class
|
283
|
+
class RunRealtimeReportRequest
|
284
284
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
285
|
|
286
286
|
include Google::Apis::Core::JsonObjectSupport
|
287
287
|
end
|
288
288
|
|
289
|
-
class
|
289
|
+
class RunRealtimeReportResponse
|
290
290
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
291
|
|
292
292
|
include Google::Apis::Core::JsonObjectSupport
|
293
293
|
end
|
294
294
|
|
295
|
-
class
|
295
|
+
class RunReportRequest
|
296
296
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
297
|
|
298
298
|
include Google::Apis::Core::JsonObjectSupport
|
299
299
|
end
|
300
300
|
|
301
|
-
class
|
301
|
+
class RunReportResponse
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
+
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
305
|
+
end
|
306
|
+
|
307
|
+
class StringFilter
|
302
308
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
309
|
|
304
310
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -732,6 +738,46 @@ module Google
|
|
732
738
|
end
|
733
739
|
end
|
734
740
|
|
741
|
+
class RunRealtimeReportRequest
|
742
|
+
# @private
|
743
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
744
|
+
property :dimension_filter, as: 'dimensionFilter', class: Google::Apis::AnalyticsdataV1alpha::FilterExpression, decorator: Google::Apis::AnalyticsdataV1alpha::FilterExpression::Representation
|
745
|
+
|
746
|
+
collection :dimensions, as: 'dimensions', class: Google::Apis::AnalyticsdataV1alpha::Dimension, decorator: Google::Apis::AnalyticsdataV1alpha::Dimension::Representation
|
747
|
+
|
748
|
+
property :limit, :numeric_string => true, as: 'limit'
|
749
|
+
collection :metric_aggregations, as: 'metricAggregations'
|
750
|
+
property :metric_filter, as: 'metricFilter', class: Google::Apis::AnalyticsdataV1alpha::FilterExpression, decorator: Google::Apis::AnalyticsdataV1alpha::FilterExpression::Representation
|
751
|
+
|
752
|
+
collection :metrics, as: 'metrics', class: Google::Apis::AnalyticsdataV1alpha::Metric, decorator: Google::Apis::AnalyticsdataV1alpha::Metric::Representation
|
753
|
+
|
754
|
+
collection :order_bys, as: 'orderBys', class: Google::Apis::AnalyticsdataV1alpha::OrderBy, decorator: Google::Apis::AnalyticsdataV1alpha::OrderBy::Representation
|
755
|
+
|
756
|
+
property :return_property_quota, as: 'returnPropertyQuota'
|
757
|
+
end
|
758
|
+
end
|
759
|
+
|
760
|
+
class RunRealtimeReportResponse
|
761
|
+
# @private
|
762
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
763
|
+
collection :dimension_headers, as: 'dimensionHeaders', class: Google::Apis::AnalyticsdataV1alpha::DimensionHeader, decorator: Google::Apis::AnalyticsdataV1alpha::DimensionHeader::Representation
|
764
|
+
|
765
|
+
collection :maximums, as: 'maximums', class: Google::Apis::AnalyticsdataV1alpha::Row, decorator: Google::Apis::AnalyticsdataV1alpha::Row::Representation
|
766
|
+
|
767
|
+
collection :metric_headers, as: 'metricHeaders', class: Google::Apis::AnalyticsdataV1alpha::MetricHeader, decorator: Google::Apis::AnalyticsdataV1alpha::MetricHeader::Representation
|
768
|
+
|
769
|
+
collection :minimums, as: 'minimums', class: Google::Apis::AnalyticsdataV1alpha::Row, decorator: Google::Apis::AnalyticsdataV1alpha::Row::Representation
|
770
|
+
|
771
|
+
property :property_quota, as: 'propertyQuota', class: Google::Apis::AnalyticsdataV1alpha::PropertyQuota, decorator: Google::Apis::AnalyticsdataV1alpha::PropertyQuota::Representation
|
772
|
+
|
773
|
+
property :row_count, as: 'rowCount'
|
774
|
+
collection :rows, as: 'rows', class: Google::Apis::AnalyticsdataV1alpha::Row, decorator: Google::Apis::AnalyticsdataV1alpha::Row::Representation
|
775
|
+
|
776
|
+
collection :totals, as: 'totals', class: Google::Apis::AnalyticsdataV1alpha::Row, decorator: Google::Apis::AnalyticsdataV1alpha::Row::Representation
|
777
|
+
|
778
|
+
end
|
779
|
+
end
|
780
|
+
|
735
781
|
class RunReportRequest
|
736
782
|
# @private
|
737
783
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -791,16 +837,6 @@ module Google
|
|
791
837
|
property :value, as: 'value'
|
792
838
|
end
|
793
839
|
end
|
794
|
-
|
795
|
-
class UniversalMetadata
|
796
|
-
# @private
|
797
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
798
|
-
collection :dimensions, as: 'dimensions', class: Google::Apis::AnalyticsdataV1alpha::DimensionMetadata, decorator: Google::Apis::AnalyticsdataV1alpha::DimensionMetadata::Representation
|
799
|
-
|
800
|
-
collection :metrics, as: 'metrics', class: Google::Apis::AnalyticsdataV1alpha::MetricMetadata, decorator: Google::Apis::AnalyticsdataV1alpha::MetricMetadata::Representation
|
801
|
-
|
802
|
-
end
|
803
|
-
end
|
804
840
|
end
|
805
841
|
end
|
806
842
|
end
|
@@ -49,16 +49,20 @@ module Google
|
|
49
49
|
|
50
50
|
# Returns metadata for dimensions and metrics available in reporting methods.
|
51
51
|
# Used to explore the dimensions and metrics. In this method, a Google Analytics
|
52
|
-
#
|
53
|
-
#
|
54
|
-
#
|
55
|
-
#
|
56
|
-
#
|
57
|
-
#
|
52
|
+
# GA4 Property Identifier is specified in the request, and the metadata response
|
53
|
+
# includes Custom dimensions and metrics as well as Universal metadata. For
|
54
|
+
# example if a custom metric with parameter name `levels_unlocked` is registered
|
55
|
+
# to a property, the Metadata response will contain `customEvent:levels_unlocked`
|
56
|
+
# . Universal metadata are dimensions and metrics applicable to any property
|
57
|
+
# such as `country` and `totalUsers`.
|
58
58
|
# @param [String] name
|
59
59
|
# Required. The resource name of the metadata to retrieve. This name field is
|
60
60
|
# specified in the URL path and not URL parameters. Property is a numeric Google
|
61
|
-
# Analytics
|
61
|
+
# Analytics GA4 Property identifier. To learn more, see [where to find your
|
62
|
+
# Property ID](https://developers.google.com/analytics/trusted-testing/analytics-
|
63
|
+
# data/property-id). Example: properties/1234/metadata Set the Property ID to 0
|
64
|
+
# for dimensions and metrics common to all properties. In this special mode,
|
65
|
+
# this method will not return custom dimensions and metrics.
|
62
66
|
# @param [String] fields
|
63
67
|
# Selector specifying which fields to include in a partial response.
|
64
68
|
# @param [String] quota_user
|
@@ -86,6 +90,44 @@ module Google
|
|
86
90
|
execute_or_queue_command(command, &block)
|
87
91
|
end
|
88
92
|
|
93
|
+
# The Google Analytics Realtime API returns a customized report of realtime
|
94
|
+
# event data for your property. These reports show events and usage from the
|
95
|
+
# last 30 minutes.
|
96
|
+
# @param [String] property
|
97
|
+
# A Google Analytics GA4 property identifier whose events are tracked. Specified
|
98
|
+
# in the URL path and not the body. To learn more, see [where to find your
|
99
|
+
# Property ID](https://developers.google.com/analytics/trusted-testing/analytics-
|
100
|
+
# data/property-id). Example: properties/1234
|
101
|
+
# @param [Google::Apis::AnalyticsdataV1alpha::RunRealtimeReportRequest] run_realtime_report_request_object
|
102
|
+
# @param [String] fields
|
103
|
+
# Selector specifying which fields to include in a partial response.
|
104
|
+
# @param [String] quota_user
|
105
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
106
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
107
|
+
# @param [Google::Apis::RequestOptions] options
|
108
|
+
# Request-specific options
|
109
|
+
#
|
110
|
+
# @yield [result, err] Result & error if block supplied
|
111
|
+
# @yieldparam result [Google::Apis::AnalyticsdataV1alpha::RunRealtimeReportResponse] parsed result object
|
112
|
+
# @yieldparam err [StandardError] error object if request failed
|
113
|
+
#
|
114
|
+
# @return [Google::Apis::AnalyticsdataV1alpha::RunRealtimeReportResponse]
|
115
|
+
#
|
116
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
117
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
118
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
119
|
+
def run_property_realtime_report(property, run_realtime_report_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
120
|
+
command = make_simple_command(:post, 'v1alpha/{+property}:runRealtimeReport', options)
|
121
|
+
command.request_representation = Google::Apis::AnalyticsdataV1alpha::RunRealtimeReportRequest::Representation
|
122
|
+
command.request_object = run_realtime_report_request_object
|
123
|
+
command.response_representation = Google::Apis::AnalyticsdataV1alpha::RunRealtimeReportResponse::Representation
|
124
|
+
command.response_class = Google::Apis::AnalyticsdataV1alpha::RunRealtimeReportResponse
|
125
|
+
command.params['property'] = property unless property.nil?
|
126
|
+
command.query['fields'] = fields unless fields.nil?
|
127
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
128
|
+
execute_or_queue_command(command, &block)
|
129
|
+
end
|
130
|
+
|
89
131
|
# Returns multiple pivot reports in a batch. All reports must be for the same
|
90
132
|
# Entity.
|
91
133
|
# @param [Google::Apis::AnalyticsdataV1alpha::BatchRunPivotReportsRequest] batch_run_pivot_reports_request_object
|
@@ -147,37 +189,6 @@ module Google
|
|
147
189
|
execute_or_queue_command(command, &block)
|
148
190
|
end
|
149
191
|
|
150
|
-
# Returns metadata for dimensions and metrics available in reporting methods.
|
151
|
-
# Used to explore the dimensions and metrics. Dimensions and metrics will be
|
152
|
-
# mostly added over time, but renames and deletions may occur. This method
|
153
|
-
# returns Universal Metadata. Universal Metadata are dimensions and metrics
|
154
|
-
# applicable to any property such as `country` and `totalUsers`.
|
155
|
-
# @param [String] fields
|
156
|
-
# Selector specifying which fields to include in a partial response.
|
157
|
-
# @param [String] quota_user
|
158
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
159
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
160
|
-
# @param [Google::Apis::RequestOptions] options
|
161
|
-
# Request-specific options
|
162
|
-
#
|
163
|
-
# @yield [result, err] Result & error if block supplied
|
164
|
-
# @yieldparam result [Google::Apis::AnalyticsdataV1alpha::UniversalMetadata] parsed result object
|
165
|
-
# @yieldparam err [StandardError] error object if request failed
|
166
|
-
#
|
167
|
-
# @return [Google::Apis::AnalyticsdataV1alpha::UniversalMetadata]
|
168
|
-
#
|
169
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
170
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
171
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
172
|
-
def get_universal_metadata(fields: nil, quota_user: nil, options: nil, &block)
|
173
|
-
command = make_simple_command(:get, 'v1alpha/universalMetadata', options)
|
174
|
-
command.response_representation = Google::Apis::AnalyticsdataV1alpha::UniversalMetadata::Representation
|
175
|
-
command.response_class = Google::Apis::AnalyticsdataV1alpha::UniversalMetadata
|
176
|
-
command.query['fields'] = fields unless fields.nil?
|
177
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
178
|
-
execute_or_queue_command(command, &block)
|
179
|
-
end
|
180
|
-
|
181
192
|
# Returns a customized pivot report of your Google Analytics event data. Pivot
|
182
193
|
# reports are more advanced and expressive formats than regular reports. In a
|
183
194
|
# pivot report, dimensions are only visible if they are included in a pivot.
|