google-api-client 0.13.2 → 0.13.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +149 -0
- data/bin/generate-api +6 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +3 -3
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +46 -46
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +15 -15
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +6 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +2 -2
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1394 -1394
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +322 -322
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +449 -449
- data/generated/google/apis/adexchangebuyer_v1_2.rb +35 -0
- data/generated/google/apis/adexchangebuyer_v1_2/classes.rb +457 -0
- data/generated/google/apis/adexchangebuyer_v1_2/representations.rb +189 -0
- data/generated/google/apis/adexchangebuyer_v1_2/service.rb +329 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +35 -0
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +1347 -0
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +498 -0
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +873 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +1 -1
- data/generated/google/apis/adexchangeseller_v1.rb +37 -0
- data/generated/google/apis/adexchangeseller_v1/classes.rb +557 -0
- data/generated/google/apis/adexchangeseller_v1/representations.rb +248 -0
- data/generated/google/apis/adexchangeseller_v1/service.rb +568 -0
- data/generated/google/apis/adexchangeseller_v1_1.rb +37 -0
- data/generated/google/apis/adexchangeseller_v1_1/classes.rb +842 -0
- data/generated/google/apis/adexchangeseller_v1_1/representations.rb +364 -0
- data/generated/google/apis/adexchangeseller_v1_1/service.rb +771 -0
- data/generated/google/apis/adexperiencereport_v1.rb +35 -0
- data/generated/google/apis/adexperiencereport_v1/classes.rb +138 -0
- data/generated/google/apis/adexperiencereport_v1/representations.rb +77 -0
- data/generated/google/apis/adexperiencereport_v1/service.rb +123 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +60 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +29 -0
- data/generated/google/apis/admin_directory_v1/service.rb +39 -0
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analytics_v2_4.rb +37 -0
- data/generated/google/apis/analytics_v2_4/classes.rb +26 -0
- data/generated/google/apis/analytics_v2_4/representations.rb +26 -0
- data/generated/google/apis/analytics_v2_4/service.rb +345 -0
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +15 -2
- data/generated/google/apis/analytics_v3/representations.rb +3 -0
- data/generated/google/apis/analyticsreporting_v4.rb +4 -4
- data/generated/google/apis/analyticsreporting_v4/classes.rb +891 -891
- data/generated/google/apis/analyticsreporting_v4/representations.rb +189 -189
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +32 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +917 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +447 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +419 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +31 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +14 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +76 -0
- data/generated/google/apis/androidmanagement_v1.rb +35 -0
- data/generated/google/apis/androidmanagement_v1/classes.rb +2039 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +702 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +796 -0
- data/generated/google/apis/androidpublisher_v1.rb +34 -0
- data/generated/google/apis/androidpublisher_v1/classes.rb +67 -0
- data/generated/google/apis/androidpublisher_v1/representations.rb +42 -0
- data/generated/google/apis/androidpublisher_v1/service.rb +150 -0
- data/generated/google/apis/androidpublisher_v1_1.rb +34 -0
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +123 -0
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +60 -0
- data/generated/google/apis/androidpublisher_v1_1/service.rb +192 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +21 -0
- data/generated/google/apis/androidpublisher_v2/representations.rb +3 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +6 -2
- data/generated/google/apis/appengine_v1.rb +4 -4
- data/generated/google/apis/appengine_v1/classes.rb +1519 -1474
- data/generated/google/apis/appengine_v1/representations.rb +351 -335
- data/generated/google/apis/appengine_v1/service.rb +255 -239
- data/generated/google/apis/appengine_v1alpha.rb +41 -0
- data/generated/google/apis/appengine_v1alpha/classes.rb +987 -0
- data/generated/google/apis/appengine_v1alpha/representations.rb +397 -0
- data/generated/google/apis/appengine_v1alpha/service.rb +631 -0
- data/generated/google/apis/appengine_v1beta.rb +41 -0
- data/generated/google/apis/appengine_v1beta/classes.rb +2876 -0
- data/generated/google/apis/appengine_v1beta/representations.rb +1138 -0
- data/generated/google/apis/appengine_v1beta/service.rb +1546 -0
- data/generated/google/apis/appengine_v1beta4.rb +41 -0
- data/generated/google/apis/appengine_v1beta4/classes.rb +2170 -0
- data/generated/google/apis/appengine_v1beta4/representations.rb +824 -0
- data/generated/google/apis/appengine_v1beta4/service.rb +876 -0
- data/generated/google/apis/appengine_v1beta5.rb +41 -0
- data/generated/google/apis/appengine_v1beta5/classes.rb +2168 -0
- data/generated/google/apis/appengine_v1beta5/representations.rb +822 -0
- data/generated/google/apis/appengine_v1beta5/service.rb +877 -0
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +106 -18
- data/generated/google/apis/bigquery_v2/representations.rb +15 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +41 -0
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +886 -0
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +343 -0
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +1317 -0
- data/generated/google/apis/blogger_v2.rb +34 -0
- data/generated/google/apis/blogger_v2/classes.rb +947 -0
- data/generated/google/apis/blogger_v2/representations.rb +465 -0
- data/generated/google/apis/blogger_v2/service.rb +424 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +4 -207
- data/generated/google/apis/calendar_v3/representations.rb +0 -97
- data/generated/google/apis/calendar_v3/service.rb +8 -4
- data/generated/google/apis/classroom_v1.rb +27 -27
- data/generated/google/apis/classroom_v1/classes.rb +1037 -926
- data/generated/google/apis/classroom_v1/representations.rb +294 -244
- data/generated/google/apis/classroom_v1/service.rb +1114 -1109
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +473 -56
- data/generated/google/apis/cloudbilling_v1/representations.rb +176 -10
- data/generated/google/apis/cloudbilling_v1/service.rb +182 -89
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +666 -625
- data/generated/google/apis/cloudbuild_v1/representations.rb +132 -116
- data/generated/google/apis/cloudbuild_v1/service.rb +158 -158
- data/generated/google/apis/clouddebugger_v2.rb +4 -4
- data/generated/google/apis/clouddebugger_v2/classes.rb +637 -639
- data/generated/google/apis/clouddebugger_v2/representations.rb +139 -139
- data/generated/google/apis/clouddebugger_v2/service.rb +157 -157
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +310 -310
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +77 -77
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +144 -144
- data/generated/google/apis/cloudfunctions_v1.rb +4 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +265 -6
- data/generated/google/apis/cloudfunctions_v1/representations.rb +80 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +118 -0
- data/generated/google/apis/cloudfunctions_v1beta2.rb +35 -0
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +678 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +264 -0
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +385 -0
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +652 -622
- data/generated/google/apis/cloudkms_v1/representations.rb +138 -137
- data/generated/google/apis/cloudkms_v1/service.rb +320 -320
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1129 -1129
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +188 -188
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +609 -609
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +404 -404
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +83 -83
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +328 -328
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +38 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +819 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +304 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +528 -0
- data/generated/google/apis/cloudtrace_v1.rb +5 -5
- data/generated/google/apis/cloudtrace_v1/classes.rb +67 -67
- data/generated/google/apis/cloudtrace_v1/representations.rb +21 -21
- data/generated/google/apis/cloudtrace_v1/service.rb +36 -36
- data/generated/google/apis/cloudtrace_v2.rb +43 -0
- data/generated/google/apis/cloudtrace_v2/classes.rb +797 -0
- data/generated/google/apis/cloudtrace_v2/representations.rb +353 -0
- data/generated/google/apis/cloudtrace_v2/service.rb +238 -0
- data/generated/google/apis/clouduseraccounts_alpha.rb +44 -0
- data/generated/google/apis/clouduseraccounts_alpha/classes.rb +1188 -0
- data/generated/google/apis/clouduseraccounts_alpha/representations.rb +494 -0
- data/generated/google/apis/clouduseraccounts_alpha/service.rb +1152 -0
- data/generated/google/apis/clouduseraccounts_vm_alpha.rb +44 -0
- data/generated/google/apis/clouduseraccounts_vm_alpha/classes.rb +1188 -0
- data/generated/google/apis/clouduseraccounts_vm_alpha/representations.rb +494 -0
- data/generated/google/apis/clouduseraccounts_vm_alpha/service.rb +1152 -0
- data/generated/google/apis/clouduseraccounts_vm_beta.rb +44 -0
- data/generated/google/apis/clouduseraccounts_vm_beta/classes.rb +845 -0
- data/generated/google/apis/clouduseraccounts_vm_beta/representations.rb +352 -0
- data/generated/google/apis/clouduseraccounts_vm_beta/service.rb +908 -0
- data/generated/google/apis/compute_alpha.rb +49 -0
- data/generated/google/apis/compute_alpha/classes.rb +23796 -0
- data/generated/google/apis/compute_alpha/representations.rb +9391 -0
- data/generated/google/apis/compute_alpha/service.rb +24188 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1597 -235
- data/generated/google/apis/compute_beta/representations.rb +477 -0
- data/generated/google/apis/compute_beta/service.rb +2875 -1677
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +319 -197
- data/generated/google/apis/compute_v1/representations.rb +51 -0
- data/generated/google/apis/compute_v1/service.rb +2057 -172
- data/generated/google/apis/consumersurveys_v2.rb +40 -0
- data/generated/google/apis/consumersurveys_v2/classes.rb +736 -0
- data/generated/google/apis/consumersurveys_v2/representations.rb +343 -0
- data/generated/google/apis/consumersurveys_v2/service.rb +478 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +1072 -936
- data/generated/google/apis/container_v1/representations.rb +266 -202
- data/generated/google/apis/container_v1/service.rb +243 -243
- data/generated/google/apis/container_v1beta1.rb +35 -0
- data/generated/google/apis/container_v1beta1/classes.rb +1900 -0
- data/generated/google/apis/container_v1beta1/representations.rb +662 -0
- data/generated/google/apis/container_v1beta1/service.rb +1875 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +72 -3
- data/generated/google/apis/content_v2/representations.rb +23 -0
- data/generated/google/apis/content_v2/service.rb +23 -18
- data/generated/google/apis/content_v2sandbox.rb +35 -0
- data/generated/google/apis/content_v2sandbox/classes.rb +2406 -0
- data/generated/google/apis/content_v2sandbox/representations.rb +1042 -0
- data/generated/google/apis/content_v2sandbox/service.rb +709 -0
- data/generated/google/apis/dataflow_v1b3.rb +5 -5
- data/generated/google/apis/dataflow_v1b3/classes.rb +3341 -3341
- data/generated/google/apis/dataflow_v1b3/representations.rb +807 -807
- data/generated/google/apis/dataflow_v1b3/service.rb +492 -444
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1101 -1101
- data/generated/google/apis/dataproc_v1/representations.rb +227 -227
- data/generated/google/apis/dataproc_v1/service.rb +254 -254
- data/generated/google/apis/dataproc_v1beta2.rb +34 -0
- data/generated/google/apis/dataproc_v1beta2/classes.rb +1756 -0
- data/generated/google/apis/dataproc_v1beta2/representations.rb +675 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +739 -0
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +1311 -773
- data/generated/google/apis/datastore_v1/representations.rb +351 -148
- data/generated/google/apis/datastore_v1/service.rb +206 -55
- data/generated/google/apis/datastore_v1beta3.rb +38 -0
- data/generated/google/apis/datastore_v1beta3/classes.rb +1621 -0
- data/generated/google/apis/datastore_v1beta3/representations.rb +715 -0
- data/generated/google/apis/datastore_v1beta3/service.rb +260 -0
- data/generated/google/apis/deploymentmanager_alpha.rb +44 -0
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +2422 -0
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +1054 -0
- data/generated/google/apis/deploymentmanager_alpha/service.rb +1883 -0
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +81 -2
- data/generated/google/apis/deploymentmanager_v2/representations.rb +30 -0
- data/generated/google/apis/deploymentmanager_v2beta.rb +44 -0
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +2426 -0
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +1054 -0
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +1687 -0
- data/generated/google/apis/dfareporting_v2_7.rb +1 -1
- data/generated/google/apis/dfareporting_v2_7/classes.rb +9 -26
- data/generated/google/apis/dfareporting_v2_7/service.rb +1 -0
- data/generated/google/apis/dfareporting_v2_8.rb +1 -1
- data/generated/google/apis/dfareporting_v2_8/classes.rb +26 -34
- data/generated/google/apis/dfareporting_v2_8/representations.rb +1 -0
- data/generated/google/apis/dfareporting_v2_8/service.rb +1 -0
- data/generated/google/apis/dlp_v2beta1.rb +36 -0
- data/generated/google/apis/dlp_v2beta1/classes.rb +1735 -0
- data/generated/google/apis/dlp_v2beta1/representations.rb +879 -0
- data/generated/google/apis/dlp_v2beta1/service.rb +406 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +267 -261
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +73 -72
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -1
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +283 -283
- data/generated/google/apis/firebaserules_v1/representations.rb +75 -75
- data/generated/google/apis/firebaserules_v1/service.rb +113 -113
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +1 -1
- data/generated/google/apis/fusiontables_v1.rb +37 -0
- data/generated/google/apis/fusiontables_v1/classes.rb +977 -0
- data/generated/google/apis/fusiontables_v1/representations.rb +449 -0
- data/generated/google/apis/fusiontables_v1/service.rb +1373 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +8 -8
- data/generated/google/apis/genomics_v1/classes.rb +2288 -2288
- data/generated/google/apis/genomics_v1/representations.rb +482 -482
- data/generated/google/apis/genomics_v1/service.rb +966 -966
- data/generated/google/apis/genomics_v1alpha2.rb +40 -0
- data/generated/google/apis/genomics_v1alpha2/classes.rb +1207 -0
- data/generated/google/apis/genomics_v1alpha2/representations.rb +449 -0
- data/generated/google/apis/genomics_v1alpha2/service.rb +426 -0
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +664 -395
- data/generated/google/apis/iam_v1/representations.rb +194 -81
- data/generated/google/apis/iam_v1/service.rb +657 -92
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/kgsearch_v1/classes.rb +7 -7
- data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +8 -8
- data/generated/google/apis/language_v1.rb +4 -1
- data/generated/google/apis/language_v1/classes.rb +393 -393
- data/generated/google/apis/language_v1/representations.rb +95 -95
- data/generated/google/apis/language_v1/service.rb +42 -42
- data/generated/google/apis/language_v1beta1.rb +4 -1
- data/generated/google/apis/language_v1beta1/classes.rb +457 -457
- data/generated/google/apis/language_v1beta1/representations.rb +114 -114
- data/generated/google/apis/language_v1beta1/service.rb +48 -48
- data/generated/google/apis/language_v1beta2.rb +39 -0
- data/generated/google/apis/language_v1beta2/classes.rb +824 -0
- data/generated/google/apis/language_v1beta2/representations.rb +373 -0
- data/generated/google/apis/language_v1beta2/service.rb +217 -0
- data/generated/google/apis/logging_v2.rb +9 -9
- data/generated/google/apis/logging_v2/classes.rb +840 -834
- data/generated/google/apis/logging_v2/representations.rb +168 -167
- data/generated/google/apis/logging_v2/service.rb +667 -463
- data/generated/google/apis/logging_v2beta1.rb +9 -9
- data/generated/google/apis/logging_v2beta1/classes.rb +856 -850
- data/generated/google/apis/logging_v2beta1/representations.rb +169 -168
- data/generated/google/apis/logging_v2beta1/service.rb +253 -255
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +396 -389
- data/generated/google/apis/manufacturers_v1/representations.rb +92 -91
- data/generated/google/apis/manufacturers_v1/service.rb +8 -7
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1487 -1676
- data/generated/google/apis/ml_v1/representations.rb +229 -299
- data/generated/google/apis/ml_v1/service.rb +359 -253
- data/generated/google/apis/ml_v1beta1.rb +34 -0
- data/generated/google/apis/ml_v1beta1/classes.rb +2396 -0
- data/generated/google/apis/ml_v1beta1/representations.rb +755 -0
- data/generated/google/apis/ml_v1beta1/service.rb +975 -0
- data/generated/google/apis/monitoring_v3.rb +6 -6
- data/generated/google/apis/monitoring_v3/classes.rb +834 -834
- data/generated/google/apis/monitoring_v3/representations.rb +168 -168
- data/generated/google/apis/monitoring_v3/service.rb +330 -330
- data/generated/google/apis/mybusiness_v3/classes.rb +1181 -1181
- data/generated/google/apis/mybusiness_v3/representations.rb +242 -242
- data/generated/google/apis/mybusiness_v3/service.rb +241 -241
- data/generated/google/apis/oauth2_v1.rb +43 -0
- data/generated/google/apis/oauth2_v1/classes.rb +321 -0
- data/generated/google/apis/oauth2_v1/representations.rb +135 -0
- data/generated/google/apis/oauth2_v1/service.rb +337 -0
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha.rb +37 -0
- data/generated/google/apis/oslogin_v1alpha/classes.rb +200 -0
- data/generated/google/apis/oslogin_v1alpha/representations.rb +105 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +228 -0
- data/generated/google/apis/pagespeedonline_v1.rb +32 -0
- data/generated/google/apis/pagespeedonline_v1/classes.rb +536 -0
- data/generated/google/apis/pagespeedonline_v1/representations.rb +257 -0
- data/generated/google/apis/pagespeedonline_v1/service.rb +120 -0
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +1512 -1512
- data/generated/google/apis/partners_v2/representations.rb +368 -368
- data/generated/google/apis/partners_v2/service.rb +596 -596
- data/generated/google/apis/people_v1.rb +15 -15
- data/generated/google/apis/people_v1/classes.rb +1384 -1383
- data/generated/google/apis/people_v1/representations.rb +311 -311
- data/generated/google/apis/people_v1/service.rb +208 -202
- data/generated/google/apis/playcustomapp_v1.rb +34 -0
- data/generated/google/apis/playcustomapp_v1/classes.rb +51 -0
- data/generated/google/apis/playcustomapp_v1/representations.rb +40 -0
- data/generated/google/apis/playcustomapp_v1/service.rb +114 -0
- data/generated/google/apis/playmoviespartner_v1.rb +34 -0
- data/generated/google/apis/playmoviespartner_v1/classes.rb +782 -0
- data/generated/google/apis/playmoviespartner_v1/representations.rb +191 -0
- data/generated/google/apis/playmoviespartner_v1/service.rb +354 -0
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/prediction_v1_2.rb +44 -0
- data/generated/google/apis/prediction_v1_2/classes.rb +237 -0
- data/generated/google/apis/prediction_v1_2/representations.rb +133 -0
- data/generated/google/apis/prediction_v1_2/service.rb +287 -0
- data/generated/google/apis/prediction_v1_3.rb +44 -0
- data/generated/google/apis/prediction_v1_3/classes.rb +286 -0
- data/generated/google/apis/prediction_v1_3/representations.rb +139 -0
- data/generated/google/apis/prediction_v1_3/service.rb +284 -0
- data/generated/google/apis/prediction_v1_4.rb +44 -0
- data/generated/google/apis/prediction_v1_4/classes.rb +336 -0
- data/generated/google/apis/prediction_v1_4/representations.rb +158 -0
- data/generated/google/apis/prediction_v1_4/service.rb +284 -0
- data/generated/google/apis/prediction_v1_5.rb +44 -0
- data/generated/google/apis/prediction_v1_5/classes.rb +708 -0
- data/generated/google/apis/prediction_v1_5/representations.rb +352 -0
- data/generated/google/apis/prediction_v1_5/service.rb +357 -0
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +539 -539
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +105 -105
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +312 -312
- data/generated/google/apis/pubsub_v1.rb +4 -4
- data/generated/google/apis/pubsub_v1/classes.rb +352 -352
- data/generated/google/apis/pubsub_v1/representations.rb +77 -77
- data/generated/google/apis/pubsub_v1/service.rb +346 -346
- data/generated/google/apis/pubsub_v1beta1a.rb +37 -0
- data/generated/google/apis/pubsub_v1beta1a/classes.rb +605 -0
- data/generated/google/apis/pubsub_v1beta1a/representations.rb +306 -0
- data/generated/google/apis/pubsub_v1beta1a/service.rb +549 -0
- data/generated/google/apis/pubsub_v1beta2.rb +37 -0
- data/generated/google/apis/pubsub_v1beta2/classes.rb +679 -0
- data/generated/google/apis/pubsub_v1beta2/representations.rb +324 -0
- data/generated/google/apis/pubsub_v1beta2/service.rb +779 -0
- data/generated/google/apis/replicapool_v1beta1.rb +50 -0
- data/generated/google/apis/replicapool_v1beta1/classes.rb +918 -0
- data/generated/google/apis/replicapool_v1beta1/representations.rb +409 -0
- data/generated/google/apis/replicapool_v1beta1/service.rb +511 -0
- data/generated/google/apis/resourceviews_v1beta1.rb +50 -0
- data/generated/google/apis/resourceviews_v1beta1/classes.rb +338 -0
- data/generated/google/apis/resourceviews_v1beta1/representations.rb +201 -0
- data/generated/google/apis/resourceviews_v1beta1/service.rb +667 -0
- data/generated/google/apis/runtimeconfig_v1.rb +4 -4
- data/generated/google/apis/runtimeconfig_v1/classes.rb +118 -118
- data/generated/google/apis/runtimeconfig_v1/representations.rb +18 -18
- data/generated/google/apis/runtimeconfig_v1/service.rb +21 -21
- data/generated/google/apis/runtimeconfig_v1beta1.rb +40 -0
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +805 -0
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +280 -0
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +903 -0
- data/generated/google/apis/safebrowsing_v4.rb +32 -0
- data/generated/google/apis/safebrowsing_v4/classes.rb +771 -0
- data/generated/google/apis/safebrowsing_v4/representations.rb +379 -0
- data/generated/google/apis/safebrowsing_v4/service.rb +252 -0
- data/generated/google/apis/script_v1.rb +19 -19
- data/generated/google/apis/script_v1/classes.rb +99 -157
- data/generated/google/apis/script_v1/representations.rb +17 -47
- data/generated/google/apis/script_v1/service.rb +12 -12
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +84 -84
- data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
- data/generated/google/apis/servicecontrol_v1.rb +4 -4
- data/generated/google/apis/servicecontrol_v1/classes.rb +1086 -1042
- data/generated/google/apis/servicecontrol_v1/representations.rb +216 -200
- data/generated/google/apis/servicecontrol_v1/service.rb +120 -114
- data/generated/google/apis/servicemanagement_v1.rb +7 -7
- data/generated/google/apis/servicemanagement_v1/classes.rb +3375 -3383
- data/generated/google/apis/servicemanagement_v1/representations.rb +551 -552
- data/generated/google/apis/servicemanagement_v1/service.rb +386 -386
- data/generated/google/apis/serviceuser_v1.rb +5 -5
- data/generated/google/apis/serviceuser_v1/classes.rb +2667 -2598
- data/generated/google/apis/serviceuser_v1/representations.rb +406 -389
- data/generated/google/apis/serviceuser_v1/service.rb +43 -43
- data/generated/google/apis/sheets_v4.rb +7 -7
- data/generated/google/apis/sheets_v4/classes.rb +5031 -5024
- data/generated/google/apis/sheets_v4/representations.rb +931 -930
- data/generated/google/apis/sheets_v4/service.rb +244 -244
- data/generated/google/apis/slides_v1.rb +10 -10
- data/generated/google/apis/slides_v1/classes.rb +2915 -2915
- data/generated/google/apis/slides_v1/representations.rb +698 -698
- data/generated/google/apis/slides_v1/service.rb +35 -35
- data/generated/google/apis/sourcerepo_v1.rb +3 -3
- data/generated/google/apis/sourcerepo_v1/classes.rb +313 -313
- data/generated/google/apis/sourcerepo_v1/representations.rb +77 -77
- data/generated/google/apis/sourcerepo_v1/service.rb +102 -102
- data/generated/google/apis/spanner_v1.rb +4 -4
- data/generated/google/apis/spanner_v1/classes.rb +2304 -2251
- data/generated/google/apis/spanner_v1/representations.rb +338 -323
- data/generated/google/apis/spanner_v1/service.rb +689 -689
- data/generated/google/apis/spectrum_v1explorer.rb +31 -0
- data/generated/google/apis/spectrum_v1explorer/classes.rb +1612 -0
- data/generated/google/apis/spectrum_v1explorer/representations.rb +611 -0
- data/generated/google/apis/spectrum_v1explorer/service.rb +285 -0
- data/generated/google/apis/speech_v1.rb +34 -0
- data/generated/google/apis/speech_v1/classes.rb +572 -0
- data/generated/google/apis/speech_v1/representations.rb +236 -0
- data/generated/google/apis/speech_v1/service.rb +277 -0
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +312 -312
- data/generated/google/apis/speech_v1beta1/representations.rb +48 -48
- data/generated/google/apis/speech_v1beta1/service.rb +46 -46
- data/generated/google/apis/sqladmin_v1beta3.rb +38 -0
- data/generated/google/apis/sqladmin_v1beta3/classes.rb +1615 -0
- data/generated/google/apis/sqladmin_v1beta3/representations.rb +731 -0
- data/generated/google/apis/sqladmin_v1beta3/service.rb +1045 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +15 -7
- 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 +7 -6
- data/generated/google/apis/storage_v1/service.rb +51 -29
- data/generated/google/apis/storage_v1beta1.rb +40 -0
- data/generated/google/apis/storage_v1beta1/classes.rb +616 -0
- data/generated/google/apis/storage_v1beta1/representations.rb +249 -0
- data/generated/google/apis/storage_v1beta1/service.rb +1082 -0
- data/generated/google/apis/storage_v1beta2.rb +40 -0
- data/generated/google/apis/storage_v1beta2/classes.rb +1048 -0
- data/generated/google/apis/storage_v1beta2/representations.rb +425 -0
- data/generated/google/apis/storage_v1beta2/service.rb +1736 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +556 -556
- data/generated/google/apis/storagetransfer_v1/representations.rb +139 -139
- data/generated/google/apis/storagetransfer_v1/service.rb +148 -148
- data/generated/google/apis/streetviewpublish_v1.rb +36 -0
- data/generated/google/apis/streetviewpublish_v1/classes.rb +705 -0
- data/generated/google/apis/streetviewpublish_v1/representations.rb +296 -0
- data/generated/google/apis/streetviewpublish_v1/service.rb +485 -0
- data/generated/google/apis/taskqueue_v1beta1.rb +37 -0
- data/generated/google/apis/taskqueue_v1beta1/classes.rb +242 -0
- data/generated/google/apis/taskqueue_v1beta1/representations.rb +124 -0
- data/generated/google/apis/taskqueue_v1beta1/service.rb +269 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +382 -4
- data/generated/google/apis/toolresults_v1beta3/representations.rb +139 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +50 -0
- data/generated/google/apis/toolresults_v1beta3firstparty.rb +31 -0
- data/generated/google/apis/toolresults_v1beta3firstparty/classes.rb +2630 -0
- data/generated/google/apis/toolresults_v1beta3firstparty/representations.rb +886 -0
- data/generated/google/apis/toolresults_v1beta3firstparty/service.rb +1288 -0
- data/generated/google/apis/translate_v2/classes.rb +111 -111
- data/generated/google/apis/translate_v2/representations.rb +49 -49
- data/generated/google/apis/translate_v2/service.rb +94 -94
- data/generated/google/apis/vault_v1.rb +31 -0
- data/generated/google/apis/vault_v1/classes.rb +554 -0
- data/generated/google/apis/vault_v1/representations.rb +318 -0
- data/generated/google/apis/vault_v1/service.rb +677 -0
- data/generated/google/apis/videointelligence_v1beta1.rb +34 -0
- data/generated/google/apis/videointelligence_v1beta1/classes.rb +903 -0
- data/generated/google/apis/videointelligence_v1beta1/representations.rb +351 -0
- data/generated/google/apis/videointelligence_v1beta1/service.rb +92 -0
- data/generated/google/apis/vision_v1.rb +4 -4
- data/generated/google/apis/vision_v1/classes.rb +1176 -1178
- data/generated/google/apis/vision_v1/representations.rb +235 -235
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1beta1.rb +46 -0
- data/generated/google/apis/youtube_analytics_v1beta1/classes.rb +337 -0
- data/generated/google/apis/youtube_analytics_v1beta1/representations.rb +174 -0
- data/generated/google/apis/youtube_analytics_v1beta1/service.rb +491 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +3 -3
- data/generated/google/apis/youtube_partner_v1/representations.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +134 -134
- data/generated/google/apis/youtubereporting_v1/representations.rb +36 -36
- data/generated/google/apis/youtubereporting_v1/service.rb +131 -131
- data/lib/google/apis/version.rb +1 -1
- metadata +246 -2
@@ -0,0 +1,34 @@
|
|
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/playcustomapp_v1/service.rb'
|
16
|
+
require 'google/apis/playcustomapp_v1/classes.rb'
|
17
|
+
require 'google/apis/playcustomapp_v1/representations.rb'
|
18
|
+
|
19
|
+
module Google
|
20
|
+
module Apis
|
21
|
+
# Google Play Custom App Publishing API
|
22
|
+
#
|
23
|
+
# An API to publish custom Android apps.
|
24
|
+
#
|
25
|
+
# @see https://developers.google.com/android/work/play/custom-app-api
|
26
|
+
module PlaycustomappV1
|
27
|
+
VERSION = 'V1'
|
28
|
+
REVISION = '20170622'
|
29
|
+
|
30
|
+
# View and manage your Google Play Developer account
|
31
|
+
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
@@ -0,0 +1,51 @@
|
|
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 PlaycustomappV1
|
24
|
+
|
25
|
+
# This resource represents a custom app.
|
26
|
+
class CustomApp
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# Default listing language in BCP 47 format.
|
30
|
+
# Corresponds to the JSON property `languageCode`
|
31
|
+
# @return [String]
|
32
|
+
attr_accessor :language_code
|
33
|
+
|
34
|
+
# Title for the Android app.
|
35
|
+
# Corresponds to the JSON property `title`
|
36
|
+
# @return [String]
|
37
|
+
attr_accessor :title
|
38
|
+
|
39
|
+
def initialize(**args)
|
40
|
+
update!(**args)
|
41
|
+
end
|
42
|
+
|
43
|
+
# Update properties of this object
|
44
|
+
def update!(**args)
|
45
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
46
|
+
@title = args[:title] if args.key?(:title)
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,40 @@
|
|
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 PlaycustomappV1
|
24
|
+
|
25
|
+
class CustomApp
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class CustomApp
|
32
|
+
# @private
|
33
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
34
|
+
property :language_code, as: 'languageCode'
|
35
|
+
property :title, as: 'title'
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,114 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'google/apis/core/base_service'
|
16
|
+
require 'google/apis/core/json_representation'
|
17
|
+
require 'google/apis/core/hashable'
|
18
|
+
require 'google/apis/errors'
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Apis
|
22
|
+
module PlaycustomappV1
|
23
|
+
# Google Play Custom App Publishing API
|
24
|
+
#
|
25
|
+
# An API to publish custom Android apps.
|
26
|
+
#
|
27
|
+
# @example
|
28
|
+
# require 'google/apis/playcustomapp_v1'
|
29
|
+
#
|
30
|
+
# Playcustomapp = Google::Apis::PlaycustomappV1 # Alias the module
|
31
|
+
# service = Playcustomapp::PlaycustomappService.new
|
32
|
+
#
|
33
|
+
# @see https://developers.google.com/android/work/play/custom-app-api
|
34
|
+
class PlaycustomappService < Google::Apis::Core::BaseService
|
35
|
+
# @return [String]
|
36
|
+
# API key. Your API key identifies your project and provides you with API access,
|
37
|
+
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
38
|
+
attr_accessor :key
|
39
|
+
|
40
|
+
# @return [String]
|
41
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
42
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
43
|
+
# Overrides userIp if both are provided.
|
44
|
+
attr_accessor :quota_user
|
45
|
+
|
46
|
+
# @return [String]
|
47
|
+
# IP address of the site where the request originates. Use this if you want to
|
48
|
+
# enforce per-user limits.
|
49
|
+
attr_accessor :user_ip
|
50
|
+
|
51
|
+
def initialize
|
52
|
+
super('https://www.googleapis.com/', 'playcustomapp/v1/accounts/')
|
53
|
+
@batch_path = 'batch'
|
54
|
+
end
|
55
|
+
|
56
|
+
# Create and publish a new custom app.
|
57
|
+
# @param [Fixnum] account
|
58
|
+
# Developer account ID.
|
59
|
+
# @param [Google::Apis::PlaycustomappV1::CustomApp] custom_app_object
|
60
|
+
# @param [String] fields
|
61
|
+
# Selector specifying which fields to include in a partial response.
|
62
|
+
# @param [String] quota_user
|
63
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
64
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
65
|
+
# Overrides userIp if both are provided.
|
66
|
+
# @param [String] user_ip
|
67
|
+
# IP address of the site where the request originates. Use this if you want to
|
68
|
+
# enforce per-user limits.
|
69
|
+
# @param [IO, String] upload_source
|
70
|
+
# IO stream or filename containing content to upload
|
71
|
+
# @param [String] content_type
|
72
|
+
# Content type of the uploaded content.
|
73
|
+
# @param [Google::Apis::RequestOptions] options
|
74
|
+
# Request-specific options
|
75
|
+
#
|
76
|
+
# @yield [result, err] Result & error if block supplied
|
77
|
+
# @yieldparam result [Google::Apis::PlaycustomappV1::CustomApp] parsed result object
|
78
|
+
# @yieldparam err [StandardError] error object if request failed
|
79
|
+
#
|
80
|
+
# @return [Google::Apis::PlaycustomappV1::CustomApp]
|
81
|
+
#
|
82
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
83
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
84
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
85
|
+
def create_account_custom_app(account, custom_app_object = nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
86
|
+
if upload_source.nil?
|
87
|
+
command = make_simple_command(:post, '{account}/customApps', options)
|
88
|
+
else
|
89
|
+
command = make_upload_command(:post, '{account}/customApps', options)
|
90
|
+
command.upload_source = upload_source
|
91
|
+
command.upload_content_type = content_type
|
92
|
+
end
|
93
|
+
command.request_representation = Google::Apis::PlaycustomappV1::CustomApp::Representation
|
94
|
+
command.request_object = custom_app_object
|
95
|
+
command.response_representation = Google::Apis::PlaycustomappV1::CustomApp::Representation
|
96
|
+
command.response_class = Google::Apis::PlaycustomappV1::CustomApp
|
97
|
+
command.params['account'] = account unless account.nil?
|
98
|
+
command.query['fields'] = fields unless fields.nil?
|
99
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
100
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
101
|
+
execute_or_queue_command(command, &block)
|
102
|
+
end
|
103
|
+
|
104
|
+
protected
|
105
|
+
|
106
|
+
def apply_command_defaults(command)
|
107
|
+
command.query['key'] = key unless key.nil?
|
108
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
109
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
110
|
+
end
|
111
|
+
end
|
112
|
+
end
|
113
|
+
end
|
114
|
+
end
|
@@ -0,0 +1,34 @@
|
|
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/playmoviespartner_v1/service.rb'
|
16
|
+
require 'google/apis/playmoviespartner_v1/classes.rb'
|
17
|
+
require 'google/apis/playmoviespartner_v1/representations.rb'
|
18
|
+
|
19
|
+
module Google
|
20
|
+
module Apis
|
21
|
+
# Google Play Movies Partner API
|
22
|
+
#
|
23
|
+
# Gets the delivery status of titles for Google Play Movies Partners.
|
24
|
+
#
|
25
|
+
# @see https://developers.google.com/playmoviespartner/
|
26
|
+
module PlaymoviespartnerV1
|
27
|
+
VERSION = 'V1'
|
28
|
+
REVISION = '20170418'
|
29
|
+
|
30
|
+
# View the digital assets you publish on Google Play Movies and TV
|
31
|
+
AUTH_PLAYMOVIES_PARTNER_READONLY = 'https://www.googleapis.com/auth/playmovies_partner.readonly'
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
@@ -0,0 +1,782 @@
|
|
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 PlaymoviespartnerV1
|
24
|
+
|
25
|
+
# An Avail describes the Availability Window of a specific Edit in a given
|
26
|
+
# country, which means the period Google is allowed to sell or rent the Edit.
|
27
|
+
# Avails are exposed in EMA format Version 1.6b (available at
|
28
|
+
# http://www.movielabs.com/md/avails/)
|
29
|
+
# Studios can see the Avails for the Titles they own.
|
30
|
+
# Post-production houses cannot see any Avails.
|
31
|
+
class Avail
|
32
|
+
include Google::Apis::Core::Hashable
|
33
|
+
|
34
|
+
# Other identifier referring to the Edit, as defined by partner.
|
35
|
+
# Example: "GOOGLER_2006"
|
36
|
+
# Corresponds to the JSON property `altId`
|
37
|
+
# @return [String]
|
38
|
+
attr_accessor :alt_id
|
39
|
+
|
40
|
+
# ID internally generated by Google to uniquely identify an Avail.
|
41
|
+
# Not part of EMA Specs.
|
42
|
+
# Corresponds to the JSON property `availId`
|
43
|
+
# @return [String]
|
44
|
+
attr_accessor :avail_id
|
45
|
+
|
46
|
+
# Communicating an exempt category as defined by FCC regulations.
|
47
|
+
# It is not required for non-US Avails.
|
48
|
+
# Example: "1"
|
49
|
+
# Corresponds to the JSON property `captionExemption`
|
50
|
+
# @return [String]
|
51
|
+
attr_accessor :caption_exemption
|
52
|
+
|
53
|
+
# Communicating if caption file will be delivered.
|
54
|
+
# Corresponds to the JSON property `captionIncluded`
|
55
|
+
# @return [Boolean]
|
56
|
+
attr_accessor :caption_included
|
57
|
+
alias_method :caption_included?, :caption_included
|
58
|
+
|
59
|
+
# Title Identifier. This should be the Title Level EIDR.
|
60
|
+
# Example: "10.5240/1489-49A2-3956-4B2D-FE16-5".
|
61
|
+
# Corresponds to the JSON property `contentId`
|
62
|
+
# @return [String]
|
63
|
+
attr_accessor :content_id
|
64
|
+
|
65
|
+
# The name of the studio that owns the Edit referred in the Avail.
|
66
|
+
# This is the equivalent of `studio_name` in other resources, but it follows
|
67
|
+
# the EMA nomenclature.
|
68
|
+
# Example: "Google Films".
|
69
|
+
# Corresponds to the JSON property `displayName`
|
70
|
+
# @return [String]
|
71
|
+
attr_accessor :display_name
|
72
|
+
|
73
|
+
# Manifestation Identifier. This should be the Manifestation
|
74
|
+
# Level EIDR.
|
75
|
+
# Example: "10.2340/1489-49A2-3956-4B2D-FE16-7"
|
76
|
+
# Corresponds to the JSON property `encodeId`
|
77
|
+
# @return [String]
|
78
|
+
attr_accessor :encode_id
|
79
|
+
|
80
|
+
# End of term in YYYY-MM-DD format in the timezone of the country
|
81
|
+
# of the Avail.
|
82
|
+
# "Open" if no end date is available.
|
83
|
+
# Example: "2019-02-17"
|
84
|
+
# Corresponds to the JSON property `end`
|
85
|
+
# @return [String]
|
86
|
+
attr_accessor :end
|
87
|
+
|
88
|
+
# Other identifier referring to the episode, as defined by partner.
|
89
|
+
# Only available on TV avails.
|
90
|
+
# Example: "rs_googlers_s1_3".
|
91
|
+
# Corresponds to the JSON property `episodeAltId`
|
92
|
+
# @return [String]
|
93
|
+
attr_accessor :episode_alt_id
|
94
|
+
|
95
|
+
# The number assigned to the episode within a season.
|
96
|
+
# Only available on TV Avails.
|
97
|
+
# Example: "3".
|
98
|
+
# Corresponds to the JSON property `episodeNumber`
|
99
|
+
# @return [String]
|
100
|
+
attr_accessor :episode_number
|
101
|
+
|
102
|
+
# OPTIONAL.TV Only. Title used by involved parties to refer to this episode.
|
103
|
+
# Only available on TV Avails.
|
104
|
+
# Example: "Coding at Google".
|
105
|
+
# Corresponds to the JSON property `episodeTitleInternalAlias`
|
106
|
+
# @return [String]
|
107
|
+
attr_accessor :episode_title_internal_alias
|
108
|
+
|
109
|
+
# Indicates the format profile covered by the transaction.
|
110
|
+
# Corresponds to the JSON property `formatProfile`
|
111
|
+
# @return [String]
|
112
|
+
attr_accessor :format_profile
|
113
|
+
|
114
|
+
# Type of transaction.
|
115
|
+
# Corresponds to the JSON property `licenseType`
|
116
|
+
# @return [String]
|
117
|
+
attr_accessor :license_type
|
118
|
+
|
119
|
+
# Name of the post-production houses that manage the Avail.
|
120
|
+
# Not part of EMA Specs.
|
121
|
+
# Corresponds to the JSON property `pphNames`
|
122
|
+
# @return [Array<String>]
|
123
|
+
attr_accessor :pph_names
|
124
|
+
|
125
|
+
# Type of pricing that should be applied to this Avail
|
126
|
+
# based on how the partner classify them.
|
127
|
+
# Example: "Tier", "WSP", "SRP", or "Category".
|
128
|
+
# Corresponds to the JSON property `priceType`
|
129
|
+
# @return [String]
|
130
|
+
attr_accessor :price_type
|
131
|
+
|
132
|
+
# Value to be applied to the pricing type.
|
133
|
+
# Example: "4" or "2.99"
|
134
|
+
# Corresponds to the JSON property `priceValue`
|
135
|
+
# @return [String]
|
136
|
+
attr_accessor :price_value
|
137
|
+
|
138
|
+
# Edit Identifier. This should be the Edit Level EIDR.
|
139
|
+
# Example: "10.2340/1489-49A2-3956-4B2D-FE16-6"
|
140
|
+
# Corresponds to the JSON property `productId`
|
141
|
+
# @return [String]
|
142
|
+
attr_accessor :product_id
|
143
|
+
|
144
|
+
# Value representing the rating reason.
|
145
|
+
# Rating reasons should be formatted as per
|
146
|
+
# [EMA ratings spec](http://www.movielabs.com/md/ratings/)
|
147
|
+
# and comma-separated for inclusion of multiple reasons.
|
148
|
+
# Example: "L, S, V"
|
149
|
+
# Corresponds to the JSON property `ratingReason`
|
150
|
+
# @return [String]
|
151
|
+
attr_accessor :rating_reason
|
152
|
+
|
153
|
+
# Rating system applied to the version of title within territory
|
154
|
+
# of Avail.
|
155
|
+
# Rating systems should be formatted as per
|
156
|
+
# [EMA ratings spec](http://www.movielabs.com/md/ratings/)
|
157
|
+
# Example: "MPAA"
|
158
|
+
# Corresponds to the JSON property `ratingSystem`
|
159
|
+
# @return [String]
|
160
|
+
attr_accessor :rating_system
|
161
|
+
|
162
|
+
# Value representing the rating.
|
163
|
+
# Ratings should be formatted as per http://www.movielabs.com/md/ratings/
|
164
|
+
# Example: "PG"
|
165
|
+
# Corresponds to the JSON property `ratingValue`
|
166
|
+
# @return [String]
|
167
|
+
attr_accessor :rating_value
|
168
|
+
|
169
|
+
# Release date of the Title in earliest released territory.
|
170
|
+
# Typically it is just the year, but it is free-form as per EMA spec.
|
171
|
+
# Examples: "1979", "Oct 2014"
|
172
|
+
# Corresponds to the JSON property `releaseDate`
|
173
|
+
# @return [String]
|
174
|
+
attr_accessor :release_date
|
175
|
+
|
176
|
+
# Other identifier referring to the season, as defined by partner.
|
177
|
+
# Only available on TV avails.
|
178
|
+
# Example: "rs_googlers_s1".
|
179
|
+
# Corresponds to the JSON property `seasonAltId`
|
180
|
+
# @return [String]
|
181
|
+
attr_accessor :season_alt_id
|
182
|
+
|
183
|
+
# The number assigned to the season within a series.
|
184
|
+
# Only available on TV Avails.
|
185
|
+
# Example: "1".
|
186
|
+
# Corresponds to the JSON property `seasonNumber`
|
187
|
+
# @return [String]
|
188
|
+
attr_accessor :season_number
|
189
|
+
|
190
|
+
# Title used by involved parties to refer to this season.
|
191
|
+
# Only available on TV Avails.
|
192
|
+
# Example: "Googlers, The".
|
193
|
+
# Corresponds to the JSON property `seasonTitleInternalAlias`
|
194
|
+
# @return [String]
|
195
|
+
attr_accessor :season_title_internal_alias
|
196
|
+
|
197
|
+
# Other identifier referring to the series, as defined by partner.
|
198
|
+
# Only available on TV avails.
|
199
|
+
# Example: "rs_googlers".
|
200
|
+
# Corresponds to the JSON property `seriesAltId`
|
201
|
+
# @return [String]
|
202
|
+
attr_accessor :series_alt_id
|
203
|
+
|
204
|
+
# Title used by involved parties to refer to this series.
|
205
|
+
# Only available on TV Avails.
|
206
|
+
# Example: "Googlers, The".
|
207
|
+
# Corresponds to the JSON property `seriesTitleInternalAlias`
|
208
|
+
# @return [String]
|
209
|
+
attr_accessor :series_title_internal_alias
|
210
|
+
|
211
|
+
# Start of term in YYYY-MM-DD format in the timezone of the
|
212
|
+
# country of the Avail.
|
213
|
+
# Example: "2013-05-14".
|
214
|
+
# Corresponds to the JSON property `start`
|
215
|
+
# @return [String]
|
216
|
+
attr_accessor :start
|
217
|
+
|
218
|
+
# Spoken language of the intended audience.
|
219
|
+
# Language shall be encoded in accordance with RFC 5646.
|
220
|
+
# Example: "fr".
|
221
|
+
# Corresponds to the JSON property `storeLanguage`
|
222
|
+
# @return [String]
|
223
|
+
attr_accessor :store_language
|
224
|
+
|
225
|
+
# First date an Edit could be publically announced as becoming
|
226
|
+
# available at a specific future date in territory of Avail.
|
227
|
+
# *Not* the Avail start date or pre-order start date.
|
228
|
+
# Format is YYYY-MM-DD.
|
229
|
+
# Only available for pre-orders.
|
230
|
+
# Example: "2012-12-10"
|
231
|
+
# Corresponds to the JSON property `suppressionLiftDate`
|
232
|
+
# @return [String]
|
233
|
+
attr_accessor :suppression_lift_date
|
234
|
+
|
235
|
+
# ISO 3166-1 alpha-2 country code for the country or territory
|
236
|
+
# of this Avail.
|
237
|
+
# For Avails, we use Territory in lieu of Country to comply with
|
238
|
+
# EMA specifications.
|
239
|
+
# But please note that Territory and Country identify the same thing.
|
240
|
+
# Example: "US".
|
241
|
+
# Corresponds to the JSON property `territory`
|
242
|
+
# @return [String]
|
243
|
+
attr_accessor :territory
|
244
|
+
|
245
|
+
# Title used by involved parties to refer to this content.
|
246
|
+
# Example: "Googlers, The".
|
247
|
+
# Only available on Movie Avails.
|
248
|
+
# Corresponds to the JSON property `titleInternalAlias`
|
249
|
+
# @return [String]
|
250
|
+
attr_accessor :title_internal_alias
|
251
|
+
|
252
|
+
# Google-generated ID identifying the video linked to this Avail, once
|
253
|
+
# delivered.
|
254
|
+
# Not part of EMA Specs.
|
255
|
+
# Example: 'gtry456_xc'
|
256
|
+
# Corresponds to the JSON property `videoId`
|
257
|
+
# @return [String]
|
258
|
+
attr_accessor :video_id
|
259
|
+
|
260
|
+
# Work type as enumerated in EMA.
|
261
|
+
# Corresponds to the JSON property `workType`
|
262
|
+
# @return [String]
|
263
|
+
attr_accessor :work_type
|
264
|
+
|
265
|
+
def initialize(**args)
|
266
|
+
update!(**args)
|
267
|
+
end
|
268
|
+
|
269
|
+
# Update properties of this object
|
270
|
+
def update!(**args)
|
271
|
+
@alt_id = args[:alt_id] if args.key?(:alt_id)
|
272
|
+
@avail_id = args[:avail_id] if args.key?(:avail_id)
|
273
|
+
@caption_exemption = args[:caption_exemption] if args.key?(:caption_exemption)
|
274
|
+
@caption_included = args[:caption_included] if args.key?(:caption_included)
|
275
|
+
@content_id = args[:content_id] if args.key?(:content_id)
|
276
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
277
|
+
@encode_id = args[:encode_id] if args.key?(:encode_id)
|
278
|
+
@end = args[:end] if args.key?(:end)
|
279
|
+
@episode_alt_id = args[:episode_alt_id] if args.key?(:episode_alt_id)
|
280
|
+
@episode_number = args[:episode_number] if args.key?(:episode_number)
|
281
|
+
@episode_title_internal_alias = args[:episode_title_internal_alias] if args.key?(:episode_title_internal_alias)
|
282
|
+
@format_profile = args[:format_profile] if args.key?(:format_profile)
|
283
|
+
@license_type = args[:license_type] if args.key?(:license_type)
|
284
|
+
@pph_names = args[:pph_names] if args.key?(:pph_names)
|
285
|
+
@price_type = args[:price_type] if args.key?(:price_type)
|
286
|
+
@price_value = args[:price_value] if args.key?(:price_value)
|
287
|
+
@product_id = args[:product_id] if args.key?(:product_id)
|
288
|
+
@rating_reason = args[:rating_reason] if args.key?(:rating_reason)
|
289
|
+
@rating_system = args[:rating_system] if args.key?(:rating_system)
|
290
|
+
@rating_value = args[:rating_value] if args.key?(:rating_value)
|
291
|
+
@release_date = args[:release_date] if args.key?(:release_date)
|
292
|
+
@season_alt_id = args[:season_alt_id] if args.key?(:season_alt_id)
|
293
|
+
@season_number = args[:season_number] if args.key?(:season_number)
|
294
|
+
@season_title_internal_alias = args[:season_title_internal_alias] if args.key?(:season_title_internal_alias)
|
295
|
+
@series_alt_id = args[:series_alt_id] if args.key?(:series_alt_id)
|
296
|
+
@series_title_internal_alias = args[:series_title_internal_alias] if args.key?(:series_title_internal_alias)
|
297
|
+
@start = args[:start] if args.key?(:start)
|
298
|
+
@store_language = args[:store_language] if args.key?(:store_language)
|
299
|
+
@suppression_lift_date = args[:suppression_lift_date] if args.key?(:suppression_lift_date)
|
300
|
+
@territory = args[:territory] if args.key?(:territory)
|
301
|
+
@title_internal_alias = args[:title_internal_alias] if args.key?(:title_internal_alias)
|
302
|
+
@video_id = args[:video_id] if args.key?(:video_id)
|
303
|
+
@work_type = args[:work_type] if args.key?(:work_type)
|
304
|
+
end
|
305
|
+
end
|
306
|
+
|
307
|
+
# Response to the 'ListAvails' method.
|
308
|
+
class ListAvailsResponse
|
309
|
+
include Google::Apis::Core::Hashable
|
310
|
+
|
311
|
+
# List of Avails that match the request criteria.
|
312
|
+
# Corresponds to the JSON property `avails`
|
313
|
+
# @return [Array<Google::Apis::PlaymoviespartnerV1::Avail>]
|
314
|
+
attr_accessor :avails
|
315
|
+
|
316
|
+
# See _List methods rules_ for info about this field.
|
317
|
+
# Corresponds to the JSON property `nextPageToken`
|
318
|
+
# @return [String]
|
319
|
+
attr_accessor :next_page_token
|
320
|
+
|
321
|
+
# See _List methods rules_ for more information about this field.
|
322
|
+
# Corresponds to the JSON property `totalSize`
|
323
|
+
# @return [Fixnum]
|
324
|
+
attr_accessor :total_size
|
325
|
+
|
326
|
+
def initialize(**args)
|
327
|
+
update!(**args)
|
328
|
+
end
|
329
|
+
|
330
|
+
# Update properties of this object
|
331
|
+
def update!(**args)
|
332
|
+
@avails = args[:avails] if args.key?(:avails)
|
333
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
334
|
+
@total_size = args[:total_size] if args.key?(:total_size)
|
335
|
+
end
|
336
|
+
end
|
337
|
+
|
338
|
+
# Response to the 'ListOrders' method.
|
339
|
+
class ListOrdersResponse
|
340
|
+
include Google::Apis::Core::Hashable
|
341
|
+
|
342
|
+
# See _List methods rules_ for info about this field.
|
343
|
+
# Corresponds to the JSON property `nextPageToken`
|
344
|
+
# @return [String]
|
345
|
+
attr_accessor :next_page_token
|
346
|
+
|
347
|
+
# List of Orders that match the request criteria.
|
348
|
+
# Corresponds to the JSON property `orders`
|
349
|
+
# @return [Array<Google::Apis::PlaymoviespartnerV1::Order>]
|
350
|
+
attr_accessor :orders
|
351
|
+
|
352
|
+
# See _List methods rules_ for more information about this field.
|
353
|
+
# Corresponds to the JSON property `totalSize`
|
354
|
+
# @return [Fixnum]
|
355
|
+
attr_accessor :total_size
|
356
|
+
|
357
|
+
def initialize(**args)
|
358
|
+
update!(**args)
|
359
|
+
end
|
360
|
+
|
361
|
+
# Update properties of this object
|
362
|
+
def update!(**args)
|
363
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
364
|
+
@orders = args[:orders] if args.key?(:orders)
|
365
|
+
@total_size = args[:total_size] if args.key?(:total_size)
|
366
|
+
end
|
367
|
+
end
|
368
|
+
|
369
|
+
# Response to the 'ListStoreInfos' method.
|
370
|
+
class ListStoreInfosResponse
|
371
|
+
include Google::Apis::Core::Hashable
|
372
|
+
|
373
|
+
# See 'List methods rules' for info about this field.
|
374
|
+
# Corresponds to the JSON property `nextPageToken`
|
375
|
+
# @return [String]
|
376
|
+
attr_accessor :next_page_token
|
377
|
+
|
378
|
+
# List of StoreInfos that match the request criteria.
|
379
|
+
# Corresponds to the JSON property `storeInfos`
|
380
|
+
# @return [Array<Google::Apis::PlaymoviespartnerV1::StoreInfo>]
|
381
|
+
attr_accessor :store_infos
|
382
|
+
|
383
|
+
# See _List methods rules_ for more information about this field.
|
384
|
+
# Corresponds to the JSON property `totalSize`
|
385
|
+
# @return [Fixnum]
|
386
|
+
attr_accessor :total_size
|
387
|
+
|
388
|
+
def initialize(**args)
|
389
|
+
update!(**args)
|
390
|
+
end
|
391
|
+
|
392
|
+
# Update properties of this object
|
393
|
+
def update!(**args)
|
394
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
395
|
+
@store_infos = args[:store_infos] if args.key?(:store_infos)
|
396
|
+
@total_size = args[:total_size] if args.key?(:total_size)
|
397
|
+
end
|
398
|
+
end
|
399
|
+
|
400
|
+
# An Order tracks the fulfillment of an Edit when delivered using the
|
401
|
+
# legacy, non-component-based delivery.
|
402
|
+
# Each Order is uniquely identified by an `order_id`, which is generated
|
403
|
+
# by Google.
|
404
|
+
# Externally, Orders can also be identified by partners using its `custom_id`
|
405
|
+
# (when provided).
|
406
|
+
class Order
|
407
|
+
include Google::Apis::Core::Hashable
|
408
|
+
|
409
|
+
# Timestamp when the Order was approved.
|
410
|
+
# Corresponds to the JSON property `approvedTime`
|
411
|
+
# @return [String]
|
412
|
+
attr_accessor :approved_time
|
413
|
+
|
414
|
+
# YouTube Channel ID that should be used to fulfill the Order.
|
415
|
+
# Example: "UCRG64darCZhb".
|
416
|
+
# Corresponds to the JSON property `channelId`
|
417
|
+
# @return [String]
|
418
|
+
attr_accessor :channel_id
|
419
|
+
|
420
|
+
# YouTube Channel Name that should be used to fulfill the Order.
|
421
|
+
# Example: "Google_channel".
|
422
|
+
# Corresponds to the JSON property `channelName`
|
423
|
+
# @return [String]
|
424
|
+
attr_accessor :channel_name
|
425
|
+
|
426
|
+
# Countries where the Order is available,
|
427
|
+
# using the "ISO 3166-1 alpha-2" format (example: "US").
|
428
|
+
# Corresponds to the JSON property `countries`
|
429
|
+
# @return [Array<String>]
|
430
|
+
attr_accessor :countries
|
431
|
+
|
432
|
+
# ID that can be used to externally identify an Order.
|
433
|
+
# This ID is provided by partners when submitting the Avails.
|
434
|
+
# Example: 'GOOGLER_2006'
|
435
|
+
# Corresponds to the JSON property `customId`
|
436
|
+
# @return [String]
|
437
|
+
attr_accessor :custom_id
|
438
|
+
|
439
|
+
# Timestamp of the earliest start date of the Avails
|
440
|
+
# linked to this Order.
|
441
|
+
# Corresponds to the JSON property `earliestAvailStartTime`
|
442
|
+
# @return [String]
|
443
|
+
attr_accessor :earliest_avail_start_time
|
444
|
+
|
445
|
+
# Default Episode name,
|
446
|
+
# usually in the language of the country of origin.
|
447
|
+
# Only available for TV Edits
|
448
|
+
# Example: "Googlers, The - Pilot".
|
449
|
+
# Corresponds to the JSON property `episodeName`
|
450
|
+
# @return [String]
|
451
|
+
attr_accessor :episode_name
|
452
|
+
|
453
|
+
# Legacy Order priority, as defined by Google.
|
454
|
+
# Example: 'P0'
|
455
|
+
# Corresponds to the JSON property `legacyPriority`
|
456
|
+
# @return [String]
|
457
|
+
attr_accessor :legacy_priority
|
458
|
+
|
459
|
+
# Default Edit name,
|
460
|
+
# usually in the language of the country of origin.
|
461
|
+
# Example: "Googlers, The".
|
462
|
+
# Corresponds to the JSON property `name`
|
463
|
+
# @return [String]
|
464
|
+
attr_accessor :name
|
465
|
+
|
466
|
+
# A simpler representation of the priority.
|
467
|
+
# Corresponds to the JSON property `normalizedPriority`
|
468
|
+
# @return [String]
|
469
|
+
attr_accessor :normalized_priority
|
470
|
+
|
471
|
+
# ID internally generated by Google to uniquely identify an Order.
|
472
|
+
# Example: 'abcde12_x'
|
473
|
+
# Corresponds to the JSON property `orderId`
|
474
|
+
# @return [String]
|
475
|
+
attr_accessor :order_id
|
476
|
+
|
477
|
+
# Timestamp when the Order was created.
|
478
|
+
# Corresponds to the JSON property `orderedTime`
|
479
|
+
# @return [String]
|
480
|
+
attr_accessor :ordered_time
|
481
|
+
|
482
|
+
# Name of the post-production house that manages the Edit ordered.
|
483
|
+
# Corresponds to the JSON property `pphName`
|
484
|
+
# @return [String]
|
485
|
+
attr_accessor :pph_name
|
486
|
+
|
487
|
+
# Order priority, as defined by Google.
|
488
|
+
# The higher the value, the higher the priority.
|
489
|
+
# Example: 90
|
490
|
+
# Corresponds to the JSON property `priority`
|
491
|
+
# @return [Float]
|
492
|
+
attr_accessor :priority
|
493
|
+
|
494
|
+
# Timestamp when the Order was fulfilled.
|
495
|
+
# Corresponds to the JSON property `receivedTime`
|
496
|
+
# @return [String]
|
497
|
+
attr_accessor :received_time
|
498
|
+
|
499
|
+
# Field explaining why an Order has been rejected.
|
500
|
+
# Example: "Trailer audio is 2ch mono, please re-deliver in stereo".
|
501
|
+
# Corresponds to the JSON property `rejectionNote`
|
502
|
+
# @return [String]
|
503
|
+
attr_accessor :rejection_note
|
504
|
+
|
505
|
+
# Default Season name,
|
506
|
+
# usually in the language of the country of origin.
|
507
|
+
# Only available for TV Edits
|
508
|
+
# Example: "Googlers, The - A Brave New World".
|
509
|
+
# Corresponds to the JSON property `seasonName`
|
510
|
+
# @return [String]
|
511
|
+
attr_accessor :season_name
|
512
|
+
|
513
|
+
# Default Show name,
|
514
|
+
# usually in the language of the country of origin.
|
515
|
+
# Only available for TV Edits
|
516
|
+
# Example: "Googlers, The".
|
517
|
+
# Corresponds to the JSON property `showName`
|
518
|
+
# @return [String]
|
519
|
+
attr_accessor :show_name
|
520
|
+
|
521
|
+
# High-level status of the order.
|
522
|
+
# Corresponds to the JSON property `status`
|
523
|
+
# @return [String]
|
524
|
+
attr_accessor :status
|
525
|
+
|
526
|
+
# Detailed status of the order
|
527
|
+
# Corresponds to the JSON property `statusDetail`
|
528
|
+
# @return [String]
|
529
|
+
attr_accessor :status_detail
|
530
|
+
|
531
|
+
# Name of the studio that owns the Edit ordered.
|
532
|
+
# Corresponds to the JSON property `studioName`
|
533
|
+
# @return [String]
|
534
|
+
attr_accessor :studio_name
|
535
|
+
|
536
|
+
# Type of the Edit linked to the Order.
|
537
|
+
# Corresponds to the JSON property `type`
|
538
|
+
# @return [String]
|
539
|
+
attr_accessor :type
|
540
|
+
|
541
|
+
# Google-generated ID identifying the video linked to this Order, once
|
542
|
+
# delivered.
|
543
|
+
# Example: 'gtry456_xc'.
|
544
|
+
# Corresponds to the JSON property `videoId`
|
545
|
+
# @return [String]
|
546
|
+
attr_accessor :video_id
|
547
|
+
|
548
|
+
def initialize(**args)
|
549
|
+
update!(**args)
|
550
|
+
end
|
551
|
+
|
552
|
+
# Update properties of this object
|
553
|
+
def update!(**args)
|
554
|
+
@approved_time = args[:approved_time] if args.key?(:approved_time)
|
555
|
+
@channel_id = args[:channel_id] if args.key?(:channel_id)
|
556
|
+
@channel_name = args[:channel_name] if args.key?(:channel_name)
|
557
|
+
@countries = args[:countries] if args.key?(:countries)
|
558
|
+
@custom_id = args[:custom_id] if args.key?(:custom_id)
|
559
|
+
@earliest_avail_start_time = args[:earliest_avail_start_time] if args.key?(:earliest_avail_start_time)
|
560
|
+
@episode_name = args[:episode_name] if args.key?(:episode_name)
|
561
|
+
@legacy_priority = args[:legacy_priority] if args.key?(:legacy_priority)
|
562
|
+
@name = args[:name] if args.key?(:name)
|
563
|
+
@normalized_priority = args[:normalized_priority] if args.key?(:normalized_priority)
|
564
|
+
@order_id = args[:order_id] if args.key?(:order_id)
|
565
|
+
@ordered_time = args[:ordered_time] if args.key?(:ordered_time)
|
566
|
+
@pph_name = args[:pph_name] if args.key?(:pph_name)
|
567
|
+
@priority = args[:priority] if args.key?(:priority)
|
568
|
+
@received_time = args[:received_time] if args.key?(:received_time)
|
569
|
+
@rejection_note = args[:rejection_note] if args.key?(:rejection_note)
|
570
|
+
@season_name = args[:season_name] if args.key?(:season_name)
|
571
|
+
@show_name = args[:show_name] if args.key?(:show_name)
|
572
|
+
@status = args[:status] if args.key?(:status)
|
573
|
+
@status_detail = args[:status_detail] if args.key?(:status_detail)
|
574
|
+
@studio_name = args[:studio_name] if args.key?(:studio_name)
|
575
|
+
@type = args[:type] if args.key?(:type)
|
576
|
+
@video_id = args[:video_id] if args.key?(:video_id)
|
577
|
+
end
|
578
|
+
end
|
579
|
+
|
580
|
+
# Information about a playable sequence (video) associated with an Edit
|
581
|
+
# and available at the Google Play Store.
|
582
|
+
# Internally, each StoreInfo is uniquely identified by a `video_id`
|
583
|
+
# and `country`.
|
584
|
+
# Externally, Title-level EIDR or Edit-level EIDR, if provided,
|
585
|
+
# can also be used to identify a specific title or edit in a country.
|
586
|
+
class StoreInfo
|
587
|
+
include Google::Apis::Core::Hashable
|
588
|
+
|
589
|
+
# Audio tracks available for this Edit.
|
590
|
+
# Corresponds to the JSON property `audioTracks`
|
591
|
+
# @return [Array<String>]
|
592
|
+
attr_accessor :audio_tracks
|
593
|
+
|
594
|
+
# Country where Edit is available in ISO 3166-1 alpha-2 country
|
595
|
+
# code.
|
596
|
+
# Example: "US".
|
597
|
+
# Corresponds to the JSON property `country`
|
598
|
+
# @return [String]
|
599
|
+
attr_accessor :country
|
600
|
+
|
601
|
+
# Edit-level EIDR ID.
|
602
|
+
# Example: "10.5240/1489-49A2-3956-4B2D-FE16-6".
|
603
|
+
# Corresponds to the JSON property `editLevelEidr`
|
604
|
+
# @return [String]
|
605
|
+
attr_accessor :edit_level_eidr
|
606
|
+
|
607
|
+
# The number assigned to the episode within a season.
|
608
|
+
# Only available on TV Edits.
|
609
|
+
# Example: "1".
|
610
|
+
# Corresponds to the JSON property `episodeNumber`
|
611
|
+
# @return [String]
|
612
|
+
attr_accessor :episode_number
|
613
|
+
|
614
|
+
# Whether the Edit has a 5.1 channel audio track.
|
615
|
+
# Corresponds to the JSON property `hasAudio51`
|
616
|
+
# @return [Boolean]
|
617
|
+
attr_accessor :has_audio51
|
618
|
+
alias_method :has_audio51?, :has_audio51
|
619
|
+
|
620
|
+
# Whether the Edit has a EST offer.
|
621
|
+
# Corresponds to the JSON property `hasEstOffer`
|
622
|
+
# @return [Boolean]
|
623
|
+
attr_accessor :has_est_offer
|
624
|
+
alias_method :has_est_offer?, :has_est_offer
|
625
|
+
|
626
|
+
# Whether the Edit has a HD offer.
|
627
|
+
# Corresponds to the JSON property `hasHdOffer`
|
628
|
+
# @return [Boolean]
|
629
|
+
attr_accessor :has_hd_offer
|
630
|
+
alias_method :has_hd_offer?, :has_hd_offer
|
631
|
+
|
632
|
+
# Whether the Edit has info cards.
|
633
|
+
# Corresponds to the JSON property `hasInfoCards`
|
634
|
+
# @return [Boolean]
|
635
|
+
attr_accessor :has_info_cards
|
636
|
+
alias_method :has_info_cards?, :has_info_cards
|
637
|
+
|
638
|
+
# Whether the Edit has a SD offer.
|
639
|
+
# Corresponds to the JSON property `hasSdOffer`
|
640
|
+
# @return [Boolean]
|
641
|
+
attr_accessor :has_sd_offer
|
642
|
+
alias_method :has_sd_offer?, :has_sd_offer
|
643
|
+
|
644
|
+
# Whether the Edit has a VOD offer.
|
645
|
+
# Corresponds to the JSON property `hasVodOffer`
|
646
|
+
# @return [Boolean]
|
647
|
+
attr_accessor :has_vod_offer
|
648
|
+
alias_method :has_vod_offer?, :has_vod_offer
|
649
|
+
|
650
|
+
# Timestamp when the Edit went live on the Store.
|
651
|
+
# Corresponds to the JSON property `liveTime`
|
652
|
+
# @return [String]
|
653
|
+
attr_accessor :live_time
|
654
|
+
|
655
|
+
# Knowledge Graph ID associated to this Edit, if available.
|
656
|
+
# This ID links the Edit to its knowledge entity, externally accessible
|
657
|
+
# at http://freebase.com.
|
658
|
+
# In the absense of Title EIDR or Edit EIDR, this ID helps link together
|
659
|
+
# multiple Edits across countries.
|
660
|
+
# Example: '/m/0ffx29'
|
661
|
+
# Corresponds to the JSON property `mid`
|
662
|
+
# @return [String]
|
663
|
+
attr_accessor :mid
|
664
|
+
|
665
|
+
# Default Edit name, usually in the language of the country of
|
666
|
+
# origin.
|
667
|
+
# Example: "Googlers, The".
|
668
|
+
# Corresponds to the JSON property `name`
|
669
|
+
# @return [String]
|
670
|
+
attr_accessor :name
|
671
|
+
|
672
|
+
# Name of the post-production houses that manage the Edit.
|
673
|
+
# Corresponds to the JSON property `pphNames`
|
674
|
+
# @return [Array<String>]
|
675
|
+
attr_accessor :pph_names
|
676
|
+
|
677
|
+
# Google-generated ID identifying the season linked to the Edit.
|
678
|
+
# Only available for TV Edits.
|
679
|
+
# Example: 'ster23ex'
|
680
|
+
# Corresponds to the JSON property `seasonId`
|
681
|
+
# @return [String]
|
682
|
+
attr_accessor :season_id
|
683
|
+
|
684
|
+
# Default Season name, usually in the language of the country of
|
685
|
+
# origin.
|
686
|
+
# Only available for TV Edits
|
687
|
+
# Example: "Googlers, The - A Brave New World".
|
688
|
+
# Corresponds to the JSON property `seasonName`
|
689
|
+
# @return [String]
|
690
|
+
attr_accessor :season_name
|
691
|
+
|
692
|
+
# The number assigned to the season within a show.
|
693
|
+
# Only available on TV Edits.
|
694
|
+
# Example: "1".
|
695
|
+
# Corresponds to the JSON property `seasonNumber`
|
696
|
+
# @return [String]
|
697
|
+
attr_accessor :season_number
|
698
|
+
|
699
|
+
# Google-generated ID identifying the show linked to the Edit.
|
700
|
+
# Only available for TV Edits.
|
701
|
+
# Example: 'et2hsue_x'
|
702
|
+
# Corresponds to the JSON property `showId`
|
703
|
+
# @return [String]
|
704
|
+
attr_accessor :show_id
|
705
|
+
|
706
|
+
# Default Show name, usually in the language of the country of
|
707
|
+
# origin.
|
708
|
+
# Only available for TV Edits
|
709
|
+
# Example: "Googlers, The".
|
710
|
+
# Corresponds to the JSON property `showName`
|
711
|
+
# @return [String]
|
712
|
+
attr_accessor :show_name
|
713
|
+
|
714
|
+
# Name of the studio that owns the Edit ordered.
|
715
|
+
# Corresponds to the JSON property `studioName`
|
716
|
+
# @return [String]
|
717
|
+
attr_accessor :studio_name
|
718
|
+
|
719
|
+
# Subtitles available for this Edit.
|
720
|
+
# Corresponds to the JSON property `subtitles`
|
721
|
+
# @return [Array<String>]
|
722
|
+
attr_accessor :subtitles
|
723
|
+
|
724
|
+
# Title-level EIDR ID.
|
725
|
+
# Example: "10.5240/1489-49A2-3956-4B2D-FE16-5".
|
726
|
+
# Corresponds to the JSON property `titleLevelEidr`
|
727
|
+
# @return [String]
|
728
|
+
attr_accessor :title_level_eidr
|
729
|
+
|
730
|
+
# Google-generated ID identifying the trailer linked to the Edit.
|
731
|
+
# Example: 'bhd_4e_cx'
|
732
|
+
# Corresponds to the JSON property `trailerId`
|
733
|
+
# @return [String]
|
734
|
+
attr_accessor :trailer_id
|
735
|
+
|
736
|
+
# Edit type, like Movie, Episode or Season.
|
737
|
+
# Corresponds to the JSON property `type`
|
738
|
+
# @return [String]
|
739
|
+
attr_accessor :type
|
740
|
+
|
741
|
+
# Google-generated ID identifying the video linked to the Edit.
|
742
|
+
# Example: 'gtry456_xc'
|
743
|
+
# Corresponds to the JSON property `videoId`
|
744
|
+
# @return [String]
|
745
|
+
attr_accessor :video_id
|
746
|
+
|
747
|
+
def initialize(**args)
|
748
|
+
update!(**args)
|
749
|
+
end
|
750
|
+
|
751
|
+
# Update properties of this object
|
752
|
+
def update!(**args)
|
753
|
+
@audio_tracks = args[:audio_tracks] if args.key?(:audio_tracks)
|
754
|
+
@country = args[:country] if args.key?(:country)
|
755
|
+
@edit_level_eidr = args[:edit_level_eidr] if args.key?(:edit_level_eidr)
|
756
|
+
@episode_number = args[:episode_number] if args.key?(:episode_number)
|
757
|
+
@has_audio51 = args[:has_audio51] if args.key?(:has_audio51)
|
758
|
+
@has_est_offer = args[:has_est_offer] if args.key?(:has_est_offer)
|
759
|
+
@has_hd_offer = args[:has_hd_offer] if args.key?(:has_hd_offer)
|
760
|
+
@has_info_cards = args[:has_info_cards] if args.key?(:has_info_cards)
|
761
|
+
@has_sd_offer = args[:has_sd_offer] if args.key?(:has_sd_offer)
|
762
|
+
@has_vod_offer = args[:has_vod_offer] if args.key?(:has_vod_offer)
|
763
|
+
@live_time = args[:live_time] if args.key?(:live_time)
|
764
|
+
@mid = args[:mid] if args.key?(:mid)
|
765
|
+
@name = args[:name] if args.key?(:name)
|
766
|
+
@pph_names = args[:pph_names] if args.key?(:pph_names)
|
767
|
+
@season_id = args[:season_id] if args.key?(:season_id)
|
768
|
+
@season_name = args[:season_name] if args.key?(:season_name)
|
769
|
+
@season_number = args[:season_number] if args.key?(:season_number)
|
770
|
+
@show_id = args[:show_id] if args.key?(:show_id)
|
771
|
+
@show_name = args[:show_name] if args.key?(:show_name)
|
772
|
+
@studio_name = args[:studio_name] if args.key?(:studio_name)
|
773
|
+
@subtitles = args[:subtitles] if args.key?(:subtitles)
|
774
|
+
@title_level_eidr = args[:title_level_eidr] if args.key?(:title_level_eidr)
|
775
|
+
@trailer_id = args[:trailer_id] if args.key?(:trailer_id)
|
776
|
+
@type = args[:type] if args.key?(:type)
|
777
|
+
@video_id = args[:video_id] if args.key?(:video_id)
|
778
|
+
end
|
779
|
+
end
|
780
|
+
end
|
781
|
+
end
|
782
|
+
end
|