google-api-client 0.20.1 → 0.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +140 -0
- data/README.md +3 -12
- data/generated/google/apis/abusiveexperiencereport_v1.rb +2 -2
- data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +1 -0
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +11 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_2.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_2/service.rb +24 -40
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +66 -110
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +117 -195
- data/generated/google/apis/adexchangeseller_v1.rb +1 -1
- data/generated/google/apis/adexchangeseller_v1/service.rb +36 -60
- data/generated/google/apis/adexchangeseller_v1_1.rb +1 -1
- data/generated/google/apis/adexchangeseller_v1_1/service.rb +54 -90
- data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +45 -75
- data/generated/google/apis/adexperiencereport_v1.rb +2 -2
- data/generated/google/apis/adexperiencereport_v1/classes.rb +1 -0
- data/generated/google/apis/adexperiencereport_v1/service.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1/service.rb +18 -30
- data/generated/google/apis/admin_directory_v1.rb +3 -3
- data/generated/google/apis/admin_directory_v1/classes.rb +18 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +3 -0
- data/generated/google/apis/admin_directory_v1/service.rb +363 -577
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1/service.rb +21 -35
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/service.rb +117 -195
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +81 -135
- data/generated/google/apis/analytics_v2_4.rb +1 -1
- data/generated/google/apis/analytics_v2_4/service.rb +21 -35
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +32 -60
- data/generated/google/apis/analytics_v3/representations.rb +8 -12
- data/generated/google/apis/analytics_v3/service.rb +261 -435
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +8 -12
- data/generated/google/apis/androidenterprise_v1/service.rb +254 -425
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +38 -6
- data/generated/google/apis/androidmanagement_v1/representations.rb +18 -0
- data/generated/google/apis/androidpublisher_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1/service.rb +9 -15
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1/service.rb +12 -20
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +102 -1
- data/generated/google/apis/androidpublisher_v2/representations.rb +46 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +255 -286
- data/generated/google/apis/androidpublisher_v3.rb +34 -0
- data/generated/google/apis/androidpublisher_v3/classes.rb +1899 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +882 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +2208 -0
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsactivity_v1/service.rb +6 -10
- data/generated/google/apis/appsmarket_v2/service.rb +12 -20
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/appstate_v1/service.rb +18 -30
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +67 -9
- data/generated/google/apis/bigquery_v2/representations.rb +22 -0
- data/generated/google/apis/bigquery_v2/service.rb +69 -115
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +1 -2
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +2 -2
- data/generated/google/apis/blogger_v2/service.rb +30 -50
- data/generated/google/apis/blogger_v3/service.rb +102 -170
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +156 -260
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +114 -190
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +6 -0
- data/generated/google/apis/chat_v1/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2/service.rb +18 -30
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +0 -69
- data/generated/google/apis/classroom_v1/representations.rb +0 -31
- data/generated/google/apis/classroom_v1/service.rb +0 -88
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +0 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +2 -1
- data/generated/google/apis/cloudfunctions_v1.rb +3 -4
- data/generated/google/apis/cloudfunctions_v1/classes.rb +14 -0
- data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +3 -4
- data/generated/google/apis/cloudfunctions_v1beta2.rb +3 -4
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +14 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +2 -0
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +3 -4
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +29 -7
- data/generated/google/apis/cloudiot_v1/service.rb +398 -1
- data/generated/google/apis/cloudkms_v1.rb +2 -2
- data/generated/google/apis/cloudkms_v1/classes.rb +29 -7
- data/generated/google/apis/cloudkms_v1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +30 -8
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +5 -3
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +29 -7
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +29 -7
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +29 -7
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +39 -10
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +9 -11
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +1 -1
- data/generated/google/apis/{dlp_v2beta1.rb → composer_v1beta1.rb} +9 -11
- data/generated/google/apis/composer_v1beta1/classes.rb +643 -0
- data/generated/google/apis/composer_v1beta1/representations.rb +195 -0
- data/generated/google/apis/composer_v1beta1/service.rb +462 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +3939 -2239
- data/generated/google/apis/compute_alpha/representations.rb +1063 -335
- data/generated/google/apis/compute_alpha/service.rb +3532 -3368
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +150 -53
- data/generated/google/apis/compute_beta/representations.rb +23 -0
- data/generated/google/apis/compute_beta/service.rb +1269 -2077
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +46 -43
- data/generated/google/apis/compute_v1/service.rb +1022 -1666
- data/generated/google/apis/container_v1.rb +2 -2
- data/generated/google/apis/container_v1/classes.rb +20 -15
- data/generated/google/apis/container_v1/representations.rb +1 -0
- data/generated/google/apis/container_v1/service.rb +33 -31
- data/generated/google/apis/container_v1beta1.rb +2 -2
- data/generated/google/apis/container_v1beta1/classes.rb +186 -14
- data/generated/google/apis/container_v1beta1/representations.rb +77 -0
- data/generated/google/apis/container_v1beta1/service.rb +111 -31
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +173 -8
- data/generated/google/apis/content_v2/representations.rb +71 -0
- data/generated/google/apis/content_v2/service.rb +246 -410
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +75 -8
- data/generated/google/apis/content_v2sandbox/representations.rb +33 -0
- data/generated/google/apis/content_v2sandbox/service.rb +63 -105
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +9 -15
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +15 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +2 -0
- data/generated/google/apis/dataproc_v1.rb +2 -2
- data/generated/google/apis/dataproc_v1/classes.rb +6 -6
- data/generated/google/apis/dataproc_v1/service.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2.rb +2 -2
- data/generated/google/apis/dataproc_v1beta2/classes.rb +48 -13
- data/generated/google/apis/dataproc_v1beta2/representations.rb +12 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +1 -1
- data/generated/google/apis/datastore_v1.rb +2 -2
- data/generated/google/apis/datastore_v1/service.rb +1 -1
- data/generated/google/apis/datastore_v1beta1.rb +2 -2
- data/generated/google/apis/datastore_v1beta1/service.rb +1 -1
- data/generated/google/apis/datastore_v1beta3.rb +2 -2
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +60 -5
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +17 -0
- data/generated/google/apis/deploymentmanager_alpha/service.rb +118 -194
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +60 -5
- data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +61 -99
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +60 -5
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +17 -0
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +103 -169
- data/generated/google/apis/dfareporting_v2_8/service.rb +618 -1030
- data/generated/google/apis/dfareporting_v3_0/service.rb +615 -1025
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +94 -24
- data/generated/google/apis/dialogflow_v2/representations.rb +13 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +94 -24
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +13 -0
- data/generated/google/apis/discovery_v1/service.rb +9 -15
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +116 -1572
- data/generated/google/apis/dlp_v2/representations.rb +673 -1405
- data/generated/google/apis/dlp_v2/service.rb +24 -24
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +7 -0
- data/generated/google/apis/dns_v1/representations.rb +1 -0
- data/generated/google/apis/dns_v1/service.rb +49 -81
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +7 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +1 -0
- data/generated/google/apis/dns_v1beta2/service.rb +49 -81
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +7 -0
- data/generated/google/apis/dns_v2beta1/representations.rb +1 -0
- data/generated/google/apis/dns_v2beta1/service.rb +49 -81
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +30 -50
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +33 -55
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +205 -341
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +120 -200
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -1
- data/generated/google/apis/firestore_v1beta1.rb +2 -2
- data/generated/google/apis/firestore_v1beta1/service.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +45 -75
- data/generated/google/apis/fusiontables_v1.rb +1 -1
- data/generated/google/apis/fusiontables_v1/service.rb +99 -165
- data/generated/google/apis/fusiontables_v2/service.rb +105 -175
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +42 -70
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/service.rb +84 -140
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/service.rb +162 -270
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +41 -7
- data/generated/google/apis/genomics_v1/representations.rb +1 -0
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +12 -0
- data/generated/google/apis/genomics_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +70 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +20 -0
- data/generated/google/apis/gmail_v1/service.rb +189 -315
- data/generated/google/apis/groupsmigration_v1/service.rb +6 -10
- data/generated/google/apis/groupssettings_v1/service.rb +12 -20
- data/generated/google/apis/iam_v1.rb +2 -2
- data/generated/google/apis/iam_v1/classes.rb +29 -7
- data/generated/google/apis/iam_v1/service.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/service.rb +63 -105
- data/generated/google/apis/jobs_v2.rb +38 -0
- data/generated/google/apis/jobs_v2/classes.rb +3378 -0
- data/generated/google/apis/jobs_v2/representations.rb +1067 -0
- data/generated/google/apis/jobs_v2/service.rb +754 -0
- data/generated/google/apis/licensing_v1/service.rb +24 -40
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +55 -5
- data/generated/google/apis/logging_v2/representations.rb +16 -0
- data/generated/google/apis/logging_v2/service.rb +6 -4
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +55 -5
- data/generated/google/apis/logging_v2beta1/representations.rb +16 -0
- data/generated/google/apis/logging_v2beta1/service.rb +6 -4
- data/generated/google/apis/mirror_v1.rb +1 -1
- data/generated/google/apis/mirror_v1/service.rb +75 -125
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +65 -28
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/ml_v1/service.rb +2 -2
- data/generated/google/apis/oauth2_v1.rb +1 -1
- data/generated/google/apis/oauth2_v1/service.rb +27 -45
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/oauth2_v2/service.rb +15 -25
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +6 -0
- data/generated/google/apis/oslogin_v1/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +7 -1
- data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +4 -1
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +6 -0
- data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
- data/generated/google/apis/pagespeedonline_v1.rb +1 -1
- data/generated/google/apis/pagespeedonline_v1/service.rb +6 -10
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/service.rb +6 -10
- data/generated/google/apis/pagespeedonline_v4/service.rb +6 -10
- data/generated/google/apis/photoslibrary_v1.rb +49 -0
- data/generated/google/apis/photoslibrary_v1/classes.rb +1330 -0
- data/generated/google/apis/photoslibrary_v1/representations.rb +625 -0
- data/generated/google/apis/photoslibrary_v1/service.rb +399 -0
- data/generated/google/apis/playcustomapp_v1/service.rb +6 -10
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +63 -105
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/plus_v1/service.rb +30 -50
- data/generated/google/apis/pubsub_v1.rb +2 -2
- data/generated/google/apis/pubsub_v1/classes.rb +29 -7
- data/generated/google/apis/pubsub_v1/service.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a.rb +2 -2
- data/generated/google/apis/pubsub_v1beta1a/service.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2.rb +2 -2
- data/generated/google/apis/pubsub_v1beta2/classes.rb +29 -7
- data/generated/google/apis/pubsub_v1beta2/service.rb +1 -1
- data/generated/google/apis/{dlp_v2beta2.rb → redis_v1beta1.rb} +10 -11
- data/generated/google/apis/redis_v1beta1/classes.rb +681 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +240 -0
- data/generated/google/apis/redis_v1beta1/service.rb +426 -0
- data/generated/google/apis/replicapool_v1beta1/service.rb +33 -55
- data/generated/google/apis/replicapool_v1beta2/service.rb +39 -65
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +33 -55
- data/generated/google/apis/reseller_v1/service.rb +54 -90
- data/generated/google/apis/resourceviews_v1beta1/service.rb +45 -75
- data/generated/google/apis/resourceviews_v1beta2/service.rb +36 -60
- data/generated/google/apis/runtimeconfig_v1.rb +2 -2
- data/generated/google/apis/runtimeconfig_v1/service.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +2 -2
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +28 -6
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +1 -1
- data/generated/google/apis/script_v1.rb +8 -2
- data/generated/google/apis/script_v1/classes.rb +3 -3
- data/generated/google/apis/script_v1/service.rb +8 -2
- data/generated/google/apis/servicebroker_v1.rb +36 -0
- data/generated/google/apis/servicebroker_v1/classes.rb +240 -0
- data/generated/google/apis/servicebroker_v1/representations.rb +96 -0
- data/generated/google/apis/servicebroker_v1/service.rb +168 -0
- data/generated/google/apis/servicebroker_v1alpha1.rb +36 -0
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +939 -0
- data/generated/google/apis/servicebroker_v1alpha1/representations.rb +348 -0
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +728 -0
- data/generated/google/apis/servicebroker_v1beta1.rb +36 -0
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +1046 -0
- data/generated/google/apis/servicebroker_v1beta1/representations.rb +393 -0
- data/generated/google/apis/servicebroker_v1beta1/service.rb +917 -0
- data/generated/google/apis/servicecontrol_v1.rb +2 -2
- data/generated/google/apis/servicecontrol_v1/classes.rb +1 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +1 -1
- data/generated/google/apis/servicemanagement_v1.rb +2 -2
- data/generated/google/apis/servicemanagement_v1/classes.rb +29 -7
- data/generated/google/apis/servicemanagement_v1/service.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +299 -0
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +101 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +421 -0
- data/generated/google/apis/sheets_v4/representations.rb +120 -0
- data/generated/google/apis/site_verification_v1/service.rb +24 -40
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +6 -2
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +39 -12
- data/generated/google/apis/spanner_v1/service.rb +2 -2
- data/generated/google/apis/spectrum_v1explorer.rb +1 -1
- data/generated/google/apis/spectrum_v1explorer/service.rb +21 -35
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +12 -0
- data/generated/google/apis/speech_v1/representations.rb +1 -0
- data/generated/google/apis/sqladmin_v1beta3.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta3/service.rb +75 -125
- data/generated/google/apis/sqladmin_v1beta4/service.rb +126 -210
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +3 -6
- data/generated/google/apis/storage_v1/service.rb +144 -240
- data/generated/google/apis/storage_v1beta1.rb +1 -1
- data/generated/google/apis/storage_v1beta1/service.rb +75 -125
- data/generated/google/apis/storage_v1beta2.rb +1 -1
- data/generated/google/apis/storage_v1beta2/service.rb +105 -175
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +4 -3
- data/generated/google/apis/surveys_v2.rb +1 -1
- data/generated/google/apis/surveys_v2/classes.rb +19 -122
- data/generated/google/apis/surveys_v2/representations.rb +0 -38
- data/generated/google/apis/surveys_v2/service.rb +27 -157
- data/generated/google/apis/tagmanager_v1/service.rb +153 -255
- data/generated/google/apis/tagmanager_v2/service.rb +222 -370
- data/generated/google/apis/tasks_v1/service.rb +45 -75
- data/generated/google/apis/texttospeech_v1beta1.rb +2 -2
- data/generated/google/apis/texttospeech_v1beta1/service.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/service.rb +75 -125
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/urlshortener_v1/service.rb +12 -20
- data/generated/google/apis/vault_v1.rb +2 -2
- data/generated/google/apis/vault_v1/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1.rb +34 -0
- data/generated/google/apis/videointelligence_v1/classes.rb +2149 -0
- data/generated/google/apis/videointelligence_v1/representations.rb +972 -0
- data/generated/google/apis/videointelligence_v1/service.rb +246 -0
- data/generated/google/apis/videointelligence_v1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta1/classes.rb +18 -18
- data/generated/google/apis/{taskqueue_v1beta2.rb → videointelligence_v1beta2.rb} +10 -13
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +2092 -0
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +933 -0
- data/generated/google/apis/videointelligence_v1beta2/service.rb +92 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1441 -62
- data/generated/google/apis/vision_v1/representations.rb +582 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1441 -62
- data/generated/google/apis/vision_v1p1beta1/representations.rb +582 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +63 -3
- data/generated/google/apis/vision_v1p2beta1/representations.rb +32 -0
- data/generated/google/apis/webfonts_v1/service.rb +6 -10
- data/generated/google/apis/webmasters_v3/service.rb +42 -70
- data/generated/google/apis/websecurityscanner_v1alpha.rb +34 -0
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +760 -0
- data/generated/google/apis/websecurityscanner_v1alpha/representations.rb +354 -0
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +548 -0
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/service.rb +27 -45
- data/generated/google/apis/youtube_analytics_v1beta1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1beta1/service.rb +27 -45
- data/generated/google/apis/youtube_analytics_v2.rb +46 -0
- data/generated/google/apis/youtube_analytics_v2/classes.rb +532 -0
- data/generated/google/apis/youtube_analytics_v2/representations.rb +232 -0
- data/generated/google/apis/youtube_analytics_v2/service.rb +478 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/service.rb +225 -375
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +0 -168
- data/generated/google/apis/youtube_v3/representations.rb +0 -62
- data/generated/google/apis/youtube_v3/service.rb +216 -415
- data/lib/google/apis/generator/helpers.rb +3 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +50 -38
- data/generated/google/apis/dlp_v2beta1/classes.rb +0 -3820
- data/generated/google/apis/dlp_v2beta1/representations.rb +0 -1879
- data/generated/google/apis/dlp_v2beta1/service.rb +0 -603
- data/generated/google/apis/dlp_v2beta2/classes.rb +0 -6386
- data/generated/google/apis/dlp_v2beta2/representations.rb +0 -3085
- data/generated/google/apis/dlp_v2beta2/service.rb +0 -1332
- data/generated/google/apis/prediction_v1_2.rb +0 -44
- data/generated/google/apis/prediction_v1_2/classes.rb +0 -237
- data/generated/google/apis/prediction_v1_2/representations.rb +0 -133
- data/generated/google/apis/prediction_v1_2/service.rb +0 -287
- data/generated/google/apis/prediction_v1_3.rb +0 -44
- data/generated/google/apis/prediction_v1_3/classes.rb +0 -286
- data/generated/google/apis/prediction_v1_3/representations.rb +0 -139
- data/generated/google/apis/prediction_v1_3/service.rb +0 -284
- data/generated/google/apis/prediction_v1_4.rb +0 -44
- data/generated/google/apis/prediction_v1_4/classes.rb +0 -336
- data/generated/google/apis/prediction_v1_4/representations.rb +0 -158
- data/generated/google/apis/prediction_v1_4/service.rb +0 -284
- data/generated/google/apis/prediction_v1_5.rb +0 -44
- data/generated/google/apis/prediction_v1_5/classes.rb +0 -708
- data/generated/google/apis/prediction_v1_5/representations.rb +0 -352
- data/generated/google/apis/prediction_v1_5/service.rb +0 -357
- data/generated/google/apis/prediction_v1_6.rb +0 -47
- data/generated/google/apis/prediction_v1_6/classes.rb +0 -751
- data/generated/google/apis/prediction_v1_6/representations.rb +0 -369
- data/generated/google/apis/prediction_v1_6/service.rb +0 -381
- data/generated/google/apis/taskqueue_v1beta1.rb +0 -37
- data/generated/google/apis/taskqueue_v1beta1/classes.rb +0 -242
- data/generated/google/apis/taskqueue_v1beta1/representations.rb +0 -124
- data/generated/google/apis/taskqueue_v1beta1/service.rb +0 -269
- data/generated/google/apis/taskqueue_v1beta2/classes.rb +0 -254
- data/generated/google/apis/taskqueue_v1beta2/representations.rb +0 -126
- data/generated/google/apis/taskqueue_v1beta2/service.rb +0 -409
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see http://developers.google.com/youtube/analytics/
|
26
26
|
module YoutubeAnalyticsV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20180430'
|
29
29
|
|
30
30
|
# Manage your YouTube account
|
31
31
|
AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'
|
@@ -38,14 +38,12 @@ module Google
|
|
38
38
|
attr_accessor :key
|
39
39
|
|
40
40
|
# @return [String]
|
41
|
-
#
|
42
|
-
#
|
43
|
-
# Overrides userIp if both are provided.
|
41
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
42
|
+
# characters.
|
44
43
|
attr_accessor :quota_user
|
45
44
|
|
46
45
|
# @return [String]
|
47
|
-
#
|
48
|
-
# enforce per-user limits.
|
46
|
+
# Deprecated. Please use quotaUser instead.
|
49
47
|
attr_accessor :user_ip
|
50
48
|
|
51
49
|
def initialize
|
@@ -70,12 +68,10 @@ module Google
|
|
70
68
|
# @param [String] fields
|
71
69
|
# Selector specifying which fields to include in a partial response.
|
72
70
|
# @param [String] quota_user
|
73
|
-
#
|
74
|
-
#
|
75
|
-
# Overrides userIp if both are provided.
|
71
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
72
|
+
# characters.
|
76
73
|
# @param [String] user_ip
|
77
|
-
#
|
78
|
-
# enforce per-user limits.
|
74
|
+
# Deprecated. Please use quotaUser instead.
|
79
75
|
# @param [Google::Apis::RequestOptions] options
|
80
76
|
# Request-specific options
|
81
77
|
#
|
@@ -113,12 +109,10 @@ module Google
|
|
113
109
|
# @param [String] fields
|
114
110
|
# Selector specifying which fields to include in a partial response.
|
115
111
|
# @param [String] quota_user
|
116
|
-
#
|
117
|
-
#
|
118
|
-
# Overrides userIp if both are provided.
|
112
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
113
|
+
# characters.
|
119
114
|
# @param [String] user_ip
|
120
|
-
#
|
121
|
-
# enforce per-user limits.
|
115
|
+
# Deprecated. Please use quotaUser instead.
|
122
116
|
# @param [Google::Apis::RequestOptions] options
|
123
117
|
# Request-specific options
|
124
118
|
#
|
@@ -161,12 +155,10 @@ module Google
|
|
161
155
|
# @param [String] fields
|
162
156
|
# Selector specifying which fields to include in a partial response.
|
163
157
|
# @param [String] quota_user
|
164
|
-
#
|
165
|
-
#
|
166
|
-
# Overrides userIp if both are provided.
|
158
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
159
|
+
# characters.
|
167
160
|
# @param [String] user_ip
|
168
|
-
#
|
169
|
-
# enforce per-user limits.
|
161
|
+
# Deprecated. Please use quotaUser instead.
|
170
162
|
# @param [Google::Apis::RequestOptions] options
|
171
163
|
# Request-specific options
|
172
164
|
#
|
@@ -208,12 +200,10 @@ module Google
|
|
208
200
|
# @param [String] fields
|
209
201
|
# Selector specifying which fields to include in a partial response.
|
210
202
|
# @param [String] quota_user
|
211
|
-
#
|
212
|
-
#
|
213
|
-
# Overrides userIp if both are provided.
|
203
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
204
|
+
# characters.
|
214
205
|
# @param [String] user_ip
|
215
|
-
#
|
216
|
-
# enforce per-user limits.
|
206
|
+
# Deprecated. Please use quotaUser instead.
|
217
207
|
# @param [Google::Apis::RequestOptions] options
|
218
208
|
# Request-specific options
|
219
209
|
#
|
@@ -251,12 +241,10 @@ module Google
|
|
251
241
|
# @param [String] fields
|
252
242
|
# Selector specifying which fields to include in a partial response.
|
253
243
|
# @param [String] quota_user
|
254
|
-
#
|
255
|
-
#
|
256
|
-
# Overrides userIp if both are provided.
|
244
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
245
|
+
# characters.
|
257
246
|
# @param [String] user_ip
|
258
|
-
#
|
259
|
-
# enforce per-user limits.
|
247
|
+
# Deprecated. Please use quotaUser instead.
|
260
248
|
# @param [Google::Apis::RequestOptions] options
|
261
249
|
# Request-specific options
|
262
250
|
#
|
@@ -309,12 +297,10 @@ module Google
|
|
309
297
|
# @param [String] fields
|
310
298
|
# Selector specifying which fields to include in a partial response.
|
311
299
|
# @param [String] quota_user
|
312
|
-
#
|
313
|
-
#
|
314
|
-
# Overrides userIp if both are provided.
|
300
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
301
|
+
# characters.
|
315
302
|
# @param [String] user_ip
|
316
|
-
#
|
317
|
-
# enforce per-user limits.
|
303
|
+
# Deprecated. Please use quotaUser instead.
|
318
304
|
# @param [Google::Apis::RequestOptions] options
|
319
305
|
# Request-specific options
|
320
306
|
#
|
@@ -356,12 +342,10 @@ module Google
|
|
356
342
|
# @param [String] fields
|
357
343
|
# Selector specifying which fields to include in a partial response.
|
358
344
|
# @param [String] quota_user
|
359
|
-
#
|
360
|
-
#
|
361
|
-
# Overrides userIp if both are provided.
|
345
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
346
|
+
# characters.
|
362
347
|
# @param [String] user_ip
|
363
|
-
#
|
364
|
-
# enforce per-user limits.
|
348
|
+
# Deprecated. Please use quotaUser instead.
|
365
349
|
# @param [Google::Apis::RequestOptions] options
|
366
350
|
# Request-specific options
|
367
351
|
#
|
@@ -439,12 +423,10 @@ module Google
|
|
439
423
|
# @param [String] fields
|
440
424
|
# Selector specifying which fields to include in a partial response.
|
441
425
|
# @param [String] quota_user
|
442
|
-
#
|
443
|
-
#
|
444
|
-
# Overrides userIp if both are provided.
|
426
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
427
|
+
# characters.
|
445
428
|
# @param [String] user_ip
|
446
|
-
#
|
447
|
-
# enforce per-user limits.
|
429
|
+
# Deprecated. Please use quotaUser instead.
|
448
430
|
# @param [Google::Apis::RequestOptions] options
|
449
431
|
# Request-specific options
|
450
432
|
#
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see http://developers.google.com/youtube/analytics/
|
26
26
|
module YoutubeAnalyticsV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20180430'
|
29
29
|
|
30
30
|
# Manage your YouTube account
|
31
31
|
AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'
|
@@ -38,14 +38,12 @@ module Google
|
|
38
38
|
attr_accessor :key
|
39
39
|
|
40
40
|
# @return [String]
|
41
|
-
#
|
42
|
-
#
|
43
|
-
# Overrides userIp if both are provided.
|
41
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
42
|
+
# characters.
|
44
43
|
attr_accessor :quota_user
|
45
44
|
|
46
45
|
# @return [String]
|
47
|
-
#
|
48
|
-
# enforce per-user limits.
|
46
|
+
# Deprecated. Please use quotaUser instead.
|
49
47
|
attr_accessor :user_ip
|
50
48
|
|
51
49
|
def initialize
|
@@ -70,12 +68,10 @@ module Google
|
|
70
68
|
# @param [String] fields
|
71
69
|
# Selector specifying which fields to include in a partial response.
|
72
70
|
# @param [String] quota_user
|
73
|
-
#
|
74
|
-
#
|
75
|
-
# Overrides userIp if both are provided.
|
71
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
72
|
+
# characters.
|
76
73
|
# @param [String] user_ip
|
77
|
-
#
|
78
|
-
# enforce per-user limits.
|
74
|
+
# Deprecated. Please use quotaUser instead.
|
79
75
|
# @param [Google::Apis::RequestOptions] options
|
80
76
|
# Request-specific options
|
81
77
|
#
|
@@ -113,12 +109,10 @@ module Google
|
|
113
109
|
# @param [String] fields
|
114
110
|
# Selector specifying which fields to include in a partial response.
|
115
111
|
# @param [String] quota_user
|
116
|
-
#
|
117
|
-
#
|
118
|
-
# Overrides userIp if both are provided.
|
112
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
113
|
+
# characters.
|
119
114
|
# @param [String] user_ip
|
120
|
-
#
|
121
|
-
# enforce per-user limits.
|
115
|
+
# Deprecated. Please use quotaUser instead.
|
122
116
|
# @param [Google::Apis::RequestOptions] options
|
123
117
|
# Request-specific options
|
124
118
|
#
|
@@ -161,12 +155,10 @@ module Google
|
|
161
155
|
# @param [String] fields
|
162
156
|
# Selector specifying which fields to include in a partial response.
|
163
157
|
# @param [String] quota_user
|
164
|
-
#
|
165
|
-
#
|
166
|
-
# Overrides userIp if both are provided.
|
158
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
159
|
+
# characters.
|
167
160
|
# @param [String] user_ip
|
168
|
-
#
|
169
|
-
# enforce per-user limits.
|
161
|
+
# Deprecated. Please use quotaUser instead.
|
170
162
|
# @param [Google::Apis::RequestOptions] options
|
171
163
|
# Request-specific options
|
172
164
|
#
|
@@ -208,12 +200,10 @@ module Google
|
|
208
200
|
# @param [String] fields
|
209
201
|
# Selector specifying which fields to include in a partial response.
|
210
202
|
# @param [String] quota_user
|
211
|
-
#
|
212
|
-
#
|
213
|
-
# Overrides userIp if both are provided.
|
203
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
204
|
+
# characters.
|
214
205
|
# @param [String] user_ip
|
215
|
-
#
|
216
|
-
# enforce per-user limits.
|
206
|
+
# Deprecated. Please use quotaUser instead.
|
217
207
|
# @param [Google::Apis::RequestOptions] options
|
218
208
|
# Request-specific options
|
219
209
|
#
|
@@ -251,12 +241,10 @@ module Google
|
|
251
241
|
# @param [String] fields
|
252
242
|
# Selector specifying which fields to include in a partial response.
|
253
243
|
# @param [String] quota_user
|
254
|
-
#
|
255
|
-
#
|
256
|
-
# Overrides userIp if both are provided.
|
244
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
245
|
+
# characters.
|
257
246
|
# @param [String] user_ip
|
258
|
-
#
|
259
|
-
# enforce per-user limits.
|
247
|
+
# Deprecated. Please use quotaUser instead.
|
260
248
|
# @param [Google::Apis::RequestOptions] options
|
261
249
|
# Request-specific options
|
262
250
|
#
|
@@ -309,12 +297,10 @@ module Google
|
|
309
297
|
# @param [String] fields
|
310
298
|
# Selector specifying which fields to include in a partial response.
|
311
299
|
# @param [String] quota_user
|
312
|
-
#
|
313
|
-
#
|
314
|
-
# Overrides userIp if both are provided.
|
300
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
301
|
+
# characters.
|
315
302
|
# @param [String] user_ip
|
316
|
-
#
|
317
|
-
# enforce per-user limits.
|
303
|
+
# Deprecated. Please use quotaUser instead.
|
318
304
|
# @param [Google::Apis::RequestOptions] options
|
319
305
|
# Request-specific options
|
320
306
|
#
|
@@ -356,12 +342,10 @@ module Google
|
|
356
342
|
# @param [String] fields
|
357
343
|
# Selector specifying which fields to include in a partial response.
|
358
344
|
# @param [String] quota_user
|
359
|
-
#
|
360
|
-
#
|
361
|
-
# Overrides userIp if both are provided.
|
345
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
346
|
+
# characters.
|
362
347
|
# @param [String] user_ip
|
363
|
-
#
|
364
|
-
# enforce per-user limits.
|
348
|
+
# Deprecated. Please use quotaUser instead.
|
365
349
|
# @param [Google::Apis::RequestOptions] options
|
366
350
|
# Request-specific options
|
367
351
|
#
|
@@ -439,12 +423,10 @@ module Google
|
|
439
423
|
# @param [String] fields
|
440
424
|
# Selector specifying which fields to include in a partial response.
|
441
425
|
# @param [String] quota_user
|
442
|
-
#
|
443
|
-
#
|
444
|
-
# Overrides userIp if both are provided.
|
426
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
427
|
+
# characters.
|
445
428
|
# @param [String] user_ip
|
446
|
-
#
|
447
|
-
# enforce per-user limits.
|
429
|
+
# Deprecated. Please use quotaUser instead.
|
448
430
|
# @param [Google::Apis::RequestOptions] options
|
449
431
|
# Request-specific options
|
450
432
|
#
|
@@ -0,0 +1,46 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'google/apis/youtube_analytics_v2/service.rb'
|
16
|
+
require 'google/apis/youtube_analytics_v2/classes.rb'
|
17
|
+
require 'google/apis/youtube_analytics_v2/representations.rb'
|
18
|
+
|
19
|
+
module Google
|
20
|
+
module Apis
|
21
|
+
# YouTube Analytics API
|
22
|
+
#
|
23
|
+
# Retrieves your YouTube Analytics data.
|
24
|
+
#
|
25
|
+
# @see http://developers.google.com/youtube/analytics
|
26
|
+
module YoutubeAnalyticsV2
|
27
|
+
VERSION = 'V2'
|
28
|
+
REVISION = '20180424'
|
29
|
+
|
30
|
+
# Manage your YouTube account
|
31
|
+
AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'
|
32
|
+
|
33
|
+
# View your YouTube account
|
34
|
+
AUTH_YOUTUBE_READONLY = 'https://www.googleapis.com/auth/youtube.readonly'
|
35
|
+
|
36
|
+
# View and manage your assets and associated content on YouTube
|
37
|
+
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
|
38
|
+
|
39
|
+
# View monetary and non-monetary YouTube Analytics reports for your YouTube content
|
40
|
+
AUTH_YT_ANALYTICS_MONETARY_READONLY = 'https://www.googleapis.com/auth/yt-analytics-monetary.readonly'
|
41
|
+
|
42
|
+
# View YouTube Analytics reports for your YouTube content
|
43
|
+
AUTH_YT_ANALYTICS_READONLY = 'https://www.googleapis.com/auth/yt-analytics.readonly'
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,532 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module YoutubeAnalyticsV2
|
24
|
+
|
25
|
+
# Empty response.
|
26
|
+
class EmptyResponse
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# Request Error information.
|
30
|
+
# The presence of an error field signals that the operation
|
31
|
+
# has failed.
|
32
|
+
# Corresponds to the JSON property `errors`
|
33
|
+
# @return [Google::Apis::YoutubeAnalyticsV2::Errors]
|
34
|
+
attr_accessor :errors
|
35
|
+
|
36
|
+
def initialize(**args)
|
37
|
+
update!(**args)
|
38
|
+
end
|
39
|
+
|
40
|
+
# Update properties of this object
|
41
|
+
def update!(**args)
|
42
|
+
@errors = args[:errors] if args.key?(:errors)
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
# Describes one specific error.
|
47
|
+
class ErrorProto
|
48
|
+
include Google::Apis::Core::Hashable
|
49
|
+
|
50
|
+
# Error arguments, to be used when building user-friendly error messages
|
51
|
+
# given the error domain and code. Different error codes require different
|
52
|
+
# arguments.
|
53
|
+
# Corresponds to the JSON property `argument`
|
54
|
+
# @return [Array<String>]
|
55
|
+
attr_accessor :argument
|
56
|
+
|
57
|
+
# Error code in the error domain. This should correspond to
|
58
|
+
# a value of the enum type whose name is in domain. See
|
59
|
+
# the core error domain in error_domain.proto.
|
60
|
+
# Corresponds to the JSON property `code`
|
61
|
+
# @return [String]
|
62
|
+
attr_accessor :code
|
63
|
+
|
64
|
+
# Debugging information, which should not be
|
65
|
+
# shared externally.
|
66
|
+
# Corresponds to the JSON property `debugInfo`
|
67
|
+
# @return [String]
|
68
|
+
attr_accessor :debug_info
|
69
|
+
|
70
|
+
# Error domain. RoSy services can define their own
|
71
|
+
# domain and error codes. This should normally be
|
72
|
+
# the name of an enum type, such as: gdata.CoreErrorDomain
|
73
|
+
# Corresponds to the JSON property `domain`
|
74
|
+
# @return [String]
|
75
|
+
attr_accessor :domain
|
76
|
+
|
77
|
+
# A short explanation for the error, which can be shared outside Google.
|
78
|
+
# Please set domain, code and arguments whenever possible instead of this
|
79
|
+
# error message so that external APIs can build safe error messages
|
80
|
+
# themselves.
|
81
|
+
# External messages built in a RoSy interface will most likely refer to
|
82
|
+
# information and concepts that are not available externally and should not
|
83
|
+
# be exposed. It is safer if external APIs can understand the errors and
|
84
|
+
# decide what the error message should look like.
|
85
|
+
# Corresponds to the JSON property `externalErrorMessage`
|
86
|
+
# @return [String]
|
87
|
+
attr_accessor :external_error_message
|
88
|
+
|
89
|
+
# Location of the error, as specified by the location type.
|
90
|
+
# If location_type is PATH, this should be a path to a field that's
|
91
|
+
# relative to the request, using FieldPath notation
|
92
|
+
# (net/proto2/util/public/field_path.h).
|
93
|
+
# Examples:
|
94
|
+
# authenticated_user.gaia_id
|
95
|
+
# resource.address[2].country
|
96
|
+
# Corresponds to the JSON property `location`
|
97
|
+
# @return [String]
|
98
|
+
attr_accessor :location
|
99
|
+
|
100
|
+
#
|
101
|
+
# Corresponds to the JSON property `locationType`
|
102
|
+
# @return [String]
|
103
|
+
attr_accessor :location_type
|
104
|
+
|
105
|
+
def initialize(**args)
|
106
|
+
update!(**args)
|
107
|
+
end
|
108
|
+
|
109
|
+
# Update properties of this object
|
110
|
+
def update!(**args)
|
111
|
+
@argument = args[:argument] if args.key?(:argument)
|
112
|
+
@code = args[:code] if args.key?(:code)
|
113
|
+
@debug_info = args[:debug_info] if args.key?(:debug_info)
|
114
|
+
@domain = args[:domain] if args.key?(:domain)
|
115
|
+
@external_error_message = args[:external_error_message] if args.key?(:external_error_message)
|
116
|
+
@location = args[:location] if args.key?(:location)
|
117
|
+
@location_type = args[:location_type] if args.key?(:location_type)
|
118
|
+
end
|
119
|
+
end
|
120
|
+
|
121
|
+
# Request Error information.
|
122
|
+
# The presence of an error field signals that the operation
|
123
|
+
# has failed.
|
124
|
+
class Errors
|
125
|
+
include Google::Apis::Core::Hashable
|
126
|
+
|
127
|
+
# Global error code. Deprecated and ignored.
|
128
|
+
# Set custom error codes in ErrorProto.domain and ErrorProto.code
|
129
|
+
# instead.
|
130
|
+
# Corresponds to the JSON property `code`
|
131
|
+
# @return [String]
|
132
|
+
attr_accessor :code
|
133
|
+
|
134
|
+
# Specific error description and codes
|
135
|
+
# Corresponds to the JSON property `error`
|
136
|
+
# @return [Array<Google::Apis::YoutubeAnalyticsV2::ErrorProto>]
|
137
|
+
attr_accessor :error
|
138
|
+
|
139
|
+
# Request identifier generated by the service, which can be
|
140
|
+
# used to identify the error in the logs
|
141
|
+
# Corresponds to the JSON property `requestId`
|
142
|
+
# @return [String]
|
143
|
+
attr_accessor :request_id
|
144
|
+
|
145
|
+
def initialize(**args)
|
146
|
+
update!(**args)
|
147
|
+
end
|
148
|
+
|
149
|
+
# Update properties of this object
|
150
|
+
def update!(**args)
|
151
|
+
@code = args[:code] if args.key?(:code)
|
152
|
+
@error = args[:error] if args.key?(:error)
|
153
|
+
@request_id = args[:request_id] if args.key?(:request_id)
|
154
|
+
end
|
155
|
+
end
|
156
|
+
|
157
|
+
# A group.
|
158
|
+
class Group
|
159
|
+
include Google::Apis::Core::Hashable
|
160
|
+
|
161
|
+
# A group's content details.
|
162
|
+
# Corresponds to the JSON property `contentDetails`
|
163
|
+
# @return [Google::Apis::YoutubeAnalyticsV2::GroupContentDetails]
|
164
|
+
attr_accessor :content_details
|
165
|
+
|
166
|
+
# Request Error information.
|
167
|
+
# The presence of an error field signals that the operation
|
168
|
+
# has failed.
|
169
|
+
# Corresponds to the JSON property `errors`
|
170
|
+
# @return [Google::Apis::YoutubeAnalyticsV2::Errors]
|
171
|
+
attr_accessor :errors
|
172
|
+
|
173
|
+
# The Etag of this resource.
|
174
|
+
# Corresponds to the JSON property `etag`
|
175
|
+
# @return [String]
|
176
|
+
attr_accessor :etag
|
177
|
+
|
178
|
+
# The ID that YouTube uses to uniquely identify the group.
|
179
|
+
# Corresponds to the JSON property `id`
|
180
|
+
# @return [String]
|
181
|
+
attr_accessor :id
|
182
|
+
|
183
|
+
# Identifies the API resource's type. The value will be `youtube#group`.
|
184
|
+
# Corresponds to the JSON property `kind`
|
185
|
+
# @return [String]
|
186
|
+
attr_accessor :kind
|
187
|
+
|
188
|
+
# A group snippet.
|
189
|
+
# Corresponds to the JSON property `snippet`
|
190
|
+
# @return [Google::Apis::YoutubeAnalyticsV2::GroupSnippet]
|
191
|
+
attr_accessor :snippet
|
192
|
+
|
193
|
+
def initialize(**args)
|
194
|
+
update!(**args)
|
195
|
+
end
|
196
|
+
|
197
|
+
# Update properties of this object
|
198
|
+
def update!(**args)
|
199
|
+
@content_details = args[:content_details] if args.key?(:content_details)
|
200
|
+
@errors = args[:errors] if args.key?(:errors)
|
201
|
+
@etag = args[:etag] if args.key?(:etag)
|
202
|
+
@id = args[:id] if args.key?(:id)
|
203
|
+
@kind = args[:kind] if args.key?(:kind)
|
204
|
+
@snippet = args[:snippet] if args.key?(:snippet)
|
205
|
+
end
|
206
|
+
end
|
207
|
+
|
208
|
+
# A group's content details.
|
209
|
+
class GroupContentDetails
|
210
|
+
include Google::Apis::Core::Hashable
|
211
|
+
|
212
|
+
# The number of items in the group.
|
213
|
+
# Corresponds to the JSON property `itemCount`
|
214
|
+
# @return [Fixnum]
|
215
|
+
attr_accessor :item_count
|
216
|
+
|
217
|
+
# The type of resources that the group contains.
|
218
|
+
# Valid values for this property are:
|
219
|
+
# * `youtube#channel`
|
220
|
+
# * `youtube#playlist`
|
221
|
+
# * `youtube#video`
|
222
|
+
# * `youtubePartner#asset`
|
223
|
+
# Corresponds to the JSON property `itemType`
|
224
|
+
# @return [String]
|
225
|
+
attr_accessor :item_type
|
226
|
+
|
227
|
+
def initialize(**args)
|
228
|
+
update!(**args)
|
229
|
+
end
|
230
|
+
|
231
|
+
# Update properties of this object
|
232
|
+
def update!(**args)
|
233
|
+
@item_count = args[:item_count] if args.key?(:item_count)
|
234
|
+
@item_type = args[:item_type] if args.key?(:item_type)
|
235
|
+
end
|
236
|
+
end
|
237
|
+
|
238
|
+
# A group item.
|
239
|
+
class GroupItem
|
240
|
+
include Google::Apis::Core::Hashable
|
241
|
+
|
242
|
+
# Request Error information.
|
243
|
+
# The presence of an error field signals that the operation
|
244
|
+
# has failed.
|
245
|
+
# Corresponds to the JSON property `errors`
|
246
|
+
# @return [Google::Apis::YoutubeAnalyticsV2::Errors]
|
247
|
+
attr_accessor :errors
|
248
|
+
|
249
|
+
# The Etag of this resource.
|
250
|
+
# Corresponds to the JSON property `etag`
|
251
|
+
# @return [String]
|
252
|
+
attr_accessor :etag
|
253
|
+
|
254
|
+
# The ID that YouTube uses to uniquely identify the group that contains the
|
255
|
+
# item.
|
256
|
+
# Corresponds to the JSON property `groupId`
|
257
|
+
# @return [String]
|
258
|
+
attr_accessor :group_id
|
259
|
+
|
260
|
+
# The ID that YouTube uses to uniquely identify the `channel`, `video`,
|
261
|
+
# `playlist`, or `asset` resource that is included in the group. Note that
|
262
|
+
# this ID refers specifically to the inclusion of that resource in a
|
263
|
+
# particular group and is different than the channel ID, video ID,
|
264
|
+
# playlist ID, or asset ID that uniquely identifies the resource itself.
|
265
|
+
# The `resource.id` property's value specifies the unique channel, video,
|
266
|
+
# playlist, or asset ID.
|
267
|
+
# Corresponds to the JSON property `id`
|
268
|
+
# @return [String]
|
269
|
+
attr_accessor :id
|
270
|
+
|
271
|
+
# Identifies the API resource's type. The value will be `youtube#groupItem`.
|
272
|
+
# Corresponds to the JSON property `kind`
|
273
|
+
# @return [String]
|
274
|
+
attr_accessor :kind
|
275
|
+
|
276
|
+
# The `resource` object contains information that identifies the item being
|
277
|
+
# added to the group.
|
278
|
+
# Corresponds to the JSON property `resource`
|
279
|
+
# @return [Google::Apis::YoutubeAnalyticsV2::GroupItemResource]
|
280
|
+
attr_accessor :resource
|
281
|
+
|
282
|
+
def initialize(**args)
|
283
|
+
update!(**args)
|
284
|
+
end
|
285
|
+
|
286
|
+
# Update properties of this object
|
287
|
+
def update!(**args)
|
288
|
+
@errors = args[:errors] if args.key?(:errors)
|
289
|
+
@etag = args[:etag] if args.key?(:etag)
|
290
|
+
@group_id = args[:group_id] if args.key?(:group_id)
|
291
|
+
@id = args[:id] if args.key?(:id)
|
292
|
+
@kind = args[:kind] if args.key?(:kind)
|
293
|
+
@resource = args[:resource] if args.key?(:resource)
|
294
|
+
end
|
295
|
+
end
|
296
|
+
|
297
|
+
#
|
298
|
+
class GroupItemResource
|
299
|
+
include Google::Apis::Core::Hashable
|
300
|
+
|
301
|
+
# The channel, video, playlist, or asset ID that YouTube uses to uniquely
|
302
|
+
# identify the item that is being added to the group.
|
303
|
+
# Corresponds to the JSON property `id`
|
304
|
+
# @return [String]
|
305
|
+
attr_accessor :id
|
306
|
+
|
307
|
+
# Identifies the type of resource being added to the group.
|
308
|
+
# Valid values for this property are:
|
309
|
+
# * `youtube#channel`
|
310
|
+
# * `youtube#playlist`
|
311
|
+
# * `youtube#video`
|
312
|
+
# * `youtubePartner#asset`
|
313
|
+
# Corresponds to the JSON property `kind`
|
314
|
+
# @return [String]
|
315
|
+
attr_accessor :kind
|
316
|
+
|
317
|
+
def initialize(**args)
|
318
|
+
update!(**args)
|
319
|
+
end
|
320
|
+
|
321
|
+
# Update properties of this object
|
322
|
+
def update!(**args)
|
323
|
+
@id = args[:id] if args.key?(:id)
|
324
|
+
@kind = args[:kind] if args.key?(:kind)
|
325
|
+
end
|
326
|
+
end
|
327
|
+
|
328
|
+
# A group snippet.
|
329
|
+
class GroupSnippet
|
330
|
+
include Google::Apis::Core::Hashable
|
331
|
+
|
332
|
+
# The date and time that the group was created. The value is specified in
|
333
|
+
# ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
|
334
|
+
# Corresponds to the JSON property `publishedAt`
|
335
|
+
# @return [String]
|
336
|
+
attr_accessor :published_at
|
337
|
+
|
338
|
+
# The group name. The value must be a non-empty string.
|
339
|
+
# Corresponds to the JSON property `title`
|
340
|
+
# @return [String]
|
341
|
+
attr_accessor :title
|
342
|
+
|
343
|
+
def initialize(**args)
|
344
|
+
update!(**args)
|
345
|
+
end
|
346
|
+
|
347
|
+
# Update properties of this object
|
348
|
+
def update!(**args)
|
349
|
+
@published_at = args[:published_at] if args.key?(:published_at)
|
350
|
+
@title = args[:title] if args.key?(:title)
|
351
|
+
end
|
352
|
+
end
|
353
|
+
|
354
|
+
# Response message for GroupsService.ListGroupItems.
|
355
|
+
class ListGroupItemsResponse
|
356
|
+
include Google::Apis::Core::Hashable
|
357
|
+
|
358
|
+
# Request Error information.
|
359
|
+
# The presence of an error field signals that the operation
|
360
|
+
# has failed.
|
361
|
+
# Corresponds to the JSON property `errors`
|
362
|
+
# @return [Google::Apis::YoutubeAnalyticsV2::Errors]
|
363
|
+
attr_accessor :errors
|
364
|
+
|
365
|
+
# The Etag of this resource.
|
366
|
+
# Corresponds to the JSON property `etag`
|
367
|
+
# @return [String]
|
368
|
+
attr_accessor :etag
|
369
|
+
|
370
|
+
# A list of groups that match the API request parameters. Each item in the
|
371
|
+
# list represents a `groupItem` resource.
|
372
|
+
# Corresponds to the JSON property `items`
|
373
|
+
# @return [Array<Google::Apis::YoutubeAnalyticsV2::GroupItem>]
|
374
|
+
attr_accessor :items
|
375
|
+
|
376
|
+
# Identifies the API resource's type. The value will be
|
377
|
+
# `youtube#groupItemListResponse`.
|
378
|
+
# Corresponds to the JSON property `kind`
|
379
|
+
# @return [String]
|
380
|
+
attr_accessor :kind
|
381
|
+
|
382
|
+
def initialize(**args)
|
383
|
+
update!(**args)
|
384
|
+
end
|
385
|
+
|
386
|
+
# Update properties of this object
|
387
|
+
def update!(**args)
|
388
|
+
@errors = args[:errors] if args.key?(:errors)
|
389
|
+
@etag = args[:etag] if args.key?(:etag)
|
390
|
+
@items = args[:items] if args.key?(:items)
|
391
|
+
@kind = args[:kind] if args.key?(:kind)
|
392
|
+
end
|
393
|
+
end
|
394
|
+
|
395
|
+
# Response message for GroupsService.ListGroups.
|
396
|
+
class ListGroupsResponse
|
397
|
+
include Google::Apis::Core::Hashable
|
398
|
+
|
399
|
+
# Request Error information.
|
400
|
+
# The presence of an error field signals that the operation
|
401
|
+
# has failed.
|
402
|
+
# Corresponds to the JSON property `errors`
|
403
|
+
# @return [Google::Apis::YoutubeAnalyticsV2::Errors]
|
404
|
+
attr_accessor :errors
|
405
|
+
|
406
|
+
# The Etag of this resource.
|
407
|
+
# Corresponds to the JSON property `etag`
|
408
|
+
# @return [String]
|
409
|
+
attr_accessor :etag
|
410
|
+
|
411
|
+
# A list of groups that match the API request parameters. Each item in the
|
412
|
+
# list represents a `group` resource.
|
413
|
+
# Corresponds to the JSON property `items`
|
414
|
+
# @return [Array<Google::Apis::YoutubeAnalyticsV2::Group>]
|
415
|
+
attr_accessor :items
|
416
|
+
|
417
|
+
# Identifies the API resource's type. The value will be
|
418
|
+
# `youtube#groupListResponse`.
|
419
|
+
# Corresponds to the JSON property `kind`
|
420
|
+
# @return [String]
|
421
|
+
attr_accessor :kind
|
422
|
+
|
423
|
+
# The token that can be used as the value of the `pageToken` parameter to
|
424
|
+
# retrieve the next page in the result set.
|
425
|
+
# Corresponds to the JSON property `nextPageToken`
|
426
|
+
# @return [String]
|
427
|
+
attr_accessor :next_page_token
|
428
|
+
|
429
|
+
def initialize(**args)
|
430
|
+
update!(**args)
|
431
|
+
end
|
432
|
+
|
433
|
+
# Update properties of this object
|
434
|
+
def update!(**args)
|
435
|
+
@errors = args[:errors] if args.key?(:errors)
|
436
|
+
@etag = args[:etag] if args.key?(:etag)
|
437
|
+
@items = args[:items] if args.key?(:items)
|
438
|
+
@kind = args[:kind] if args.key?(:kind)
|
439
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
440
|
+
end
|
441
|
+
end
|
442
|
+
|
443
|
+
# Response message for TargetedQueriesService.Query.
|
444
|
+
class QueryResponse
|
445
|
+
include Google::Apis::Core::Hashable
|
446
|
+
|
447
|
+
# This value specifies information about the data returned in the `rows`
|
448
|
+
# fields. Each item in the `columnHeaders` list identifies a field returned
|
449
|
+
# in the `rows` value, which contains a list of comma-delimited data. The
|
450
|
+
# `columnHeaders` list will begin with the dimensions specified in the API
|
451
|
+
# request, which will be followed by the metrics specified in the API
|
452
|
+
# request. The order of both dimensions and metrics will match the ordering
|
453
|
+
# in the API request. For example, if the API request contains the parameters
|
454
|
+
# `dimensions=ageGroup,gender&metrics=viewerPercentage`, the API response
|
455
|
+
# will return columns in this order: `ageGroup`, `gender`,
|
456
|
+
# `viewerPercentage`.
|
457
|
+
# Corresponds to the JSON property `columnHeaders`
|
458
|
+
# @return [Array<Google::Apis::YoutubeAnalyticsV2::ResultTableColumnHeader>]
|
459
|
+
attr_accessor :column_headers
|
460
|
+
|
461
|
+
# Request Error information.
|
462
|
+
# The presence of an error field signals that the operation
|
463
|
+
# has failed.
|
464
|
+
# Corresponds to the JSON property `errors`
|
465
|
+
# @return [Google::Apis::YoutubeAnalyticsV2::Errors]
|
466
|
+
attr_accessor :errors
|
467
|
+
|
468
|
+
# This value specifies the type of data included in the API response.
|
469
|
+
# For the query method, the kind property value will be
|
470
|
+
# `youtubeAnalytics#resultTable`.
|
471
|
+
# Corresponds to the JSON property `kind`
|
472
|
+
# @return [String]
|
473
|
+
attr_accessor :kind
|
474
|
+
|
475
|
+
# The list contains all rows of the result table. Each item in the list is
|
476
|
+
# an array that contains comma-delimited data corresponding to a single row
|
477
|
+
# of data. The order of the comma-delimited data fields will match the
|
478
|
+
# order of the columns listed in the `columnHeaders` field.
|
479
|
+
# If no data is available for the given query, the `rows` element will be
|
480
|
+
# omitted from the response.
|
481
|
+
# The response for a query with the `day` dimension will not contain rows for
|
482
|
+
# the most recent days.
|
483
|
+
# Corresponds to the JSON property `rows`
|
484
|
+
# @return [Array<Array<Object>>]
|
485
|
+
attr_accessor :rows
|
486
|
+
|
487
|
+
def initialize(**args)
|
488
|
+
update!(**args)
|
489
|
+
end
|
490
|
+
|
491
|
+
# Update properties of this object
|
492
|
+
def update!(**args)
|
493
|
+
@column_headers = args[:column_headers] if args.key?(:column_headers)
|
494
|
+
@errors = args[:errors] if args.key?(:errors)
|
495
|
+
@kind = args[:kind] if args.key?(:kind)
|
496
|
+
@rows = args[:rows] if args.key?(:rows)
|
497
|
+
end
|
498
|
+
end
|
499
|
+
|
500
|
+
# The description of a column of the result table.
|
501
|
+
class ResultTableColumnHeader
|
502
|
+
include Google::Apis::Core::Hashable
|
503
|
+
|
504
|
+
# The type of the column (`DIMENSION` or `METRIC`).
|
505
|
+
# Corresponds to the JSON property `columnType`
|
506
|
+
# @return [String]
|
507
|
+
attr_accessor :column_type
|
508
|
+
|
509
|
+
# The type of the data in the column (`STRING`, `INTEGER`, `FLOAT`, etc.).
|
510
|
+
# Corresponds to the JSON property `dataType`
|
511
|
+
# @return [String]
|
512
|
+
attr_accessor :data_type
|
513
|
+
|
514
|
+
# The name of the dimension or metric.
|
515
|
+
# Corresponds to the JSON property `name`
|
516
|
+
# @return [String]
|
517
|
+
attr_accessor :name
|
518
|
+
|
519
|
+
def initialize(**args)
|
520
|
+
update!(**args)
|
521
|
+
end
|
522
|
+
|
523
|
+
# Update properties of this object
|
524
|
+
def update!(**args)
|
525
|
+
@column_type = args[:column_type] if args.key?(:column_type)
|
526
|
+
@data_type = args[:data_type] if args.key?(:data_type)
|
527
|
+
@name = args[:name] if args.key?(:name)
|
528
|
+
end
|
529
|
+
end
|
530
|
+
end
|
531
|
+
end
|
532
|
+
end
|