google-api-client 0.28.4 → 0.28.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.kokoro/build.sh +3 -5
- data/.kokoro/continuous/linux.cfg +1 -1
- data/.kokoro/presubmit/linux.cfg +1 -1
- data/CHANGELOG.md +147 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +34 -0
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +755 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +282 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +788 -0
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +46 -30
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +4 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +2 -2
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +5 -50
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -2
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +3 -2
- data/generated/google/apis/alertcenter_v1beta1/service.rb +7 -7
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +638 -0
- data/generated/google/apis/analyticsreporting_v4/representations.rb +248 -0
- data/generated/google/apis/analyticsreporting_v4/service.rb +30 -0
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +10 -10
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +8 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +2 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +59 -2
- data/generated/google/apis/androidmanagement_v1/representations.rb +33 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +43 -98
- data/generated/google/apis/appengine_v1/representations.rb +17 -35
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +0 -97
- data/generated/google/apis/appengine_v1alpha/representations.rb +0 -35
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +3 -99
- data/generated/google/apis/appengine_v1beta/representations.rb +0 -35
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +244 -173
- data/generated/google/apis/bigquery_v2/representations.rb +79 -58
- data/generated/google/apis/bigquerydatatransfer_v1.rb +3 -3
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +10 -10
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +38 -6
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +4 -4
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +66 -6
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +17 -0
- data/generated/google/apis/cloudasset_v1.rb +34 -0
- data/generated/google/apis/cloudasset_v1/classes.rb +805 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +263 -0
- data/generated/google/apis/cloudasset_v1/service.rb +190 -0
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +20 -18
- data/generated/google/apis/cloudasset_v1beta1/service.rb +4 -4
- 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 +149 -10
- data/generated/google/apis/cloudbuild_v1/representations.rb +65 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +6 -0
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +11 -4
- data/generated/google/apis/cloudfunctions_v1/service.rb +8 -2
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +2 -1
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +6 -0
- data/generated/google/apis/cloudidentity_v1.rb +7 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +13 -13
- data/generated/google/apis/cloudidentity_v1/service.rb +6 -15
- data/generated/google/apis/cloudidentity_v1beta1.rb +7 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +10 -10
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +4 -10
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +11 -11
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +7 -3
- data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +35 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +358 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +123 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +486 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +35 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1212 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +399 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +1073 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +17 -16
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +14 -15
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +14 -15
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +60 -44
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +5 -2
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +220 -48
- data/generated/google/apis/cloudsearch_v1/representations.rb +91 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +15 -13
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +10 -10
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +17 -10
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/{partners_v2.rb → cloudtasks_v2.rb} +11 -9
- data/generated/google/apis/cloudtasks_v2/classes.rb +1432 -0
- data/generated/google/apis/cloudtasks_v2/representations.rb +408 -0
- data/generated/google/apis/cloudtasks_v2/service.rb +856 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +119 -88
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +3 -2
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +122 -90
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +3 -2
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +10 -10
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +21 -15
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +165 -29
- data/generated/google/apis/composer_v1beta1/representations.rb +50 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +7147 -4656
- data/generated/google/apis/compute_alpha/representations.rb +1205 -236
- data/generated/google/apis/compute_alpha/service.rb +4338 -3274
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +5974 -4567
- data/generated/google/apis/compute_beta/representations.rb +846 -283
- data/generated/google/apis/compute_beta/service.rb +4274 -3153
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +325 -50
- data/generated/google/apis/compute_v1/representations.rb +104 -1
- data/generated/google/apis/compute_v1/service.rb +153 -2
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +1 -0
- data/generated/google/apis/container_v1/service.rb +4 -4
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +7 -0
- data/generated/google/apis/container_v1beta1/representations.rb +2 -0
- data/generated/google/apis/container_v1beta1/service.rb +4 -4
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +25 -17
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +137 -12
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +33 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +204 -93
- data/generated/google/apis/content_v2/representations.rb +49 -0
- data/generated/google/apis/content_v2/service.rb +82 -41
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +360 -209
- data/generated/google/apis/content_v2_1/representations.rb +129 -56
- data/generated/google/apis/content_v2_1/service.rb +97 -10
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +51 -19
- data/generated/google/apis/dataflow_v1b3/representations.rb +2 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +133 -25
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +20 -15
- 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 +516 -45
- data/generated/google/apis/dataproc_v1beta2/representations.rb +185 -7
- data/generated/google/apis/dataproc_v1beta2/service.rb +575 -6
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +3 -3
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +126 -77
- data/generated/google/apis/dialogflow_v2/service.rb +40 -24
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +126 -77
- data/generated/google/apis/dialogflow_v2beta1/service.rb +40 -24
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +44 -41
- data/generated/google/apis/dlp_v2/representations.rb +12 -0
- data/generated/google/apis/dlp_v2/service.rb +35 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +163 -190
- data/generated/google/apis/dns_v1/representations.rb +34 -0
- data/generated/google/apis/dns_v1/service.rb +15 -110
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +117 -248
- data/generated/google/apis/dns_v1beta2/service.rb +21 -141
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +163 -190
- data/generated/google/apis/dns_v2beta1/representations.rb +34 -0
- data/generated/google/apis/dns_v2beta1/service.rb +15 -110
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +118 -47
- data/generated/google/apis/docs_v1/representations.rb +39 -0
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +3 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +3 -2
- data/generated/google/apis/factchecktools_v1alpha1.rb +34 -0
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +459 -0
- data/generated/google/apis/factchecktools_v1alpha1/representations.rb +207 -0
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +300 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +203 -10
- data/generated/google/apis/file_v1/representations.rb +70 -0
- data/generated/google/apis/file_v1/service.rb +190 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +10 -10
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +13 -10
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/service.rb +1 -1
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +3 -0
- data/generated/google/apis/fitness_v1/service.rb +1 -45
- data/generated/google/apis/games_management_v1management.rb +2 -2
- data/generated/google/apis/games_v1.rb +2 -2
- data/generated/google/apis/genomics_v1.rb +1 -10
- data/generated/google/apis/genomics_v1/classes.rb +190 -3321
- data/generated/google/apis/genomics_v1/representations.rb +128 -1265
- data/generated/google/apis/genomics_v1/service.rb +75 -1982
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +11 -51
- data/generated/google/apis/genomics_v1alpha2/representations.rb +0 -26
- data/generated/google/apis/genomics_v1alpha2/service.rb +1 -2
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +19 -58
- data/generated/google/apis/genomics_v2alpha1/representations.rb +0 -26
- data/generated/google/apis/genomics_v2alpha1/service.rb +1 -2
- data/generated/google/apis/groupssettings_v1.rb +2 -2
- data/generated/google/apis/groupssettings_v1/classes.rb +126 -1
- data/generated/google/apis/groupssettings_v1/representations.rb +18 -0
- data/generated/google/apis/groupssettings_v1/service.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +123 -1
- data/generated/google/apis/iam_v1/representations.rb +67 -0
- data/generated/google/apis/iam_v1/service.rb +198 -5
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +8 -4
- data/generated/google/apis/iamcredentials_v1/service.rb +10 -5
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +1 -1
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +1 -1
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +7 -9
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +11 -11
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +5 -5
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +5 -5
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +5 -5
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +2 -3
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +2 -3
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +158 -36
- data/generated/google/apis/ml_v1/representations.rb +23 -2
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +8 -7
- data/generated/google/apis/monitoring_v3/service.rb +6 -1
- data/generated/google/apis/oauth2_v1.rb +2 -5
- data/generated/google/apis/oauth2_v1/classes.rb +0 -124
- data/generated/google/apis/oauth2_v1/representations.rb +0 -62
- data/generated/google/apis/oauth2_v1/service.rb +0 -159
- data/generated/google/apis/oauth2_v2.rb +2 -5
- data/generated/google/apis/people_v1.rb +3 -3
- data/generated/google/apis/people_v1/classes.rb +19 -18
- data/generated/google/apis/people_v1/service.rb +4 -0
- data/generated/google/apis/plus_domains_v1.rb +3 -3
- data/generated/google/apis/plus_v1.rb +3 -3
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/poly_v1/classes.rb +5 -4
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +8 -6
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +53 -38
- data/generated/google/apis/pubsub_v1/representations.rb +16 -0
- data/generated/google/apis/pubsub_v1/service.rb +6 -29
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +45 -1
- data/generated/google/apis/pubsub_v1beta2/representations.rb +16 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +0 -10
- data/generated/google/apis/redis_v1beta1/representations.rb +0 -1
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +42 -28
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +2 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +42 -28
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +2 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +52 -38
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +2 -0
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +32 -39
- data/generated/google/apis/reseller_v1/service.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +10 -10
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +25 -24
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +0 -6
- data/generated/google/apis/script_v1/representations.rb +0 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +73 -151
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +48 -50
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +108 -24
- data/generated/google/apis/servicecontrol_v1/representations.rb +45 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +35 -113
- data/generated/google/apis/servicemanagement_v1/service.rb +6 -3
- data/generated/google/apis/servicenetworking_v1.rb +38 -0
- data/generated/google/apis/servicenetworking_v1/classes.rb +3591 -0
- data/generated/google/apis/servicenetworking_v1/representations.rb +1082 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +440 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +32 -110
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +33 -150
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +34 -190
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +115 -26
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +2 -2
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +1 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +171 -0
- data/generated/google/apis/spanner_v1/representations.rb +49 -0
- data/generated/google/apis/spanner_v1/service.rb +51 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +107 -10
- data/generated/google/apis/speech_v1/representations.rb +24 -0
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +16 -10
- data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +11 -15
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +57 -4
- data/generated/google/apis/storage_v1/representations.rb +19 -1
- data/generated/google/apis/storagetransfer_v1.rb +2 -2
- data/generated/google/apis/storagetransfer_v1/classes.rb +28 -21
- data/generated/google/apis/storagetransfer_v1/service.rb +4 -4
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +26 -26
- data/generated/google/apis/streetviewpublish_v1/service.rb +27 -31
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/service.rb +0 -46
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +197 -292
- data/generated/google/apis/tagmanager_v2/representations.rb +62 -103
- data/generated/google/apis/tagmanager_v2/service.rb +219 -181
- data/generated/google/apis/tasks_v1.rb +2 -2
- data/generated/google/apis/tasks_v1/service.rb +5 -5
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +13 -13
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +92 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +47 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +10 -10
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +10 -10
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +7 -0
- data/generated/google/apis/vault_v1/representations.rb +1 -0
- data/generated/google/apis/videointelligence_v1.rb +3 -2
- data/generated/google/apis/videointelligence_v1/classes.rb +2193 -350
- data/generated/google/apis/videointelligence_v1/representations.rb +805 -6
- data/generated/google/apis/videointelligence_v1/service.rb +2 -1
- data/generated/google/apis/videointelligence_v1beta2.rb +3 -2
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +2448 -605
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +806 -7
- data/generated/google/apis/videointelligence_v1beta2/service.rb +2 -1
- data/generated/google/apis/videointelligence_v1p1beta1.rb +3 -2
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +2422 -579
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +806 -7
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +2 -1
- data/generated/google/apis/videointelligence_v1p2beta1.rb +3 -2
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +2645 -830
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +796 -12
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +2 -1
- data/generated/google/apis/videointelligence_v1p3beta1.rb +36 -0
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +4687 -0
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +2005 -0
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +94 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1977 -40
- data/generated/google/apis/vision_v1/representations.rb +833 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1972 -35
- data/generated/google/apis/vision_v1p1beta1/representations.rb +833 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1972 -35
- data/generated/google/apis/vision_v1p2beta1/representations.rb +833 -0
- data/generated/google/apis/websecurityscanner_v1beta.rb +34 -0
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +973 -0
- data/generated/google/apis/websecurityscanner_v1beta/representations.rb +452 -0
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +548 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/lib/google/apis/core/http_command.rb +1 -0
- data/lib/google/apis/generator/model.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +39 -8
- data/generated/google/apis/partners_v2/classes.rb +0 -2260
- data/generated/google/apis/partners_v2/representations.rb +0 -905
- data/generated/google/apis/partners_v2/service.rb +0 -1077
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/access-context-manager/docs/reference/rest/
|
26
26
|
module AccesscontextmanagerV1beta
|
27
27
|
VERSION = 'V1beta'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190307'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -204,6 +204,12 @@ module Google
|
|
204
204
|
attr_accessor :negate
|
205
205
|
alias_method :negate?, :negate
|
206
206
|
|
207
|
+
# The request must originate from one of the provided countries/regions.
|
208
|
+
# Must be valid ISO 3166-1 alpha-2 codes.
|
209
|
+
# Corresponds to the JSON property `regions`
|
210
|
+
# @return [Array<String>]
|
211
|
+
attr_accessor :regions
|
212
|
+
|
207
213
|
# A list of other access levels defined in the same `Policy`, referenced by
|
208
214
|
# resource name. Referencing an `AccessLevel` which does not exist is an
|
209
215
|
# error. All access levels listed must be granted for the Condition
|
@@ -223,6 +229,7 @@ module Google
|
|
223
229
|
@ip_subnetworks = args[:ip_subnetworks] if args.key?(:ip_subnetworks)
|
224
230
|
@members = args[:members] if args.key?(:members)
|
225
231
|
@negate = args[:negate] if args.key?(:negate)
|
232
|
+
@regions = args[:regions] if args.key?(:regions)
|
226
233
|
@required_access_levels = args[:required_access_levels] if args.key?(:required_access_levels)
|
227
234
|
end
|
228
235
|
end
|
@@ -255,6 +262,18 @@ module Google
|
|
255
262
|
# @return [Array<Google::Apis::AccesscontextmanagerV1beta::OsConstraint>]
|
256
263
|
attr_accessor :os_constraints
|
257
264
|
|
265
|
+
# Whether the device needs to be approved by the customer admin.
|
266
|
+
# Corresponds to the JSON property `requireAdminApproval`
|
267
|
+
# @return [Boolean]
|
268
|
+
attr_accessor :require_admin_approval
|
269
|
+
alias_method :require_admin_approval?, :require_admin_approval
|
270
|
+
|
271
|
+
# Whether the device needs to be corp owned.
|
272
|
+
# Corresponds to the JSON property `requireCorpOwned`
|
273
|
+
# @return [Boolean]
|
274
|
+
attr_accessor :require_corp_owned
|
275
|
+
alias_method :require_corp_owned?, :require_corp_owned
|
276
|
+
|
258
277
|
# Whether or not screenlock is required for the DevicePolicy to be true.
|
259
278
|
# Defaults to `false`.
|
260
279
|
# Corresponds to the JSON property `requireScreenlock`
|
@@ -271,6 +290,8 @@ module Google
|
|
271
290
|
@allowed_device_management_levels = args[:allowed_device_management_levels] if args.key?(:allowed_device_management_levels)
|
272
291
|
@allowed_encryption_statuses = args[:allowed_encryption_statuses] if args.key?(:allowed_encryption_statuses)
|
273
292
|
@os_constraints = args[:os_constraints] if args.key?(:os_constraints)
|
293
|
+
@require_admin_approval = args[:require_admin_approval] if args.key?(:require_admin_approval)
|
294
|
+
@require_corp_owned = args[:require_corp_owned] if args.key?(:require_corp_owned)
|
274
295
|
@require_screenlock = args[:require_screenlock] if args.key?(:require_screenlock)
|
275
296
|
end
|
276
297
|
end
|
@@ -366,14 +387,14 @@ module Google
|
|
366
387
|
attr_accessor :done
|
367
388
|
alias_method :done?, :done
|
368
389
|
|
369
|
-
# The `Status` type defines a logical error model that is suitable for
|
370
|
-
# programming environments, including REST APIs and RPC APIs. It is
|
371
|
-
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
390
|
+
# The `Status` type defines a logical error model that is suitable for
|
391
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
392
|
+
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
372
393
|
# - Simple to use and understand for most users
|
373
394
|
# - Flexible enough to meet unexpected needs
|
374
395
|
# # Overview
|
375
|
-
# The `Status` message contains three pieces of data: error code, error
|
376
|
-
# and error details. The error code should be an enum value of
|
396
|
+
# The `Status` message contains three pieces of data: error code, error
|
397
|
+
# message, and error details. The error code should be an enum value of
|
377
398
|
# google.rpc.Code, but it may accept additional error codes if needed. The
|
378
399
|
# error message should be a developer-facing English message that helps
|
379
400
|
# developers *understand* and *resolve* the error. If a localized user-facing
|
@@ -466,6 +487,15 @@ module Google
|
|
466
487
|
# @return [String]
|
467
488
|
attr_accessor :os_type
|
468
489
|
|
490
|
+
# Only allows requests from devices with a verified Chrome OS.
|
491
|
+
# Verifications includes requirements that the device is enterprise-managed,
|
492
|
+
# conformant to Dasher domain policies, and the caller has permission to call
|
493
|
+
# the API targeted by the request.
|
494
|
+
# Corresponds to the JSON property `requireVerifiedChromeOs`
|
495
|
+
# @return [Boolean]
|
496
|
+
attr_accessor :require_verified_chrome_os
|
497
|
+
alias_method :require_verified_chrome_os?, :require_verified_chrome_os
|
498
|
+
|
469
499
|
def initialize(**args)
|
470
500
|
update!(**args)
|
471
501
|
end
|
@@ -474,6 +504,7 @@ module Google
|
|
474
504
|
def update!(**args)
|
475
505
|
@minimum_version = args[:minimum_version] if args.key?(:minimum_version)
|
476
506
|
@os_type = args[:os_type] if args.key?(:os_type)
|
507
|
+
@require_verified_chrome_os = args[:require_verified_chrome_os] if args.key?(:require_verified_chrome_os)
|
477
508
|
end
|
478
509
|
end
|
479
510
|
|
@@ -572,33 +603,18 @@ module Google
|
|
572
603
|
# @return [Array<String>]
|
573
604
|
attr_accessor :resources
|
574
605
|
|
575
|
-
# GCP services that are subject to the Service Perimeter restrictions.
|
576
|
-
# contain a list of services
|
606
|
+
# GCP services that are subject to the Service Perimeter restrictions. Must
|
607
|
+
# contain a list of services. For example, if
|
577
608
|
# `storage.googleapis.com` is specified, access to the storage buckets
|
578
609
|
# inside the perimeter must meet the perimeter's access restrictions.
|
579
|
-
# Wildcard means that unless explicitly specified by "unrestricted_services"
|
580
|
-
# list, any service is treated as restricted. One of the fields
|
581
|
-
# "restricted_services", "unrestricted_services" must contain a wildcard "*",
|
582
|
-
# otherwise the Service Perimeter specification is invalid. It also means
|
583
|
-
# that both field being empty is invalid as well. "restricted_services" can
|
584
|
-
# be empty if and only if "unrestricted_services" list contains a "*"
|
585
|
-
# wildcard.
|
586
610
|
# Corresponds to the JSON property `restrictedServices`
|
587
611
|
# @return [Array<String>]
|
588
612
|
attr_accessor :restricted_services
|
589
613
|
|
590
|
-
# GCP services that are not subject to the Service Perimeter
|
591
|
-
#
|
592
|
-
# `logging.googleapis.com` is unrestricted, users can access logs inside the
|
593
|
-
# perimeter as if the perimeter doesn't exist, and it also means VMs inside
|
594
|
-
# the perimeter can access logs outside the perimeter.
|
614
|
+
# GCP services that are not subject to the Service Perimeter
|
615
|
+
# restrictions. Deprecated. Must be set to a single wildcard "*".
|
595
616
|
# The wildcard means that unless explicitly specified by
|
596
|
-
# "restricted_services" list, any service is treated as unrestricted.
|
597
|
-
# the fields "restricted_services", "unrestricted_services" must contain a
|
598
|
-
# wildcard "*", otherwise the Service Perimeter specification is invalid. It
|
599
|
-
# also means that both field being empty is invalid as well.
|
600
|
-
# "unrestricted_services" can be empty if and only if "restricted_services"
|
601
|
-
# list contains a "*" wildcard.
|
617
|
+
# "restricted_services" list, any service is treated as unrestricted.
|
602
618
|
# Corresponds to the JSON property `unrestrictedServices`
|
603
619
|
# @return [Array<String>]
|
604
620
|
attr_accessor :unrestricted_services
|
@@ -616,14 +632,14 @@ module Google
|
|
616
632
|
end
|
617
633
|
end
|
618
634
|
|
619
|
-
# The `Status` type defines a logical error model that is suitable for
|
620
|
-
# programming environments, including REST APIs and RPC APIs. It is
|
621
|
-
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
635
|
+
# The `Status` type defines a logical error model that is suitable for
|
636
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
637
|
+
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
622
638
|
# - Simple to use and understand for most users
|
623
639
|
# - Flexible enough to meet unexpected needs
|
624
640
|
# # Overview
|
625
|
-
# The `Status` message contains three pieces of data: error code, error
|
626
|
-
# and error details. The error code should be an enum value of
|
641
|
+
# The `Status` message contains three pieces of data: error code, error
|
642
|
+
# message, and error details. The error code should be an enum value of
|
627
643
|
# google.rpc.Code, but it may accept additional error codes if needed. The
|
628
644
|
# error message should be a developer-facing English message that helps
|
629
645
|
# developers *understand* and *resolve* the error. If a localized user-facing
|
@@ -141,6 +141,7 @@ module Google
|
|
141
141
|
collection :ip_subnetworks, as: 'ipSubnetworks'
|
142
142
|
collection :members, as: 'members'
|
143
143
|
property :negate, as: 'negate'
|
144
|
+
collection :regions, as: 'regions'
|
144
145
|
collection :required_access_levels, as: 'requiredAccessLevels'
|
145
146
|
end
|
146
147
|
end
|
@@ -152,6 +153,8 @@ module Google
|
|
152
153
|
collection :allowed_encryption_statuses, as: 'allowedEncryptionStatuses'
|
153
154
|
collection :os_constraints, as: 'osConstraints', class: Google::Apis::AccesscontextmanagerV1beta::OsConstraint, decorator: Google::Apis::AccesscontextmanagerV1beta::OsConstraint::Representation
|
154
155
|
|
156
|
+
property :require_admin_approval, as: 'requireAdminApproval'
|
157
|
+
property :require_corp_owned, as: 'requireCorpOwned'
|
155
158
|
property :require_screenlock, as: 'requireScreenlock'
|
156
159
|
end
|
157
160
|
end
|
@@ -200,6 +203,7 @@ module Google
|
|
200
203
|
class Representation < Google::Apis::Core::JsonRepresentation
|
201
204
|
property :minimum_version, as: 'minimumVersion'
|
202
205
|
property :os_type, as: 'osType'
|
206
|
+
property :require_verified_chrome_os, as: 'requireVerifiedChromeOs'
|
203
207
|
end
|
204
208
|
end
|
205
209
|
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://developers.google.com/authorized-buyers/apis/reference/rest/
|
28
28
|
module Adexchangebuyer2V2beta1
|
29
29
|
VERSION = 'V2beta1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20190315'
|
31
31
|
|
32
32
|
# Manage your Ad Exchange buyer account configuration
|
33
33
|
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
|
@@ -621,7 +621,7 @@ module Google
|
|
621
621
|
end
|
622
622
|
|
623
623
|
# A creative and its classification data.
|
624
|
-
# Next ID:
|
624
|
+
# Next ID: 42
|
625
625
|
class Creative
|
626
626
|
include Google::Apis::Core::Hashable
|
627
627
|
|
@@ -3044,7 +3044,7 @@ module Google
|
|
3044
3044
|
|
3045
3045
|
# The reason why the proposal is being paused.
|
3046
3046
|
# This human readable message will be displayed in the seller's UI.
|
3047
|
-
# (Max length:
|
3047
|
+
# (Max length: 1000 unicode code units.)
|
3048
3048
|
# Corresponds to the JSON property `reason`
|
3049
3049
|
# @return [String]
|
3050
3050
|
attr_accessor :reason
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/admin-sdk/directory/
|
27
27
|
module AdminDirectoryV1
|
28
28
|
VERSION = 'DirectoryV1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190214'
|
30
30
|
|
31
31
|
# View and manage customer related information
|
32
32
|
AUTH_ADMIN_DIRECTORY_CUSTOMER = 'https://www.googleapis.com/auth/admin.directory.customer'
|
@@ -318,44 +318,18 @@ module Google
|
|
318
318
|
class BuildingAddress
|
319
319
|
include Google::Apis::Core::Hashable
|
320
320
|
|
321
|
-
# Unstructured address lines describing the lower levels of an address.
|
322
|
-
# values in addressLines do not have type information and may sometimes contain
|
323
|
-
# multiple values in a single field (e.g. "Austin, TX"), it is important that
|
324
|
-
# the line order is clear. The order of address lines should be "envelope order"
|
325
|
-
# for the country/region of the address. In places where this can vary (e.g.
|
326
|
-
# Japan), address_language is used to make it explicit (e.g. "ja" for large-to-
|
327
|
-
# small ordering and "ja-Latn" or "en" for small-to-large). This way, the most
|
328
|
-
# specific line of an address can be selected based on the language. The minimum
|
329
|
-
# permitted structural representation of an address consists of a regionCode
|
330
|
-
# with all remaining information placed in the addressLines. It would be
|
331
|
-
# possible to format such an address very approximately without geocoding, but
|
332
|
-
# no semantic reasoning could be made about any of the address components until
|
333
|
-
# it was at least partially resolved. Creating an address only containing a
|
334
|
-
# regionCode and addressLines, and then geocoding is the recommended way to
|
335
|
-
# handle completely unstructured addresses (as opposed to guessing which parts
|
336
|
-
# of the address should be localities or administrative areas).
|
321
|
+
# Unstructured address lines describing the lower levels of an address.
|
337
322
|
# Corresponds to the JSON property `addressLines`
|
338
323
|
# @return [Array<String>]
|
339
324
|
attr_accessor :address_lines
|
340
325
|
|
341
326
|
# Optional. Highest administrative subdivision which is used for postal
|
342
|
-
# addresses of a country or region.
|
343
|
-
# an oblast, or a prefecture. Specifically, for Spain this is the province and
|
344
|
-
# not the autonomous community (e.g. "Barcelona" and not "Catalonia"). Many
|
345
|
-
# countries don't use an administrative area in postal addresses. E.g. in
|
346
|
-
# Switzerland this should be left unpopulated.
|
327
|
+
# addresses of a country or region.
|
347
328
|
# Corresponds to the JSON property `administrativeArea`
|
348
329
|
# @return [String]
|
349
330
|
attr_accessor :administrative_area
|
350
331
|
|
351
332
|
# Optional. BCP-47 language code of the contents of this address (if known).
|
352
|
-
# This is often the UI language of the input form or is expected to match one of
|
353
|
-
# the languages used in the address' country/region, or their transliterated
|
354
|
-
# equivalents. This can affect formatting in certain countries, but is not
|
355
|
-
# critical to the correctness of the data and will never affect any validation
|
356
|
-
# or other non-formatting related operations. If this value is not known, it
|
357
|
-
# should be omitted (rather than specifying a possibly incorrect default).
|
358
|
-
# Examples: "zh-Hant", "ja", "ja-Latn", "en".
|
359
333
|
# Corresponds to the JSON property `languageCode`
|
360
334
|
# @return [String]
|
361
335
|
attr_accessor :language_code
|
@@ -368,24 +342,17 @@ module Google
|
|
368
342
|
# @return [String]
|
369
343
|
attr_accessor :locality
|
370
344
|
|
371
|
-
# Optional. Postal code of the address.
|
372
|
-
# codes to be present, but where they are used, they may trigger additional
|
373
|
-
# validation with other parts of the address (e.g. state/zip validation in the U.
|
374
|
-
# S.A.).
|
345
|
+
# Optional. Postal code of the address.
|
375
346
|
# Corresponds to the JSON property `postalCode`
|
376
347
|
# @return [String]
|
377
348
|
attr_accessor :postal_code
|
378
349
|
|
379
|
-
# Required. CLDR region code of the country/region of the address.
|
380
|
-
# inferred and it is up to the user to ensure the value is correct. See http://
|
381
|
-
# cldr.unicode.org/ and http://www.unicode.org/cldr/charts/30/supplemental/
|
382
|
-
# territory_information.html
|
350
|
+
# Required. CLDR region code of the country/region of the address.
|
383
351
|
# Corresponds to the JSON property `regionCode`
|
384
352
|
# @return [String]
|
385
353
|
attr_accessor :region_code
|
386
354
|
|
387
|
-
# Optional. Sublocality of the address.
|
388
|
-
# boroughs, districts.
|
355
|
+
# Optional. Sublocality of the address.
|
389
356
|
# Corresponds to the JSON property `sublocality`
|
390
357
|
# @return [String]
|
391
358
|
attr_accessor :sublocality
|
@@ -3334,16 +3301,6 @@ module Google
|
|
3334
3301
|
# @return [String]
|
3335
3302
|
attr_accessor :primary_email
|
3336
3303
|
|
3337
|
-
# Recovery email of the user.
|
3338
|
-
# Corresponds to the JSON property `recoveryEmail`
|
3339
|
-
# @return [String]
|
3340
|
-
attr_accessor :recovery_email
|
3341
|
-
|
3342
|
-
# Recovery phone of the user.
|
3343
|
-
# Corresponds to the JSON property `recoveryPhone`
|
3344
|
-
# @return [String]
|
3345
|
-
attr_accessor :recovery_phone
|
3346
|
-
|
3347
3304
|
#
|
3348
3305
|
# Corresponds to the JSON property `relations`
|
3349
3306
|
# @return [Object]
|
@@ -3423,8 +3380,6 @@ module Google
|
|
3423
3380
|
@phones = args[:phones] if args.key?(:phones)
|
3424
3381
|
@posix_accounts = args[:posix_accounts] if args.key?(:posix_accounts)
|
3425
3382
|
@primary_email = args[:primary_email] if args.key?(:primary_email)
|
3426
|
-
@recovery_email = args[:recovery_email] if args.key?(:recovery_email)
|
3427
|
-
@recovery_phone = args[:recovery_phone] if args.key?(:recovery_phone)
|
3428
3383
|
@relations = args[:relations] if args.key?(:relations)
|
3429
3384
|
@ssh_public_keys = args[:ssh_public_keys] if args.key?(:ssh_public_keys)
|
3430
3385
|
@suspended = args[:suspended] if args.key?(:suspended)
|
@@ -1371,8 +1371,6 @@ module Google
|
|
1371
1371
|
property :phones, as: 'phones'
|
1372
1372
|
property :posix_accounts, as: 'posixAccounts'
|
1373
1373
|
property :primary_email, as: 'primaryEmail'
|
1374
|
-
property :recovery_email, as: 'recoveryEmail'
|
1375
|
-
property :recovery_phone, as: 'recoveryPhone'
|
1376
1374
|
property :relations, as: 'relations'
|
1377
1375
|
property :ssh_public_keys, as: 'sshPublicKeys'
|
1378
1376
|
property :suspended, as: 'suspended'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/admin-sdk/alertcenter/
|
26
26
|
module AlertcenterV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190221'
|
29
29
|
|
30
30
|
# See and delete your domain's G Suite alerts, and send alert feedback
|
31
31
|
AUTH_APPS_ALERTS = 'https://www.googleapis.com/auth/apps.alerts'
|
@@ -48,7 +48,6 @@ module Google
|
|
48
48
|
end
|
49
49
|
|
50
50
|
# An alert affecting a customer.
|
51
|
-
# All fields are read-only once created.
|
52
51
|
class Alert
|
53
52
|
include Google::Apis::Core::Hashable
|
54
53
|
|
@@ -81,7 +80,7 @@ module Google
|
|
81
80
|
|
82
81
|
# Optional. The time the event that caused this alert ceased being active.
|
83
82
|
# If provided, the end time must not be earlier than the start time.
|
84
|
-
# If not provided,
|
83
|
+
# If not provided, it indicates an ongoing alert.
|
85
84
|
# Corresponds to the JSON property `endTime`
|
86
85
|
# @return [String]
|
87
86
|
attr_accessor :end_time
|
@@ -94,6 +93,7 @@ module Google
|
|
94
93
|
attr_accessor :security_investigation_tool_link
|
95
94
|
|
96
95
|
# Required. A unique identifier for the system that reported the alert.
|
96
|
+
# This is output only after alert is created.
|
97
97
|
# Supported sources are any of the following:
|
98
98
|
# * Google Operations
|
99
99
|
# * Mobile device management
|
@@ -112,6 +112,7 @@ module Google
|
|
112
112
|
attr_accessor :start_time
|
113
113
|
|
114
114
|
# Required. The type of the alert.
|
115
|
+
# This is output only after alert is created.
|
115
116
|
# For a list of available alert types see
|
116
117
|
# [G Suite Alert types](/admin-sdk/alertcenter/reference/alert-types).
|
117
118
|
# Corresponds to the JSON property `type`
|
@@ -86,10 +86,10 @@ module Google
|
|
86
86
|
execute_or_queue_command(command, &block)
|
87
87
|
end
|
88
88
|
|
89
|
-
# Gets the specified alert.
|
89
|
+
# Gets the specified alert. Attempting to get a nonexistent alert returns
|
90
|
+
# `NOT_FOUND` error.
|
90
91
|
# @param [String] alert_id
|
91
92
|
# Required. The identifier of the alert to retrieve.
|
92
|
-
# Returns a NOT_FOUND error if no such alert.
|
93
93
|
# @param [String] customer_id
|
94
94
|
# Optional. The unique identifier of the G Suite organization account of the
|
95
95
|
# customer the alert is associated with.
|
@@ -215,10 +215,10 @@ module Google
|
|
215
215
|
execute_or_queue_command(command, &block)
|
216
216
|
end
|
217
217
|
|
218
|
-
# Creates new feedback for an alert.
|
218
|
+
# Creates new feedback for an alert. Attempting to create a feedback for
|
219
|
+
# a non-existent alert returns `NOT_FOUND` error.
|
219
220
|
# @param [String] alert_id
|
220
221
|
# Required. The identifier of the alert this feedback belongs to.
|
221
|
-
# Returns a `NOT_FOUND` error if no such alert.
|
222
222
|
# @param [Google::Apis::AlertcenterV1beta1::AlertFeedback] alert_feedback_object
|
223
223
|
# @param [String] customer_id
|
224
224
|
# Optional. The unique identifier of the G Suite organization account of the
|
@@ -254,11 +254,11 @@ module Google
|
|
254
254
|
execute_or_queue_command(command, &block)
|
255
255
|
end
|
256
256
|
|
257
|
-
# Lists all the feedback for an alert.
|
257
|
+
# Lists all the feedback for an alert. Attempting to list feedbacks for
|
258
|
+
# a non-existent alert returns `NOT_FOUND` error.
|
258
259
|
# @param [String] alert_id
|
259
260
|
# Required. The alert identifier.
|
260
261
|
# The "-" wildcard could be used to represent all alerts.
|
261
|
-
# If alert does not exist returns a `NOT_FOUND` error.
|
262
262
|
# @param [String] customer_id
|
263
263
|
# Optional. The unique identifier of the G Suite organization account of the
|
264
264
|
# customer the alert feedback are associated with.
|
@@ -330,7 +330,7 @@ module Google
|
|
330
330
|
execute_or_queue_command(command, &block)
|
331
331
|
end
|
332
332
|
|
333
|
-
#
|
333
|
+
# Updates the customer-level settings.
|
334
334
|
# @param [Google::Apis::AlertcenterV1beta1::Settings] settings_object
|
335
335
|
# @param [String] customer_id
|
336
336
|
# Optional. The unique identifier of the G Suite organization account of the
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/analytics/devguides/reporting/core/v4/
|
26
26
|
module AnalyticsreportingV4
|
27
27
|
VERSION = 'V4'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190318'
|
29
29
|
|
30
30
|
# View and manage your Google Analytics data
|
31
31
|
AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics'
|
@@ -22,6 +22,135 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module AnalyticsreportingV4
|
24
24
|
|
25
|
+
# An Activity represents data for an activity of a user. Note that an
|
26
|
+
# Activity is different from a hit.
|
27
|
+
# A hit might result in multiple Activity's. For example, if a hit
|
28
|
+
# includes a transaction and a goal completion, there will be two
|
29
|
+
# Activity protos for this hit, one for ECOMMERCE and one for GOAL.
|
30
|
+
# Conversely, multiple hits can also construct one Activity. In classic
|
31
|
+
# e-commerce, data for one transaction might be sent through multiple hits.
|
32
|
+
# These hits will be merged into one ECOMMERCE Activity.
|
33
|
+
class Activity
|
34
|
+
include Google::Apis::Core::Hashable
|
35
|
+
|
36
|
+
# Timestamp of the activity.
|
37
|
+
# Corresponds to the JSON property `activityTime`
|
38
|
+
# @return [String]
|
39
|
+
attr_accessor :activity_time
|
40
|
+
|
41
|
+
# Type of this activity.
|
42
|
+
# Corresponds to the JSON property `activityType`
|
43
|
+
# @return [String]
|
44
|
+
attr_accessor :activity_type
|
45
|
+
|
46
|
+
# This will be set if `activity_type` equals `SCREEN_VIEW`.
|
47
|
+
# Corresponds to the JSON property `appview`
|
48
|
+
# @return [Google::Apis::AnalyticsreportingV4::ScreenviewData]
|
49
|
+
attr_accessor :appview
|
50
|
+
|
51
|
+
# For manual campaign tracking, it is the value of the utm_campaign campaign
|
52
|
+
# tracking parameter. For AdWords autotagging, it is the name(s) of the
|
53
|
+
# online ad campaign(s) you use for the property. If you use neither, its
|
54
|
+
# value is (not set).
|
55
|
+
# Corresponds to the JSON property `campaign`
|
56
|
+
# @return [String]
|
57
|
+
attr_accessor :campaign
|
58
|
+
|
59
|
+
# The Channel Group associated with an end user's session for this View
|
60
|
+
# (defined by the View's Channel Groupings).
|
61
|
+
# Corresponds to the JSON property `channelGrouping`
|
62
|
+
# @return [String]
|
63
|
+
attr_accessor :channel_grouping
|
64
|
+
|
65
|
+
# A list of all custom dimensions associated with this activity.
|
66
|
+
# Corresponds to the JSON property `customDimension`
|
67
|
+
# @return [Array<Google::Apis::AnalyticsreportingV4::CustomDimension>]
|
68
|
+
attr_accessor :custom_dimension
|
69
|
+
|
70
|
+
# E-commerce details associated with the user activity.
|
71
|
+
# Corresponds to the JSON property `ecommerce`
|
72
|
+
# @return [Google::Apis::AnalyticsreportingV4::EcommerceData]
|
73
|
+
attr_accessor :ecommerce
|
74
|
+
|
75
|
+
# Represents all the details pertaining to an event.
|
76
|
+
# Corresponds to the JSON property `event`
|
77
|
+
# @return [Google::Apis::AnalyticsreportingV4::EventData]
|
78
|
+
attr_accessor :event
|
79
|
+
|
80
|
+
# Represents a set of goals that were reached in an activity.
|
81
|
+
# Corresponds to the JSON property `goals`
|
82
|
+
# @return [Google::Apis::AnalyticsreportingV4::GoalSetData]
|
83
|
+
attr_accessor :goals
|
84
|
+
|
85
|
+
# The hostname from which the tracking request was made.
|
86
|
+
# Corresponds to the JSON property `hostname`
|
87
|
+
# @return [String]
|
88
|
+
attr_accessor :hostname
|
89
|
+
|
90
|
+
# For manual campaign tracking, it is the value of the utm_term campaign
|
91
|
+
# tracking parameter. For AdWords traffic, it contains the best matching
|
92
|
+
# targeting criteria. For the display network, where multiple targeting
|
93
|
+
# criteria could have caused the ad to show up, it returns the best matching
|
94
|
+
# targeting criteria as selected by Ads. This could be display_keyword, site
|
95
|
+
# placement, boomuserlist, user_interest, age, or gender. Otherwise its value
|
96
|
+
# is (not set).
|
97
|
+
# Corresponds to the JSON property `keyword`
|
98
|
+
# @return [String]
|
99
|
+
attr_accessor :keyword
|
100
|
+
|
101
|
+
# The first page in users' sessions, or the landing page.
|
102
|
+
# Corresponds to the JSON property `landingPagePath`
|
103
|
+
# @return [String]
|
104
|
+
attr_accessor :landing_page_path
|
105
|
+
|
106
|
+
# The type of referrals. For manual campaign tracking, it is the value of the
|
107
|
+
# utm_medium campaign tracking parameter. For AdWords autotagging, it is cpc.
|
108
|
+
# If users came from a search engine detected by Google Analytics, it is
|
109
|
+
# organic. If the referrer is not a search engine, it is referral. If users
|
110
|
+
# came directly to the property and document.referrer is empty, its value is
|
111
|
+
# (none).
|
112
|
+
# Corresponds to the JSON property `medium`
|
113
|
+
# @return [String]
|
114
|
+
attr_accessor :medium
|
115
|
+
|
116
|
+
# Represents details collected when the visitor views a page.
|
117
|
+
# Corresponds to the JSON property `pageview`
|
118
|
+
# @return [Google::Apis::AnalyticsreportingV4::PageviewData]
|
119
|
+
attr_accessor :pageview
|
120
|
+
|
121
|
+
# The source of referrals. For manual campaign tracking, it is the value of
|
122
|
+
# the utm_source campaign tracking parameter. For AdWords autotagging, it is
|
123
|
+
# google. If you use neither, it is the domain of the source
|
124
|
+
# (e.g., document.referrer) referring the users. It may also contain a port
|
125
|
+
# address. If users arrived without a referrer, its value is (direct).
|
126
|
+
# Corresponds to the JSON property `source`
|
127
|
+
# @return [String]
|
128
|
+
attr_accessor :source
|
129
|
+
|
130
|
+
def initialize(**args)
|
131
|
+
update!(**args)
|
132
|
+
end
|
133
|
+
|
134
|
+
# Update properties of this object
|
135
|
+
def update!(**args)
|
136
|
+
@activity_time = args[:activity_time] if args.key?(:activity_time)
|
137
|
+
@activity_type = args[:activity_type] if args.key?(:activity_type)
|
138
|
+
@appview = args[:appview] if args.key?(:appview)
|
139
|
+
@campaign = args[:campaign] if args.key?(:campaign)
|
140
|
+
@channel_grouping = args[:channel_grouping] if args.key?(:channel_grouping)
|
141
|
+
@custom_dimension = args[:custom_dimension] if args.key?(:custom_dimension)
|
142
|
+
@ecommerce = args[:ecommerce] if args.key?(:ecommerce)
|
143
|
+
@event = args[:event] if args.key?(:event)
|
144
|
+
@goals = args[:goals] if args.key?(:goals)
|
145
|
+
@hostname = args[:hostname] if args.key?(:hostname)
|
146
|
+
@keyword = args[:keyword] if args.key?(:keyword)
|
147
|
+
@landing_page_path = args[:landing_page_path] if args.key?(:landing_page_path)
|
148
|
+
@medium = args[:medium] if args.key?(:medium)
|
149
|
+
@pageview = args[:pageview] if args.key?(:pageview)
|
150
|
+
@source = args[:source] if args.key?(:source)
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
25
154
|
# Defines a cohort. A cohort is a group of users who share a common
|
26
155
|
# characteristic. For example, all users with the same acquisition date
|
27
156
|
# belong to the same cohort.
|
@@ -149,6 +278,32 @@ module Google
|
|
149
278
|
end
|
150
279
|
end
|
151
280
|
|
281
|
+
# Custom dimension.
|
282
|
+
class CustomDimension
|
283
|
+
include Google::Apis::Core::Hashable
|
284
|
+
|
285
|
+
# Slot number of custom dimension.
|
286
|
+
# Corresponds to the JSON property `index`
|
287
|
+
# @return [Fixnum]
|
288
|
+
attr_accessor :index
|
289
|
+
|
290
|
+
# Value of the custom dimension. Default value (i.e. empty string) indicates
|
291
|
+
# clearing sesion/visitor scope custom dimension value.
|
292
|
+
# Corresponds to the JSON property `value`
|
293
|
+
# @return [String]
|
294
|
+
attr_accessor :value
|
295
|
+
|
296
|
+
def initialize(**args)
|
297
|
+
update!(**args)
|
298
|
+
end
|
299
|
+
|
300
|
+
# Update properties of this object
|
301
|
+
def update!(**args)
|
302
|
+
@index = args[:index] if args.key?(:index)
|
303
|
+
@value = args[:value] if args.key?(:value)
|
304
|
+
end
|
305
|
+
end
|
306
|
+
|
152
307
|
# A contiguous set of days: startDate, startDate + 1 day, ..., endDate.
|
153
308
|
# The start and end dates are specified in
|
154
309
|
# [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) date format `YYYY-MM-DD`.
|
@@ -365,6 +520,87 @@ module Google
|
|
365
520
|
end
|
366
521
|
end
|
367
522
|
|
523
|
+
# E-commerce details associated with the user activity.
|
524
|
+
class EcommerceData
|
525
|
+
include Google::Apis::Core::Hashable
|
526
|
+
|
527
|
+
# Action associated with this e-commerce action.
|
528
|
+
# Corresponds to the JSON property `actionType`
|
529
|
+
# @return [String]
|
530
|
+
attr_accessor :action_type
|
531
|
+
|
532
|
+
# The type of this e-commerce activity.
|
533
|
+
# Corresponds to the JSON property `ecommerceType`
|
534
|
+
# @return [String]
|
535
|
+
attr_accessor :ecommerce_type
|
536
|
+
|
537
|
+
# Details of the products in this transaction.
|
538
|
+
# Corresponds to the JSON property `products`
|
539
|
+
# @return [Array<Google::Apis::AnalyticsreportingV4::ProductData>]
|
540
|
+
attr_accessor :products
|
541
|
+
|
542
|
+
# Represents details collected when the visitor performs a transaction on the
|
543
|
+
# page.
|
544
|
+
# Corresponds to the JSON property `transaction`
|
545
|
+
# @return [Google::Apis::AnalyticsreportingV4::TransactionData]
|
546
|
+
attr_accessor :transaction
|
547
|
+
|
548
|
+
def initialize(**args)
|
549
|
+
update!(**args)
|
550
|
+
end
|
551
|
+
|
552
|
+
# Update properties of this object
|
553
|
+
def update!(**args)
|
554
|
+
@action_type = args[:action_type] if args.key?(:action_type)
|
555
|
+
@ecommerce_type = args[:ecommerce_type] if args.key?(:ecommerce_type)
|
556
|
+
@products = args[:products] if args.key?(:products)
|
557
|
+
@transaction = args[:transaction] if args.key?(:transaction)
|
558
|
+
end
|
559
|
+
end
|
560
|
+
|
561
|
+
# Represents all the details pertaining to an event.
|
562
|
+
class EventData
|
563
|
+
include Google::Apis::Core::Hashable
|
564
|
+
|
565
|
+
# Type of interaction with the object. Eg: 'play'.
|
566
|
+
# Corresponds to the JSON property `eventAction`
|
567
|
+
# @return [String]
|
568
|
+
attr_accessor :event_action
|
569
|
+
|
570
|
+
# The object on the page that was interacted with. Eg: 'Video'.
|
571
|
+
# Corresponds to the JSON property `eventCategory`
|
572
|
+
# @return [String]
|
573
|
+
attr_accessor :event_category
|
574
|
+
|
575
|
+
# Number of such events in this activity.
|
576
|
+
# Corresponds to the JSON property `eventCount`
|
577
|
+
# @return [Fixnum]
|
578
|
+
attr_accessor :event_count
|
579
|
+
|
580
|
+
# Label attached with the event.
|
581
|
+
# Corresponds to the JSON property `eventLabel`
|
582
|
+
# @return [String]
|
583
|
+
attr_accessor :event_label
|
584
|
+
|
585
|
+
# Numeric value associated with the event.
|
586
|
+
# Corresponds to the JSON property `eventValue`
|
587
|
+
# @return [Fixnum]
|
588
|
+
attr_accessor :event_value
|
589
|
+
|
590
|
+
def initialize(**args)
|
591
|
+
update!(**args)
|
592
|
+
end
|
593
|
+
|
594
|
+
# Update properties of this object
|
595
|
+
def update!(**args)
|
596
|
+
@event_action = args[:event_action] if args.key?(:event_action)
|
597
|
+
@event_category = args[:event_category] if args.key?(:event_category)
|
598
|
+
@event_count = args[:event_count] if args.key?(:event_count)
|
599
|
+
@event_label = args[:event_label] if args.key?(:event_label)
|
600
|
+
@event_value = args[:event_value] if args.key?(:event_value)
|
601
|
+
end
|
602
|
+
end
|
603
|
+
|
368
604
|
# The batch request containing multiple report request.
|
369
605
|
class GetReportsRequest
|
370
606
|
include Google::Apis::Core::Hashable
|
@@ -436,6 +672,86 @@ module Google
|
|
436
672
|
end
|
437
673
|
end
|
438
674
|
|
675
|
+
# Represents all the details pertaining to a goal.
|
676
|
+
class GoalData
|
677
|
+
include Google::Apis::Core::Hashable
|
678
|
+
|
679
|
+
# URL of the page where this goal was completed.
|
680
|
+
# Corresponds to the JSON property `goalCompletionLocation`
|
681
|
+
# @return [String]
|
682
|
+
attr_accessor :goal_completion_location
|
683
|
+
|
684
|
+
# Total number of goal completions in this activity.
|
685
|
+
# Corresponds to the JSON property `goalCompletions`
|
686
|
+
# @return [Fixnum]
|
687
|
+
attr_accessor :goal_completions
|
688
|
+
|
689
|
+
# This identifies the goal as configured for the profile.
|
690
|
+
# Corresponds to the JSON property `goalIndex`
|
691
|
+
# @return [Fixnum]
|
692
|
+
attr_accessor :goal_index
|
693
|
+
|
694
|
+
# Name of the goal.
|
695
|
+
# Corresponds to the JSON property `goalName`
|
696
|
+
# @return [String]
|
697
|
+
attr_accessor :goal_name
|
698
|
+
|
699
|
+
# URL of the page one step prior to the goal completion.
|
700
|
+
# Corresponds to the JSON property `goalPreviousStep1`
|
701
|
+
# @return [String]
|
702
|
+
attr_accessor :goal_previous_step1
|
703
|
+
|
704
|
+
# URL of the page two steps prior to the goal completion.
|
705
|
+
# Corresponds to the JSON property `goalPreviousStep2`
|
706
|
+
# @return [String]
|
707
|
+
attr_accessor :goal_previous_step2
|
708
|
+
|
709
|
+
# URL of the page three steps prior to the goal completion.
|
710
|
+
# Corresponds to the JSON property `goalPreviousStep3`
|
711
|
+
# @return [String]
|
712
|
+
attr_accessor :goal_previous_step3
|
713
|
+
|
714
|
+
# Value in this goal.
|
715
|
+
# Corresponds to the JSON property `goalValue`
|
716
|
+
# @return [Float]
|
717
|
+
attr_accessor :goal_value
|
718
|
+
|
719
|
+
def initialize(**args)
|
720
|
+
update!(**args)
|
721
|
+
end
|
722
|
+
|
723
|
+
# Update properties of this object
|
724
|
+
def update!(**args)
|
725
|
+
@goal_completion_location = args[:goal_completion_location] if args.key?(:goal_completion_location)
|
726
|
+
@goal_completions = args[:goal_completions] if args.key?(:goal_completions)
|
727
|
+
@goal_index = args[:goal_index] if args.key?(:goal_index)
|
728
|
+
@goal_name = args[:goal_name] if args.key?(:goal_name)
|
729
|
+
@goal_previous_step1 = args[:goal_previous_step1] if args.key?(:goal_previous_step1)
|
730
|
+
@goal_previous_step2 = args[:goal_previous_step2] if args.key?(:goal_previous_step2)
|
731
|
+
@goal_previous_step3 = args[:goal_previous_step3] if args.key?(:goal_previous_step3)
|
732
|
+
@goal_value = args[:goal_value] if args.key?(:goal_value)
|
733
|
+
end
|
734
|
+
end
|
735
|
+
|
736
|
+
# Represents a set of goals that were reached in an activity.
|
737
|
+
class GoalSetData
|
738
|
+
include Google::Apis::Core::Hashable
|
739
|
+
|
740
|
+
# All the goals that were reached in the current activity.
|
741
|
+
# Corresponds to the JSON property `goals`
|
742
|
+
# @return [Array<Google::Apis::AnalyticsreportingV4::GoalData>]
|
743
|
+
attr_accessor :goals
|
744
|
+
|
745
|
+
def initialize(**args)
|
746
|
+
update!(**args)
|
747
|
+
end
|
748
|
+
|
749
|
+
# Update properties of this object
|
750
|
+
def update!(**args)
|
751
|
+
@goals = args[:goals] if args.key?(:goals)
|
752
|
+
end
|
753
|
+
end
|
754
|
+
|
439
755
|
# [Metrics](https://support.google.com/analytics/answer/1033861)
|
440
756
|
# are the quantitative measurements. For example, the metric `ga:users`
|
441
757
|
# indicates the total number of users for the requested time period.
|
@@ -657,6 +973,31 @@ module Google
|
|
657
973
|
end
|
658
974
|
end
|
659
975
|
|
976
|
+
# Represents details collected when the visitor views a page.
|
977
|
+
class PageviewData
|
978
|
+
include Google::Apis::Core::Hashable
|
979
|
+
|
980
|
+
# The URL of the page that the visitor viewed.
|
981
|
+
# Corresponds to the JSON property `pagePath`
|
982
|
+
# @return [String]
|
983
|
+
attr_accessor :page_path
|
984
|
+
|
985
|
+
# The title of the page that the visitor viewed.
|
986
|
+
# Corresponds to the JSON property `pageTitle`
|
987
|
+
# @return [String]
|
988
|
+
attr_accessor :page_title
|
989
|
+
|
990
|
+
def initialize(**args)
|
991
|
+
update!(**args)
|
992
|
+
end
|
993
|
+
|
994
|
+
# Update properties of this object
|
995
|
+
def update!(**args)
|
996
|
+
@page_path = args[:page_path] if args.key?(:page_path)
|
997
|
+
@page_title = args[:page_title] if args.key?(:page_title)
|
998
|
+
end
|
999
|
+
end
|
1000
|
+
|
660
1001
|
# The Pivot describes the pivot section in the request.
|
661
1002
|
# The Pivot helps rearrange the information in the table for certain reports
|
662
1003
|
# by pivoting your data on a second dimension.
|
@@ -799,6 +1140,44 @@ module Google
|
|
799
1140
|
end
|
800
1141
|
end
|
801
1142
|
|
1143
|
+
# Details of the products in an e-commerce transaction.
|
1144
|
+
class ProductData
|
1145
|
+
include Google::Apis::Core::Hashable
|
1146
|
+
|
1147
|
+
# The total revenue from purchased product items.
|
1148
|
+
# Corresponds to the JSON property `itemRevenue`
|
1149
|
+
# @return [Float]
|
1150
|
+
attr_accessor :item_revenue
|
1151
|
+
|
1152
|
+
# The product name, supplied by the e-commerce tracking application, for
|
1153
|
+
# the purchased items.
|
1154
|
+
# Corresponds to the JSON property `productName`
|
1155
|
+
# @return [String]
|
1156
|
+
attr_accessor :product_name
|
1157
|
+
|
1158
|
+
# Total number of this product units in the transaction.
|
1159
|
+
# Corresponds to the JSON property `productQuantity`
|
1160
|
+
# @return [Fixnum]
|
1161
|
+
attr_accessor :product_quantity
|
1162
|
+
|
1163
|
+
# Unique code that represents the product.
|
1164
|
+
# Corresponds to the JSON property `productSku`
|
1165
|
+
# @return [String]
|
1166
|
+
attr_accessor :product_sku
|
1167
|
+
|
1168
|
+
def initialize(**args)
|
1169
|
+
update!(**args)
|
1170
|
+
end
|
1171
|
+
|
1172
|
+
# Update properties of this object
|
1173
|
+
def update!(**args)
|
1174
|
+
@item_revenue = args[:item_revenue] if args.key?(:item_revenue)
|
1175
|
+
@product_name = args[:product_name] if args.key?(:product_name)
|
1176
|
+
@product_quantity = args[:product_quantity] if args.key?(:product_quantity)
|
1177
|
+
@product_sku = args[:product_sku] if args.key?(:product_sku)
|
1178
|
+
end
|
1179
|
+
end
|
1180
|
+
|
802
1181
|
# The data response corresponding to the request.
|
803
1182
|
class Report
|
804
1183
|
include Google::Apis::Core::Hashable
|
@@ -1159,6 +1538,148 @@ module Google
|
|
1159
1538
|
end
|
1160
1539
|
end
|
1161
1540
|
|
1541
|
+
#
|
1542
|
+
class ScreenviewData
|
1543
|
+
include Google::Apis::Core::Hashable
|
1544
|
+
|
1545
|
+
# The application name.
|
1546
|
+
# Corresponds to the JSON property `appName`
|
1547
|
+
# @return [String]
|
1548
|
+
attr_accessor :app_name
|
1549
|
+
|
1550
|
+
# Mobile manufacturer or branded name. Eg: "Google", "Apple" etc.
|
1551
|
+
# Corresponds to the JSON property `mobileDeviceBranding`
|
1552
|
+
# @return [String]
|
1553
|
+
attr_accessor :mobile_device_branding
|
1554
|
+
|
1555
|
+
# Mobile device model. Eg: "Pixel", "iPhone" etc.
|
1556
|
+
# Corresponds to the JSON property `mobileDeviceModel`
|
1557
|
+
# @return [String]
|
1558
|
+
attr_accessor :mobile_device_model
|
1559
|
+
|
1560
|
+
# The name of the screen.
|
1561
|
+
# Corresponds to the JSON property `screenName`
|
1562
|
+
# @return [String]
|
1563
|
+
attr_accessor :screen_name
|
1564
|
+
|
1565
|
+
def initialize(**args)
|
1566
|
+
update!(**args)
|
1567
|
+
end
|
1568
|
+
|
1569
|
+
# Update properties of this object
|
1570
|
+
def update!(**args)
|
1571
|
+
@app_name = args[:app_name] if args.key?(:app_name)
|
1572
|
+
@mobile_device_branding = args[:mobile_device_branding] if args.key?(:mobile_device_branding)
|
1573
|
+
@mobile_device_model = args[:mobile_device_model] if args.key?(:mobile_device_model)
|
1574
|
+
@screen_name = args[:screen_name] if args.key?(:screen_name)
|
1575
|
+
end
|
1576
|
+
end
|
1577
|
+
|
1578
|
+
# The request to fetch User Report from Reporting API `userActivity:get` call.
|
1579
|
+
class SearchUserActivityRequest
|
1580
|
+
include Google::Apis::Core::Hashable
|
1581
|
+
|
1582
|
+
# Set of all activity types being requested. Only acvities matching these
|
1583
|
+
# types will be returned in the response. If empty, all activies will be
|
1584
|
+
# returned.
|
1585
|
+
# Corresponds to the JSON property `activityTypes`
|
1586
|
+
# @return [Array<String>]
|
1587
|
+
attr_accessor :activity_types
|
1588
|
+
|
1589
|
+
# A contiguous set of days: startDate, startDate + 1 day, ..., endDate.
|
1590
|
+
# The start and end dates are specified in
|
1591
|
+
# [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) date format `YYYY-MM-DD`.
|
1592
|
+
# Corresponds to the JSON property `dateRange`
|
1593
|
+
# @return [Google::Apis::AnalyticsreportingV4::DateRange]
|
1594
|
+
attr_accessor :date_range
|
1595
|
+
|
1596
|
+
# Page size is for paging and specifies the maximum number of returned rows.
|
1597
|
+
# Page size should be > 0. If the value is 0 or if the field isn't specified,
|
1598
|
+
# the request returns the default of 1000 rows per page.
|
1599
|
+
# Corresponds to the JSON property `pageSize`
|
1600
|
+
# @return [Fixnum]
|
1601
|
+
attr_accessor :page_size
|
1602
|
+
|
1603
|
+
# A continuation token to get the next page of the results. Adding this to
|
1604
|
+
# the request will return the rows after the pageToken. The pageToken should
|
1605
|
+
# be the value returned in the nextPageToken parameter in the response to
|
1606
|
+
# the [SearchUserActivityRequest](#SearchUserActivityRequest) request.
|
1607
|
+
# Corresponds to the JSON property `pageToken`
|
1608
|
+
# @return [String]
|
1609
|
+
attr_accessor :page_token
|
1610
|
+
|
1611
|
+
# Contains information to identify a particular user uniquely.
|
1612
|
+
# Corresponds to the JSON property `user`
|
1613
|
+
# @return [Google::Apis::AnalyticsreportingV4::User]
|
1614
|
+
attr_accessor :user
|
1615
|
+
|
1616
|
+
# Required. The Analytics
|
1617
|
+
# [view ID](https://support.google.com/analytics/answer/1009618)
|
1618
|
+
# from which to retrieve data. Every
|
1619
|
+
# [SearchUserActivityRequest](#SearchUserActivityRequest) must contain the
|
1620
|
+
# `viewId`.
|
1621
|
+
# Corresponds to the JSON property `viewId`
|
1622
|
+
# @return [String]
|
1623
|
+
attr_accessor :view_id
|
1624
|
+
|
1625
|
+
def initialize(**args)
|
1626
|
+
update!(**args)
|
1627
|
+
end
|
1628
|
+
|
1629
|
+
# Update properties of this object
|
1630
|
+
def update!(**args)
|
1631
|
+
@activity_types = args[:activity_types] if args.key?(:activity_types)
|
1632
|
+
@date_range = args[:date_range] if args.key?(:date_range)
|
1633
|
+
@page_size = args[:page_size] if args.key?(:page_size)
|
1634
|
+
@page_token = args[:page_token] if args.key?(:page_token)
|
1635
|
+
@user = args[:user] if args.key?(:user)
|
1636
|
+
@view_id = args[:view_id] if args.key?(:view_id)
|
1637
|
+
end
|
1638
|
+
end
|
1639
|
+
|
1640
|
+
# The response from `userActivity:get` call.
|
1641
|
+
class SearchUserActivityResponse
|
1642
|
+
include Google::Apis::Core::Hashable
|
1643
|
+
|
1644
|
+
# This token should be passed to
|
1645
|
+
# [SearchUserActivityRequest](#SearchUserActivityRequest) to retrieve the
|
1646
|
+
# next page.
|
1647
|
+
# Corresponds to the JSON property `nextPageToken`
|
1648
|
+
# @return [String]
|
1649
|
+
attr_accessor :next_page_token
|
1650
|
+
|
1651
|
+
# This field represents the
|
1652
|
+
# [sampling rate](https://support.google.com/analytics/answer/2637192) for
|
1653
|
+
# the given request and is a number between 0.0 to 1.0. See
|
1654
|
+
# [developer guide](/analytics/devguides/reporting/core/v4/basics#sampling)
|
1655
|
+
# for details.
|
1656
|
+
# Corresponds to the JSON property `sampleRate`
|
1657
|
+
# @return [Float]
|
1658
|
+
attr_accessor :sample_rate
|
1659
|
+
|
1660
|
+
# Each record represents a session (device details, duration, etc).
|
1661
|
+
# Corresponds to the JSON property `sessions`
|
1662
|
+
# @return [Array<Google::Apis::AnalyticsreportingV4::UserActivitySession>]
|
1663
|
+
attr_accessor :sessions
|
1664
|
+
|
1665
|
+
# Total rows returned by this query (across different pages).
|
1666
|
+
# Corresponds to the JSON property `totalRows`
|
1667
|
+
# @return [Fixnum]
|
1668
|
+
attr_accessor :total_rows
|
1669
|
+
|
1670
|
+
def initialize(**args)
|
1671
|
+
update!(**args)
|
1672
|
+
end
|
1673
|
+
|
1674
|
+
# Update properties of this object
|
1675
|
+
def update!(**args)
|
1676
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1677
|
+
@sample_rate = args[:sample_rate] if args.key?(:sample_rate)
|
1678
|
+
@sessions = args[:sessions] if args.key?(:sessions)
|
1679
|
+
@total_rows = args[:total_rows] if args.key?(:total_rows)
|
1680
|
+
end
|
1681
|
+
end
|
1682
|
+
|
1162
1683
|
# The segment definition, if the report needs to be segmented.
|
1163
1684
|
# A Segment is a subset of the Analytics data. For example, of the entire
|
1164
1685
|
# set of users, one Segment might be users from a particular country or city.
|
@@ -1471,6 +1992,123 @@ module Google
|
|
1471
1992
|
@or_filters_for_segment = args[:or_filters_for_segment] if args.key?(:or_filters_for_segment)
|
1472
1993
|
end
|
1473
1994
|
end
|
1995
|
+
|
1996
|
+
# Represents details collected when the visitor performs a transaction on the
|
1997
|
+
# page.
|
1998
|
+
class TransactionData
|
1999
|
+
include Google::Apis::Core::Hashable
|
2000
|
+
|
2001
|
+
# The transaction ID, supplied by the e-commerce tracking method, for the
|
2002
|
+
# purchase in the shopping cart.
|
2003
|
+
# Corresponds to the JSON property `transactionId`
|
2004
|
+
# @return [String]
|
2005
|
+
attr_accessor :transaction_id
|
2006
|
+
|
2007
|
+
# The total sale revenue (excluding shipping and tax) of the transaction.
|
2008
|
+
# Corresponds to the JSON property `transactionRevenue`
|
2009
|
+
# @return [Float]
|
2010
|
+
attr_accessor :transaction_revenue
|
2011
|
+
|
2012
|
+
# Total cost of shipping.
|
2013
|
+
# Corresponds to the JSON property `transactionShipping`
|
2014
|
+
# @return [Float]
|
2015
|
+
attr_accessor :transaction_shipping
|
2016
|
+
|
2017
|
+
# Total tax for the transaction.
|
2018
|
+
# Corresponds to the JSON property `transactionTax`
|
2019
|
+
# @return [Float]
|
2020
|
+
attr_accessor :transaction_tax
|
2021
|
+
|
2022
|
+
def initialize(**args)
|
2023
|
+
update!(**args)
|
2024
|
+
end
|
2025
|
+
|
2026
|
+
# Update properties of this object
|
2027
|
+
def update!(**args)
|
2028
|
+
@transaction_id = args[:transaction_id] if args.key?(:transaction_id)
|
2029
|
+
@transaction_revenue = args[:transaction_revenue] if args.key?(:transaction_revenue)
|
2030
|
+
@transaction_shipping = args[:transaction_shipping] if args.key?(:transaction_shipping)
|
2031
|
+
@transaction_tax = args[:transaction_tax] if args.key?(:transaction_tax)
|
2032
|
+
end
|
2033
|
+
end
|
2034
|
+
|
2035
|
+
# Contains information to identify a particular user uniquely.
|
2036
|
+
class User
|
2037
|
+
include Google::Apis::Core::Hashable
|
2038
|
+
|
2039
|
+
# Type of the user in the request. The field `userId` is associated with this
|
2040
|
+
# type.
|
2041
|
+
# Corresponds to the JSON property `type`
|
2042
|
+
# @return [String]
|
2043
|
+
attr_accessor :type
|
2044
|
+
|
2045
|
+
# Unique Id of the user for which the data is being requested.
|
2046
|
+
# Corresponds to the JSON property `userId`
|
2047
|
+
# @return [String]
|
2048
|
+
attr_accessor :user_id
|
2049
|
+
|
2050
|
+
def initialize(**args)
|
2051
|
+
update!(**args)
|
2052
|
+
end
|
2053
|
+
|
2054
|
+
# Update properties of this object
|
2055
|
+
def update!(**args)
|
2056
|
+
@type = args[:type] if args.key?(:type)
|
2057
|
+
@user_id = args[:user_id] if args.key?(:user_id)
|
2058
|
+
end
|
2059
|
+
end
|
2060
|
+
|
2061
|
+
# This represents a user session performed on a specific device at a certain
|
2062
|
+
# time over a period of time.
|
2063
|
+
class UserActivitySession
|
2064
|
+
include Google::Apis::Core::Hashable
|
2065
|
+
|
2066
|
+
# Represents a detailed view into each of the activity in this session.
|
2067
|
+
# Corresponds to the JSON property `activities`
|
2068
|
+
# @return [Array<Google::Apis::AnalyticsreportingV4::Activity>]
|
2069
|
+
attr_accessor :activities
|
2070
|
+
|
2071
|
+
# The data source of a hit. By default, hits sent from analytics.js are
|
2072
|
+
# reported as "web" and hits sent from the mobile SDKs are reported as "app".
|
2073
|
+
# These values can be overridden in the Measurement Protocol.
|
2074
|
+
# Corresponds to the JSON property `dataSource`
|
2075
|
+
# @return [String]
|
2076
|
+
attr_accessor :data_source
|
2077
|
+
|
2078
|
+
# The type of device used: "mobile", "tablet" etc.
|
2079
|
+
# Corresponds to the JSON property `deviceCategory`
|
2080
|
+
# @return [String]
|
2081
|
+
attr_accessor :device_category
|
2082
|
+
|
2083
|
+
# Platform on which the activity happened: "android", "ios" etc.
|
2084
|
+
# Corresponds to the JSON property `platform`
|
2085
|
+
# @return [String]
|
2086
|
+
attr_accessor :platform
|
2087
|
+
|
2088
|
+
# Date of this session in ISO-8601 format.
|
2089
|
+
# Corresponds to the JSON property `sessionDate`
|
2090
|
+
# @return [String]
|
2091
|
+
attr_accessor :session_date
|
2092
|
+
|
2093
|
+
# Unique ID of the session.
|
2094
|
+
# Corresponds to the JSON property `sessionId`
|
2095
|
+
# @return [String]
|
2096
|
+
attr_accessor :session_id
|
2097
|
+
|
2098
|
+
def initialize(**args)
|
2099
|
+
update!(**args)
|
2100
|
+
end
|
2101
|
+
|
2102
|
+
# Update properties of this object
|
2103
|
+
def update!(**args)
|
2104
|
+
@activities = args[:activities] if args.key?(:activities)
|
2105
|
+
@data_source = args[:data_source] if args.key?(:data_source)
|
2106
|
+
@device_category = args[:device_category] if args.key?(:device_category)
|
2107
|
+
@platform = args[:platform] if args.key?(:platform)
|
2108
|
+
@session_date = args[:session_date] if args.key?(:session_date)
|
2109
|
+
@session_id = args[:session_id] if args.key?(:session_id)
|
2110
|
+
end
|
2111
|
+
end
|
1474
2112
|
end
|
1475
2113
|
end
|
1476
2114
|
end
|