google-api-client 0.41.1 → 0.43.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 +352 -0
- data/bin/generate-api +1 -3
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
- data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +9 -0
- data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
- data/generated/google/apis/accessapproval_v1/service.rb +3 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/service.rb +3 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +523 -653
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
- data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +139 -268
- data/generated/google/apis/admob_v1/service.rb +11 -13
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
- data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +199 -220
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
- data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +356 -339
- data/generated/google/apis/androidpublisher_v3/representations.rb +44 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +272 -152
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/apigee_v1/classes.rb +1898 -1067
- data/generated/google/apis/apigee_v1/representations.rb +542 -0
- data/generated/google/apis/apigee_v1/service.rb +1895 -1090
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +6 -3
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/service.rb +6 -2
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +198 -3
- data/generated/google/apis/bigquery_v2/representations.rb +70 -0
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +34 -0
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +16 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +60 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +8 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +267 -0
- data/generated/google/apis/bigtableadmin_v1/representations.rb +100 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +361 -6
- data/generated/google/apis/bigtableadmin_v2/representations.rb +146 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +103 -109
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
- data/generated/google/apis/blogger_v2.rb +2 -3
- data/generated/google/apis/blogger_v2/classes.rb +1 -2
- data/generated/google/apis/blogger_v2/service.rb +1 -2
- data/generated/google/apis/blogger_v3.rb +2 -3
- data/generated/google/apis/blogger_v3/classes.rb +1 -2
- data/generated/google/apis/blogger_v3/service.rb +1 -2
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +140 -159
- data/generated/google/apis/books_v1/service.rb +47 -49
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +130 -0
- data/generated/google/apis/chat_v1/representations.rb +63 -0
- data/generated/google/apis/chat_v1/service.rb +71 -0
- data/generated/google/apis/chromeuxreport_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +68 -57
- data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +9 -1
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2/service.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +250 -365
- data/generated/google/apis/classroom_v1/service.rb +645 -900
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +15 -11
- data/generated/google/apis/cloudasset_v1/service.rb +62 -45
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +3 -1
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/{androidpublisher_v1_1.rb → cloudasset_v1p5beta1.rb} +11 -11
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1539 -0
- data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +129 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +272 -12
- data/generated/google/apis/cloudbuild_v1/representations.rb +130 -4
- data/generated/google/apis/cloudbuild_v1/service.rb +0 -94
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +284 -24
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +284 -24
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +7 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -43
- data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -17
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +32 -1
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +16 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -754
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +16 -5
- data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +16 -5
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +1 -2
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +2 -2
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -5
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +2 -3
- data/generated/google/apis/cloudtrace_v1/service.rb +1 -7
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +6 -5
- data/generated/google/apis/cloudtrace_v2/service.rb +3 -6
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +402 -48
- data/generated/google/apis/compute_alpha/representations.rb +103 -0
- data/generated/google/apis/compute_alpha/service.rb +38 -36
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +371 -41
- data/generated/google/apis/compute_beta/representations.rb +94 -0
- data/generated/google/apis/compute_beta/service.rb +347 -36
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +397 -40
- data/generated/google/apis/compute_v1/representations.rb +110 -0
- data/generated/google/apis/compute_v1/service.rb +341 -48
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +129 -2
- data/generated/google/apis/container_v1/representations.rb +51 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +136 -17
- data/generated/google/apis/container_v1beta1/representations.rb +39 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +17 -2
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +19 -4
- data/generated/google/apis/content_v2_1/representations.rb +1 -0
- data/generated/google/apis/{androidpublisher_v1.rb → customsearch_v1.rb} +8 -8
- data/generated/google/apis/customsearch_v1/classes.rb +1421 -0
- data/generated/google/apis/customsearch_v1/representations.rb +372 -0
- data/generated/google/apis/customsearch_v1/service.rb +461 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +6 -3
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +21 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +2 -2
- data/generated/google/apis/datafusion_v1.rb +43 -0
- data/generated/google/apis/datafusion_v1/classes.rb +1154 -0
- data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +138 -93
- data/generated/google/apis/datafusion_v1/service.rb +680 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +207 -330
- data/generated/google/apis/dataproc_v1/service.rb +134 -168
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +236 -325
- data/generated/google/apis/dataproc_v1beta2/representations.rb +4 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +421 -0
- data/generated/google/apis/dfareporting_v3_4/representations.rb +182 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +1341 -1513
- data/generated/google/apis/dialogflow_v2/representations.rb +31 -0
- data/generated/google/apis/dialogflow_v2/service.rb +324 -444
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1419 -1591
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +31 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +780 -1022
- data/generated/google/apis/displayvideo_v1.rb +7 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +1776 -1728
- data/generated/google/apis/displayvideo_v1/representations.rb +300 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1277 -929
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +10 -6
- data/generated/google/apis/dns_v1.rb +4 -4
- data/generated/google/apis/dns_v1/classes.rb +313 -162
- data/generated/google/apis/dns_v1/service.rb +247 -180
- data/generated/google/apis/dns_v1beta2.rb +4 -4
- data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
- data/generated/google/apis/dns_v1beta2/service.rb +247 -180
- data/generated/google/apis/dns_v2beta1.rb +4 -4
- data/generated/google/apis/dns_v2beta1/classes.rb +313 -162
- data/generated/google/apis/dns_v2beta1/service.rb +247 -180
- data/generated/google/apis/domainsrdap_v1.rb +1 -1
- data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
- data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +4 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +196 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +4 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
- data/generated/google/apis/doubleclicksearch_v2/service.rb +3 -4
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +77 -2
- data/generated/google/apis/drive_v2/representations.rb +23 -0
- data/generated/google/apis/drive_v2/service.rb +23 -10
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +82 -2
- data/generated/google/apis/drive_v3/representations.rb +24 -0
- data/generated/google/apis/drive_v3/service.rb +8 -5
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
- data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +245 -393
- data/generated/google/apis/fcm_v1/service.rb +5 -6
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +313 -351
- data/generated/google/apis/firebase_v1beta1/representations.rb +1 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +356 -420
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
- data/generated/google/apis/{androidpublisher_v2.rb → firebasehosting_v1.rb} +11 -12
- data/generated/google/apis/firebasehosting_v1/classes.rb +182 -0
- data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
- data/generated/google/apis/firebasehosting_v1/service.rb +180 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +148 -177
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -143
- data/generated/google/apis/firebaseml_v1.rb +1 -1
- data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
- data/generated/google/apis/firebaseml_v1/service.rb +19 -22
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +67 -68
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
- data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +152 -0
- data/generated/google/apis/firestore_v1/representations.rb +63 -0
- data/generated/google/apis/firestore_v1/service.rb +78 -0
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +152 -0
- data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +78 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/service.rb +2 -2
- data/generated/google/apis/games_v1.rb +6 -4
- data/generated/google/apis/games_v1/classes.rb +354 -2112
- data/generated/google/apis/games_v1/representations.rb +12 -647
- data/generated/google/apis/games_v1/service.rb +213 -1155
- data/generated/google/apis/{cloudfunctions_v1beta2.rb → gameservices_v1.rb} +9 -9
- data/generated/google/apis/gameservices_v1/classes.rb +2175 -0
- data/generated/google/apis/gameservices_v1/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1/service.rb +1432 -0
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
- data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +3 -75
- data/generated/google/apis/genomics_v2alpha1/representations.rb +0 -27
- data/generated/google/apis/genomics_v2alpha1/service.rb +0 -34
- data/generated/google/apis/gmail_v1.rb +3 -3
- data/generated/google/apis/gmail_v1/classes.rb +216 -269
- data/generated/google/apis/gmail_v1/service.rb +260 -288
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +36 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +301 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +230 -0
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/service.rb +72 -13
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +85 -17
- data/generated/google/apis/healthcare_v1beta1/representations.rb +39 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +146 -16
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +22 -3
- data/generated/google/apis/iam_v1/service.rb +18 -6
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +93 -111
- data/generated/google/apis/language_v1/service.rb +4 -4
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +78 -90
- data/generated/google/apis/language_v1beta1/service.rb +2 -2
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +95 -112
- data/generated/google/apis/language_v1beta2/service.rb +4 -4
- data/generated/google/apis/libraryagent_v1.rb +1 -1
- data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
- data/generated/google/apis/libraryagent_v1/service.rb +13 -16
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +6 -6
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +355 -437
- data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1/service.rb +78 -96
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +365 -442
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -109
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +361 -441
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -93
- data/generated/google/apis/{groupsmigration_v1.rb → memcache_v1.rb} +11 -11
- data/generated/google/apis/memcache_v1/classes.rb +1157 -0
- data/generated/google/apis/memcache_v1/representations.rb +471 -0
- data/generated/google/apis/{cloudfunctions_v1beta2 → memcache_v1}/service.rb +268 -196
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +42 -503
- data/generated/google/apis/memcache_v1beta2/representations.rb +9 -110
- data/generated/google/apis/memcache_v1beta2/service.rb +0 -119
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +23 -17
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +14 -12
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +97 -47
- data/generated/google/apis/monitoring_v3/representations.rb +3 -0
- data/generated/google/apis/monitoring_v3/service.rb +13 -9
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +6 -6
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +6 -6
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +798 -2
- data/generated/google/apis/osconfig_v1/representations.rb +372 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +77 -2
- data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +382 -401
- data/generated/google/apis/people_v1/representations.rb +57 -0
- data/generated/google/apis/people_v1/service.rb +169 -385
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
- data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +122 -146
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -49
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +45 -28
- data/generated/google/apis/pubsub_v1/representations.rb +2 -0
- data/generated/google/apis/pubsub_v1/service.rb +35 -44
- data/generated/google/apis/realtimebidding_v1.rb +1 -4
- data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
- data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
- data/generated/google/apis/recommendationengine_v1beta1.rb +36 -0
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +2017 -0
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +848 -0
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +990 -0
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +271 -84
- data/generated/google/apis/recommender_v1/representations.rb +96 -0
- data/generated/google/apis/recommender_v1/service.rb +143 -35
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
- data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +397 -0
- data/generated/google/apis/redis_v1/representations.rb +139 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +397 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +4 -3
- data/generated/google/apis/reseller_v1/classes.rb +219 -160
- data/generated/google/apis/reseller_v1/service.rb +247 -252
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +835 -1248
- data/generated/google/apis/run_v1/service.rb +233 -247
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +934 -1331
- data/generated/google/apis/run_v1alpha1/service.rb +321 -377
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +209 -276
- data/generated/google/apis/run_v1beta1/service.rb +16 -18
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
- data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +122 -146
- data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -49
- data/generated/google/apis/searchconsole_v1.rb +4 -3
- data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
- data/generated/google/apis/searchconsole_v1/service.rb +3 -2
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +574 -826
- data/generated/google/apis/securitycenter_v1/service.rb +250 -332
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +521 -746
- data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +176 -208
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +21 -25
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +545 -791
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +247 -330
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1150 -1784
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +114 -141
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1137 -1774
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +6 -6
- data/generated/google/apis/servicecontrol_v2.rb +38 -0
- data/generated/google/apis/servicecontrol_v2/classes.rb +1121 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
- data/generated/google/apis/servicecontrol_v2/service.rb +165 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +50 -2
- data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1119 -1758
- data/generated/google/apis/servicenetworking_v1/service.rb +94 -114
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1065 -1684
- data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1140 -1823
- data/generated/google/apis/serviceusage_v1/service.rb +63 -80
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1235 -1986
- data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +28 -28
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +3 -2
- data/generated/google/apis/spanner_v1/service.rb +5 -0
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +207 -200
- data/generated/google/apis/sql_v1beta4/representations.rb +2 -1
- data/generated/google/apis/sql_v1beta4/service.rb +2 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +8 -10
- data/generated/google/apis/storagetransfer_v1/service.rb +26 -2
- data/generated/google/apis/tagmanager_v1.rb +2 -3
- data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
- data/generated/google/apis/tagmanager_v1/service.rb +20 -21
- data/generated/google/apis/tagmanager_v2.rb +2 -3
- data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
- data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
- data/generated/google/apis/tagmanager_v2/service.rb +187 -283
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +80 -6
- data/generated/google/apis/testing_v1/representations.rb +33 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +671 -928
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +522 -640
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +68 -78
- data/generated/google/apis/tpu_v1/service.rb +21 -25
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +68 -78
- data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/service.rb +14 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/service.rb +14 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1304 -1868
- data/generated/google/apis/vision_v1/service.rb +254 -340
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1788
- data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1788
- data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
- data/generated/google/apis/webfonts_v1.rb +1 -1
- data/generated/google/apis/webfonts_v1/service.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
- data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
- data/generated/google/apis/youtube_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
- data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
- data/generated/google/apis/youtube_partner_v1.rb +4 -3
- data/generated/google/apis/youtube_partner_v1/classes.rb +1106 -690
- data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
- data/generated/google/apis/youtube_partner_v1/service.rb +519 -1079
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +1456 -1134
- data/generated/google/apis/youtube_v3/representations.rb +282 -0
- data/generated/google/apis/youtube_v3/service.rb +1225 -1274
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
- data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
- data/lib/google/apis/core/base_service.rb +7 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +39 -27
- data/generated/google/apis/androidpublisher_v1/classes.rb +0 -26
- data/generated/google/apis/androidpublisher_v1/representations.rb +0 -26
- data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
- data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
- data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
- data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -841
- data/generated/google/apis/fitness_v1.rb +0 -85
- data/generated/google/apis/fitness_v1/classes.rb +0 -1020
- data/generated/google/apis/fitness_v1/representations.rb +0 -398
- data/generated/google/apis/fitness_v1/service.rb +0 -647
- data/generated/google/apis/groupsmigration_v1/classes.rb +0 -51
- data/generated/google/apis/groupsmigration_v1/representations.rb +0 -40
- data/generated/google/apis/groupsmigration_v1/service.rb +0 -100
@@ -49,19 +49,18 @@ module Google
|
|
49
49
|
|
50
50
|
# Removes an item from a group.
|
51
51
|
# @param [String] id
|
52
|
-
# The `id` parameter specifies the YouTube group item ID of the group item
|
53
|
-
#
|
52
|
+
# The `id` parameter specifies the YouTube group item ID of the group item that
|
53
|
+
# is being deleted.
|
54
54
|
# @param [String] on_behalf_of_content_owner
|
55
55
|
# This parameter can only be used in a properly authorized request. **Note:**
|
56
|
-
# This parameter is intended exclusively for YouTube content partners that
|
57
|
-
#
|
58
|
-
#
|
59
|
-
#
|
60
|
-
#
|
61
|
-
#
|
62
|
-
#
|
63
|
-
#
|
64
|
-
# linked to the specified YouTube content owner.
|
56
|
+
# This parameter is intended exclusively for YouTube content partners that own
|
57
|
+
# and manage many different YouTube channels. The `onBehalfOfContentOwner`
|
58
|
+
# parameter indicates that the request's authorization credentials identify a
|
59
|
+
# YouTube user who is acting on behalf of the content owner specified in the
|
60
|
+
# parameter value. It allows content owners to authenticate once and get access
|
61
|
+
# to all their video and channel data, without having to provide authentication
|
62
|
+
# credentials for each individual channel. The account that the user
|
63
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
65
64
|
# @param [String] fields
|
66
65
|
# Selector specifying which fields to include in a partial response.
|
67
66
|
# @param [String] quota_user
|
@@ -94,15 +93,14 @@ module Google
|
|
94
93
|
# @param [Google::Apis::YoutubeAnalyticsV2::GroupItem] group_item_object
|
95
94
|
# @param [String] on_behalf_of_content_owner
|
96
95
|
# This parameter can only be used in a properly authorized request. **Note:**
|
97
|
-
# This parameter is intended exclusively for YouTube content partners that
|
98
|
-
#
|
99
|
-
#
|
100
|
-
#
|
101
|
-
#
|
102
|
-
#
|
103
|
-
#
|
104
|
-
#
|
105
|
-
# linked to the specified YouTube content owner.
|
96
|
+
# This parameter is intended exclusively for YouTube content partners that own
|
97
|
+
# and manage many different YouTube channels. The `onBehalfOfContentOwner`
|
98
|
+
# parameter indicates that the request's authorization credentials identify a
|
99
|
+
# YouTube user who is acting on behalf of the content owner specified in the
|
100
|
+
# parameter value. It allows content owners to authenticate once and get access
|
101
|
+
# to all their video and channel data, without having to provide authentication
|
102
|
+
# credentials for each individual channel. The account that the user
|
103
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
106
104
|
# @param [String] fields
|
107
105
|
# Selector specifying which fields to include in a partial response.
|
108
106
|
# @param [String] quota_user
|
@@ -138,15 +136,14 @@ module Google
|
|
138
136
|
# want to retrieve group items.
|
139
137
|
# @param [String] on_behalf_of_content_owner
|
140
138
|
# This parameter can only be used in a properly authorized request. **Note:**
|
141
|
-
# This parameter is intended exclusively for YouTube content partners that
|
142
|
-
#
|
143
|
-
#
|
144
|
-
#
|
145
|
-
#
|
146
|
-
#
|
147
|
-
#
|
148
|
-
#
|
149
|
-
# linked to the specified YouTube content owner.
|
139
|
+
# This parameter is intended exclusively for YouTube content partners that own
|
140
|
+
# and manage many different YouTube channels. The `onBehalfOfContentOwner`
|
141
|
+
# parameter indicates that the request's authorization credentials identify a
|
142
|
+
# YouTube user who is acting on behalf of the content owner specified in the
|
143
|
+
# parameter value. It allows content owners to authenticate once and get access
|
144
|
+
# to all their video and channel data, without having to provide authentication
|
145
|
+
# credentials for each individual channel. The account that the user
|
146
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
150
147
|
# @param [String] fields
|
151
148
|
# Selector specifying which fields to include in a partial response.
|
152
149
|
# @param [String] quota_user
|
@@ -177,19 +174,18 @@ module Google
|
|
177
174
|
|
178
175
|
# Deletes a group.
|
179
176
|
# @param [String] id
|
180
|
-
# The `id` parameter specifies the YouTube group ID of the group that is
|
181
|
-
#
|
177
|
+
# The `id` parameter specifies the YouTube group ID of the group that is being
|
178
|
+
# deleted.
|
182
179
|
# @param [String] on_behalf_of_content_owner
|
183
180
|
# This parameter can only be used in a properly authorized request. **Note:**
|
184
|
-
# This parameter is intended exclusively for YouTube content partners that
|
185
|
-
#
|
186
|
-
#
|
187
|
-
#
|
188
|
-
#
|
189
|
-
#
|
190
|
-
#
|
191
|
-
#
|
192
|
-
# linked to the specified YouTube content owner.
|
181
|
+
# This parameter is intended exclusively for YouTube content partners that own
|
182
|
+
# and manage many different YouTube channels. The `onBehalfOfContentOwner`
|
183
|
+
# parameter indicates that the request's authorization credentials identify a
|
184
|
+
# YouTube user who is acting on behalf of the content owner specified in the
|
185
|
+
# parameter value. It allows content owners to authenticate once and get access
|
186
|
+
# to all their video and channel data, without having to provide authentication
|
187
|
+
# credentials for each individual channel. The account that the user
|
188
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
193
189
|
# @param [String] fields
|
194
190
|
# Selector specifying which fields to include in a partial response.
|
195
191
|
# @param [String] quota_user
|
@@ -222,15 +218,14 @@ module Google
|
|
222
218
|
# @param [Google::Apis::YoutubeAnalyticsV2::Group] group_object
|
223
219
|
# @param [String] on_behalf_of_content_owner
|
224
220
|
# This parameter can only be used in a properly authorized request. **Note:**
|
225
|
-
# This parameter is intended exclusively for YouTube content partners that
|
226
|
-
#
|
227
|
-
#
|
228
|
-
#
|
229
|
-
#
|
230
|
-
#
|
231
|
-
#
|
232
|
-
#
|
233
|
-
# linked to the specified YouTube content owner.
|
221
|
+
# This parameter is intended exclusively for YouTube content partners that own
|
222
|
+
# and manage many different YouTube channels. The `onBehalfOfContentOwner`
|
223
|
+
# parameter indicates that the request's authorization credentials identify a
|
224
|
+
# YouTube user who is acting on behalf of the content owner specified in the
|
225
|
+
# parameter value. It allows content owners to authenticate once and get access
|
226
|
+
# to all their video and channel data, without having to provide authentication
|
227
|
+
# credentials for each individual channel. The account that the user
|
228
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
234
229
|
# @param [String] fields
|
235
230
|
# Selector specifying which fields to include in a partial response.
|
236
231
|
# @param [String] quota_user
|
@@ -261,30 +256,28 @@ module Google
|
|
261
256
|
end
|
262
257
|
|
263
258
|
# Returns a collection of groups that match the API request parameters. For
|
264
|
-
# example, you can retrieve all groups that the authenticated user owns,
|
265
|
-
#
|
259
|
+
# example, you can retrieve all groups that the authenticated user owns, or you
|
260
|
+
# can retrieve one or more groups by their unique IDs.
|
266
261
|
# @param [String] id
|
267
|
-
# The `id` parameter specifies a comma-separated list of the YouTube group
|
268
|
-
#
|
269
|
-
#
|
270
|
-
#
|
271
|
-
#
|
272
|
-
# must set the `mine` parameter to `true`.
|
262
|
+
# The `id` parameter specifies a comma-separated list of the YouTube group ID(s)
|
263
|
+
# for the resource(s) that are being retrieved. Each group must be owned by the
|
264
|
+
# authenticated user. In a `group` resource, the `id` property specifies the
|
265
|
+
# group's YouTube group ID. Note that if you do not specify a value for the `id`
|
266
|
+
# parameter, then you must set the `mine` parameter to `true`.
|
273
267
|
# @param [Boolean] mine
|
274
268
|
# This parameter can only be used in a properly authorized request. Set this
|
275
269
|
# parameter's value to true to retrieve all groups owned by the authenticated
|
276
270
|
# user.
|
277
271
|
# @param [String] on_behalf_of_content_owner
|
278
272
|
# This parameter can only be used in a properly authorized request. **Note:**
|
279
|
-
# This parameter is intended exclusively for YouTube content partners that
|
280
|
-
#
|
281
|
-
#
|
282
|
-
#
|
283
|
-
#
|
284
|
-
#
|
285
|
-
#
|
286
|
-
#
|
287
|
-
# linked to the specified YouTube content owner.
|
273
|
+
# This parameter is intended exclusively for YouTube content partners that own
|
274
|
+
# and manage many different YouTube channels. The `onBehalfOfContentOwner`
|
275
|
+
# parameter indicates that the request's authorization credentials identify a
|
276
|
+
# YouTube user who is acting on behalf of the content owner specified in the
|
277
|
+
# parameter value. It allows content owners to authenticate once and get access
|
278
|
+
# to all their video and channel data, without having to provide authentication
|
279
|
+
# credentials for each individual channel. The account that the user
|
280
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
288
281
|
# @param [String] page_token
|
289
282
|
# The `pageToken` parameter identifies a specific page in the result set that
|
290
283
|
# should be returned. In an API response, the `nextPageToken` property
|
@@ -323,15 +316,14 @@ module Google
|
|
323
316
|
# @param [Google::Apis::YoutubeAnalyticsV2::Group] group_object
|
324
317
|
# @param [String] on_behalf_of_content_owner
|
325
318
|
# This parameter can only be used in a properly authorized request. **Note:**
|
326
|
-
# This parameter is intended exclusively for YouTube content partners that
|
327
|
-
#
|
328
|
-
#
|
329
|
-
#
|
330
|
-
#
|
331
|
-
#
|
332
|
-
#
|
333
|
-
#
|
334
|
-
# linked to the specified YouTube content owner.
|
319
|
+
# This parameter is intended exclusively for YouTube content partners that own
|
320
|
+
# and manage many different YouTube channels. The `onBehalfOfContentOwner`
|
321
|
+
# parameter indicates that the request's authorization credentials identify a
|
322
|
+
# YouTube user who is acting on behalf of the content owner specified in the
|
323
|
+
# parameter value. It allows content owners to authenticate once and get access
|
324
|
+
# to all their video and channel data, without having to provide authentication
|
325
|
+
# credentials for each individual channel. The account that the user
|
326
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
335
327
|
# @param [String] fields
|
336
328
|
# Selector specifying which fields to include in a partial response.
|
337
329
|
# @param [String] quota_user
|
@@ -363,71 +355,59 @@ module Google
|
|
363
355
|
|
364
356
|
# Retrieve your YouTube Analytics reports.
|
365
357
|
# @param [String] currency
|
366
|
-
# The currency to which financial metrics should be converted. The default is
|
367
|
-
#
|
368
|
-
#
|
369
|
-
# recognized.",
|
358
|
+
# The currency to which financial metrics should be converted. The default is US
|
359
|
+
# Dollar (USD). If the result contains no financial metrics, this flag will be
|
360
|
+
# ignored. Responds with an error if the specified currency is not recognized.",
|
370
361
|
# pattern: [A-Z]`3`
|
371
362
|
# @param [String] dimensions
|
372
|
-
# A comma-separated list of YouTube Analytics dimensions, such as `views` or
|
373
|
-
#
|
374
|
-
#
|
375
|
-
#
|
376
|
-
#
|
377
|
-
# document for definitions of those dimensions."
|
363
|
+
# A comma-separated list of YouTube Analytics dimensions, such as `views` or `
|
364
|
+
# ageGroup,gender`. See the [Available Reports](/youtube/analytics/v2/
|
365
|
+
# available_reports) document for a list of the reports that you can retrieve
|
366
|
+
# and the dimensions used for those reports. Also see the [Dimensions](/youtube/
|
367
|
+
# analytics/v2/dimsmets/dims) document for definitions of those dimensions."
|
378
368
|
# pattern: [0-9a-zA-Z,]+
|
379
369
|
# @param [String] end_date
|
380
|
-
# The end date for fetching YouTube Analytics data. The value should be in
|
381
|
-
#
|
382
|
-
# required: true, pattern: [0-9]`4`-[0-9]`2`-[0-9]`2`
|
370
|
+
# The end date for fetching YouTube Analytics data. The value should be in `YYYY-
|
371
|
+
# MM-DD` format. required: true, pattern: [0-9]`4`-[0-9]`2`-[0-9]`2`
|
383
372
|
# @param [String] filters
|
384
373
|
# A list of filters that should be applied when retrieving YouTube Analytics
|
385
374
|
# data. The [Available Reports](/youtube/analytics/v2/available_reports)
|
386
|
-
# document identifies the dimensions that can be used to filter each report,
|
387
|
-
#
|
388
|
-
#
|
389
|
-
#
|
390
|
-
#
|
391
|
-
#
|
392
|
-
# for the given video in Italy.",
|
375
|
+
# document identifies the dimensions that can be used to filter each report, and
|
376
|
+
# the [Dimensions](/youtube/analytics/v2/dimsmets/dims) document defines those
|
377
|
+
# dimensions. If a request uses multiple filters, join them together with a
|
378
|
+
# semicolon (`;`), and the returned result table will satisfy both filters. For
|
379
|
+
# example, a filters parameter value of `video==dMH0bHeiRNg;country==IT`
|
380
|
+
# restricts the result set to include data for the given video in Italy.",
|
393
381
|
# @param [String] ids
|
394
|
-
# Identifies the YouTube channel or content owner for which you are
|
395
|
-
#
|
396
|
-
#
|
397
|
-
#
|
398
|
-
#
|
399
|
-
#
|
400
|
-
#
|
401
|
-
# of the content owner.
|
402
|
-
# required: true, pattern: [a-zA-Z]+==[a-zA-Z0-9_+-]+
|
382
|
+
# Identifies the YouTube channel or content owner for which you are retrieving
|
383
|
+
# YouTube Analytics data. - To request data for a YouTube user, set the `ids`
|
384
|
+
# parameter value to `channel==CHANNEL_ID`, where `CHANNEL_ID` specifies the
|
385
|
+
# unique YouTube channel ID. - To request data for a YouTube CMS content owner,
|
386
|
+
# set the `ids` parameter value to `contentOwner==OWNER_NAME`, where `OWNER_NAME`
|
387
|
+
# is the CMS name of the content owner. required: true, pattern: [a-zA-Z]+==[a-
|
388
|
+
# zA-Z0-9_+-]+
|
403
389
|
# @param [Boolean] include_historical_channel_data
|
404
|
-
# If set to true historical data (i.e. channel data from before the linking
|
405
|
-
#
|
390
|
+
# If set to true historical data (i.e. channel data from before the linking of
|
391
|
+
# the channel to the content owner) will be retrieved.",
|
406
392
|
# @param [Fixnum] max_results
|
407
|
-
# The maximum number of rows to include in the response.",
|
408
|
-
# minValue: 1
|
393
|
+
# The maximum number of rows to include in the response.", minValue: 1
|
409
394
|
# @param [String] metrics
|
410
|
-
# A comma-separated list of YouTube Analytics metrics, such as `views` or
|
411
|
-
#
|
412
|
-
#
|
413
|
-
#
|
414
|
-
#
|
415
|
-
#
|
416
|
-
# those metrics.
|
417
|
-
# required: true, pattern: [0-9a-zA-Z,]+
|
395
|
+
# A comma-separated list of YouTube Analytics metrics, such as `views` or `likes,
|
396
|
+
# dislikes`. See the [Available Reports](/youtube/analytics/v2/available_reports)
|
397
|
+
# document for a list of the reports that you can retrieve and the metrics
|
398
|
+
# available in each report, and see the [Metrics](/youtube/analytics/v2/dimsmets/
|
399
|
+
# mets) document for definitions of those metrics. required: true, pattern: [0-
|
400
|
+
# 9a-zA-Z,]+
|
418
401
|
# @param [String] sort
|
419
|
-
# A comma-separated list of dimensions or metrics that determine the sort
|
420
|
-
#
|
421
|
-
#
|
422
|
-
# pattern: [-0-9a-zA-Z,]+
|
402
|
+
# A comma-separated list of dimensions or metrics that determine the sort order
|
403
|
+
# for YouTube Analytics data. By default the sort order is ascending. The '`-`'
|
404
|
+
# prefix causes descending sort order.", pattern: [-0-9a-zA-Z,]+
|
423
405
|
# @param [String] start_date
|
424
|
-
# The start date for fetching YouTube Analytics data. The value should be in
|
425
|
-
#
|
426
|
-
# required: true, pattern: "[0-9]`4`-[0-9]`2`-[0-9]`2`
|
406
|
+
# The start date for fetching YouTube Analytics data. The value should be in `
|
407
|
+
# YYYY-MM-DD` format. required: true, pattern: "[0-9]`4`-[0-9]`2`-[0-9]`2`
|
427
408
|
# @param [Fixnum] start_index
|
428
|
-
# An index of the first entity to retrieve. Use this parameter as a
|
429
|
-
#
|
430
|
-
# inclusive).",
|
409
|
+
# An index of the first entity to retrieve. Use this parameter as a pagination
|
410
|
+
# mechanism along with the max-results parameter (one-based, inclusive).",
|
431
411
|
# minValue: 1
|
432
412
|
# @param [String] fields
|
433
413
|
# Selector specifying which fields to include in a partial response.
|
@@ -20,12 +20,13 @@ module Google
|
|
20
20
|
module Apis
|
21
21
|
# YouTube Content ID API
|
22
22
|
#
|
23
|
-
#
|
23
|
+
# The YouTube Content ID API allows the management of YouTube assets along with
|
24
|
+
# their associated content, references, ownership, rights and policies.
|
24
25
|
#
|
25
|
-
# @see https://
|
26
|
+
# @see https://devsite.googleplex.com/youtube/partner/docs/v1/
|
26
27
|
module YoutubePartnerV1
|
27
28
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
29
|
+
REVISION = '20200803'
|
29
30
|
|
30
31
|
# View and manage your assets and associated content on YouTube
|
31
32
|
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
|
@@ -48,48 +48,6 @@ module Google
|
|
48
48
|
end
|
49
49
|
end
|
50
50
|
|
51
|
-
#
|
52
|
-
class AllowedAdvertisingOptions
|
53
|
-
include Google::Apis::Core::Hashable
|
54
|
-
|
55
|
-
# This setting indicates whether the partner can display ads when videos run in
|
56
|
-
# an embedded player.
|
57
|
-
# Corresponds to the JSON property `adsOnEmbeds`
|
58
|
-
# @return [Boolean]
|
59
|
-
attr_accessor :ads_on_embeds
|
60
|
-
alias_method :ads_on_embeds?, :ads_on_embeds
|
61
|
-
|
62
|
-
# This property identifies the resource type. Its value is youtubePartner#
|
63
|
-
# allowedAdvertisingOptions.
|
64
|
-
# Corresponds to the JSON property `kind`
|
65
|
-
# @return [String]
|
66
|
-
attr_accessor :kind
|
67
|
-
|
68
|
-
# A list of ad formats that the partner is allowed to use for its uploaded
|
69
|
-
# videos.
|
70
|
-
# Corresponds to the JSON property `licAdFormats`
|
71
|
-
# @return [Array<String>]
|
72
|
-
attr_accessor :lic_ad_formats
|
73
|
-
|
74
|
-
# A list of ad formats that the partner is allowed to use for claimed, user-
|
75
|
-
# uploaded content.
|
76
|
-
# Corresponds to the JSON property `ugcAdFormats`
|
77
|
-
# @return [Array<String>]
|
78
|
-
attr_accessor :ugc_ad_formats
|
79
|
-
|
80
|
-
def initialize(**args)
|
81
|
-
update!(**args)
|
82
|
-
end
|
83
|
-
|
84
|
-
# Update properties of this object
|
85
|
-
def update!(**args)
|
86
|
-
@ads_on_embeds = args[:ads_on_embeds] if args.key?(:ads_on_embeds)
|
87
|
-
@kind = args[:kind] if args.key?(:kind)
|
88
|
-
@lic_ad_formats = args[:lic_ad_formats] if args.key?(:lic_ad_formats)
|
89
|
-
@ugc_ad_formats = args[:ugc_ad_formats] if args.key?(:ugc_ad_formats)
|
90
|
-
end
|
91
|
-
end
|
92
|
-
|
93
51
|
#
|
94
52
|
class Asset
|
95
53
|
include Google::Apis::Core::Hashable
|
@@ -182,7 +140,7 @@ module Google
|
|
182
140
|
# The date and time the asset was created. The value is specified in RFC 3339 (
|
183
141
|
# YYYY-MM-DDThh:mm:ss.000Z) format.
|
184
142
|
# Corresponds to the JSON property `timeCreated`
|
185
|
-
# @return [
|
143
|
+
# @return [String]
|
186
144
|
attr_accessor :time_created
|
187
145
|
|
188
146
|
# The asset's type. This value determines the metadata fields that you can set
|
@@ -553,7 +511,7 @@ module Google
|
|
553
511
|
# The date and time the asset was created. The value is specified in RFC 3339 (
|
554
512
|
# YYYY-MM-DDThh:mm:ss.000Z) format.
|
555
513
|
# Corresponds to the JSON property `timeCreated`
|
556
|
-
# @return [
|
514
|
+
# @return [String]
|
557
515
|
attr_accessor :time_created
|
558
516
|
|
559
517
|
# Title of this asset.
|
@@ -584,6 +542,56 @@ module Google
|
|
584
542
|
end
|
585
543
|
end
|
586
544
|
|
545
|
+
# Information to read/write to blobstore2.
|
546
|
+
class Blobstore2Info
|
547
|
+
include Google::Apis::Core::Hashable
|
548
|
+
|
549
|
+
# The blob generation id.
|
550
|
+
# Corresponds to the JSON property `blobGeneration`
|
551
|
+
# @return [Fixnum]
|
552
|
+
attr_accessor :blob_generation
|
553
|
+
|
554
|
+
# The blob id, e.g., /blobstore/prod/playground/scotty
|
555
|
+
# Corresponds to the JSON property `blobId`
|
556
|
+
# @return [String]
|
557
|
+
attr_accessor :blob_id
|
558
|
+
|
559
|
+
# Read handle passed from Bigstore -> Scotty for a GCS download. This is a
|
560
|
+
# signed, serialized blobstore2.ReadHandle proto which must never be set outside
|
561
|
+
# of Bigstore, and is not applicable to non-GCS media downloads.
|
562
|
+
# Corresponds to the JSON property `downloadReadHandle`
|
563
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
564
|
+
# @return [String]
|
565
|
+
attr_accessor :download_read_handle
|
566
|
+
|
567
|
+
# The blob read token. Needed to read blobs that have not been replicated. Might
|
568
|
+
# not be available until the final call.
|
569
|
+
# Corresponds to the JSON property `readToken`
|
570
|
+
# @return [String]
|
571
|
+
attr_accessor :read_token
|
572
|
+
|
573
|
+
# Metadata passed from Blobstore -> Scotty for a new GCS upload. This is a
|
574
|
+
# signed, serialized blobstore2.BlobMetadataContainer proto which must never be
|
575
|
+
# consumed outside of Bigstore, and is not applicable to non-GCS media uploads.
|
576
|
+
# Corresponds to the JSON property `uploadMetadataContainer`
|
577
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
578
|
+
# @return [String]
|
579
|
+
attr_accessor :upload_metadata_container
|
580
|
+
|
581
|
+
def initialize(**args)
|
582
|
+
update!(**args)
|
583
|
+
end
|
584
|
+
|
585
|
+
# Update properties of this object
|
586
|
+
def update!(**args)
|
587
|
+
@blob_generation = args[:blob_generation] if args.key?(:blob_generation)
|
588
|
+
@blob_id = args[:blob_id] if args.key?(:blob_id)
|
589
|
+
@download_read_handle = args[:download_read_handle] if args.key?(:download_read_handle)
|
590
|
+
@read_token = args[:read_token] if args.key?(:read_token)
|
591
|
+
@upload_metadata_container = args[:upload_metadata_container] if args.key?(:upload_metadata_container)
|
592
|
+
end
|
593
|
+
end
|
594
|
+
|
587
595
|
#
|
588
596
|
class Campaign
|
589
597
|
include Google::Apis::Core::Hashable
|
@@ -612,12 +620,12 @@ module Google
|
|
612
620
|
|
613
621
|
# The time the campaign was created.
|
614
622
|
# Corresponds to the JSON property `timeCreated`
|
615
|
-
# @return [
|
623
|
+
# @return [String]
|
616
624
|
attr_accessor :time_created
|
617
625
|
|
618
626
|
# The time the campaign was last modified.
|
619
627
|
# Corresponds to the JSON property `timeLastModified`
|
620
|
-
# @return [
|
628
|
+
# @return [String]
|
621
629
|
attr_accessor :time_last_modified
|
622
630
|
|
623
631
|
def initialize(**args)
|
@@ -648,7 +656,7 @@ module Google
|
|
648
656
|
# The time at which the campaign should expire. Do not specify a value if the
|
649
657
|
# campaign has no expiration time.
|
650
658
|
# Corresponds to the JSON property `expireTime`
|
651
|
-
# @return [
|
659
|
+
# @return [String]
|
652
660
|
attr_accessor :expire_time
|
653
661
|
|
654
662
|
# The user-given name of the campaign.
|
@@ -665,7 +673,7 @@ module Google
|
|
665
673
|
# The time at which the campaign should start. Do not specify a value if the
|
666
674
|
# campaign should start immediately.
|
667
675
|
# Corresponds to the JSON property `startTime`
|
668
|
-
# @return [
|
676
|
+
# @return [String]
|
669
677
|
attr_accessor :start_time
|
670
678
|
|
671
679
|
def initialize(**args)
|
@@ -808,12 +816,12 @@ module Google
|
|
808
816
|
# If this claim was auto-generated based on a provided reference, this section
|
809
817
|
# will provide details of the match that generated the claim.
|
810
818
|
# Corresponds to the JSON property `matchInfo`
|
811
|
-
# @return [Google::Apis::YoutubePartnerV1::
|
819
|
+
# @return [Google::Apis::YoutubePartnerV1::MatchInfo]
|
812
820
|
attr_accessor :match_info
|
813
821
|
|
814
822
|
#
|
815
823
|
# Corresponds to the JSON property `origin`
|
816
|
-
# @return [Google::Apis::YoutubePartnerV1::
|
824
|
+
# @return [Google::Apis::YoutubePartnerV1::Origin]
|
817
825
|
attr_accessor :origin
|
818
826
|
|
819
827
|
# The policy provided by the viewing owner on the claim.
|
@@ -830,7 +838,7 @@ module Google
|
|
830
838
|
|
831
839
|
# The time the claim was created.
|
832
840
|
# Corresponds to the JSON property `timeCreated`
|
833
|
-
# @return [
|
841
|
+
# @return [String]
|
834
842
|
attr_accessor :time_created
|
835
843
|
|
836
844
|
# The unique YouTube video ID that identifies the video associated with the
|
@@ -859,130 +867,6 @@ module Google
|
|
859
867
|
@time_created = args[:time_created] if args.key?(:time_created)
|
860
868
|
@video_id = args[:video_id] if args.key?(:video_id)
|
861
869
|
end
|
862
|
-
|
863
|
-
# If this claim was auto-generated based on a provided reference, this section
|
864
|
-
# will provide details of the match that generated the claim.
|
865
|
-
class MatchInfo
|
866
|
-
include Google::Apis::Core::Hashable
|
867
|
-
|
868
|
-
# Details of the longest match between the reference and the user video.
|
869
|
-
# Corresponds to the JSON property `longestMatch`
|
870
|
-
# @return [Google::Apis::YoutubePartnerV1::Claim::MatchInfo::LongestMatch]
|
871
|
-
attr_accessor :longest_match
|
872
|
-
|
873
|
-
# Details about each match segment. Each item in the list contains information
|
874
|
-
# about one match segment associated with the claim. It is possible to have
|
875
|
-
# multiple match segments. For example, if the audio and video content of an
|
876
|
-
# uploaded video match that of a reference video, there would be two match
|
877
|
-
# segments. One segment would describe the audio match and the other would
|
878
|
-
# describe the video match.
|
879
|
-
# Corresponds to the JSON property `matchSegments`
|
880
|
-
# @return [Array<Google::Apis::YoutubePartnerV1::MatchSegment>]
|
881
|
-
attr_accessor :match_segments
|
882
|
-
|
883
|
-
# The reference ID that generated this match.
|
884
|
-
# Corresponds to the JSON property `referenceId`
|
885
|
-
# @return [String]
|
886
|
-
attr_accessor :reference_id
|
887
|
-
|
888
|
-
# Details of the total amount of reference and user video content which matched
|
889
|
-
# each other. Note these two values may differ if either the reference or the
|
890
|
-
# user video contains a loop.
|
891
|
-
# Corresponds to the JSON property `totalMatch`
|
892
|
-
# @return [Google::Apis::YoutubePartnerV1::Claim::MatchInfo::TotalMatch]
|
893
|
-
attr_accessor :total_match
|
894
|
-
|
895
|
-
def initialize(**args)
|
896
|
-
update!(**args)
|
897
|
-
end
|
898
|
-
|
899
|
-
# Update properties of this object
|
900
|
-
def update!(**args)
|
901
|
-
@longest_match = args[:longest_match] if args.key?(:longest_match)
|
902
|
-
@match_segments = args[:match_segments] if args.key?(:match_segments)
|
903
|
-
@reference_id = args[:reference_id] if args.key?(:reference_id)
|
904
|
-
@total_match = args[:total_match] if args.key?(:total_match)
|
905
|
-
end
|
906
|
-
|
907
|
-
# Details of the longest match between the reference and the user video.
|
908
|
-
class LongestMatch
|
909
|
-
include Google::Apis::Core::Hashable
|
910
|
-
|
911
|
-
# The duration of the longest match between the reference and the user video.
|
912
|
-
# Corresponds to the JSON property `durationSecs`
|
913
|
-
# @return [Fixnum]
|
914
|
-
attr_accessor :duration_secs
|
915
|
-
|
916
|
-
# The offset in seconds into the reference at which the longest match began.
|
917
|
-
# Corresponds to the JSON property `referenceOffset`
|
918
|
-
# @return [Fixnum]
|
919
|
-
attr_accessor :reference_offset
|
920
|
-
|
921
|
-
# The offset in seconds into the user video at which the longest match began.
|
922
|
-
# Corresponds to the JSON property `userVideoOffset`
|
923
|
-
# @return [Fixnum]
|
924
|
-
attr_accessor :user_video_offset
|
925
|
-
|
926
|
-
def initialize(**args)
|
927
|
-
update!(**args)
|
928
|
-
end
|
929
|
-
|
930
|
-
# Update properties of this object
|
931
|
-
def update!(**args)
|
932
|
-
@duration_secs = args[:duration_secs] if args.key?(:duration_secs)
|
933
|
-
@reference_offset = args[:reference_offset] if args.key?(:reference_offset)
|
934
|
-
@user_video_offset = args[:user_video_offset] if args.key?(:user_video_offset)
|
935
|
-
end
|
936
|
-
end
|
937
|
-
|
938
|
-
# Details of the total amount of reference and user video content which matched
|
939
|
-
# each other. Note these two values may differ if either the reference or the
|
940
|
-
# user video contains a loop.
|
941
|
-
class TotalMatch
|
942
|
-
include Google::Apis::Core::Hashable
|
943
|
-
|
944
|
-
# The total amount of content in the reference which matched the user video in
|
945
|
-
# seconds.
|
946
|
-
# Corresponds to the JSON property `referenceDurationSecs`
|
947
|
-
# @return [Fixnum]
|
948
|
-
attr_accessor :reference_duration_secs
|
949
|
-
|
950
|
-
# The total amount of content in the user video which matched the reference in
|
951
|
-
# seconds.
|
952
|
-
# Corresponds to the JSON property `userVideoDurationSecs`
|
953
|
-
# @return [Fixnum]
|
954
|
-
attr_accessor :user_video_duration_secs
|
955
|
-
|
956
|
-
def initialize(**args)
|
957
|
-
update!(**args)
|
958
|
-
end
|
959
|
-
|
960
|
-
# Update properties of this object
|
961
|
-
def update!(**args)
|
962
|
-
@reference_duration_secs = args[:reference_duration_secs] if args.key?(:reference_duration_secs)
|
963
|
-
@user_video_duration_secs = args[:user_video_duration_secs] if args.key?(:user_video_duration_secs)
|
964
|
-
end
|
965
|
-
end
|
966
|
-
end
|
967
|
-
|
968
|
-
#
|
969
|
-
class Origin
|
970
|
-
include Google::Apis::Core::Hashable
|
971
|
-
|
972
|
-
#
|
973
|
-
# Corresponds to the JSON property `source`
|
974
|
-
# @return [String]
|
975
|
-
attr_accessor :source
|
976
|
-
|
977
|
-
def initialize(**args)
|
978
|
-
update!(**args)
|
979
|
-
end
|
980
|
-
|
981
|
-
# Update properties of this object
|
982
|
-
def update!(**args)
|
983
|
-
@source = args[:source] if args.key?(:source)
|
984
|
-
end
|
985
|
-
end
|
986
870
|
end
|
987
871
|
|
988
872
|
#
|
@@ -1002,12 +886,12 @@ module Google
|
|
1002
886
|
|
1003
887
|
# Data related to source of the event.
|
1004
888
|
# Corresponds to the JSON property `source`
|
1005
|
-
# @return [Google::Apis::YoutubePartnerV1::
|
889
|
+
# @return [Google::Apis::YoutubePartnerV1::Source]
|
1006
890
|
attr_accessor :source
|
1007
891
|
|
1008
892
|
# The time when the event occurred.
|
1009
893
|
# Corresponds to the JSON property `time`
|
1010
|
-
# @return [
|
894
|
+
# @return [String]
|
1011
895
|
attr_accessor :time
|
1012
896
|
|
1013
897
|
# Type of the event.
|
@@ -1017,7 +901,7 @@ module Google
|
|
1017
901
|
|
1018
902
|
# Details of event's type.
|
1019
903
|
# Corresponds to the JSON property `typeDetails`
|
1020
|
-
# @return [Google::Apis::YoutubePartnerV1::
|
904
|
+
# @return [Google::Apis::YoutubePartnerV1::TypeDetails]
|
1021
905
|
attr_accessor :type_details
|
1022
906
|
|
1023
907
|
def initialize(**args)
|
@@ -1033,74 +917,6 @@ module Google
|
|
1033
917
|
@type = args[:type] if args.key?(:type)
|
1034
918
|
@type_details = args[:type_details] if args.key?(:type_details)
|
1035
919
|
end
|
1036
|
-
|
1037
|
-
# Data related to source of the event.
|
1038
|
-
class Source
|
1039
|
-
include Google::Apis::Core::Hashable
|
1040
|
-
|
1041
|
-
# Id of content owner that initiated the event.
|
1042
|
-
# Corresponds to the JSON property `contentOwnerId`
|
1043
|
-
# @return [String]
|
1044
|
-
attr_accessor :content_owner_id
|
1045
|
-
|
1046
|
-
# Type of the event source.
|
1047
|
-
# Corresponds to the JSON property `type`
|
1048
|
-
# @return [String]
|
1049
|
-
attr_accessor :type
|
1050
|
-
|
1051
|
-
# Email of user who initiated the event.
|
1052
|
-
# Corresponds to the JSON property `userEmail`
|
1053
|
-
# @return [String]
|
1054
|
-
attr_accessor :user_email
|
1055
|
-
|
1056
|
-
def initialize(**args)
|
1057
|
-
update!(**args)
|
1058
|
-
end
|
1059
|
-
|
1060
|
-
# Update properties of this object
|
1061
|
-
def update!(**args)
|
1062
|
-
@content_owner_id = args[:content_owner_id] if args.key?(:content_owner_id)
|
1063
|
-
@type = args[:type] if args.key?(:type)
|
1064
|
-
@user_email = args[:user_email] if args.key?(:user_email)
|
1065
|
-
end
|
1066
|
-
end
|
1067
|
-
|
1068
|
-
# Details of event's type.
|
1069
|
-
class TypeDetails
|
1070
|
-
include Google::Apis::Core::Hashable
|
1071
|
-
|
1072
|
-
# Appeal explanations for dispute_appeal event.
|
1073
|
-
# Corresponds to the JSON property `appealExplanation`
|
1074
|
-
# @return [String]
|
1075
|
-
attr_accessor :appeal_explanation
|
1076
|
-
|
1077
|
-
# Dispute notes for dispute_create events.
|
1078
|
-
# Corresponds to the JSON property `disputeNotes`
|
1079
|
-
# @return [String]
|
1080
|
-
attr_accessor :dispute_notes
|
1081
|
-
|
1082
|
-
# Dispute reason for dispute_create and dispute_appeal events.
|
1083
|
-
# Corresponds to the JSON property `disputeReason`
|
1084
|
-
# @return [String]
|
1085
|
-
attr_accessor :dispute_reason
|
1086
|
-
|
1087
|
-
# Status that was a result of update for claim_update event.
|
1088
|
-
# Corresponds to the JSON property `updateStatus`
|
1089
|
-
# @return [String]
|
1090
|
-
attr_accessor :update_status
|
1091
|
-
|
1092
|
-
def initialize(**args)
|
1093
|
-
update!(**args)
|
1094
|
-
end
|
1095
|
-
|
1096
|
-
# Update properties of this object
|
1097
|
-
def update!(**args)
|
1098
|
-
@appeal_explanation = args[:appeal_explanation] if args.key?(:appeal_explanation)
|
1099
|
-
@dispute_notes = args[:dispute_notes] if args.key?(:dispute_notes)
|
1100
|
-
@dispute_reason = args[:dispute_reason] if args.key?(:dispute_reason)
|
1101
|
-
@update_status = args[:update_status] if args.key?(:update_status)
|
1102
|
-
end
|
1103
|
-
end
|
1104
920
|
end
|
1105
921
|
|
1106
922
|
#
|
@@ -1268,7 +1084,7 @@ module Google
|
|
1268
1084
|
|
1269
1085
|
#
|
1270
1086
|
# Corresponds to the JSON property `origin`
|
1271
|
-
# @return [Google::Apis::YoutubePartnerV1::
|
1087
|
+
# @return [Google::Apis::YoutubePartnerV1::YoutubePartnerApiProtoFrontendV1Origin]
|
1272
1088
|
attr_accessor :origin
|
1273
1089
|
|
1274
1090
|
# The claim's status.
|
@@ -1284,12 +1100,12 @@ module Google
|
|
1284
1100
|
|
1285
1101
|
# The time the claim was created.
|
1286
1102
|
# Corresponds to the JSON property `timeCreated`
|
1287
|
-
# @return [
|
1103
|
+
# @return [String]
|
1288
1104
|
attr_accessor :time_created
|
1289
1105
|
|
1290
1106
|
# The time the claim status and/or status detail was last modified.
|
1291
1107
|
# Corresponds to the JSON property `timeStatusLastModified`
|
1292
|
-
# @return [
|
1108
|
+
# @return [String]
|
1293
1109
|
attr_accessor :time_status_last_modified
|
1294
1110
|
|
1295
1111
|
# The unique YouTube video ID that identifies the video associated with the
|
@@ -1328,59 +1144,83 @@ module Google
|
|
1328
1144
|
@video_title = args[:video_title] if args.key?(:video_title)
|
1329
1145
|
@video_views = args[:video_views] if args.key?(:video_views)
|
1330
1146
|
end
|
1331
|
-
|
1332
|
-
#
|
1333
|
-
class Origin
|
1334
|
-
include Google::Apis::Core::Hashable
|
1335
|
-
|
1336
|
-
#
|
1337
|
-
# Corresponds to the JSON property `source`
|
1338
|
-
# @return [String]
|
1339
|
-
attr_accessor :source
|
1340
|
-
|
1341
|
-
def initialize(**args)
|
1342
|
-
update!(**args)
|
1343
|
-
end
|
1344
|
-
|
1345
|
-
# Update properties of this object
|
1346
|
-
def update!(**args)
|
1347
|
-
@source = args[:source] if args.key?(:source)
|
1348
|
-
end
|
1349
|
-
end
|
1350
1147
|
end
|
1351
1148
|
|
1352
|
-
#
|
1353
|
-
|
1149
|
+
# A sequence of media data references representing composite data. Introduced to
|
1150
|
+
# support Bigstore composite objects. For details, visit http://go/bigstore-
|
1151
|
+
# composites.
|
1152
|
+
class CompositeMedia
|
1354
1153
|
include Google::Apis::Core::Hashable
|
1355
1154
|
|
1356
|
-
#
|
1357
|
-
#
|
1358
|
-
#
|
1359
|
-
#
|
1360
|
-
# Corresponds to the JSON property `
|
1361
|
-
#
|
1362
|
-
|
1363
|
-
|
1155
|
+
# Blobstore v1 reference, set if reference_type is BLOBSTORE_REF This should be
|
1156
|
+
# the byte representation of a blobstore.BlobRef. Since Blobstore is deprecating
|
1157
|
+
# v1, use blobstore2_info instead. For now, any v2 blob will also be represented
|
1158
|
+
# in this field as v1 BlobRef.
|
1159
|
+
# Corresponds to the JSON property `blobRef`
|
1160
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1161
|
+
# @return [String]
|
1162
|
+
attr_accessor :blob_ref
|
1163
|
+
|
1164
|
+
# Information to read/write to blobstore2.
|
1165
|
+
# Corresponds to the JSON property `blobstore2Info`
|
1166
|
+
# @return [Google::Apis::YoutubePartnerV1::Blobstore2Info]
|
1167
|
+
attr_accessor :blobstore2_info
|
1168
|
+
|
1169
|
+
# A binary data reference for a media download. Serves as a technology-agnostic
|
1170
|
+
# binary reference in some Google infrastructure. This value is a serialized
|
1171
|
+
# storage_cosmo.BinaryReference proto. Storing it as bytes is a hack to get
|
1172
|
+
# around the fact that the cosmo proto (as well as others it includes) doesn't
|
1173
|
+
# support JavaScript. This prevents us from including the actual type of this
|
1174
|
+
# field.
|
1175
|
+
# Corresponds to the JSON property `cosmoBinaryReference`
|
1176
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1177
|
+
# @return [String]
|
1178
|
+
attr_accessor :cosmo_binary_reference
|
1179
|
+
|
1180
|
+
# crc32.c hash for the payload.
|
1181
|
+
# Corresponds to the JSON property `crc32cHash`
|
1182
|
+
# @return [Fixnum]
|
1183
|
+
attr_accessor :crc32c_hash
|
1364
1184
|
|
1365
|
-
#
|
1366
|
-
#
|
1367
|
-
#
|
1368
|
-
# @return [
|
1369
|
-
attr_accessor :
|
1370
|
-
alias_method :channel_override?, :channel_override
|
1185
|
+
# Media data, set if reference_type is INLINE
|
1186
|
+
# Corresponds to the JSON property `inline`
|
1187
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1188
|
+
# @return [String]
|
1189
|
+
attr_accessor :inline
|
1371
1190
|
|
1372
|
-
#
|
1373
|
-
#
|
1374
|
-
#
|
1191
|
+
# Size of the data, in bytes
|
1192
|
+
# Corresponds to the JSON property `length`
|
1193
|
+
# @return [Fixnum]
|
1194
|
+
attr_accessor :length
|
1195
|
+
|
1196
|
+
# MD5 hash for the payload.
|
1197
|
+
# Corresponds to the JSON property `md5Hash`
|
1198
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1375
1199
|
# @return [String]
|
1376
|
-
attr_accessor :
|
1200
|
+
attr_accessor :md5_hash
|
1377
1201
|
|
1378
|
-
#
|
1379
|
-
#
|
1380
|
-
#
|
1381
|
-
# Corresponds to the JSON property `
|
1382
|
-
# @return [
|
1383
|
-
attr_accessor :
|
1202
|
+
# This is a copy of the tech.blob.ObjectId proto, which could not be used
|
1203
|
+
# directly here due to transitive closure issues with JavaScript support; see
|
1204
|
+
# http://b/8801763.
|
1205
|
+
# Corresponds to the JSON property `objectId`
|
1206
|
+
# @return [Google::Apis::YoutubePartnerV1::ObjectIdProp]
|
1207
|
+
attr_accessor :object_id_prop
|
1208
|
+
|
1209
|
+
# Path to the data, set if reference_type is PATH
|
1210
|
+
# Corresponds to the JSON property `path`
|
1211
|
+
# @return [String]
|
1212
|
+
attr_accessor :path
|
1213
|
+
|
1214
|
+
# Describes what the field reference contains.
|
1215
|
+
# Corresponds to the JSON property `referenceType`
|
1216
|
+
# @return [String]
|
1217
|
+
attr_accessor :reference_type
|
1218
|
+
|
1219
|
+
# SHA-1 hash for the payload.
|
1220
|
+
# Corresponds to the JSON property `sha1Hash`
|
1221
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1222
|
+
# @return [String]
|
1223
|
+
attr_accessor :sha1_hash
|
1384
1224
|
|
1385
1225
|
def initialize(**args)
|
1386
1226
|
update!(**args)
|
@@ -1388,10 +1228,17 @@ module Google
|
|
1388
1228
|
|
1389
1229
|
# Update properties of this object
|
1390
1230
|
def update!(**args)
|
1391
|
-
@
|
1392
|
-
@
|
1393
|
-
@
|
1394
|
-
@
|
1231
|
+
@blob_ref = args[:blob_ref] if args.key?(:blob_ref)
|
1232
|
+
@blobstore2_info = args[:blobstore2_info] if args.key?(:blobstore2_info)
|
1233
|
+
@cosmo_binary_reference = args[:cosmo_binary_reference] if args.key?(:cosmo_binary_reference)
|
1234
|
+
@crc32c_hash = args[:crc32c_hash] if args.key?(:crc32c_hash)
|
1235
|
+
@inline = args[:inline] if args.key?(:inline)
|
1236
|
+
@length = args[:length] if args.key?(:length)
|
1237
|
+
@md5_hash = args[:md5_hash] if args.key?(:md5_hash)
|
1238
|
+
@object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
|
1239
|
+
@path = args[:path] if args.key?(:path)
|
1240
|
+
@reference_type = args[:reference_type] if args.key?(:reference_type)
|
1241
|
+
@sha1_hash = args[:sha1_hash] if args.key?(:sha1_hash)
|
1395
1242
|
end
|
1396
1243
|
end
|
1397
1244
|
|
@@ -1537,27 +1384,16 @@ module Google
|
|
1537
1384
|
end
|
1538
1385
|
|
1539
1386
|
#
|
1540
|
-
class
|
1387
|
+
class ContentOwnerListResponse
|
1541
1388
|
include Google::Apis::Core::Hashable
|
1542
1389
|
|
1543
|
-
#
|
1544
|
-
# Corresponds to the JSON property `
|
1545
|
-
# @return [Google::Apis::YoutubePartnerV1::
|
1546
|
-
attr_accessor :
|
1547
|
-
|
1548
|
-
# This object identifies the advertising options used by default for the content
|
1549
|
-
# owner's newly claimed videos.
|
1550
|
-
# Corresponds to the JSON property `claimedVideoOptions`
|
1551
|
-
# @return [Google::Apis::YoutubePartnerV1::ClaimedVideoDefaults]
|
1552
|
-
attr_accessor :claimed_video_options
|
1553
|
-
|
1554
|
-
# The value that YouTube uses to uniquely identify the content owner.
|
1555
|
-
# Corresponds to the JSON property `id`
|
1556
|
-
# @return [String]
|
1557
|
-
attr_accessor :id
|
1390
|
+
# A list of content owners that match the request criteria.
|
1391
|
+
# Corresponds to the JSON property `items`
|
1392
|
+
# @return [Array<Google::Apis::YoutubePartnerV1::ContentOwner>]
|
1393
|
+
attr_accessor :items
|
1558
1394
|
|
1559
|
-
# The type of the API
|
1560
|
-
#
|
1395
|
+
# The type of the API response. For this operation, the value is youtubePartner#
|
1396
|
+
# contentOwnerList.
|
1561
1397
|
# Corresponds to the JSON property `kind`
|
1562
1398
|
# @return [String]
|
1563
1399
|
attr_accessor :kind
|
@@ -1568,27 +1404,48 @@ module Google
|
|
1568
1404
|
|
1569
1405
|
# Update properties of this object
|
1570
1406
|
def update!(**args)
|
1571
|
-
@
|
1572
|
-
@claimed_video_options = args[:claimed_video_options] if args.key?(:claimed_video_options)
|
1573
|
-
@id = args[:id] if args.key?(:id)
|
1407
|
+
@items = args[:items] if args.key?(:items)
|
1574
1408
|
@kind = args[:kind] if args.key?(:kind)
|
1575
1409
|
end
|
1576
1410
|
end
|
1577
1411
|
|
1578
|
-
#
|
1579
|
-
|
1412
|
+
# Detailed Content-Type information from Scotty. The Content-Type of the media
|
1413
|
+
# will typically be filled in by the header or Scotty's best_guess, but this
|
1414
|
+
# extended information provides the backend with more information so that it can
|
1415
|
+
# make a better decision if needed. This is only used on media upload requests
|
1416
|
+
# from Scotty.
|
1417
|
+
class ContentTypeInfo
|
1580
1418
|
include Google::Apis::Core::Hashable
|
1581
1419
|
|
1582
|
-
#
|
1583
|
-
# Corresponds to the JSON property `
|
1584
|
-
# @return [
|
1585
|
-
attr_accessor :
|
1420
|
+
# Scotty's best guess of what the content type of the file is.
|
1421
|
+
# Corresponds to the JSON property `bestGuess`
|
1422
|
+
# @return [String]
|
1423
|
+
attr_accessor :best_guess
|
1586
1424
|
|
1587
|
-
# The type of the
|
1588
|
-
#
|
1589
|
-
# Corresponds to the JSON property `
|
1425
|
+
# The content type of the file derived by looking at specific bytes (i.e. "magic
|
1426
|
+
# bytes") of the actual file.
|
1427
|
+
# Corresponds to the JSON property `fromBytes`
|
1590
1428
|
# @return [String]
|
1591
|
-
attr_accessor :
|
1429
|
+
attr_accessor :from_bytes
|
1430
|
+
|
1431
|
+
# The content type of the file derived from the file extension of the original
|
1432
|
+
# file name used by the client.
|
1433
|
+
# Corresponds to the JSON property `fromFileName`
|
1434
|
+
# @return [String]
|
1435
|
+
attr_accessor :from_file_name
|
1436
|
+
|
1437
|
+
# The content type of the file as specified in the request headers, multipart
|
1438
|
+
# headers, or RUPIO start request.
|
1439
|
+
# Corresponds to the JSON property `fromHeader`
|
1440
|
+
# @return [String]
|
1441
|
+
attr_accessor :from_header
|
1442
|
+
|
1443
|
+
# The content type of the file derived from the file extension of the URL path.
|
1444
|
+
# The URL path is assumed to represent a file name (which is typically only true
|
1445
|
+
# for agents that are providing a REST API).
|
1446
|
+
# Corresponds to the JSON property `fromUrlPath`
|
1447
|
+
# @return [String]
|
1448
|
+
attr_accessor :from_url_path
|
1592
1449
|
|
1593
1450
|
def initialize(**args)
|
1594
1451
|
update!(**args)
|
@@ -1596,8 +1453,11 @@ module Google
|
|
1596
1453
|
|
1597
1454
|
# Update properties of this object
|
1598
1455
|
def update!(**args)
|
1599
|
-
@
|
1600
|
-
@
|
1456
|
+
@best_guess = args[:best_guess] if args.key?(:best_guess)
|
1457
|
+
@from_bytes = args[:from_bytes] if args.key?(:from_bytes)
|
1458
|
+
@from_file_name = args[:from_file_name] if args.key?(:from_file_name)
|
1459
|
+
@from_header = args[:from_header] if args.key?(:from_header)
|
1460
|
+
@from_url_path = args[:from_url_path] if args.key?(:from_url_path)
|
1601
1461
|
end
|
1602
1462
|
end
|
1603
1463
|
|
@@ -1654,9 +1514,9 @@ module Google
|
|
1654
1514
|
# be inserted as soon as possible. If your broadcast stream is not delayed, then
|
1655
1515
|
# 0 is also the only valid value. However, if your broadcast stream is delayed,
|
1656
1516
|
# then the property value can specify the time when the cuepoint should be
|
1657
|
-
# inserted. See the Getting started guide for more details.
|
1658
|
-
#
|
1659
|
-
#
|
1517
|
+
# inserted. See the Getting started guide for more details. *Note:* If your
|
1518
|
+
# broadcast had a testing phase, the offset is measured from the time that the
|
1519
|
+
# testing phase began.
|
1660
1520
|
# Corresponds to the JSON property `offsetTimeMs`
|
1661
1521
|
# @return [Fixnum]
|
1662
1522
|
attr_accessor :offset_time_ms
|
@@ -1664,7 +1524,7 @@ module Google
|
|
1664
1524
|
# This value specifies the wall clock time at which the cuepoint should be
|
1665
1525
|
# inserted. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sssZ) format.
|
1666
1526
|
# Corresponds to the JSON property `walltime`
|
1667
|
-
# @return [
|
1527
|
+
# @return [String]
|
1668
1528
|
attr_accessor :walltime
|
1669
1529
|
|
1670
1530
|
def initialize(**args)
|
@@ -1712,26 +1572,208 @@ module Google
|
|
1712
1572
|
end
|
1713
1573
|
end
|
1714
1574
|
|
1715
|
-
#
|
1716
|
-
|
1575
|
+
# Backend response for a Diff get checksums response. For details on the Scotty
|
1576
|
+
# Diff protocol, visit http://go/scotty-diff-protocol.
|
1577
|
+
class DiffChecksumsResponse
|
1717
1578
|
include Google::Apis::Core::Hashable
|
1718
1579
|
|
1719
|
-
#
|
1720
|
-
#
|
1721
|
-
#
|
1722
|
-
#
|
1723
|
-
|
1580
|
+
# A sequence of media data references representing composite data. Introduced to
|
1581
|
+
# support Bigstore composite objects. For details, visit http://go/bigstore-
|
1582
|
+
# composites.
|
1583
|
+
# Corresponds to the JSON property `checksumsLocation`
|
1584
|
+
# @return [Google::Apis::YoutubePartnerV1::CompositeMedia]
|
1585
|
+
attr_accessor :checksums_location
|
1724
1586
|
|
1725
|
-
#
|
1726
|
-
#
|
1727
|
-
#
|
1587
|
+
# The chunk size of checksums. Must be a multiple of 256KB.
|
1588
|
+
# Corresponds to the JSON property `chunkSizeBytes`
|
1589
|
+
# @return [Fixnum]
|
1590
|
+
attr_accessor :chunk_size_bytes
|
1591
|
+
|
1592
|
+
# A sequence of media data references representing composite data. Introduced to
|
1593
|
+
# support Bigstore composite objects. For details, visit http://go/bigstore-
|
1594
|
+
# composites.
|
1595
|
+
# Corresponds to the JSON property `objectLocation`
|
1596
|
+
# @return [Google::Apis::YoutubePartnerV1::CompositeMedia]
|
1597
|
+
attr_accessor :object_location
|
1598
|
+
|
1599
|
+
# The total size of the server object.
|
1600
|
+
# Corresponds to the JSON property `objectSizeBytes`
|
1601
|
+
# @return [Fixnum]
|
1602
|
+
attr_accessor :object_size_bytes
|
1603
|
+
|
1604
|
+
# The object version of the object the checksums are being returned for.
|
1605
|
+
# Corresponds to the JSON property `objectVersion`
|
1728
1606
|
# @return [String]
|
1729
|
-
attr_accessor :
|
1607
|
+
attr_accessor :object_version
|
1730
1608
|
|
1731
|
-
|
1732
|
-
|
1733
|
-
|
1734
|
-
|
1609
|
+
def initialize(**args)
|
1610
|
+
update!(**args)
|
1611
|
+
end
|
1612
|
+
|
1613
|
+
# Update properties of this object
|
1614
|
+
def update!(**args)
|
1615
|
+
@checksums_location = args[:checksums_location] if args.key?(:checksums_location)
|
1616
|
+
@chunk_size_bytes = args[:chunk_size_bytes] if args.key?(:chunk_size_bytes)
|
1617
|
+
@object_location = args[:object_location] if args.key?(:object_location)
|
1618
|
+
@object_size_bytes = args[:object_size_bytes] if args.key?(:object_size_bytes)
|
1619
|
+
@object_version = args[:object_version] if args.key?(:object_version)
|
1620
|
+
end
|
1621
|
+
end
|
1622
|
+
|
1623
|
+
# Backend response for a Diff download response. For details on the Scotty Diff
|
1624
|
+
# protocol, visit http://go/scotty-diff-protocol.
|
1625
|
+
class DiffDownloadResponse
|
1626
|
+
include Google::Apis::Core::Hashable
|
1627
|
+
|
1628
|
+
# A sequence of media data references representing composite data. Introduced to
|
1629
|
+
# support Bigstore composite objects. For details, visit http://go/bigstore-
|
1630
|
+
# composites.
|
1631
|
+
# Corresponds to the JSON property `objectLocation`
|
1632
|
+
# @return [Google::Apis::YoutubePartnerV1::CompositeMedia]
|
1633
|
+
attr_accessor :object_location
|
1634
|
+
|
1635
|
+
def initialize(**args)
|
1636
|
+
update!(**args)
|
1637
|
+
end
|
1638
|
+
|
1639
|
+
# Update properties of this object
|
1640
|
+
def update!(**args)
|
1641
|
+
@object_location = args[:object_location] if args.key?(:object_location)
|
1642
|
+
end
|
1643
|
+
end
|
1644
|
+
|
1645
|
+
# A Diff upload request. For details on the Scotty Diff protocol, visit http://
|
1646
|
+
# go/scotty-diff-protocol.
|
1647
|
+
class DiffUploadRequest
|
1648
|
+
include Google::Apis::Core::Hashable
|
1649
|
+
|
1650
|
+
# A sequence of media data references representing composite data. Introduced to
|
1651
|
+
# support Bigstore composite objects. For details, visit http://go/bigstore-
|
1652
|
+
# composites.
|
1653
|
+
# Corresponds to the JSON property `checksumsInfo`
|
1654
|
+
# @return [Google::Apis::YoutubePartnerV1::CompositeMedia]
|
1655
|
+
attr_accessor :checksums_info
|
1656
|
+
|
1657
|
+
# A sequence of media data references representing composite data. Introduced to
|
1658
|
+
# support Bigstore composite objects. For details, visit http://go/bigstore-
|
1659
|
+
# composites.
|
1660
|
+
# Corresponds to the JSON property `objectInfo`
|
1661
|
+
# @return [Google::Apis::YoutubePartnerV1::CompositeMedia]
|
1662
|
+
attr_accessor :object_info
|
1663
|
+
|
1664
|
+
# The object version of the object that is the base version the incoming diff
|
1665
|
+
# script will be applied to. This field will always be filled in.
|
1666
|
+
# Corresponds to the JSON property `objectVersion`
|
1667
|
+
# @return [String]
|
1668
|
+
attr_accessor :object_version
|
1669
|
+
|
1670
|
+
def initialize(**args)
|
1671
|
+
update!(**args)
|
1672
|
+
end
|
1673
|
+
|
1674
|
+
# Update properties of this object
|
1675
|
+
def update!(**args)
|
1676
|
+
@checksums_info = args[:checksums_info] if args.key?(:checksums_info)
|
1677
|
+
@object_info = args[:object_info] if args.key?(:object_info)
|
1678
|
+
@object_version = args[:object_version] if args.key?(:object_version)
|
1679
|
+
end
|
1680
|
+
end
|
1681
|
+
|
1682
|
+
# Backend response for a Diff upload request. For details on the Scotty Diff
|
1683
|
+
# protocol, visit http://go/scotty-diff-protocol.
|
1684
|
+
class DiffUploadResponse
|
1685
|
+
include Google::Apis::Core::Hashable
|
1686
|
+
|
1687
|
+
# The object version of the object at the server. Must be included in the end
|
1688
|
+
# notification response. The version in the end notification response must
|
1689
|
+
# correspond to the new version of the object that is now stored at the server,
|
1690
|
+
# after the upload.
|
1691
|
+
# Corresponds to the JSON property `objectVersion`
|
1692
|
+
# @return [String]
|
1693
|
+
attr_accessor :object_version
|
1694
|
+
|
1695
|
+
# A sequence of media data references representing composite data. Introduced to
|
1696
|
+
# support Bigstore composite objects. For details, visit http://go/bigstore-
|
1697
|
+
# composites.
|
1698
|
+
# Corresponds to the JSON property `originalObject`
|
1699
|
+
# @return [Google::Apis::YoutubePartnerV1::CompositeMedia]
|
1700
|
+
attr_accessor :original_object
|
1701
|
+
|
1702
|
+
def initialize(**args)
|
1703
|
+
update!(**args)
|
1704
|
+
end
|
1705
|
+
|
1706
|
+
# Update properties of this object
|
1707
|
+
def update!(**args)
|
1708
|
+
@object_version = args[:object_version] if args.key?(:object_version)
|
1709
|
+
@original_object = args[:original_object] if args.key?(:original_object)
|
1710
|
+
end
|
1711
|
+
end
|
1712
|
+
|
1713
|
+
# Backend response for a Diff get version response. For details on the Scotty
|
1714
|
+
# Diff protocol, visit http://go/scotty-diff-protocol.
|
1715
|
+
class DiffVersionResponse
|
1716
|
+
include Google::Apis::Core::Hashable
|
1717
|
+
|
1718
|
+
# The total size of the server object.
|
1719
|
+
# Corresponds to the JSON property `objectSizeBytes`
|
1720
|
+
# @return [Fixnum]
|
1721
|
+
attr_accessor :object_size_bytes
|
1722
|
+
|
1723
|
+
# The version of the object stored at the server.
|
1724
|
+
# Corresponds to the JSON property `objectVersion`
|
1725
|
+
# @return [String]
|
1726
|
+
attr_accessor :object_version
|
1727
|
+
|
1728
|
+
def initialize(**args)
|
1729
|
+
update!(**args)
|
1730
|
+
end
|
1731
|
+
|
1732
|
+
# Update properties of this object
|
1733
|
+
def update!(**args)
|
1734
|
+
@object_size_bytes = args[:object_size_bytes] if args.key?(:object_size_bytes)
|
1735
|
+
@object_version = args[:object_version] if args.key?(:object_version)
|
1736
|
+
end
|
1737
|
+
end
|
1738
|
+
|
1739
|
+
# Parameters specific to media downloads.
|
1740
|
+
class DownloadParameters
|
1741
|
+
include Google::Apis::Core::Hashable
|
1742
|
+
|
1743
|
+
# A boolean to be returned in the response to Scotty. Allows/disallows gzip
|
1744
|
+
# encoding of the payload content when the server thinks it's advantageous (
|
1745
|
+
# hence, does not guarantee compression) which allows Scotty to GZip the
|
1746
|
+
# response to the client.
|
1747
|
+
# Corresponds to the JSON property `allowGzipCompression`
|
1748
|
+
# @return [Boolean]
|
1749
|
+
attr_accessor :allow_gzip_compression
|
1750
|
+
alias_method :allow_gzip_compression?, :allow_gzip_compression
|
1751
|
+
|
1752
|
+
# Determining whether or not Apiary should skip the inclusion of any Content-
|
1753
|
+
# Range header on its response to Scotty.
|
1754
|
+
# Corresponds to the JSON property `ignoreRange`
|
1755
|
+
# @return [Boolean]
|
1756
|
+
attr_accessor :ignore_range
|
1757
|
+
alias_method :ignore_range?, :ignore_range
|
1758
|
+
|
1759
|
+
def initialize(**args)
|
1760
|
+
update!(**args)
|
1761
|
+
end
|
1762
|
+
|
1763
|
+
# Update properties of this object
|
1764
|
+
def update!(**args)
|
1765
|
+
@allow_gzip_compression = args[:allow_gzip_compression] if args.key?(:allow_gzip_compression)
|
1766
|
+
@ignore_range = args[:ignore_range] if args.key?(:ignore_range)
|
1767
|
+
end
|
1768
|
+
end
|
1769
|
+
|
1770
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
1771
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
1772
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
1773
|
+
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
1774
|
+
# `Empty` is empty JSON object ````.
|
1775
|
+
class Empty
|
1776
|
+
include Google::Apis::Core::Hashable
|
1735
1777
|
|
1736
1778
|
def initialize(**args)
|
1737
1779
|
update!(**args)
|
@@ -1739,9 +1781,6 @@ module Google
|
|
1739
1781
|
|
1740
1782
|
# Update properties of this object
|
1741
1783
|
def update!(**args)
|
1742
|
-
@end = args[:end] if args.key?(:end)
|
1743
|
-
@kind = args[:kind] if args.key?(:kind)
|
1744
|
-
@start = args[:start] if args.key?(:start)
|
1745
1784
|
end
|
1746
1785
|
end
|
1747
1786
|
|
@@ -1771,7 +1810,7 @@ module Google
|
|
1771
1810
|
# The date and time that the exclusion was created. The value is specified in
|
1772
1811
|
# RFC 3339 (YYYY-MM-DDThh:mm:ss.000Z) format.
|
1773
1812
|
# Corresponds to the JSON property `timeCreated`
|
1774
|
-
# @return [
|
1813
|
+
# @return [String]
|
1775
1814
|
attr_accessor :time_created
|
1776
1815
|
|
1777
1816
|
def initialize(**args)
|
@@ -1835,7 +1874,7 @@ module Google
|
|
1835
1874
|
# @return [String]
|
1836
1875
|
attr_accessor :kind
|
1837
1876
|
|
1838
|
-
# The settings object defines the cuepoint's settings.
|
1877
|
+
# The *settings* object defines the cuepoint's settings.
|
1839
1878
|
# Corresponds to the JSON property `settings`
|
1840
1879
|
# @return [Google::Apis::YoutubePartnerV1::CuepointSettings]
|
1841
1880
|
attr_accessor :settings
|
@@ -1853,33 +1892,499 @@ module Google
|
|
1853
1892
|
end
|
1854
1893
|
end
|
1855
1894
|
|
1856
|
-
#
|
1857
|
-
class
|
1858
|
-
include Google::Apis::Core::Hashable
|
1895
|
+
#
|
1896
|
+
class LongestMatch
|
1897
|
+
include Google::Apis::Core::Hashable
|
1898
|
+
|
1899
|
+
# The duration of the longest match between the reference and the user video.
|
1900
|
+
# Corresponds to the JSON property `durationSecs`
|
1901
|
+
# @return [Fixnum]
|
1902
|
+
attr_accessor :duration_secs
|
1903
|
+
|
1904
|
+
# The offset in seconds into the reference at which the longest match began.
|
1905
|
+
# Corresponds to the JSON property `referenceOffset`
|
1906
|
+
# @return [Fixnum]
|
1907
|
+
attr_accessor :reference_offset
|
1908
|
+
|
1909
|
+
# The offset in seconds into the user video at which the longest match began.
|
1910
|
+
# Corresponds to the JSON property `userVideoOffset`
|
1911
|
+
# @return [Fixnum]
|
1912
|
+
attr_accessor :user_video_offset
|
1913
|
+
|
1914
|
+
def initialize(**args)
|
1915
|
+
update!(**args)
|
1916
|
+
end
|
1917
|
+
|
1918
|
+
# Update properties of this object
|
1919
|
+
def update!(**args)
|
1920
|
+
@duration_secs = args[:duration_secs] if args.key?(:duration_secs)
|
1921
|
+
@reference_offset = args[:reference_offset] if args.key?(:reference_offset)
|
1922
|
+
@user_video_offset = args[:user_video_offset] if args.key?(:user_video_offset)
|
1923
|
+
end
|
1924
|
+
end
|
1925
|
+
|
1926
|
+
#
|
1927
|
+
class MatchInfo
|
1928
|
+
include Google::Apis::Core::Hashable
|
1929
|
+
|
1930
|
+
# Details of the longest match between the reference and the user video.
|
1931
|
+
# Corresponds to the JSON property `longestMatch`
|
1932
|
+
# @return [Google::Apis::YoutubePartnerV1::LongestMatch]
|
1933
|
+
attr_accessor :longest_match
|
1934
|
+
|
1935
|
+
# Details about each match segment. Each item in the list contains information
|
1936
|
+
# about one match segment associated with the claim. It is possible to have
|
1937
|
+
# multiple match segments. For example, if the audio and video content of an
|
1938
|
+
# uploaded video match that of a reference video, there would be two match
|
1939
|
+
# segments. One segment would describe the audio match and the other would
|
1940
|
+
# describe the video match.
|
1941
|
+
# Corresponds to the JSON property `matchSegments`
|
1942
|
+
# @return [Array<Google::Apis::YoutubePartnerV1::MatchSegment>]
|
1943
|
+
attr_accessor :match_segments
|
1944
|
+
|
1945
|
+
# The reference ID that generated this match.
|
1946
|
+
# Corresponds to the JSON property `referenceId`
|
1947
|
+
# @return [String]
|
1948
|
+
attr_accessor :reference_id
|
1949
|
+
|
1950
|
+
# Details of the total amount of reference and user video content which matched
|
1951
|
+
# each other. Note these two values may differ if either the reference or the
|
1952
|
+
# user video contains a loop.
|
1953
|
+
# Corresponds to the JSON property `totalMatch`
|
1954
|
+
# @return [Google::Apis::YoutubePartnerV1::TotalMatch]
|
1955
|
+
attr_accessor :total_match
|
1956
|
+
|
1957
|
+
def initialize(**args)
|
1958
|
+
update!(**args)
|
1959
|
+
end
|
1960
|
+
|
1961
|
+
# Update properties of this object
|
1962
|
+
def update!(**args)
|
1963
|
+
@longest_match = args[:longest_match] if args.key?(:longest_match)
|
1964
|
+
@match_segments = args[:match_segments] if args.key?(:match_segments)
|
1965
|
+
@reference_id = args[:reference_id] if args.key?(:reference_id)
|
1966
|
+
@total_match = args[:total_match] if args.key?(:total_match)
|
1967
|
+
end
|
1968
|
+
end
|
1969
|
+
|
1970
|
+
#
|
1971
|
+
class MatchSegment
|
1972
|
+
include Google::Apis::Core::Hashable
|
1973
|
+
|
1974
|
+
# Identifies the manner in which the claimed video matches the reference video.
|
1975
|
+
# Corresponds to the JSON property `channel`
|
1976
|
+
# @return [String]
|
1977
|
+
attr_accessor :channel
|
1978
|
+
|
1979
|
+
# On insert operation of manual claims, the manual_segment object contains
|
1980
|
+
# information about the specific portion of the video that is claimed to be
|
1981
|
+
# matching.
|
1982
|
+
# Corresponds to the JSON property `manual_segment`
|
1983
|
+
# @return [Google::Apis::YoutubePartnerV1::Segment2]
|
1984
|
+
attr_accessor :manual_segment
|
1985
|
+
|
1986
|
+
# The reference_segment object contains information about the matched portion of
|
1987
|
+
# the reference content.
|
1988
|
+
# Corresponds to the JSON property `reference_segment`
|
1989
|
+
# @return [Google::Apis::YoutubePartnerV1::Segment]
|
1990
|
+
attr_accessor :reference_segment
|
1991
|
+
|
1992
|
+
# The video_segment object contains information about the matched portion of the
|
1993
|
+
# claimed video.
|
1994
|
+
# Corresponds to the JSON property `video_segment`
|
1995
|
+
# @return [Google::Apis::YoutubePartnerV1::Segment]
|
1996
|
+
attr_accessor :video_segment
|
1997
|
+
|
1998
|
+
def initialize(**args)
|
1999
|
+
update!(**args)
|
2000
|
+
end
|
2001
|
+
|
2002
|
+
# Update properties of this object
|
2003
|
+
def update!(**args)
|
2004
|
+
@channel = args[:channel] if args.key?(:channel)
|
2005
|
+
@manual_segment = args[:manual_segment] if args.key?(:manual_segment)
|
2006
|
+
@reference_segment = args[:reference_segment] if args.key?(:reference_segment)
|
2007
|
+
@video_segment = args[:video_segment] if args.key?(:video_segment)
|
2008
|
+
end
|
2009
|
+
end
|
2010
|
+
|
2011
|
+
# A reference to data stored on the filesystem, on GFS or in blobstore.
|
2012
|
+
class Media
|
2013
|
+
include Google::Apis::Core::Hashable
|
2014
|
+
|
2015
|
+
# Deprecated, use one of explicit hash type fields instead. Algorithm used for
|
2016
|
+
# calculating the hash. As of 2011/01/21, "MD5" is the only possible value for
|
2017
|
+
# this field. New values may be added at any time.
|
2018
|
+
# Corresponds to the JSON property `algorithm`
|
2019
|
+
# @return [String]
|
2020
|
+
attr_accessor :algorithm
|
2021
|
+
|
2022
|
+
# Use object_id instead.
|
2023
|
+
# Corresponds to the JSON property `bigstoreObjectRef`
|
2024
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2025
|
+
# @return [String]
|
2026
|
+
attr_accessor :bigstore_object_ref
|
2027
|
+
|
2028
|
+
# Blobstore v1 reference, set if reference_type is BLOBSTORE_REF This should be
|
2029
|
+
# the byte representation of a blobstore.BlobRef. Since Blobstore is deprecating
|
2030
|
+
# v1, use blobstore2_info instead. For now, any v2 blob will also be represented
|
2031
|
+
# in this field as v1 BlobRef.
|
2032
|
+
# Corresponds to the JSON property `blobRef`
|
2033
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2034
|
+
# @return [String]
|
2035
|
+
attr_accessor :blob_ref
|
2036
|
+
|
2037
|
+
# Information to read/write to blobstore2.
|
2038
|
+
# Corresponds to the JSON property `blobstore2Info`
|
2039
|
+
# @return [Google::Apis::YoutubePartnerV1::Blobstore2Info]
|
2040
|
+
attr_accessor :blobstore2_info
|
2041
|
+
|
2042
|
+
# A composite media composed of one or more media objects, set if reference_type
|
2043
|
+
# is COMPOSITE_MEDIA. The media length field must be set to the sum of the
|
2044
|
+
# lengths of all composite media objects. Note: All composite media must have
|
2045
|
+
# length specified.
|
2046
|
+
# Corresponds to the JSON property `compositeMedia`
|
2047
|
+
# @return [Array<Google::Apis::YoutubePartnerV1::CompositeMedia>]
|
2048
|
+
attr_accessor :composite_media
|
2049
|
+
|
2050
|
+
# MIME type of the data
|
2051
|
+
# Corresponds to the JSON property `contentType`
|
2052
|
+
# @return [String]
|
2053
|
+
attr_accessor :content_type
|
2054
|
+
|
2055
|
+
# Detailed Content-Type information from Scotty. The Content-Type of the media
|
2056
|
+
# will typically be filled in by the header or Scotty's best_guess, but this
|
2057
|
+
# extended information provides the backend with more information so that it can
|
2058
|
+
# make a better decision if needed. This is only used on media upload requests
|
2059
|
+
# from Scotty.
|
2060
|
+
# Corresponds to the JSON property `contentTypeInfo`
|
2061
|
+
# @return [Google::Apis::YoutubePartnerV1::ContentTypeInfo]
|
2062
|
+
attr_accessor :content_type_info
|
2063
|
+
|
2064
|
+
# A binary data reference for a media download. Serves as a technology-agnostic
|
2065
|
+
# binary reference in some Google infrastructure. This value is a serialized
|
2066
|
+
# storage_cosmo.BinaryReference proto. Storing it as bytes is a hack to get
|
2067
|
+
# around the fact that the cosmo proto (as well as others it includes) doesn't
|
2068
|
+
# support JavaScript. This prevents us from including the actual type of this
|
2069
|
+
# field.
|
2070
|
+
# Corresponds to the JSON property `cosmoBinaryReference`
|
2071
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2072
|
+
# @return [String]
|
2073
|
+
attr_accessor :cosmo_binary_reference
|
2074
|
+
|
2075
|
+
# For Scotty Uploads: Scotty-provided hashes for uploads For Scotty Downloads: (
|
2076
|
+
# WARNING: DO NOT USE WITHOUT PERMISSION FROM THE SCOTTY TEAM.) A Hash provided
|
2077
|
+
# by the agent to be used to verify the data being downloaded. Currently only
|
2078
|
+
# supported for inline payloads. Further, only crc32c_hash is currently
|
2079
|
+
# supported.
|
2080
|
+
# Corresponds to the JSON property `crc32cHash`
|
2081
|
+
# @return [Fixnum]
|
2082
|
+
attr_accessor :crc32c_hash
|
2083
|
+
|
2084
|
+
# Backend response for a Diff get checksums response. For details on the Scotty
|
2085
|
+
# Diff protocol, visit http://go/scotty-diff-protocol.
|
2086
|
+
# Corresponds to the JSON property `diffChecksumsResponse`
|
2087
|
+
# @return [Google::Apis::YoutubePartnerV1::DiffChecksumsResponse]
|
2088
|
+
attr_accessor :diff_checksums_response
|
2089
|
+
|
2090
|
+
# Backend response for a Diff download response. For details on the Scotty Diff
|
2091
|
+
# protocol, visit http://go/scotty-diff-protocol.
|
2092
|
+
# Corresponds to the JSON property `diffDownloadResponse`
|
2093
|
+
# @return [Google::Apis::YoutubePartnerV1::DiffDownloadResponse]
|
2094
|
+
attr_accessor :diff_download_response
|
2095
|
+
|
2096
|
+
# A Diff upload request. For details on the Scotty Diff protocol, visit http://
|
2097
|
+
# go/scotty-diff-protocol.
|
2098
|
+
# Corresponds to the JSON property `diffUploadRequest`
|
2099
|
+
# @return [Google::Apis::YoutubePartnerV1::DiffUploadRequest]
|
2100
|
+
attr_accessor :diff_upload_request
|
2101
|
+
|
2102
|
+
# Backend response for a Diff upload request. For details on the Scotty Diff
|
2103
|
+
# protocol, visit http://go/scotty-diff-protocol.
|
2104
|
+
# Corresponds to the JSON property `diffUploadResponse`
|
2105
|
+
# @return [Google::Apis::YoutubePartnerV1::DiffUploadResponse]
|
2106
|
+
attr_accessor :diff_upload_response
|
2107
|
+
|
2108
|
+
# Backend response for a Diff get version response. For details on the Scotty
|
2109
|
+
# Diff protocol, visit http://go/scotty-diff-protocol.
|
2110
|
+
# Corresponds to the JSON property `diffVersionResponse`
|
2111
|
+
# @return [Google::Apis::YoutubePartnerV1::DiffVersionResponse]
|
2112
|
+
attr_accessor :diff_version_response
|
2113
|
+
|
2114
|
+
# Parameters specific to media downloads.
|
2115
|
+
# Corresponds to the JSON property `downloadParameters`
|
2116
|
+
# @return [Google::Apis::YoutubePartnerV1::DownloadParameters]
|
2117
|
+
attr_accessor :download_parameters
|
2118
|
+
|
2119
|
+
# Original file name
|
2120
|
+
# Corresponds to the JSON property `filename`
|
2121
|
+
# @return [String]
|
2122
|
+
attr_accessor :filename
|
2123
|
+
|
2124
|
+
# Deprecated, use one of explicit hash type fields instead. These two hash
|
2125
|
+
# related fields will only be populated on Scotty based media uploads and will
|
2126
|
+
# contain the content of the hash group in the NotificationRequest: http://cs/#
|
2127
|
+
# google3/uploader/service/proto/upload_listener.proto&q=class:Hash Hex encoded
|
2128
|
+
# hash value of the uploaded media.
|
2129
|
+
# Corresponds to the JSON property `hash`
|
2130
|
+
# @return [String]
|
2131
|
+
attr_accessor :hash_prop
|
2132
|
+
|
2133
|
+
# For Scotty uploads only. If a user sends a hash code and the backend has
|
2134
|
+
# requested that Scotty verify the upload against the client hash, Scotty will
|
2135
|
+
# perform the check on behalf of the backend and will reject it if the hashes
|
2136
|
+
# don't match. This is set to true if Scotty performed this verification.
|
2137
|
+
# Corresponds to the JSON property `hashVerified`
|
2138
|
+
# @return [Boolean]
|
2139
|
+
attr_accessor :hash_verified
|
2140
|
+
alias_method :hash_verified?, :hash_verified
|
2141
|
+
|
2142
|
+
# Media data, set if reference_type is INLINE
|
2143
|
+
# Corresponds to the JSON property `inline`
|
2144
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2145
|
+
# @return [String]
|
2146
|
+
attr_accessor :inline
|
2147
|
+
|
2148
|
+
# |is_potential_retry| is set false only when Scotty is certain that it has not
|
2149
|
+
# sent the request before. When a client resumes an upload, this field must be
|
2150
|
+
# set true in agent calls, because Scotty cannot be certain that it has never
|
2151
|
+
# sent the request before due to potential failure in the session state
|
2152
|
+
# persistence.
|
2153
|
+
# Corresponds to the JSON property `isPotentialRetry`
|
2154
|
+
# @return [Boolean]
|
2155
|
+
attr_accessor :is_potential_retry
|
2156
|
+
alias_method :is_potential_retry?, :is_potential_retry
|
2157
|
+
|
2158
|
+
# Size of the data, in bytes
|
2159
|
+
# Corresponds to the JSON property `length`
|
2160
|
+
# @return [Fixnum]
|
2161
|
+
attr_accessor :length
|
2162
|
+
|
2163
|
+
# Scotty-provided MD5 hash for an upload.
|
2164
|
+
# Corresponds to the JSON property `md5Hash`
|
2165
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2166
|
+
# @return [String]
|
2167
|
+
attr_accessor :md5_hash
|
2168
|
+
|
2169
|
+
# Media id to forward to the operation GetMedia. Can be set if reference_type is
|
2170
|
+
# GET_MEDIA.
|
2171
|
+
# Corresponds to the JSON property `mediaId`
|
2172
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2173
|
+
# @return [String]
|
2174
|
+
attr_accessor :media_id
|
2175
|
+
|
2176
|
+
# This is a copy of the tech.blob.ObjectId proto, which could not be used
|
2177
|
+
# directly here due to transitive closure issues with JavaScript support; see
|
2178
|
+
# http://b/8801763.
|
2179
|
+
# Corresponds to the JSON property `objectId`
|
2180
|
+
# @return [Google::Apis::YoutubePartnerV1::ObjectIdProp]
|
2181
|
+
attr_accessor :object_id_prop
|
2182
|
+
|
2183
|
+
# Path to the data, set if reference_type is PATH
|
2184
|
+
# Corresponds to the JSON property `path`
|
2185
|
+
# @return [String]
|
2186
|
+
attr_accessor :path
|
2187
|
+
|
2188
|
+
# Describes what the field reference contains.
|
2189
|
+
# Corresponds to the JSON property `referenceType`
|
2190
|
+
# @return [String]
|
2191
|
+
attr_accessor :reference_type
|
2192
|
+
|
2193
|
+
# Scotty-provided SHA1 hash for an upload.
|
2194
|
+
# Corresponds to the JSON property `sha1Hash`
|
2195
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2196
|
+
# @return [String]
|
2197
|
+
attr_accessor :sha1_hash
|
2198
|
+
|
2199
|
+
# Scotty-provided SHA256 hash for an upload.
|
2200
|
+
# Corresponds to the JSON property `sha256Hash`
|
2201
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2202
|
+
# @return [String]
|
2203
|
+
attr_accessor :sha256_hash
|
2204
|
+
|
2205
|
+
# Time at which the media data was last updated, in milliseconds since UNIX
|
2206
|
+
# epoch
|
2207
|
+
# Corresponds to the JSON property `timestamp`
|
2208
|
+
# @return [Fixnum]
|
2209
|
+
attr_accessor :timestamp
|
2210
|
+
|
2211
|
+
# A unique fingerprint/version id for the media data
|
2212
|
+
# Corresponds to the JSON property `token`
|
2213
|
+
# @return [String]
|
2214
|
+
attr_accessor :token
|
2215
|
+
|
2216
|
+
def initialize(**args)
|
2217
|
+
update!(**args)
|
2218
|
+
end
|
2219
|
+
|
2220
|
+
# Update properties of this object
|
2221
|
+
def update!(**args)
|
2222
|
+
@algorithm = args[:algorithm] if args.key?(:algorithm)
|
2223
|
+
@bigstore_object_ref = args[:bigstore_object_ref] if args.key?(:bigstore_object_ref)
|
2224
|
+
@blob_ref = args[:blob_ref] if args.key?(:blob_ref)
|
2225
|
+
@blobstore2_info = args[:blobstore2_info] if args.key?(:blobstore2_info)
|
2226
|
+
@composite_media = args[:composite_media] if args.key?(:composite_media)
|
2227
|
+
@content_type = args[:content_type] if args.key?(:content_type)
|
2228
|
+
@content_type_info = args[:content_type_info] if args.key?(:content_type_info)
|
2229
|
+
@cosmo_binary_reference = args[:cosmo_binary_reference] if args.key?(:cosmo_binary_reference)
|
2230
|
+
@crc32c_hash = args[:crc32c_hash] if args.key?(:crc32c_hash)
|
2231
|
+
@diff_checksums_response = args[:diff_checksums_response] if args.key?(:diff_checksums_response)
|
2232
|
+
@diff_download_response = args[:diff_download_response] if args.key?(:diff_download_response)
|
2233
|
+
@diff_upload_request = args[:diff_upload_request] if args.key?(:diff_upload_request)
|
2234
|
+
@diff_upload_response = args[:diff_upload_response] if args.key?(:diff_upload_response)
|
2235
|
+
@diff_version_response = args[:diff_version_response] if args.key?(:diff_version_response)
|
2236
|
+
@download_parameters = args[:download_parameters] if args.key?(:download_parameters)
|
2237
|
+
@filename = args[:filename] if args.key?(:filename)
|
2238
|
+
@hash_prop = args[:hash_prop] if args.key?(:hash_prop)
|
2239
|
+
@hash_verified = args[:hash_verified] if args.key?(:hash_verified)
|
2240
|
+
@inline = args[:inline] if args.key?(:inline)
|
2241
|
+
@is_potential_retry = args[:is_potential_retry] if args.key?(:is_potential_retry)
|
2242
|
+
@length = args[:length] if args.key?(:length)
|
2243
|
+
@md5_hash = args[:md5_hash] if args.key?(:md5_hash)
|
2244
|
+
@media_id = args[:media_id] if args.key?(:media_id)
|
2245
|
+
@object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
|
2246
|
+
@path = args[:path] if args.key?(:path)
|
2247
|
+
@reference_type = args[:reference_type] if args.key?(:reference_type)
|
2248
|
+
@sha1_hash = args[:sha1_hash] if args.key?(:sha1_hash)
|
2249
|
+
@sha256_hash = args[:sha256_hash] if args.key?(:sha256_hash)
|
2250
|
+
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
2251
|
+
@token = args[:token] if args.key?(:token)
|
2252
|
+
end
|
2253
|
+
end
|
2254
|
+
|
2255
|
+
# Extra information added to operations that support Scotty media requests.
|
2256
|
+
class MediaRequestInfo
|
2257
|
+
include Google::Apis::Core::Hashable
|
2258
|
+
|
2259
|
+
# The number of current bytes uploaded or downloaded.
|
2260
|
+
# Corresponds to the JSON property `currentBytes`
|
2261
|
+
# @return [Fixnum]
|
2262
|
+
attr_accessor :current_bytes
|
2263
|
+
|
2264
|
+
# Data to be copied to backend requests. Custom data is returned to Scotty in
|
2265
|
+
# the agent_state field, which Scotty will then provide in subsequent upload
|
2266
|
+
# notifications.
|
2267
|
+
# Corresponds to the JSON property `customData`
|
2268
|
+
# @return [String]
|
2269
|
+
attr_accessor :custom_data
|
2270
|
+
|
2271
|
+
# Set if the http request info is diff encoded. The value of this field is the
|
2272
|
+
# version number of the base revision. This is corresponding to Apiary's
|
2273
|
+
# mediaDiffObjectVersion (//depot/google3/java/com/google/api/server/media/
|
2274
|
+
# variable/DiffObjectVersionVariable.java). See go/esf-scotty-diff-upload for
|
2275
|
+
# more information.
|
2276
|
+
# Corresponds to the JSON property `diffObjectVersion`
|
2277
|
+
# @return [String]
|
2278
|
+
attr_accessor :diff_object_version
|
2279
|
+
|
2280
|
+
# The type of notification received from Scotty.
|
2281
|
+
# Corresponds to the JSON property `notificationType`
|
2282
|
+
# @return [String]
|
2283
|
+
attr_accessor :notification_type
|
2284
|
+
|
2285
|
+
# The Scotty request ID.
|
2286
|
+
# Corresponds to the JSON property `requestId`
|
2287
|
+
# @return [String]
|
2288
|
+
attr_accessor :request_id
|
2289
|
+
|
2290
|
+
# The total size of the file.
|
2291
|
+
# Corresponds to the JSON property `totalBytes`
|
2292
|
+
# @return [Fixnum]
|
2293
|
+
attr_accessor :total_bytes
|
2294
|
+
|
2295
|
+
# Whether the total bytes field contains an estimated data.
|
2296
|
+
# Corresponds to the JSON property `totalBytesIsEstimated`
|
2297
|
+
# @return [Boolean]
|
2298
|
+
attr_accessor :total_bytes_is_estimated
|
2299
|
+
alias_method :total_bytes_is_estimated?, :total_bytes_is_estimated
|
2300
|
+
|
2301
|
+
def initialize(**args)
|
2302
|
+
update!(**args)
|
2303
|
+
end
|
2304
|
+
|
2305
|
+
# Update properties of this object
|
2306
|
+
def update!(**args)
|
2307
|
+
@current_bytes = args[:current_bytes] if args.key?(:current_bytes)
|
2308
|
+
@custom_data = args[:custom_data] if args.key?(:custom_data)
|
2309
|
+
@diff_object_version = args[:diff_object_version] if args.key?(:diff_object_version)
|
2310
|
+
@notification_type = args[:notification_type] if args.key?(:notification_type)
|
2311
|
+
@request_id = args[:request_id] if args.key?(:request_id)
|
2312
|
+
@total_bytes = args[:total_bytes] if args.key?(:total_bytes)
|
2313
|
+
@total_bytes_is_estimated = args[:total_bytes_is_estimated] if args.key?(:total_bytes_is_estimated)
|
2314
|
+
end
|
2315
|
+
end
|
2316
|
+
|
2317
|
+
# This message is for backends to pass their scotty media specific fields to ESF.
|
2318
|
+
# Backend will include this in their response message to ESF. Example:
|
2319
|
+
# ExportFile is an rpc defined for upload using scotty from ESF. rpc ExportFile(
|
2320
|
+
# ExportFileRequest) returns (ExportFileResponse) Message ExportFileResponse
|
2321
|
+
# will include apiserving.MediaResponseInfo to tell ESF about data like
|
2322
|
+
# dynamic_dropzone it needs to pass to Scotty. message ExportFileResponse `
|
2323
|
+
# optional gdata.Media blob = 1; optional apiserving.MediaResponseInfo
|
2324
|
+
# media_response_info = 2 `
|
2325
|
+
class MediaResponseInfo
|
2326
|
+
include Google::Apis::Core::Hashable
|
2327
|
+
|
2328
|
+
# Data to copy from backend response to the next backend requests. Custom data
|
2329
|
+
# is returned to Scotty in the agent_state field, which Scotty will then provide
|
2330
|
+
# in subsequent upload notifications.
|
2331
|
+
# Corresponds to the JSON property `customData`
|
2332
|
+
# @return [String]
|
2333
|
+
attr_accessor :custom_data
|
2334
|
+
|
2335
|
+
# Specifies any transformation to be applied to data before persisting it or
|
2336
|
+
# retrieving from storage. E.g., encryption options for blobstore2. This should
|
2337
|
+
# be of the form uploader_service.DataStorageTransform.
|
2338
|
+
# Corresponds to the JSON property `dataStorageTransform`
|
2339
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2340
|
+
# @return [String]
|
2341
|
+
attr_accessor :data_storage_transform
|
2342
|
+
|
2343
|
+
# Specifies the Scotty Drop Target to use for uploads. If present in a media
|
2344
|
+
# response, Scotty does not upload to a standard drop zone. Instead, Scotty
|
2345
|
+
# saves the upload directly to the location specified in this drop target.
|
2346
|
+
# Unlike drop zones, the drop target is the final storage location for an upload.
|
2347
|
+
# So, the agent does not need to clone the blob at the end of the upload. The
|
2348
|
+
# agent is responsible for garbage collecting any orphaned blobs that may occur
|
2349
|
+
# due to aborted uploads. For more information, see the drop target design doc
|
2350
|
+
# here: http://goto/ScottyDropTarget This field will be preferred to
|
2351
|
+
# dynamicDropzone. If provided, the identified field in the response must be of
|
2352
|
+
# the type uploader.agent.DropTarget.
|
2353
|
+
# Corresponds to the JSON property `dynamicDropTarget`
|
2354
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2355
|
+
# @return [String]
|
2356
|
+
attr_accessor :dynamic_drop_target
|
1859
2357
|
|
1860
|
-
#
|
1861
|
-
# Corresponds to the JSON property `
|
2358
|
+
# Specifies the Scotty dropzone to use for uploads.
|
2359
|
+
# Corresponds to the JSON property `dynamicDropzone`
|
1862
2360
|
# @return [String]
|
1863
|
-
attr_accessor :
|
2361
|
+
attr_accessor :dynamic_dropzone
|
1864
2362
|
|
1865
|
-
#
|
1866
|
-
#
|
1867
|
-
#
|
1868
|
-
|
1869
|
-
# @return [Google::Apis::YoutubePartnerV1::Segment]
|
1870
|
-
attr_accessor :manual_segment
|
2363
|
+
# A reference to data stored on the filesystem, on GFS or in blobstore.
|
2364
|
+
# Corresponds to the JSON property `mediaForDiff`
|
2365
|
+
# @return [Google::Apis::YoutubePartnerV1::Media]
|
2366
|
+
attr_accessor :media_for_diff
|
1871
2367
|
|
1872
|
-
#
|
1873
|
-
# the
|
1874
|
-
#
|
1875
|
-
|
1876
|
-
attr_accessor :reference_segment
|
2368
|
+
# Request class to use for all Blobstore operations for this request.
|
2369
|
+
# Corresponds to the JSON property `requestClass`
|
2370
|
+
# @return [String]
|
2371
|
+
attr_accessor :request_class
|
1877
2372
|
|
1878
|
-
#
|
1879
|
-
#
|
1880
|
-
#
|
1881
|
-
#
|
1882
|
-
|
2373
|
+
# Specifies the TrafficClass that Scotty should use for any RPCs to fetch the
|
2374
|
+
# response bytes. Will override the traffic class GTOS of the incoming http
|
2375
|
+
# request. This is a temporary field to facilitate whitelisting and
|
2376
|
+
# experimentation by the bigstore agent only. For instance, this does not apply
|
2377
|
+
# to RTMP reads. WARNING: DO NOT USE WITHOUT PERMISSION FROM THE SCOTTY TEAM.
|
2378
|
+
# Corresponds to the JSON property `trafficClassField`
|
2379
|
+
# @return [String]
|
2380
|
+
attr_accessor :traffic_class_field
|
2381
|
+
|
2382
|
+
# Tells Scotty to verify hashes on the agent's behalf by parsing out the X-Goog-
|
2383
|
+
# Hash header.
|
2384
|
+
# Corresponds to the JSON property `verifyHashFromHeader`
|
2385
|
+
# @return [Boolean]
|
2386
|
+
attr_accessor :verify_hash_from_header
|
2387
|
+
alias_method :verify_hash_from_header?, :verify_hash_from_header
|
1883
2388
|
|
1884
2389
|
def initialize(**args)
|
1885
2390
|
update!(**args)
|
@@ -1887,10 +2392,14 @@ module Google
|
|
1887
2392
|
|
1888
2393
|
# Update properties of this object
|
1889
2394
|
def update!(**args)
|
1890
|
-
@
|
1891
|
-
@
|
1892
|
-
@
|
1893
|
-
@
|
2395
|
+
@custom_data = args[:custom_data] if args.key?(:custom_data)
|
2396
|
+
@data_storage_transform = args[:data_storage_transform] if args.key?(:data_storage_transform)
|
2397
|
+
@dynamic_drop_target = args[:dynamic_drop_target] if args.key?(:dynamic_drop_target)
|
2398
|
+
@dynamic_dropzone = args[:dynamic_dropzone] if args.key?(:dynamic_dropzone)
|
2399
|
+
@media_for_diff = args[:media_for_diff] if args.key?(:media_for_diff)
|
2400
|
+
@request_class = args[:request_class] if args.key?(:request_class)
|
2401
|
+
@traffic_class_field = args[:traffic_class_field] if args.key?(:traffic_class_field)
|
2402
|
+
@verify_hash_from_header = args[:verify_hash_from_header] if args.key?(:verify_hash_from_header)
|
1894
2403
|
end
|
1895
2404
|
end
|
1896
2405
|
|
@@ -1933,9 +2442,8 @@ module Google
|
|
1933
2442
|
|
1934
2443
|
# The type of video content that the asset represents. This field is only valid
|
1935
2444
|
# for movie and episode assets, and is required for the following types of those
|
1936
|
-
# assets:
|
1937
|
-
#
|
1938
|
-
# - Movie assets that appear in YouTube's Movies category
|
2445
|
+
# assets: - Episode assets that are linked to a show - Movie assets that appear
|
2446
|
+
# in YouTube's Movies category
|
1939
2447
|
# Corresponds to the JSON property `contentType`
|
1940
2448
|
# @return [String]
|
1941
2449
|
attr_accessor :content_type
|
@@ -1948,8 +2456,8 @@ module Google
|
|
1948
2456
|
# A unique value that you, the metadata provider, use to identify an asset. The
|
1949
2457
|
# value could be a unique ID that you created for the asset or a standard
|
1950
2458
|
# identifier, such as an ISRC. The value has a maximum length of 64 bytes and
|
1951
|
-
# may contain alphanumeric characters, hyphens (-), underscores (_), periods (.)
|
1952
|
-
# "at" symbols (@), or forward slashes (/).
|
2459
|
+
# may contain alphanumeric characters, hyphens (-), underscores (_), periods ( .)
|
2460
|
+
# , "at" symbols (@), or forward slashes (/).
|
1953
2461
|
# Corresponds to the JSON property `customId`
|
1954
2462
|
# @return [String]
|
1955
2463
|
attr_accessor :custom_id
|
@@ -2002,10 +2510,9 @@ module Google
|
|
2002
2510
|
# This field specifies a genre that can be used to categorize an asset. Assets
|
2003
2511
|
# may be categorized in more than one genre, and YouTube uses different sets of
|
2004
2512
|
# genres to categorize different types of assets. For example, Soaps might be a
|
2005
|
-
# valid genre for a show but not for a movie or sound recording.
|
2006
|
-
# -
|
2007
|
-
#
|
2008
|
-
# - Sound recordings included in the AudioSwap program
|
2513
|
+
# valid genre for a show but not for a movie or sound recording. - Show assets -
|
2514
|
+
# Movie assets that appear in YouTube's Movies category - Sound recordings
|
2515
|
+
# included in the AudioSwap program
|
2009
2516
|
# Corresponds to the JSON property `genre`
|
2010
2517
|
# @return [Array<String>]
|
2011
2518
|
attr_accessor :genre
|
@@ -2031,13 +2538,12 @@ module Google
|
|
2031
2538
|
# The ISAN (International Standard Audiovisual Number) for the asset. This value
|
2032
2539
|
# is only used for episode and movie assets and is optional in both cases. The
|
2033
2540
|
# value contains 26 characters, which includes the 24 hexadecimal characters of
|
2034
|
-
# the ISAN as well as two check characters, in the following format:
|
2035
|
-
#
|
2036
|
-
#
|
2037
|
-
#
|
2038
|
-
#
|
2039
|
-
#
|
2040
|
-
# - The twenty-sixth character is another check character (A-Z).
|
2541
|
+
# the ISAN as well as two check characters, in the following format: - The first
|
2542
|
+
# 16 characters in the tag value contain hexadecimal characters specifying the '
|
2543
|
+
# root' and 'episode' components of the ISAN. - The seventeenth character is a
|
2544
|
+
# check character (a letter from A-Z). - Characters 18 to 25 are the remaining
|
2545
|
+
# eight characters of the ISAN, which specify the 'version' component of the
|
2546
|
+
# ISAN. - The twenty-sixth character is another check character (A-Z).
|
2041
2547
|
# Corresponds to the JSON property `isan`
|
2042
2548
|
# @return [String]
|
2043
2549
|
attr_accessor :isan
|
@@ -2076,9 +2582,8 @@ module Google
|
|
2076
2582
|
|
2077
2583
|
# The method by which people first had the opportunity to see a video asset.
|
2078
2584
|
# This value is only used for episode and movie assets. It is required for the
|
2079
|
-
# assets listed below and otherwise optional:
|
2080
|
-
# -
|
2081
|
-
# - Movie assets that appear in YouTube's Movies category
|
2585
|
+
# assets listed below and otherwise optional: - Episode assets that are linked
|
2586
|
+
# to a show - Movie assets that appear in YouTube's Movies category
|
2082
2587
|
# Corresponds to the JSON property `originalReleaseMedium`
|
2083
2588
|
# @return [String]
|
2084
2589
|
attr_accessor :original_release_medium
|
@@ -2099,9 +2604,8 @@ module Google
|
|
2099
2604
|
# specifies the first date that the season aired. Dates prior to the year 1902
|
2100
2605
|
# are not supported. This value is valid for episode, season, movie, music video,
|
2101
2606
|
# and sound recording assets. It is required for the assets listed below and
|
2102
|
-
# otherwise optional:
|
2103
|
-
#
|
2104
|
-
# - Movie assets that appear in YouTube's Movies category
|
2607
|
+
# otherwise optional: - Episode assets that are linked to a show - Movie assets
|
2608
|
+
# that appear in YouTube's Movies category
|
2105
2609
|
# Corresponds to the JSON property `releaseDate`
|
2106
2610
|
# @return [Google::Apis::YoutubePartnerV1::Date]
|
2107
2611
|
attr_accessor :release_date
|
@@ -2122,8 +2626,8 @@ module Google
|
|
2122
2626
|
# @return [String]
|
2123
2627
|
attr_accessor :show_custom_id
|
2124
2628
|
|
2125
|
-
# The name of the show that an episode asset is associated with. Note
|
2126
|
-
# is only used for and valid for episodes that are not associated with show
|
2629
|
+
# The name of the show that an episode asset is associated with. *Note:* This
|
2630
|
+
# tag is only used for and valid for episodes that are not associated with show
|
2127
2631
|
# assets and enables those assets to still display a show title in the asset
|
2128
2632
|
# metadata section of CMS. This field has a maximum length of 120 bytes.
|
2129
2633
|
# Corresponds to the JSON property `showTitle`
|
@@ -2153,11 +2657,9 @@ module Google
|
|
2153
2657
|
|
2154
2658
|
# The asset's title or name. The value has a maximum length of 255 bytes. This
|
2155
2659
|
# value is required for the assets listed below and optional for all other
|
2156
|
-
# assets:
|
2157
|
-
# -
|
2158
|
-
#
|
2159
|
-
# - Movie assets that appear in YouTube's Movies category
|
2160
|
-
# - Sound recordings included in the AudioSwap program
|
2660
|
+
# assets: - Show assets - Episode assets that are linked to a show - Movie
|
2661
|
+
# assets that appear in YouTube's Movies category - Sound recordings included in
|
2662
|
+
# the AudioSwap program
|
2161
2663
|
# Corresponds to the JSON property `title`
|
2162
2664
|
# @return [String]
|
2163
2665
|
attr_accessor :title
|
@@ -2255,7 +2757,7 @@ module Google
|
|
2255
2757
|
|
2256
2758
|
# The time the metadata was provided.
|
2257
2759
|
# Corresponds to the JSON property `timeProvided`
|
2258
|
-
# @return [
|
2760
|
+
# @return [String]
|
2259
2761
|
attr_accessor :time_provided
|
2260
2762
|
|
2261
2763
|
def initialize(**args)
|
@@ -2298,115 +2800,29 @@ module Google
|
|
2298
2800
|
end
|
2299
2801
|
end
|
2300
2802
|
|
2301
|
-
#
|
2302
|
-
|
2803
|
+
# This is a copy of the tech.blob.ObjectId proto, which could not be used
|
2804
|
+
# directly here due to transitive closure issues with JavaScript support; see
|
2805
|
+
# http://b/8801763.
|
2806
|
+
class ObjectIdProp
|
2303
2807
|
include Google::Apis::Core::Hashable
|
2304
2808
|
|
2305
|
-
#
|
2306
|
-
# Corresponds to the JSON property `
|
2307
|
-
# @return [String]
|
2308
|
-
attr_accessor :avail_group_id
|
2309
|
-
|
2310
|
-
# Channel ID - identifies the channel this order and video are associated with
|
2311
|
-
# Corresponds to the JSON property `channelId`
|
2312
|
-
# @return [String]
|
2313
|
-
attr_accessor :channel_id
|
2314
|
-
|
2315
|
-
# Type of content possible values are
|
2316
|
-
# - MOVIE
|
2317
|
-
# - SHOW
|
2318
|
-
# Corresponds to the JSON property `contentType`
|
2319
|
-
# @return [String]
|
2320
|
-
attr_accessor :content_type
|
2321
|
-
|
2322
|
-
# Two letter country code for the order only countries where YouTube does
|
2323
|
-
# transactional business are allowed.
|
2324
|
-
# Corresponds to the JSON property `country`
|
2325
|
-
# @return [String]
|
2326
|
-
attr_accessor :country
|
2327
|
-
|
2328
|
-
# Secondary id to be used to identify content in other systems like partner
|
2329
|
-
# database
|
2330
|
-
# Corresponds to the JSON property `customId`
|
2331
|
-
# @return [String]
|
2332
|
-
attr_accessor :custom_id
|
2333
|
-
|
2334
|
-
# Date when this content was first made available on DVD
|
2335
|
-
# Corresponds to the JSON property `dvdReleaseDate`
|
2336
|
-
# @return [Google::Apis::YoutubePartnerV1::Date]
|
2337
|
-
attr_accessor :dvd_release_date
|
2338
|
-
|
2339
|
-
# Range of time content is to be available for rental.
|
2340
|
-
# Corresponds to the JSON property `estDates`
|
2341
|
-
# @return [Google::Apis::YoutubePartnerV1::DateRange]
|
2342
|
-
attr_accessor :est_dates
|
2343
|
-
|
2344
|
-
# History log of events for this order
|
2345
|
-
# Corresponds to the JSON property `events`
|
2346
|
-
# @return [Array<Google::Apis::YoutubePartnerV1::StateCompleted>]
|
2347
|
-
attr_accessor :events
|
2348
|
-
|
2349
|
-
# Order Id unique identifier for an order.
|
2350
|
-
# Corresponds to the JSON property `id`
|
2351
|
-
# @return [String]
|
2352
|
-
attr_accessor :id
|
2353
|
-
|
2354
|
-
# Identifies this resource as order. Value: "youtubePartner#order".
|
2355
|
-
# Corresponds to the JSON property `kind`
|
2356
|
-
# @return [String]
|
2357
|
-
attr_accessor :kind
|
2358
|
-
|
2359
|
-
# Title if the order is type movie.
|
2360
|
-
# Corresponds to the JSON property `movie`
|
2361
|
-
# @return [String]
|
2362
|
-
attr_accessor :movie
|
2363
|
-
|
2364
|
-
# Date when this content was first made available to the public
|
2365
|
-
# Corresponds to the JSON property `originalReleaseDate`
|
2366
|
-
# @return [Google::Apis::YoutubePartnerV1::Date]
|
2367
|
-
attr_accessor :original_release_date
|
2368
|
-
|
2369
|
-
# The priority for the order in the QC review queue once the content is ready
|
2370
|
-
# for QC.
|
2371
|
-
# Corresponds to the JSON property `priority`
|
2809
|
+
# The name of the bucket to which this object belongs.
|
2810
|
+
# Corresponds to the JSON property `bucketName`
|
2372
2811
|
# @return [String]
|
2373
|
-
attr_accessor :
|
2812
|
+
attr_accessor :bucket_name
|
2374
2813
|
|
2375
|
-
#
|
2376
|
-
#
|
2377
|
-
#
|
2378
|
-
|
2379
|
-
|
2380
|
-
#
|
2381
|
-
|
2382
|
-
# @return [String]
|
2383
|
-
attr_accessor :purchase_order
|
2384
|
-
|
2385
|
-
# Minumim set of requirements for this order to be complete such as is a trailer
|
2386
|
-
# required.
|
2387
|
-
# Corresponds to the JSON property `requirements`
|
2388
|
-
# @return [Google::Apis::YoutubePartnerV1::Requirements]
|
2389
|
-
attr_accessor :requirements
|
2390
|
-
|
2391
|
-
# Details of a show, show name, season number, episode etc.
|
2392
|
-
# Corresponds to the JSON property `show`
|
2393
|
-
# @return [Google::Apis::YoutubePartnerV1::ShowDetails]
|
2394
|
-
attr_accessor :show
|
2395
|
-
|
2396
|
-
# The order's status.
|
2397
|
-
# Corresponds to the JSON property `status`
|
2398
|
-
# @return [String]
|
2399
|
-
attr_accessor :status
|
2814
|
+
# Generation of the object. Generations are monotonically increasing across
|
2815
|
+
# writes, allowing them to be be compared to determine which generation is newer.
|
2816
|
+
# If this is omitted in a request, then you are requesting the live object. See
|
2817
|
+
# http://go/bigstore-versions
|
2818
|
+
# Corresponds to the JSON property `generation`
|
2819
|
+
# @return [Fixnum]
|
2820
|
+
attr_accessor :generation
|
2400
2821
|
|
2401
|
-
#
|
2402
|
-
# Corresponds to the JSON property `
|
2822
|
+
# The name of the object.
|
2823
|
+
# Corresponds to the JSON property `objectName`
|
2403
2824
|
# @return [String]
|
2404
|
-
attr_accessor :
|
2405
|
-
|
2406
|
-
# Range of time content is to be available for purchase.
|
2407
|
-
# Corresponds to the JSON property `vodDates`
|
2408
|
-
# @return [Google::Apis::YoutubePartnerV1::DateRange]
|
2409
|
-
attr_accessor :vod_dates
|
2825
|
+
attr_accessor :object_name
|
2410
2826
|
|
2411
2827
|
def initialize(**args)
|
2412
2828
|
update!(**args)
|
@@ -2414,60 +2830,20 @@ module Google
|
|
2414
2830
|
|
2415
2831
|
# Update properties of this object
|
2416
2832
|
def update!(**args)
|
2417
|
-
@
|
2418
|
-
@
|
2419
|
-
@
|
2420
|
-
@country = args[:country] if args.key?(:country)
|
2421
|
-
@custom_id = args[:custom_id] if args.key?(:custom_id)
|
2422
|
-
@dvd_release_date = args[:dvd_release_date] if args.key?(:dvd_release_date)
|
2423
|
-
@est_dates = args[:est_dates] if args.key?(:est_dates)
|
2424
|
-
@events = args[:events] if args.key?(:events)
|
2425
|
-
@id = args[:id] if args.key?(:id)
|
2426
|
-
@kind = args[:kind] if args.key?(:kind)
|
2427
|
-
@movie = args[:movie] if args.key?(:movie)
|
2428
|
-
@original_release_date = args[:original_release_date] if args.key?(:original_release_date)
|
2429
|
-
@priority = args[:priority] if args.key?(:priority)
|
2430
|
-
@production_house = args[:production_house] if args.key?(:production_house)
|
2431
|
-
@purchase_order = args[:purchase_order] if args.key?(:purchase_order)
|
2432
|
-
@requirements = args[:requirements] if args.key?(:requirements)
|
2433
|
-
@show = args[:show] if args.key?(:show)
|
2434
|
-
@status = args[:status] if args.key?(:status)
|
2435
|
-
@video_id = args[:video_id] if args.key?(:video_id)
|
2436
|
-
@vod_dates = args[:vod_dates] if args.key?(:vod_dates)
|
2833
|
+
@bucket_name = args[:bucket_name] if args.key?(:bucket_name)
|
2834
|
+
@generation = args[:generation] if args.key?(:generation)
|
2835
|
+
@object_name = args[:object_name] if args.key?(:object_name)
|
2437
2836
|
end
|
2438
2837
|
end
|
2439
2838
|
|
2440
2839
|
#
|
2441
|
-
class
|
2840
|
+
class Origin
|
2442
2841
|
include Google::Apis::Core::Hashable
|
2443
2842
|
|
2444
|
-
#
|
2445
|
-
# Corresponds to the JSON property `
|
2446
|
-
# @return [Array<Google::Apis::YoutubePartnerV1::Order>]
|
2447
|
-
attr_accessor :items
|
2448
|
-
|
2449
|
-
# The type of the API response. For this operation, the value is youtubePartner#
|
2450
|
-
# orderList.
|
2451
|
-
# Corresponds to the JSON property `kind`
|
2452
|
-
# @return [String]
|
2453
|
-
attr_accessor :kind
|
2454
|
-
|
2455
|
-
# The token that can be used as the value of the pageToken parameter to retrieve
|
2456
|
-
# the next page in the result set.
|
2457
|
-
# Corresponds to the JSON property `nextPageToken`
|
2458
|
-
# @return [String]
|
2459
|
-
attr_accessor :next_page_token
|
2460
|
-
|
2461
|
-
# The pageInfo object encapsulates paging information for the result set.
|
2462
|
-
# Corresponds to the JSON property `pageInfo`
|
2463
|
-
# @return [Google::Apis::YoutubePartnerV1::PageInfo]
|
2464
|
-
attr_accessor :page_info
|
2465
|
-
|
2466
|
-
# The token that can be used as the value of the pageToken parameter to retrieve
|
2467
|
-
# the previous page in the result set.
|
2468
|
-
# Corresponds to the JSON property `previousPageToken`
|
2843
|
+
#
|
2844
|
+
# Corresponds to the JSON property `source`
|
2469
2845
|
# @return [String]
|
2470
|
-
attr_accessor :
|
2846
|
+
attr_accessor :source
|
2471
2847
|
|
2472
2848
|
def initialize(**args)
|
2473
2849
|
update!(**args)
|
@@ -2475,11 +2851,7 @@ module Google
|
|
2475
2851
|
|
2476
2852
|
# Update properties of this object
|
2477
2853
|
def update!(**args)
|
2478
|
-
@
|
2479
|
-
@kind = args[:kind] if args.key?(:kind)
|
2480
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2481
|
-
@page_info = args[:page_info] if args.key?(:page_info)
|
2482
|
-
@previous_page_token = args[:previous_page_token] if args.key?(:previous_page_token)
|
2854
|
+
@source = args[:source] if args.key?(:source)
|
2483
2855
|
end
|
2484
2856
|
end
|
2485
2857
|
|
@@ -2609,9 +2981,9 @@ module Google
|
|
2609
2981
|
# @return [String]
|
2610
2982
|
attr_accessor :kind
|
2611
2983
|
|
2612
|
-
# The desired locale of the error messages as defined in BCP 47 (http
|
2613
|
-
# ietf.org/html/bcp47). For example, "en-US" or "de". If not specified we
|
2614
|
-
# return the error messages in English ("en").
|
2984
|
+
# The desired locale of the error messages as defined in BCP 47 (http: //tools.
|
2985
|
+
# ietf.org/html/bcp47). For example, "en-US" or "de". If not // specified we
|
2986
|
+
# will return the error messages in English ("en").
|
2615
2987
|
# Corresponds to the JSON property `locale`
|
2616
2988
|
# @return [String]
|
2617
2989
|
attr_accessor :locale
|
@@ -2631,10 +3003,10 @@ module Google
|
|
2631
3003
|
# @return [Array<Google::Apis::YoutubePartnerV1::StatusReport>]
|
2632
3004
|
attr_accessor :status_reports
|
2633
3005
|
|
2634
|
-
# The package creation time. The value is specified in RFC 3339 (YYYY-MM-DDThh:
|
3006
|
+
# The package creation time. The value is specified in RFC 3339 ( YYYY-MM-DDThh:
|
2635
3007
|
# mm:ss.000Z) format.
|
2636
3008
|
# Corresponds to the JSON property `timeCreated`
|
2637
|
-
# @return [
|
3009
|
+
# @return [String]
|
2638
3010
|
attr_accessor :time_created
|
2639
3011
|
|
2640
3012
|
# The package type.
|
@@ -2772,7 +3144,7 @@ module Google
|
|
2772
3144
|
|
2773
3145
|
# The time the policy was updated.
|
2774
3146
|
# Corresponds to the JSON property `timeUpdated`
|
2775
|
-
# @return [
|
3147
|
+
# @return [String]
|
2776
3148
|
attr_accessor :time_updated
|
2777
3149
|
|
2778
3150
|
def initialize(**args)
|
@@ -2855,9 +3227,8 @@ module Google
|
|
2855
3227
|
include Google::Apis::Core::Hashable
|
2856
3228
|
|
2857
3229
|
# A list of link targets that will be used to generate the annotation link that
|
2858
|
-
# appears on videos included in the
|
2859
|
-
#
|
2860
|
-
# from the list.
|
3230
|
+
# appears on videos included in the campaign. If more than one link is specified,
|
3231
|
+
# the link that is displayed to viewers will be randomly selected from the list.
|
2861
3232
|
# Corresponds to the JSON property `link`
|
2862
3233
|
# @return [Array<Google::Apis::YoutubePartnerV1::CampaignTargetLink>]
|
2863
3234
|
attr_accessor :link
|
@@ -2947,6 +3318,11 @@ module Google
|
|
2947
3318
|
attr_accessor :fp_direct
|
2948
3319
|
alias_method :fp_direct?, :fp_direct
|
2949
3320
|
|
3321
|
+
# A reference to data stored on the filesystem, on GFS or in blobstore.
|
3322
|
+
# Corresponds to the JSON property `gdataMedia`
|
3323
|
+
# @return [Google::Apis::YoutubePartnerV1::Media]
|
3324
|
+
attr_accessor :gdata_media
|
3325
|
+
|
2950
3326
|
# The MD5 hashcode of the reference content. Deprecated! This is no longer
|
2951
3327
|
# populated.
|
2952
3328
|
# Corresponds to the JSON property `hashCode`
|
@@ -2976,6 +3352,23 @@ module Google
|
|
2976
3352
|
# @return [Float]
|
2977
3353
|
attr_accessor :length
|
2978
3354
|
|
3355
|
+
# Extra information added to operations that support Scotty media requests.
|
3356
|
+
# Corresponds to the JSON property `mediaRequestInfo`
|
3357
|
+
# @return [Google::Apis::YoutubePartnerV1::MediaRequestInfo]
|
3358
|
+
attr_accessor :media_request_info
|
3359
|
+
|
3360
|
+
# This message is for backends to pass their scotty media specific fields to ESF.
|
3361
|
+
# Backend will include this in their response message to ESF. Example:
|
3362
|
+
# ExportFile is an rpc defined for upload using scotty from ESF. rpc ExportFile(
|
3363
|
+
# ExportFileRequest) returns (ExportFileResponse) Message ExportFileResponse
|
3364
|
+
# will include apiserving.MediaResponseInfo to tell ESF about data like
|
3365
|
+
# dynamic_dropzone it needs to pass to Scotty. message ExportFileResponse `
|
3366
|
+
# optional gdata.Media blob = 1; optional apiserving.MediaResponseInfo
|
3367
|
+
# media_response_info = 2 `
|
3368
|
+
# Corresponds to the JSON property `mediaResponseInfo`
|
3369
|
+
# @return [Google::Apis::YoutubePartnerV1::MediaResponseInfo]
|
3370
|
+
attr_accessor :media_response_info
|
3371
|
+
|
2979
3372
|
# The origination object contains information that describes the reference
|
2980
3373
|
# source.
|
2981
3374
|
# Corresponds to the JSON property `origination`
|
@@ -2998,9 +3391,8 @@ module Google
|
|
2998
3391
|
# files that are not marked as urgent. This setting is primarily used for videos
|
2999
3392
|
# of live events or other videos that require time-sensitive processing. The
|
3000
3393
|
# sooner YouTube completes Content ID processing for a video, the sooner YouTube
|
3001
|
-
# can match user-uploaded videos to that video.
|
3002
|
-
#
|
3003
|
-
# files.
|
3394
|
+
# can match user-uploaded videos to that video. Note that marking all of your
|
3395
|
+
# files as urgent could delay processing for those files.
|
3004
3396
|
# Corresponds to the JSON property `urgent`
|
3005
3397
|
# @return [Boolean]
|
3006
3398
|
attr_accessor :urgent
|
@@ -3027,11 +3419,14 @@ module Google
|
|
3027
3419
|
@duplicate_leader = args[:duplicate_leader] if args.key?(:duplicate_leader)
|
3028
3420
|
@excluded_intervals = args[:excluded_intervals] if args.key?(:excluded_intervals)
|
3029
3421
|
@fp_direct = args[:fp_direct] if args.key?(:fp_direct)
|
3422
|
+
@gdata_media = args[:gdata_media] if args.key?(:gdata_media)
|
3030
3423
|
@hash_code = args[:hash_code] if args.key?(:hash_code)
|
3031
3424
|
@id = args[:id] if args.key?(:id)
|
3032
3425
|
@ignore_fp_match = args[:ignore_fp_match] if args.key?(:ignore_fp_match)
|
3033
3426
|
@kind = args[:kind] if args.key?(:kind)
|
3034
3427
|
@length = args[:length] if args.key?(:length)
|
3428
|
+
@media_request_info = args[:media_request_info] if args.key?(:media_request_info)
|
3429
|
+
@media_response_info = args[:media_response_info] if args.key?(:media_response_info)
|
3035
3430
|
@origination = args[:origination] if args.key?(:origination)
|
3036
3431
|
@status = args[:status] if args.key?(:status)
|
3037
3432
|
@status_reason = args[:status_reason] if args.key?(:status_reason)
|
@@ -3051,7 +3446,7 @@ module Google
|
|
3051
3446
|
|
3052
3447
|
# Conflict review expiry time.
|
3053
3448
|
# Corresponds to the JSON property `expiryTime`
|
3054
|
-
# @return [
|
3449
|
+
# @return [String]
|
3055
3450
|
attr_accessor :expiry_time
|
3056
3451
|
|
3057
3452
|
# A value that YouTube assigns and uses to uniquely identify a reference
|
@@ -3213,62 +3608,6 @@ module Google
|
|
3213
3608
|
end
|
3214
3609
|
end
|
3215
3610
|
|
3216
|
-
#
|
3217
|
-
class Requirements
|
3218
|
-
include Google::Apis::Core::Hashable
|
3219
|
-
|
3220
|
-
# This value indicates whether the order requires closed captions.
|
3221
|
-
# Corresponds to the JSON property `caption`
|
3222
|
-
# @return [Boolean]
|
3223
|
-
attr_accessor :caption
|
3224
|
-
alias_method :caption?, :caption
|
3225
|
-
|
3226
|
-
# This value indicates whether the order requires HD-quality video.
|
3227
|
-
# Corresponds to the JSON property `hdTranscode`
|
3228
|
-
# @return [Boolean]
|
3229
|
-
attr_accessor :hd_transcode
|
3230
|
-
alias_method :hd_transcode?, :hd_transcode
|
3231
|
-
|
3232
|
-
# This value indicates whether the order requires poster artwork.
|
3233
|
-
# Corresponds to the JSON property `posterArt`
|
3234
|
-
# @return [Boolean]
|
3235
|
-
attr_accessor :poster_art
|
3236
|
-
alias_method :poster_art?, :poster_art
|
3237
|
-
|
3238
|
-
# This value indicates whether the order requires spotlight artwork.
|
3239
|
-
# Corresponds to the JSON property `spotlightArt`
|
3240
|
-
# @return [Boolean]
|
3241
|
-
attr_accessor :spotlight_art
|
3242
|
-
alias_method :spotlight_art?, :spotlight_art
|
3243
|
-
|
3244
|
-
# This value indicates whether the spotlight artwork for the order needs to be
|
3245
|
-
# reviewed.
|
3246
|
-
# Corresponds to the JSON property `spotlightReview`
|
3247
|
-
# @return [Boolean]
|
3248
|
-
attr_accessor :spotlight_review
|
3249
|
-
alias_method :spotlight_review?, :spotlight_review
|
3250
|
-
|
3251
|
-
# This value indicates whether the order requires a trailer.
|
3252
|
-
# Corresponds to the JSON property `trailer`
|
3253
|
-
# @return [Boolean]
|
3254
|
-
attr_accessor :trailer
|
3255
|
-
alias_method :trailer?, :trailer
|
3256
|
-
|
3257
|
-
def initialize(**args)
|
3258
|
-
update!(**args)
|
3259
|
-
end
|
3260
|
-
|
3261
|
-
# Update properties of this object
|
3262
|
-
def update!(**args)
|
3263
|
-
@caption = args[:caption] if args.key?(:caption)
|
3264
|
-
@hd_transcode = args[:hd_transcode] if args.key?(:hd_transcode)
|
3265
|
-
@poster_art = args[:poster_art] if args.key?(:poster_art)
|
3266
|
-
@spotlight_art = args[:spotlight_art] if args.key?(:spotlight_art)
|
3267
|
-
@spotlight_review = args[:spotlight_review] if args.key?(:spotlight_review)
|
3268
|
-
@trailer = args[:trailer] if args.key?(:trailer)
|
3269
|
-
end
|
3270
|
-
end
|
3271
|
-
|
3272
3611
|
#
|
3273
3612
|
class RightsOwnership
|
3274
3613
|
include Google::Apis::Core::Hashable
|
@@ -3276,9 +3615,8 @@ module Google
|
|
3276
3615
|
# A list that identifies the owners of an asset and the territories where each
|
3277
3616
|
# owner has ownership. General asset ownership is used for all types of assets
|
3278
3617
|
# and is the only type of ownership data that can be provided for assets that
|
3279
|
-
# are not compositions.
|
3280
|
-
#
|
3281
|
-
# mechanical, performance, or synchronization rights.
|
3618
|
+
# are not compositions. *Note:* You cannot specify general ownership rights and
|
3619
|
+
# also specify either mechanical, performance, or synchronization rights.
|
3282
3620
|
# Corresponds to the JSON property `general`
|
3283
3621
|
# @return [Array<Google::Apis::YoutubePartnerV1::TerritoryOwners>]
|
3284
3622
|
attr_accessor :general
|
@@ -3343,7 +3681,7 @@ module Google
|
|
3343
3681
|
|
3344
3682
|
# The time that the ownership data was provided.
|
3345
3683
|
# Corresponds to the JSON property `timeProvided`
|
3346
|
-
# @return [
|
3684
|
+
# @return [String]
|
3347
3685
|
attr_accessor :time_provided
|
3348
3686
|
|
3349
3687
|
def initialize(**args)
|
@@ -3368,6 +3706,33 @@ module Google
|
|
3368
3706
|
# @return [Fixnum]
|
3369
3707
|
attr_accessor :duration
|
3370
3708
|
|
3709
|
+
# The type of the API resource. For segment resources, the value is
|
3710
|
+
# youtubePartner#segment.
|
3711
|
+
# Corresponds to the JSON property `kind`
|
3712
|
+
# @return [String]
|
3713
|
+
attr_accessor :kind
|
3714
|
+
|
3715
|
+
# The start time of the segment, measured in milliseconds from the beginning.
|
3716
|
+
# Corresponds to the JSON property `start`
|
3717
|
+
# @return [Fixnum]
|
3718
|
+
attr_accessor :start
|
3719
|
+
|
3720
|
+
def initialize(**args)
|
3721
|
+
update!(**args)
|
3722
|
+
end
|
3723
|
+
|
3724
|
+
# Update properties of this object
|
3725
|
+
def update!(**args)
|
3726
|
+
@duration = args[:duration] if args.key?(:duration)
|
3727
|
+
@kind = args[:kind] if args.key?(:kind)
|
3728
|
+
@start = args[:start] if args.key?(:start)
|
3729
|
+
end
|
3730
|
+
end
|
3731
|
+
|
3732
|
+
#
|
3733
|
+
class Segment2
|
3734
|
+
include Google::Apis::Core::Hashable
|
3735
|
+
|
3371
3736
|
# The finish time of the segment, measured in milliseconds from the beginning.
|
3372
3737
|
# Corresponds to the JSON property `finish`
|
3373
3738
|
# @return [String]
|
@@ -3390,7 +3755,6 @@ module Google
|
|
3390
3755
|
|
3391
3756
|
# Update properties of this object
|
3392
3757
|
def update!(**args)
|
3393
|
-
@duration = args[:duration] if args.key?(:duration)
|
3394
3758
|
@finish = args[:finish] if args.key?(:finish)
|
3395
3759
|
@kind = args[:kind] if args.key?(:kind)
|
3396
3760
|
@start = args[:start] if args.key?(:start)
|
@@ -3398,28 +3762,23 @@ module Google
|
|
3398
3762
|
end
|
3399
3763
|
|
3400
3764
|
#
|
3401
|
-
class
|
3765
|
+
class Source
|
3402
3766
|
include Google::Apis::Core::Hashable
|
3403
3767
|
|
3404
|
-
#
|
3405
|
-
# Corresponds to the JSON property `
|
3406
|
-
# @return [String]
|
3407
|
-
attr_accessor :episode_number
|
3408
|
-
|
3409
|
-
# The episode's title.
|
3410
|
-
# Corresponds to the JSON property `episodeTitle`
|
3768
|
+
# Id of content owner that initiated the event.
|
3769
|
+
# Corresponds to the JSON property `contentOwnerId`
|
3411
3770
|
# @return [String]
|
3412
|
-
attr_accessor :
|
3771
|
+
attr_accessor :content_owner_id
|
3413
3772
|
|
3414
|
-
#
|
3415
|
-
# Corresponds to the JSON property `
|
3773
|
+
# Type of the event source.
|
3774
|
+
# Corresponds to the JSON property `type`
|
3416
3775
|
# @return [String]
|
3417
|
-
attr_accessor :
|
3776
|
+
attr_accessor :type
|
3418
3777
|
|
3419
|
-
#
|
3420
|
-
# Corresponds to the JSON property `
|
3778
|
+
# Email of user who initiated the event.
|
3779
|
+
# Corresponds to the JSON property `userEmail`
|
3421
3780
|
# @return [String]
|
3422
|
-
attr_accessor :
|
3781
|
+
attr_accessor :user_email
|
3423
3782
|
|
3424
3783
|
def initialize(**args)
|
3425
3784
|
update!(**args)
|
@@ -3427,10 +3786,9 @@ module Google
|
|
3427
3786
|
|
3428
3787
|
# Update properties of this object
|
3429
3788
|
def update!(**args)
|
3430
|
-
@
|
3431
|
-
@
|
3432
|
-
@
|
3433
|
-
@title = args[:title] if args.key?(:title)
|
3789
|
+
@content_owner_id = args[:content_owner_id] if args.key?(:content_owner_id)
|
3790
|
+
@type = args[:type] if args.key?(:type)
|
3791
|
+
@user_email = args[:user_email] if args.key?(:user_email)
|
3434
3792
|
end
|
3435
3793
|
end
|
3436
3794
|
|
@@ -3511,31 +3869,6 @@ module Google
|
|
3511
3869
|
end
|
3512
3870
|
end
|
3513
3871
|
|
3514
|
-
#
|
3515
|
-
class StateCompleted
|
3516
|
-
include Google::Apis::Core::Hashable
|
3517
|
-
|
3518
|
-
# The state that the order entered.
|
3519
|
-
# Corresponds to the JSON property `state`
|
3520
|
-
# @return [String]
|
3521
|
-
attr_accessor :state
|
3522
|
-
|
3523
|
-
# The time that the state transition occurred.
|
3524
|
-
# Corresponds to the JSON property `timeCompleted`
|
3525
|
-
# @return [Fixnum]
|
3526
|
-
attr_accessor :time_completed
|
3527
|
-
|
3528
|
-
def initialize(**args)
|
3529
|
-
update!(**args)
|
3530
|
-
end
|
3531
|
-
|
3532
|
-
# Update properties of this object
|
3533
|
-
def update!(**args)
|
3534
|
-
@state = args[:state] if args.key?(:state)
|
3535
|
-
@time_completed = args[:time_completed] if args.key?(:time_completed)
|
3536
|
-
end
|
3537
|
-
end
|
3538
|
-
|
3539
3872
|
#
|
3540
3873
|
class StatusReport
|
3541
3874
|
include Google::Apis::Core::Hashable
|
@@ -3665,6 +3998,70 @@ module Google
|
|
3665
3998
|
end
|
3666
3999
|
end
|
3667
4000
|
|
4001
|
+
#
|
4002
|
+
class TotalMatch
|
4003
|
+
include Google::Apis::Core::Hashable
|
4004
|
+
|
4005
|
+
# The total amount of content in the reference which matched the user video in
|
4006
|
+
# seconds.
|
4007
|
+
# Corresponds to the JSON property `referenceDurationSecs`
|
4008
|
+
# @return [Fixnum]
|
4009
|
+
attr_accessor :reference_duration_secs
|
4010
|
+
|
4011
|
+
# The total amount of content in the user video which matched the reference in
|
4012
|
+
# seconds.
|
4013
|
+
# Corresponds to the JSON property `userVideoDurationSecs`
|
4014
|
+
# @return [Fixnum]
|
4015
|
+
attr_accessor :user_video_duration_secs
|
4016
|
+
|
4017
|
+
def initialize(**args)
|
4018
|
+
update!(**args)
|
4019
|
+
end
|
4020
|
+
|
4021
|
+
# Update properties of this object
|
4022
|
+
def update!(**args)
|
4023
|
+
@reference_duration_secs = args[:reference_duration_secs] if args.key?(:reference_duration_secs)
|
4024
|
+
@user_video_duration_secs = args[:user_video_duration_secs] if args.key?(:user_video_duration_secs)
|
4025
|
+
end
|
4026
|
+
end
|
4027
|
+
|
4028
|
+
#
|
4029
|
+
class TypeDetails
|
4030
|
+
include Google::Apis::Core::Hashable
|
4031
|
+
|
4032
|
+
# Appeal explanations for dispute_appeal event.
|
4033
|
+
# Corresponds to the JSON property `appealExplanation`
|
4034
|
+
# @return [String]
|
4035
|
+
attr_accessor :appeal_explanation
|
4036
|
+
|
4037
|
+
# Dispute notes for dispute_create events.
|
4038
|
+
# Corresponds to the JSON property `disputeNotes`
|
4039
|
+
# @return [String]
|
4040
|
+
attr_accessor :dispute_notes
|
4041
|
+
|
4042
|
+
# Dispute reason for dispute_create and dispute_appeal events.
|
4043
|
+
# Corresponds to the JSON property `disputeReason`
|
4044
|
+
# @return [String]
|
4045
|
+
attr_accessor :dispute_reason
|
4046
|
+
|
4047
|
+
# Status that was a result of update for claim_update event.
|
4048
|
+
# Corresponds to the JSON property `updateStatus`
|
4049
|
+
# @return [String]
|
4050
|
+
attr_accessor :update_status
|
4051
|
+
|
4052
|
+
def initialize(**args)
|
4053
|
+
update!(**args)
|
4054
|
+
end
|
4055
|
+
|
4056
|
+
# Update properties of this object
|
4057
|
+
def update!(**args)
|
4058
|
+
@appeal_explanation = args[:appeal_explanation] if args.key?(:appeal_explanation)
|
4059
|
+
@dispute_notes = args[:dispute_notes] if args.key?(:dispute_notes)
|
4060
|
+
@dispute_reason = args[:dispute_reason] if args.key?(:dispute_reason)
|
4061
|
+
@update_status = args[:update_status] if args.key?(:update_status)
|
4062
|
+
end
|
4063
|
+
end
|
4064
|
+
|
3668
4065
|
#
|
3669
4066
|
class Uploader
|
3670
4067
|
include Google::Apis::Core::Hashable
|
@@ -3846,9 +4243,9 @@ module Google
|
|
3846
4243
|
# @return [String]
|
3847
4244
|
attr_accessor :kind
|
3848
4245
|
|
3849
|
-
# The desired locale of the error messages as defined in BCP 47 (http
|
3850
|
-
# ietf.org/html/bcp47). For example, "en-US" or "de". If not specified we
|
3851
|
-
# return the error messages in English ("en").
|
4246
|
+
# The desired locale of the error messages as defined in BCP 47 (http: //tools.
|
4247
|
+
# ietf.org/html/bcp47). For example, "en-US" or "de". If not // specified we
|
4248
|
+
# will return the error messages in English ("en").
|
3852
4249
|
# Corresponds to the JSON property `locale`
|
3853
4250
|
# @return [String]
|
3854
4251
|
attr_accessor :locale
|
@@ -3913,9 +4310,9 @@ module Google
|
|
3913
4310
|
# @return [String]
|
3914
4311
|
attr_accessor :kind
|
3915
4312
|
|
3916
|
-
# The desired locale of the error messages as defined in BCP 47 (http
|
3917
|
-
# ietf.org/html/bcp47). For example, "en-US" or "de". If not specified we
|
3918
|
-
# return the error messages in English ("en").
|
4313
|
+
# The desired locale of the error messages as defined in BCP 47 (http: //tools.
|
4314
|
+
# ietf.org/html/bcp47). For example, "en-US" or "de". If not // specified we
|
4315
|
+
# will return the error messages in English ("en").
|
3919
4316
|
# Corresponds to the JSON property `locale`
|
3920
4317
|
# @return [String]
|
3921
4318
|
attr_accessor :locale
|
@@ -4166,6 +4563,25 @@ module Google
|
|
4166
4563
|
@page_info = args[:page_info] if args.key?(:page_info)
|
4167
4564
|
end
|
4168
4565
|
end
|
4566
|
+
|
4567
|
+
#
|
4568
|
+
class YoutubePartnerApiProtoFrontendV1Origin
|
4569
|
+
include Google::Apis::Core::Hashable
|
4570
|
+
|
4571
|
+
#
|
4572
|
+
# Corresponds to the JSON property `source`
|
4573
|
+
# @return [String]
|
4574
|
+
attr_accessor :source
|
4575
|
+
|
4576
|
+
def initialize(**args)
|
4577
|
+
update!(**args)
|
4578
|
+
end
|
4579
|
+
|
4580
|
+
# Update properties of this object
|
4581
|
+
def update!(**args)
|
4582
|
+
@source = args[:source] if args.key?(:source)
|
4583
|
+
end
|
4584
|
+
end
|
4169
4585
|
end
|
4170
4586
|
end
|
4171
4587
|
end
|