google-api-client 0.38.0 → 0.39.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 +124 -0
- data/api_list_config.yaml +1 -2
- data/bin/generate-api +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +22 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +3 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +2 -1
- data/generated/google/apis/androidpublisher_v1.rb +1 -4
- data/generated/google/apis/androidpublisher_v1/classes.rb +0 -41
- data/generated/google/apis/androidpublisher_v1/representations.rb +0 -16
- data/generated/google/apis/androidpublisher_v1/service.rb +1 -81
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -41
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -16
- data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -80
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +36 -1661
- data/generated/google/apis/androidpublisher_v2/representations.rb +0 -739
- data/generated/google/apis/androidpublisher_v2/service.rb +0 -2359
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +3 -2
- data/generated/google/apis/androidpublisher_v3/service.rb +4 -3
- data/generated/google/apis/apigee_v1.rb +40 -0
- data/generated/google/apis/apigee_v1/classes.rb +5205 -0
- data/generated/google/apis/apigee_v1/representations.rb +1944 -0
- data/generated/google/apis/apigee_v1/service.rb +6068 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +51 -19
- data/generated/google/apis/bigquery_v2/representations.rb +21 -4
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +1 -2
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +2 -2
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +12 -12
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +12 -12
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +23 -10
- data/generated/google/apis/binaryauthorization_v1/service.rb +10 -4
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +23 -10
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +10 -4
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +5 -5
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +14 -14
- data/generated/google/apis/classroom_v1/service.rb +11 -11
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +2 -0
- data/generated/google/apis/{osconfig_v1beta.rb → cloudasset_v1p4beta1.rb} +8 -9
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +924 -0
- data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +377 -0
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +217 -0
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +24 -12
- data/generated/google/apis/cloudbilling_v1/service.rb +3 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +2 -2
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +26 -0
- data/generated/google/apis/clouddebugger_v2/representations.rb +4 -0
- data/generated/google/apis/clouddebugger_v2/service.rb +9 -2
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +214 -66
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +64 -10
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1 -2
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -2
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -2
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +6 -4
- data/generated/google/apis/cloudsearch_v1/service.rb +3 -1
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +6 -0
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +6 -9
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +6 -9
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +6 -9
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +3 -4
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +1 -2
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +414 -29
- data/generated/google/apis/compute_alpha/representations.rb +141 -0
- data/generated/google/apis/compute_alpha/service.rb +351 -1
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +34 -29
- data/generated/google/apis/compute_beta/service.rb +3 -1
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +129 -10
- data/generated/google/apis/compute_v1/representations.rb +38 -0
- data/generated/google/apis/compute_v1/service.rb +3 -1
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +145 -132
- data/generated/google/apis/container_v1/service.rb +168 -159
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +186 -134
- data/generated/google/apis/container_v1beta1/representations.rb +16 -0
- data/generated/google/apis/container_v1beta1/service.rb +169 -160
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +26 -10
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +360 -10
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +159 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +1176 -1094
- data/generated/google/apis/content_v2/representations.rb +31 -0
- data/generated/google/apis/content_v2/service.rb +45 -45
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +1801 -931
- data/generated/google/apis/content_v2_1/representations.rb +351 -0
- data/generated/google/apis/content_v2_1/service.rb +299 -47
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +67 -7
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +3 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +43 -33
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +69 -36
- data/generated/google/apis/dataproc_v1/service.rb +14 -14
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +46 -26
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +203 -35
- data/generated/google/apis/dialogflow_v2/representations.rb +46 -0
- data/generated/google/apis/dialogflow_v2/service.rb +39 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +261 -36
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +64 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +88 -10
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +7216 -220
- data/generated/google/apis/displayvideo_v1/representations.rb +2846 -55
- data/generated/google/apis/displayvideo_v1/service.rb +2665 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +6 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +1 -0
- data/generated/google/apis/drive_v2/service.rb +51 -57
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +28 -29
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +9 -5
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +1 -1
- data/generated/google/apis/file_v1/service.rb +5 -5
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1 -1
- data/generated/google/apis/file_v1beta1/service.rb +10 -7
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +5 -2
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +8 -58
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +1 -31
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +0 -70
- data/generated/google/apis/firebaseml_v1beta2.rb +34 -0
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +344 -0
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +154 -0
- data/generated/google/apis/firebaseml_v1beta2/service.rb +267 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +9 -10
- 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/classes.rb +0 -6
- data/generated/google/apis/games_management_v1management/representations.rb +0 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +1 -7
- data/generated/google/apis/games_v1/representations.rb +0 -1
- data/generated/google/apis/games_v1/service.rb +3 -12
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +1 -2
- data/generated/google/apis/gameservices_v1beta/service.rb +2 -2
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +0 -1
- data/generated/google/apis/healthcare_v1/service.rb +9 -7
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +124 -1
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +8 -6
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +9 -4
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/service.rb +2 -2
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +2 -2
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/service.rb +2 -2
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +7 -7
- data/generated/google/apis/memcache_v1beta2/service.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +41 -38
- data/generated/google/apis/ml_v1/service.rb +17 -11
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +27 -38
- data/generated/google/apis/monitoring_v3/representations.rb +3 -16
- data/generated/google/apis/monitoring_v3/service.rb +6 -5
- data/generated/google/apis/people_v1.rb +7 -1
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +23 -10
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +23 -10
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +13 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +57 -1
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +19 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +57 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +19 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +57 -1
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +19 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +22 -46
- data/generated/google/apis/run_v1/representations.rb +5 -19
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +1 -2
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +23 -10
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +8 -5
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +13 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +6 -0
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +4 -22
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +1 -2
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +1 -2
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +0 -12
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +0 -8
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +0 -8
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -8
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +34 -14
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +34 -14
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/service.rb +6 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +34 -14
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +34 -14
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +34 -14
- data/generated/google/apis/serviceusage_v1/service.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +34 -14
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +2 -2
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +1 -1
- data/generated/google/apis/slides_v1/service.rb +1 -1
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +1 -2
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +2 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +182 -1
- data/generated/google/apis/speech_v1p1beta1/representations.rb +77 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +21 -0
- data/generated/google/apis/storage_v1/representations.rb +5 -0
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/service.rb +1 -1
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/service.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +9 -0
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/toolresults_v1beta3.rb +2 -2
- data/generated/google/apis/toolresults_v1beta3/classes.rb +1431 -1231
- data/generated/google/apis/toolresults_v1beta3/representations.rb +442 -2
- data/generated/google/apis/toolresults_v1beta3/service.rb +647 -720
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +6 -6
- data/generated/google/apis/vault_v1/service.rb +7 -7
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +215 -76
- data/generated/google/apis/videointelligence_v1/representations.rb +23 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +215 -76
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +23 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +215 -76
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +23 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +215 -76
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +23 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +222 -83
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +23 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +15 -11
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +0 -39
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +0 -480
- data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +0 -210
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +0 -124
- data/generated/google/apis/osconfig_v1beta/classes.rb +0 -2365
- data/generated/google/apis/osconfig_v1beta/representations.rb +0 -966
- data/generated/google/apis/osconfig_v1beta/service.rb +0 -605
@@ -1007,6 +1007,7 @@ module Google
|
|
1007
1007
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1008
1008
|
collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1ExplicitContentFrame, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1ExplicitContentFrame::Representation
|
1009
1009
|
|
1010
|
+
property :version, as: 'version'
|
1010
1011
|
end
|
1011
1012
|
end
|
1012
1013
|
|
@@ -1029,6 +1030,7 @@ module Google
|
|
1029
1030
|
|
1030
1031
|
collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1LabelSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1LabelSegment::Representation
|
1031
1032
|
|
1033
|
+
property :version, as: 'version'
|
1032
1034
|
end
|
1033
1035
|
end
|
1034
1036
|
|
@@ -1098,6 +1100,7 @@ module Google
|
|
1098
1100
|
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1VideoSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1VideoSegment::Representation
|
1099
1101
|
|
1100
1102
|
property :track_id, :numeric_string => true, as: 'trackId'
|
1103
|
+
property :version, as: 'version'
|
1101
1104
|
end
|
1102
1105
|
end
|
1103
1106
|
|
@@ -1135,6 +1138,7 @@ module Google
|
|
1135
1138
|
collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1TextSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1TextSegment::Representation
|
1136
1139
|
|
1137
1140
|
property :text, as: 'text'
|
1141
|
+
property :version, as: 'version'
|
1138
1142
|
end
|
1139
1143
|
end
|
1140
1144
|
|
@@ -1298,6 +1302,7 @@ module Google
|
|
1298
1302
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1299
1303
|
collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentFrame, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentFrame::Representation
|
1300
1304
|
|
1305
|
+
property :version, as: 'version'
|
1301
1306
|
end
|
1302
1307
|
end
|
1303
1308
|
|
@@ -1320,6 +1325,7 @@ module Google
|
|
1320
1325
|
|
1321
1326
|
collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2LabelSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2LabelSegment::Representation
|
1322
1327
|
|
1328
|
+
property :version, as: 'version'
|
1323
1329
|
end
|
1324
1330
|
end
|
1325
1331
|
|
@@ -1389,6 +1395,7 @@ module Google
|
|
1389
1395
|
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2VideoSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2VideoSegment::Representation
|
1390
1396
|
|
1391
1397
|
property :track_id, :numeric_string => true, as: 'trackId'
|
1398
|
+
property :version, as: 'version'
|
1392
1399
|
end
|
1393
1400
|
end
|
1394
1401
|
|
@@ -1426,6 +1433,7 @@ module Google
|
|
1426
1433
|
collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2TextSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2TextSegment::Representation
|
1427
1434
|
|
1428
1435
|
property :text, as: 'text'
|
1436
|
+
property :version, as: 'version'
|
1429
1437
|
end
|
1430
1438
|
end
|
1431
1439
|
|
@@ -1589,6 +1597,7 @@ module Google
|
|
1589
1597
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1590
1598
|
collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentFrame, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentFrame::Representation
|
1591
1599
|
|
1600
|
+
property :version, as: 'version'
|
1592
1601
|
end
|
1593
1602
|
end
|
1594
1603
|
|
@@ -1611,6 +1620,7 @@ module Google
|
|
1611
1620
|
|
1612
1621
|
collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1LabelSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1LabelSegment::Representation
|
1613
1622
|
|
1623
|
+
property :version, as: 'version'
|
1614
1624
|
end
|
1615
1625
|
end
|
1616
1626
|
|
@@ -1680,6 +1690,7 @@ module Google
|
|
1680
1690
|
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment::Representation
|
1681
1691
|
|
1682
1692
|
property :track_id, :numeric_string => true, as: 'trackId'
|
1693
|
+
property :version, as: 'version'
|
1683
1694
|
end
|
1684
1695
|
end
|
1685
1696
|
|
@@ -1717,6 +1728,7 @@ module Google
|
|
1717
1728
|
collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1TextSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1TextSegment::Representation
|
1718
1729
|
|
1719
1730
|
property :text, as: 'text'
|
1731
|
+
property :version, as: 'version'
|
1720
1732
|
end
|
1721
1733
|
end
|
1722
1734
|
|
@@ -1880,6 +1892,7 @@ module Google
|
|
1880
1892
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1881
1893
|
collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentFrame, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentFrame::Representation
|
1882
1894
|
|
1895
|
+
property :version, as: 'version'
|
1883
1896
|
end
|
1884
1897
|
end
|
1885
1898
|
|
@@ -1902,6 +1915,7 @@ module Google
|
|
1902
1915
|
|
1903
1916
|
collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1LabelSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1LabelSegment::Representation
|
1904
1917
|
|
1918
|
+
property :version, as: 'version'
|
1905
1919
|
end
|
1906
1920
|
end
|
1907
1921
|
|
@@ -1971,6 +1985,7 @@ module Google
|
|
1971
1985
|
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation
|
1972
1986
|
|
1973
1987
|
property :track_id, :numeric_string => true, as: 'trackId'
|
1988
|
+
property :version, as: 'version'
|
1974
1989
|
end
|
1975
1990
|
end
|
1976
1991
|
|
@@ -2008,6 +2023,7 @@ module Google
|
|
2008
2023
|
collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1TextSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1TextSegment::Representation
|
2009
2024
|
|
2010
2025
|
property :text, as: 'text'
|
2026
|
+
property :version, as: 'version'
|
2011
2027
|
end
|
2012
2028
|
end
|
2013
2029
|
|
@@ -2165,6 +2181,7 @@ module Google
|
|
2165
2181
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2166
2182
|
collection :celebrity_tracks, as: 'celebrityTracks', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1CelebrityTrack, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1CelebrityTrack::Representation
|
2167
2183
|
|
2184
|
+
property :version, as: 'version'
|
2168
2185
|
end
|
2169
2186
|
end
|
2170
2187
|
|
@@ -2211,6 +2228,7 @@ module Google
|
|
2211
2228
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2212
2229
|
collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentFrame, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentFrame::Representation
|
2213
2230
|
|
2231
|
+
property :version, as: 'version'
|
2214
2232
|
end
|
2215
2233
|
end
|
2216
2234
|
|
@@ -2235,6 +2253,7 @@ module Google
|
|
2235
2253
|
property :thumbnail, :base64 => true, as: 'thumbnail'
|
2236
2254
|
collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1Track, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1Track::Representation
|
2237
2255
|
|
2256
|
+
property :version, as: 'version'
|
2238
2257
|
end
|
2239
2258
|
end
|
2240
2259
|
|
@@ -2258,6 +2277,7 @@ module Google
|
|
2258
2277
|
|
2259
2278
|
collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelSegment::Representation
|
2260
2279
|
|
2280
|
+
property :version, as: 'version'
|
2261
2281
|
end
|
2262
2282
|
end
|
2263
2283
|
|
@@ -2338,6 +2358,7 @@ module Google
|
|
2338
2358
|
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment::Representation
|
2339
2359
|
|
2340
2360
|
property :track_id, :numeric_string => true, as: 'trackId'
|
2361
|
+
property :version, as: 'version'
|
2341
2362
|
end
|
2342
2363
|
end
|
2343
2364
|
|
@@ -2362,6 +2383,7 @@ module Google
|
|
2362
2383
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2363
2384
|
collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1Track, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1Track::Representation
|
2364
2385
|
|
2386
|
+
property :version, as: 'version'
|
2365
2387
|
end
|
2366
2388
|
end
|
2367
2389
|
|
@@ -2463,6 +2485,7 @@ module Google
|
|
2463
2485
|
collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1TextSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1TextSegment::Representation
|
2464
2486
|
|
2465
2487
|
property :text, as: 'text'
|
2488
|
+
property :version, as: 'version'
|
2466
2489
|
end
|
2467
2490
|
end
|
2468
2491
|
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/youtube/partner/
|
26
26
|
module YoutubePartnerV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200422'
|
29
29
|
|
30
30
|
# View and manage your assets and associated content on YouTube
|
31
31
|
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
|
data/lib/google/apis/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-api-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.39.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Bazyl
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2020-
|
14
|
+
date: 2020-05-07 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: representable
|
@@ -328,6 +328,10 @@ files:
|
|
328
328
|
- generated/google/apis/androidpublisher_v3/classes.rb
|
329
329
|
- generated/google/apis/androidpublisher_v3/representations.rb
|
330
330
|
- generated/google/apis/androidpublisher_v3/service.rb
|
331
|
+
- generated/google/apis/apigee_v1.rb
|
332
|
+
- generated/google/apis/apigee_v1/classes.rb
|
333
|
+
- generated/google/apis/apigee_v1/representations.rb
|
334
|
+
- generated/google/apis/apigee_v1/service.rb
|
331
335
|
- generated/google/apis/appengine_v1.rb
|
332
336
|
- generated/google/apis/appengine_v1/classes.rb
|
333
337
|
- generated/google/apis/appengine_v1/representations.rb
|
@@ -440,6 +444,10 @@ files:
|
|
440
444
|
- generated/google/apis/cloudasset_v1p1beta1/classes.rb
|
441
445
|
- generated/google/apis/cloudasset_v1p1beta1/representations.rb
|
442
446
|
- generated/google/apis/cloudasset_v1p1beta1/service.rb
|
447
|
+
- generated/google/apis/cloudasset_v1p4beta1.rb
|
448
|
+
- generated/google/apis/cloudasset_v1p4beta1/classes.rb
|
449
|
+
- generated/google/apis/cloudasset_v1p4beta1/representations.rb
|
450
|
+
- generated/google/apis/cloudasset_v1p4beta1/service.rb
|
443
451
|
- generated/google/apis/cloudbilling_v1.rb
|
444
452
|
- generated/google/apis/cloudbilling_v1/classes.rb
|
445
453
|
- generated/google/apis/cloudbilling_v1/representations.rb
|
@@ -552,10 +560,6 @@ files:
|
|
552
560
|
- generated/google/apis/cloudtrace_v2beta1/classes.rb
|
553
561
|
- generated/google/apis/cloudtrace_v2beta1/representations.rb
|
554
562
|
- generated/google/apis/cloudtrace_v2beta1/service.rb
|
555
|
-
- generated/google/apis/commentanalyzer_v1alpha1.rb
|
556
|
-
- generated/google/apis/commentanalyzer_v1alpha1/classes.rb
|
557
|
-
- generated/google/apis/commentanalyzer_v1alpha1/representations.rb
|
558
|
-
- generated/google/apis/commentanalyzer_v1alpha1/service.rb
|
559
563
|
- generated/google/apis/composer_v1.rb
|
560
564
|
- generated/google/apis/composer_v1/classes.rb
|
561
565
|
- generated/google/apis/composer_v1/representations.rb
|
@@ -752,6 +756,10 @@ files:
|
|
752
756
|
- generated/google/apis/firebasehosting_v1beta1/classes.rb
|
753
757
|
- generated/google/apis/firebasehosting_v1beta1/representations.rb
|
754
758
|
- generated/google/apis/firebasehosting_v1beta1/service.rb
|
759
|
+
- generated/google/apis/firebaseml_v1beta2.rb
|
760
|
+
- generated/google/apis/firebaseml_v1beta2/classes.rb
|
761
|
+
- generated/google/apis/firebaseml_v1beta2/representations.rb
|
762
|
+
- generated/google/apis/firebaseml_v1beta2/service.rb
|
755
763
|
- generated/google/apis/firebaserules_v1.rb
|
756
764
|
- generated/google/apis/firebaserules_v1/classes.rb
|
757
765
|
- generated/google/apis/firebaserules_v1/representations.rb
|
@@ -936,10 +944,6 @@ files:
|
|
936
944
|
- generated/google/apis/osconfig_v1/classes.rb
|
937
945
|
- generated/google/apis/osconfig_v1/representations.rb
|
938
946
|
- generated/google/apis/osconfig_v1/service.rb
|
939
|
-
- generated/google/apis/osconfig_v1beta.rb
|
940
|
-
- generated/google/apis/osconfig_v1beta/classes.rb
|
941
|
-
- generated/google/apis/osconfig_v1beta/representations.rb
|
942
|
-
- generated/google/apis/osconfig_v1beta/service.rb
|
943
947
|
- generated/google/apis/oslogin_v1.rb
|
944
948
|
- generated/google/apis/oslogin_v1/classes.rb
|
945
949
|
- generated/google/apis/oslogin_v1/representations.rb
|
@@ -1384,7 +1388,7 @@ homepage: https://github.com/google/google-api-ruby-client
|
|
1384
1388
|
licenses:
|
1385
1389
|
- Apache-2.0
|
1386
1390
|
metadata:
|
1387
|
-
documentation_uri: https://googleapis.dev/ruby/google-api-client/v0.
|
1391
|
+
documentation_uri: https://googleapis.dev/ruby/google-api-client/v0.39.0
|
1388
1392
|
post_install_message:
|
1389
1393
|
rdoc_options: []
|
1390
1394
|
require_paths:
|
@@ -1,39 +0,0 @@
|
|
1
|
-
# Copyright 2015 Google Inc.
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
|
-
require 'google/apis/commentanalyzer_v1alpha1/service.rb'
|
16
|
-
require 'google/apis/commentanalyzer_v1alpha1/classes.rb'
|
17
|
-
require 'google/apis/commentanalyzer_v1alpha1/representations.rb'
|
18
|
-
|
19
|
-
module Google
|
20
|
-
module Apis
|
21
|
-
# Perspective Comment Analyzer API
|
22
|
-
#
|
23
|
-
# The Perspective Comment Analyzer API provides information about the potential
|
24
|
-
# impact of a comment on a conversation (e.g. it can provide a score for the "
|
25
|
-
# toxicity" of a comment). Users can leverage the "SuggestCommentScore" method
|
26
|
-
# to submit corrections to improve Perspective over time. Users can set the "
|
27
|
-
# doNotStore" flag to ensure that all submitted comments are automatically
|
28
|
-
# deleted after scores are returned.
|
29
|
-
#
|
30
|
-
# @see https://github.com/conversationai/perspectiveapi/blob/master/README.md
|
31
|
-
module CommentanalyzerV1alpha1
|
32
|
-
VERSION = 'V1alpha1'
|
33
|
-
REVISION = '20200301'
|
34
|
-
|
35
|
-
# View your email address
|
36
|
-
AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
|
37
|
-
end
|
38
|
-
end
|
39
|
-
end
|
@@ -1,480 +0,0 @@
|
|
1
|
-
# Copyright 2015 Google Inc.
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
|
-
require 'date'
|
16
|
-
require 'google/apis/core/base_service'
|
17
|
-
require 'google/apis/core/json_representation'
|
18
|
-
require 'google/apis/core/hashable'
|
19
|
-
require 'google/apis/errors'
|
20
|
-
|
21
|
-
module Google
|
22
|
-
module Apis
|
23
|
-
module CommentanalyzerV1alpha1
|
24
|
-
|
25
|
-
# The comment analysis request message.
|
26
|
-
# LINT.IfChange
|
27
|
-
class AnalyzeCommentRequest
|
28
|
-
include Google::Apis::Core::Hashable
|
29
|
-
|
30
|
-
# Opaque token that is echoed from the request to the response.
|
31
|
-
# Corresponds to the JSON property `clientToken`
|
32
|
-
# @return [String]
|
33
|
-
attr_accessor :client_token
|
34
|
-
|
35
|
-
# Represents a body of text.
|
36
|
-
# Corresponds to the JSON property `comment`
|
37
|
-
# @return [Google::Apis::CommentanalyzerV1alpha1::TextEntry]
|
38
|
-
attr_accessor :comment
|
39
|
-
|
40
|
-
# Optional identifier associating this AnalyzeCommentRequest with a
|
41
|
-
# particular client's community. Different communities may have different
|
42
|
-
# norms and rules. Specifying this value enables us to explore building
|
43
|
-
# community-specific models for clients.
|
44
|
-
# Corresponds to the JSON property `communityId`
|
45
|
-
# @return [String]
|
46
|
-
attr_accessor :community_id
|
47
|
-
|
48
|
-
# Context is typically something that a Comment is referencing or replying to
|
49
|
-
# (such as an article, or previous comment).
|
50
|
-
# Note: Populate only ONE OF the following fields. The oneof syntax cannot be
|
51
|
-
# used because that would require nesting entries inside another message and
|
52
|
-
# breaking backwards compatibility. The server will return an error if more
|
53
|
-
# than one of the following fields is present.
|
54
|
-
# Corresponds to the JSON property `context`
|
55
|
-
# @return [Google::Apis::CommentanalyzerV1alpha1::Context]
|
56
|
-
attr_accessor :context
|
57
|
-
|
58
|
-
# Do not store the comment or context sent in this request. By default, the
|
59
|
-
# service may store comments/context for debugging purposes.
|
60
|
-
# Corresponds to the JSON property `doNotStore`
|
61
|
-
# @return [Boolean]
|
62
|
-
attr_accessor :do_not_store
|
63
|
-
alias_method :do_not_store?, :do_not_store
|
64
|
-
|
65
|
-
# The language(s) of the comment and context. If none are specified, we
|
66
|
-
# attempt to automatically detect the language. Specifying multiple languages
|
67
|
-
# means the text contains multiple lanugages. Both ISO and BCP-47 language
|
68
|
-
# codes are accepted.
|
69
|
-
# The server returns an error if no language was specified and language
|
70
|
-
# detection fails. The server also returns an error if the languages (either
|
71
|
-
# specified by the caller, or auto-detected) are not *all* supported by the
|
72
|
-
# service.
|
73
|
-
# Corresponds to the JSON property `languages`
|
74
|
-
# @return [Array<String>]
|
75
|
-
attr_accessor :languages
|
76
|
-
|
77
|
-
# Specification of requested attributes. The AttributeParameters serve as
|
78
|
-
# configuration for each associated attribute. The map keys are attribute
|
79
|
-
# names. The available attributes may be different on each RFE installation,
|
80
|
-
# and can be seen by calling ListAttributes (see above).
|
81
|
-
# For the prod installation, known as Perspective API, at
|
82
|
-
# blade:commentanalyzer-esf and commentanalyzer.googleapis.com, see
|
83
|
-
# go/checker-models (internal) and
|
84
|
-
# https://github.com/conversationai/perspectiveapi/blob/master/2-api/models.md#
|
85
|
-
# all-attribute-types.
|
86
|
-
# Corresponds to the JSON property `requestedAttributes`
|
87
|
-
# @return [Hash<String,Google::Apis::CommentanalyzerV1alpha1::AttributeParameters>]
|
88
|
-
attr_accessor :requested_attributes
|
89
|
-
|
90
|
-
# Session ID. Used to join related RPCs into a single session. For example,
|
91
|
-
# an interactive tool that calls both the AnalyzeComment and
|
92
|
-
# SuggestCommentScore RPCs should set all invocations of both RPCs to the
|
93
|
-
# same Session ID, typically a random 64-bit integer.
|
94
|
-
# Corresponds to the JSON property `sessionId`
|
95
|
-
# @return [String]
|
96
|
-
attr_accessor :session_id
|
97
|
-
|
98
|
-
# An advisory parameter that will return span annotations if the model
|
99
|
-
# is capable of providing scores with sub-comment resolution. This will
|
100
|
-
# likely increase the size of the returned message.
|
101
|
-
# Corresponds to the JSON property `spanAnnotations`
|
102
|
-
# @return [Boolean]
|
103
|
-
attr_accessor :span_annotations
|
104
|
-
alias_method :span_annotations?, :span_annotations
|
105
|
-
|
106
|
-
def initialize(**args)
|
107
|
-
update!(**args)
|
108
|
-
end
|
109
|
-
|
110
|
-
# Update properties of this object
|
111
|
-
def update!(**args)
|
112
|
-
@client_token = args[:client_token] if args.key?(:client_token)
|
113
|
-
@comment = args[:comment] if args.key?(:comment)
|
114
|
-
@community_id = args[:community_id] if args.key?(:community_id)
|
115
|
-
@context = args[:context] if args.key?(:context)
|
116
|
-
@do_not_store = args[:do_not_store] if args.key?(:do_not_store)
|
117
|
-
@languages = args[:languages] if args.key?(:languages)
|
118
|
-
@requested_attributes = args[:requested_attributes] if args.key?(:requested_attributes)
|
119
|
-
@session_id = args[:session_id] if args.key?(:session_id)
|
120
|
-
@span_annotations = args[:span_annotations] if args.key?(:span_annotations)
|
121
|
-
end
|
122
|
-
end
|
123
|
-
|
124
|
-
# The comment analysis response message.
|
125
|
-
class AnalyzeCommentResponse
|
126
|
-
include Google::Apis::Core::Hashable
|
127
|
-
|
128
|
-
# Scores for the requested attributes. The map keys are attribute names (same
|
129
|
-
# as the requested_attribute field in AnalyzeCommentRequest, for example
|
130
|
-
# "ATTACK_ON_AUTHOR", "INFLAMMATORY", etc).
|
131
|
-
# Corresponds to the JSON property `attributeScores`
|
132
|
-
# @return [Hash<String,Google::Apis::CommentanalyzerV1alpha1::AttributeScores>]
|
133
|
-
attr_accessor :attribute_scores
|
134
|
-
|
135
|
-
# Same token from the original AnalyzeCommentRequest.
|
136
|
-
# Corresponds to the JSON property `clientToken`
|
137
|
-
# @return [String]
|
138
|
-
attr_accessor :client_token
|
139
|
-
|
140
|
-
# Contains the languages detected from the text content, sorted in order of
|
141
|
-
# likelihood.
|
142
|
-
# Corresponds to the JSON property `detectedLanguages`
|
143
|
-
# @return [Array<String>]
|
144
|
-
attr_accessor :detected_languages
|
145
|
-
|
146
|
-
# The language(s) used by CommentAnalyzer service to choose which Model to
|
147
|
-
# use when analyzing the comment. Might better be called
|
148
|
-
# "effective_languages". The logic used to make the choice is as follows:
|
149
|
-
# if !Request.languages.empty()
|
150
|
-
# effective_languages = Request.languages
|
151
|
-
# else
|
152
|
-
# effective_languages = detected_languages[0]
|
153
|
-
# Corresponds to the JSON property `languages`
|
154
|
-
# @return [Array<String>]
|
155
|
-
attr_accessor :languages
|
156
|
-
|
157
|
-
def initialize(**args)
|
158
|
-
update!(**args)
|
159
|
-
end
|
160
|
-
|
161
|
-
# Update properties of this object
|
162
|
-
def update!(**args)
|
163
|
-
@attribute_scores = args[:attribute_scores] if args.key?(:attribute_scores)
|
164
|
-
@client_token = args[:client_token] if args.key?(:client_token)
|
165
|
-
@detected_languages = args[:detected_languages] if args.key?(:detected_languages)
|
166
|
-
@languages = args[:languages] if args.key?(:languages)
|
167
|
-
end
|
168
|
-
end
|
169
|
-
|
170
|
-
# A type of context specific to a comment left on a single-threaded comment
|
171
|
-
# message board, where comments are either a top level comment or the child of
|
172
|
-
# a top level comment.
|
173
|
-
class ArticleAndParentComment
|
174
|
-
include Google::Apis::Core::Hashable
|
175
|
-
|
176
|
-
# Represents a body of text.
|
177
|
-
# Corresponds to the JSON property `article`
|
178
|
-
# @return [Google::Apis::CommentanalyzerV1alpha1::TextEntry]
|
179
|
-
attr_accessor :article
|
180
|
-
|
181
|
-
# Represents a body of text.
|
182
|
-
# Corresponds to the JSON property `parentComment`
|
183
|
-
# @return [Google::Apis::CommentanalyzerV1alpha1::TextEntry]
|
184
|
-
attr_accessor :parent_comment
|
185
|
-
|
186
|
-
def initialize(**args)
|
187
|
-
update!(**args)
|
188
|
-
end
|
189
|
-
|
190
|
-
# Update properties of this object
|
191
|
-
def update!(**args)
|
192
|
-
@article = args[:article] if args.key?(:article)
|
193
|
-
@parent_comment = args[:parent_comment] if args.key?(:parent_comment)
|
194
|
-
end
|
195
|
-
end
|
196
|
-
|
197
|
-
# Configurable parameters for attribute scoring.
|
198
|
-
class AttributeParameters
|
199
|
-
include Google::Apis::Core::Hashable
|
200
|
-
|
201
|
-
# Don't return scores for this attribute that are below this threshold. If
|
202
|
-
# unset, a default threshold will be applied. A FloatValue wrapper is used to
|
203
|
-
# distinguish between 0 vs. default/unset.
|
204
|
-
# Corresponds to the JSON property `scoreThreshold`
|
205
|
-
# @return [Float]
|
206
|
-
attr_accessor :score_threshold
|
207
|
-
|
208
|
-
# What type of scores to return. If unset, defaults to probability scores.
|
209
|
-
# Corresponds to the JSON property `scoreType`
|
210
|
-
# @return [String]
|
211
|
-
attr_accessor :score_type
|
212
|
-
|
213
|
-
def initialize(**args)
|
214
|
-
update!(**args)
|
215
|
-
end
|
216
|
-
|
217
|
-
# Update properties of this object
|
218
|
-
def update!(**args)
|
219
|
-
@score_threshold = args[:score_threshold] if args.key?(:score_threshold)
|
220
|
-
@score_type = args[:score_type] if args.key?(:score_type)
|
221
|
-
end
|
222
|
-
end
|
223
|
-
|
224
|
-
# This holds score values for a single attribute. It contains both per-span
|
225
|
-
# scores as well as an overall summary score..
|
226
|
-
class AttributeScores
|
227
|
-
include Google::Apis::Core::Hashable
|
228
|
-
|
229
|
-
# Per-span scores.
|
230
|
-
# Corresponds to the JSON property `spanScores`
|
231
|
-
# @return [Array<Google::Apis::CommentanalyzerV1alpha1::SpanScore>]
|
232
|
-
attr_accessor :span_scores
|
233
|
-
|
234
|
-
# Analysis scores are described by a value and a ScoreType.
|
235
|
-
# Corresponds to the JSON property `summaryScore`
|
236
|
-
# @return [Google::Apis::CommentanalyzerV1alpha1::Score]
|
237
|
-
attr_accessor :summary_score
|
238
|
-
|
239
|
-
def initialize(**args)
|
240
|
-
update!(**args)
|
241
|
-
end
|
242
|
-
|
243
|
-
# Update properties of this object
|
244
|
-
def update!(**args)
|
245
|
-
@span_scores = args[:span_scores] if args.key?(:span_scores)
|
246
|
-
@summary_score = args[:summary_score] if args.key?(:summary_score)
|
247
|
-
end
|
248
|
-
end
|
249
|
-
|
250
|
-
# Context is typically something that a Comment is referencing or replying to
|
251
|
-
# (such as an article, or previous comment).
|
252
|
-
# Note: Populate only ONE OF the following fields. The oneof syntax cannot be
|
253
|
-
# used because that would require nesting entries inside another message and
|
254
|
-
# breaking backwards compatibility. The server will return an error if more
|
255
|
-
# than one of the following fields is present.
|
256
|
-
class Context
|
257
|
-
include Google::Apis::Core::Hashable
|
258
|
-
|
259
|
-
# A type of context specific to a comment left on a single-threaded comment
|
260
|
-
# message board, where comments are either a top level comment or the child of
|
261
|
-
# a top level comment.
|
262
|
-
# Corresponds to the JSON property `articleAndParentComment`
|
263
|
-
# @return [Google::Apis::CommentanalyzerV1alpha1::ArticleAndParentComment]
|
264
|
-
attr_accessor :article_and_parent_comment
|
265
|
-
|
266
|
-
# A list of messages. For example, a linear comments section or forum thread.
|
267
|
-
# Corresponds to the JSON property `entries`
|
268
|
-
# @return [Array<Google::Apis::CommentanalyzerV1alpha1::TextEntry>]
|
269
|
-
attr_accessor :entries
|
270
|
-
|
271
|
-
def initialize(**args)
|
272
|
-
update!(**args)
|
273
|
-
end
|
274
|
-
|
275
|
-
# Update properties of this object
|
276
|
-
def update!(**args)
|
277
|
-
@article_and_parent_comment = args[:article_and_parent_comment] if args.key?(:article_and_parent_comment)
|
278
|
-
@entries = args[:entries] if args.key?(:entries)
|
279
|
-
end
|
280
|
-
end
|
281
|
-
|
282
|
-
# Analysis scores are described by a value and a ScoreType.
|
283
|
-
class Score
|
284
|
-
include Google::Apis::Core::Hashable
|
285
|
-
|
286
|
-
# The type of the above value.
|
287
|
-
# Corresponds to the JSON property `type`
|
288
|
-
# @return [String]
|
289
|
-
attr_accessor :type
|
290
|
-
|
291
|
-
# Score value. Semantics described by type below.
|
292
|
-
# Corresponds to the JSON property `value`
|
293
|
-
# @return [Float]
|
294
|
-
attr_accessor :value
|
295
|
-
|
296
|
-
def initialize(**args)
|
297
|
-
update!(**args)
|
298
|
-
end
|
299
|
-
|
300
|
-
# Update properties of this object
|
301
|
-
def update!(**args)
|
302
|
-
@type = args[:type] if args.key?(:type)
|
303
|
-
@value = args[:value] if args.key?(:value)
|
304
|
-
end
|
305
|
-
end
|
306
|
-
|
307
|
-
# This is a single score for a given span of text.
|
308
|
-
class SpanScore
|
309
|
-
include Google::Apis::Core::Hashable
|
310
|
-
|
311
|
-
# "begin" and "end" describe the span of the original text that the attribute
|
312
|
-
# score applies to. The values are the UTF-16 codepoint range. "end" is
|
313
|
-
# exclusive. For example, with the text "Hi there", the begin/end pair (0,2)
|
314
|
-
# describes the text "Hi".
|
315
|
-
# If "begin" and "end" are unset, the score applies to the full text.
|
316
|
-
# Corresponds to the JSON property `begin`
|
317
|
-
# @return [Fixnum]
|
318
|
-
attr_accessor :begin
|
319
|
-
|
320
|
-
#
|
321
|
-
# Corresponds to the JSON property `end`
|
322
|
-
# @return [Fixnum]
|
323
|
-
attr_accessor :end
|
324
|
-
|
325
|
-
# Analysis scores are described by a value and a ScoreType.
|
326
|
-
# Corresponds to the JSON property `score`
|
327
|
-
# @return [Google::Apis::CommentanalyzerV1alpha1::Score]
|
328
|
-
attr_accessor :score
|
329
|
-
|
330
|
-
def initialize(**args)
|
331
|
-
update!(**args)
|
332
|
-
end
|
333
|
-
|
334
|
-
# Update properties of this object
|
335
|
-
def update!(**args)
|
336
|
-
@begin = args[:begin] if args.key?(:begin)
|
337
|
-
@end = args[:end] if args.key?(:end)
|
338
|
-
@score = args[:score] if args.key?(:score)
|
339
|
-
end
|
340
|
-
end
|
341
|
-
|
342
|
-
# The comment score suggestion request message.
|
343
|
-
class SuggestCommentScoreRequest
|
344
|
-
include Google::Apis::Core::Hashable
|
345
|
-
|
346
|
-
# Attribute scores for the comment. The map keys are attribute names, same as
|
347
|
-
# the requested_attribute field in AnalyzeCommentRequest (for example
|
348
|
-
# "ATTACK_ON_AUTHOR", "INFLAMMATORY", etc.). This field has the same type as
|
349
|
-
# the `attribute_scores` field in AnalyzeCommentResponse.
|
350
|
-
# To specify an overall attribute score for the entire comment as a whole,
|
351
|
-
# use the `summary_score` field of the mapped AttributeScores object. To
|
352
|
-
# specify scores on specific subparts of the comment, use the `span_scores`
|
353
|
-
# field. All SpanScore objects must have begin and end fields set.
|
354
|
-
# All Score objects must be explicitly set (for binary classification, use
|
355
|
-
# the score values 0 and 1). If Score objects don't include a ScoreType,
|
356
|
-
# `PROBABILITY` is assumed.
|
357
|
-
# `attribute_scores` must not be empty. The mapped AttributeScores objects
|
358
|
-
# also must not be empty. An `INVALID_ARGUMENT` error is returned for all
|
359
|
-
# malformed requests.
|
360
|
-
# Corresponds to the JSON property `attributeScores`
|
361
|
-
# @return [Hash<String,Google::Apis::CommentanalyzerV1alpha1::AttributeScores>]
|
362
|
-
attr_accessor :attribute_scores
|
363
|
-
|
364
|
-
# Opaque token that is echoed from the request to the response.
|
365
|
-
# Corresponds to the JSON property `clientToken`
|
366
|
-
# @return [String]
|
367
|
-
attr_accessor :client_token
|
368
|
-
|
369
|
-
# Represents a body of text.
|
370
|
-
# Corresponds to the JSON property `comment`
|
371
|
-
# @return [Google::Apis::CommentanalyzerV1alpha1::TextEntry]
|
372
|
-
attr_accessor :comment
|
373
|
-
|
374
|
-
# Optional identifier associating this comment score suggestion with a
|
375
|
-
# particular sub-community. Different communities may have different norms
|
376
|
-
# and rules. Specifying this value enables training community-specific
|
377
|
-
# models.
|
378
|
-
# Corresponds to the JSON property `communityId`
|
379
|
-
# @return [String]
|
380
|
-
attr_accessor :community_id
|
381
|
-
|
382
|
-
# Context is typically something that a Comment is referencing or replying to
|
383
|
-
# (such as an article, or previous comment).
|
384
|
-
# Note: Populate only ONE OF the following fields. The oneof syntax cannot be
|
385
|
-
# used because that would require nesting entries inside another message and
|
386
|
-
# breaking backwards compatibility. The server will return an error if more
|
387
|
-
# than one of the following fields is present.
|
388
|
-
# Corresponds to the JSON property `context`
|
389
|
-
# @return [Google::Apis::CommentanalyzerV1alpha1::Context]
|
390
|
-
attr_accessor :context
|
391
|
-
|
392
|
-
# The language(s) of the comment and context. If none are specified, we
|
393
|
-
# attempt to automatically detect the language. Both ISO and BCP-47 language
|
394
|
-
# codes are accepted.
|
395
|
-
# Corresponds to the JSON property `languages`
|
396
|
-
# @return [Array<String>]
|
397
|
-
attr_accessor :languages
|
398
|
-
|
399
|
-
# Session ID. Used to join related RPCs into a single session. For example,
|
400
|
-
# an interactive tool that calls both the AnalyzeComment and
|
401
|
-
# SuggestCommentScore RPCs should set all invocations of both RPCs to the
|
402
|
-
# same Session ID, typically a random 64-bit integer.
|
403
|
-
# Corresponds to the JSON property `sessionId`
|
404
|
-
# @return [String]
|
405
|
-
attr_accessor :session_id
|
406
|
-
|
407
|
-
def initialize(**args)
|
408
|
-
update!(**args)
|
409
|
-
end
|
410
|
-
|
411
|
-
# Update properties of this object
|
412
|
-
def update!(**args)
|
413
|
-
@attribute_scores = args[:attribute_scores] if args.key?(:attribute_scores)
|
414
|
-
@client_token = args[:client_token] if args.key?(:client_token)
|
415
|
-
@comment = args[:comment] if args.key?(:comment)
|
416
|
-
@community_id = args[:community_id] if args.key?(:community_id)
|
417
|
-
@context = args[:context] if args.key?(:context)
|
418
|
-
@languages = args[:languages] if args.key?(:languages)
|
419
|
-
@session_id = args[:session_id] if args.key?(:session_id)
|
420
|
-
end
|
421
|
-
end
|
422
|
-
|
423
|
-
# The comment score suggestion response message.
|
424
|
-
class SuggestCommentScoreResponse
|
425
|
-
include Google::Apis::Core::Hashable
|
426
|
-
|
427
|
-
# Same token from the original SuggestCommentScoreRequest.
|
428
|
-
# Corresponds to the JSON property `clientToken`
|
429
|
-
# @return [String]
|
430
|
-
attr_accessor :client_token
|
431
|
-
|
432
|
-
# The list of languages detected from the comment text.
|
433
|
-
# Corresponds to the JSON property `detectedLanguages`
|
434
|
-
# @return [Array<String>]
|
435
|
-
attr_accessor :detected_languages
|
436
|
-
|
437
|
-
# The list of languages provided in the request.
|
438
|
-
# Corresponds to the JSON property `requestedLanguages`
|
439
|
-
# @return [Array<String>]
|
440
|
-
attr_accessor :requested_languages
|
441
|
-
|
442
|
-
def initialize(**args)
|
443
|
-
update!(**args)
|
444
|
-
end
|
445
|
-
|
446
|
-
# Update properties of this object
|
447
|
-
def update!(**args)
|
448
|
-
@client_token = args[:client_token] if args.key?(:client_token)
|
449
|
-
@detected_languages = args[:detected_languages] if args.key?(:detected_languages)
|
450
|
-
@requested_languages = args[:requested_languages] if args.key?(:requested_languages)
|
451
|
-
end
|
452
|
-
end
|
453
|
-
|
454
|
-
# Represents a body of text.
|
455
|
-
class TextEntry
|
456
|
-
include Google::Apis::Core::Hashable
|
457
|
-
|
458
|
-
# UTF-8 encoded text.
|
459
|
-
# Corresponds to the JSON property `text`
|
460
|
-
# @return [String]
|
461
|
-
attr_accessor :text
|
462
|
-
|
463
|
-
# Type of the text field.
|
464
|
-
# Corresponds to the JSON property `type`
|
465
|
-
# @return [String]
|
466
|
-
attr_accessor :type
|
467
|
-
|
468
|
-
def initialize(**args)
|
469
|
-
update!(**args)
|
470
|
-
end
|
471
|
-
|
472
|
-
# Update properties of this object
|
473
|
-
def update!(**args)
|
474
|
-
@text = args[:text] if args.key?(:text)
|
475
|
-
@type = args[:type] if args.key?(:type)
|
476
|
-
end
|
477
|
-
end
|
478
|
-
end
|
479
|
-
end
|
480
|
-
end
|