google-api-client 0.12.0 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/api_names.yaml +945 -41609
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +12 -12
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +2 -2
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1437 -412
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +516 -71
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +1098 -422
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +6 -6
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +3 -3
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +3 -3
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +10 -10
- data/generated/google/apis/admin_directory_v1/service.rb +26 -26
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
- data/generated/google/apis/adsense_v1_4/representations.rb +3 -3
- data/generated/google/apis/adsense_v1_4/service.rb +44 -44
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +22 -22
- data/generated/google/apis/analytics_v3/classes.rb +3 -3
- data/generated/google/apis/analytics_v3/representations.rb +3 -3
- data/generated/google/apis/analytics_v3/service.rb +82 -82
- data/generated/google/apis/analyticsreporting_v4/classes.rb +937 -937
- data/generated/google/apis/analyticsreporting_v4/representations.rb +128 -128
- data/generated/google/apis/analyticsreporting_v4/service.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +10 -10
- data/generated/google/apis/androidenterprise_v1/representations.rb +20 -20
- data/generated/google/apis/androidenterprise_v1/service.rb +43 -43
- data/generated/google/apis/androidpublisher_v2/classes.rb +26 -26
- data/generated/google/apis/androidpublisher_v2/representations.rb +46 -46
- data/generated/google/apis/androidpublisher_v2/service.rb +95 -95
- data/generated/google/apis/appengine_v1.rb +4 -4
- data/generated/google/apis/appengine_v1/classes.rb +1570 -1512
- data/generated/google/apis/appengine_v1/representations.rb +362 -343
- data/generated/google/apis/appengine_v1/service.rb +220 -220
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +5 -5
- data/generated/google/apis/bigquery_v2/representations.rb +8 -8
- data/generated/google/apis/bigquery_v2/service.rb +13 -13
- data/generated/google/apis/blogger_v3/service.rb +3 -3
- data/generated/google/apis/books_v1/classes.rb +55 -55
- data/generated/google/apis/books_v1/representations.rb +67 -67
- data/generated/google/apis/books_v1/service.rb +82 -82
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +6 -6
- data/generated/google/apis/calendar_v3/representations.rb +3 -3
- data/generated/google/apis/calendar_v3/service.rb +2 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +2 -2
- data/generated/google/apis/civicinfo_v2/representations.rb +4 -4
- data/generated/google/apis/civicinfo_v2/service.rb +12 -12
- data/generated/google/apis/classroom_v1.rb +7 -7
- data/generated/google/apis/classroom_v1/classes.rb +1013 -991
- data/generated/google/apis/classroom_v1/representations.rb +207 -204
- data/generated/google/apis/classroom_v1/service.rb +709 -709
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +307 -307
- data/generated/google/apis/cloudbuild_v1/representations.rb +84 -84
- data/generated/google/apis/cloudbuild_v1/service.rb +125 -125
- data/generated/google/apis/clouddebugger_v2/classes.rb +673 -673
- data/generated/google/apis/clouddebugger_v2/representations.rb +152 -152
- data/generated/google/apis/clouddebugger_v2/service.rb +55 -55
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +121 -121
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +25 -25
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +74 -74
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +668 -613
- data/generated/google/apis/cloudkms_v1/representations.rb +151 -133
- data/generated/google/apis/cloudkms_v1/service.rb +267 -267
- data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1167 -1168
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +193 -193
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +470 -469
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +508 -509
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +94 -94
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +157 -156
- data/generated/google/apis/cloudtrace_v1/service.rb +34 -34
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +163 -15
- data/generated/google/apis/compute_beta/representations.rb +54 -14
- data/generated/google/apis/compute_beta/service.rb +2258 -482
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +465 -13
- data/generated/google/apis/compute_v1/representations.rb +202 -16
- data/generated/google/apis/compute_v1/service.rb +573 -309
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +635 -589
- data/generated/google/apis/container_v1/representations.rb +139 -111
- data/generated/google/apis/container_v1/service.rb +272 -227
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +86 -74
- data/generated/google/apis/content_v2/representations.rb +107 -105
- data/generated/google/apis/content_v2/service.rb +131 -130
- data/generated/google/apis/customsearch_v1.rb +2 -2
- data/generated/google/apis/customsearch_v1/classes.rb +0 -6
- data/generated/google/apis/customsearch_v1/representations.rb +0 -1
- data/generated/google/apis/customsearch_v1/service.rb +2 -5
- data/generated/google/apis/dataflow_v1b3.rb +7 -4
- data/generated/google/apis/dataflow_v1b3/classes.rb +3405 -3405
- data/generated/google/apis/dataflow_v1b3/representations.rb +834 -834
- data/generated/google/apis/dataflow_v1b3/service.rb +244 -244
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +543 -691
- data/generated/google/apis/dataproc_v1/representations.rb +129 -185
- data/generated/google/apis/dataproc_v1/service.rb +347 -347
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +833 -833
- data/generated/google/apis/datastore_v1/representations.rb +182 -182
- data/generated/google/apis/datastore_v1/service.rb +45 -45
- data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
- data/generated/google/apis/deploymentmanager_v2/representations.rb +10 -10
- data/generated/google/apis/deploymentmanager_v2/service.rb +20 -20
- data/generated/google/apis/discovery_v1/classes.rb +4 -4
- data/generated/google/apis/discovery_v1/representations.rb +2 -2
- data/generated/google/apis/discovery_v1/service.rb +1 -1
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +3 -3
- data/generated/google/apis/dns_v1/representations.rb +6 -6
- data/generated/google/apis/dns_v1/service.rb +12 -12
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -8
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +160 -110
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +60 -31
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +38 -3
- data/generated/google/apis/firebaserules_v1/classes.rb +354 -354
- data/generated/google/apis/firebaserules_v1/representations.rb +87 -87
- data/generated/google/apis/firebaserules_v1/service.rb +103 -103
- data/generated/google/apis/fusiontables_v2/service.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration/representations.rb +4 -4
- data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +23 -23
- data/generated/google/apis/games_v1/representations.rb +43 -43
- data/generated/google/apis/games_v1/service.rb +72 -72
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +2316 -2316
- data/generated/google/apis/genomics_v1/representations.rb +291 -291
- data/generated/google/apis/genomics_v1/service.rb +821 -821
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/groupsmigration_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +2 -2
- data/generated/google/apis/groupssettings_v1/service.rb +3 -0
- data/generated/google/apis/iam_v1/classes.rb +338 -338
- data/generated/google/apis/iam_v1/representations.rb +98 -98
- data/generated/google/apis/iam_v1/service.rb +35 -35
- data/generated/google/apis/identitytoolkit_v3/classes.rb +15 -15
- data/generated/google/apis/identitytoolkit_v3/representations.rb +30 -30
- data/generated/google/apis/identitytoolkit_v3/service.rb +64 -64
- data/generated/google/apis/kgsearch_v1/service.rb +13 -13
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +374 -374
- data/generated/google/apis/language_v1/representations.rb +97 -97
- data/generated/google/apis/language_v1/service.rb +16 -16
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +441 -441
- data/generated/google/apis/language_v1beta1/representations.rb +108 -108
- data/generated/google/apis/language_v1beta1/service.rb +30 -30
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +712 -712
- data/generated/google/apis/logging_v2/representations.rb +109 -109
- data/generated/google/apis/logging_v2/service.rb +543 -539
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +752 -752
- data/generated/google/apis/logging_v2beta1/representations.rb +94 -94
- data/generated/google/apis/logging_v2beta1/service.rb +257 -256
- data/generated/google/apis/manufacturers_v1/classes.rb +130 -130
- data/generated/google/apis/manufacturers_v1/representations.rb +28 -28
- data/generated/google/apis/mirror_v1/classes.rb +5 -5
- data/generated/google/apis/mirror_v1/representations.rb +10 -10
- data/generated/google/apis/mirror_v1/service.rb +20 -20
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1830 -1210
- data/generated/google/apis/ml_v1/representations.rb +342 -120
- data/generated/google/apis/ml_v1/service.rb +365 -258
- data/generated/google/apis/monitoring_v3.rb +4 -4
- data/generated/google/apis/monitoring_v3/classes.rb +889 -889
- data/generated/google/apis/monitoring_v3/representations.rb +174 -174
- data/generated/google/apis/monitoring_v3/service.rb +119 -119
- data/generated/google/apis/mybusiness_v3/service.rb +5 -5
- data/generated/google/apis/oauth2_v2/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/classes.rb +11 -11
- data/generated/google/apis/pagespeedonline_v2/representations.rb +13 -13
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +550 -536
- data/generated/google/apis/partners_v2/representations.rb +118 -116
- data/generated/google/apis/partners_v2/service.rb +439 -439
- data/generated/google/apis/people_v1.rb +4 -4
- data/generated/google/apis/people_v1/classes.rb +414 -413
- data/generated/google/apis/people_v1/representations.rb +85 -85
- data/generated/google/apis/people_v1/service.rb +111 -18
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +4 -4
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/plus_v1/service.rb +1 -1
- data/generated/google/apis/prediction_v1_6/service.rb +8 -8
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +443 -443
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +92 -92
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +152 -152
- data/generated/google/apis/pubsub_v1/classes.rb +249 -249
- data/generated/google/apis/pubsub_v1/representations.rb +80 -80
- data/generated/google/apis/pubsub_v1/service.rb +415 -415
- data/generated/google/apis/qpx_express_v1/classes.rb +2 -2
- data/generated/google/apis/qpx_express_v1/representations.rb +4 -4
- data/generated/google/apis/qpx_express_v1/service.rb +8 -8
- data/generated/google/apis/replicapool_v1beta2/classes.rb +5 -5
- data/generated/google/apis/replicapool_v1beta2/representations.rb +10 -10
- data/generated/google/apis/replicapool_v1beta2/service.rb +21 -21
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -1
- data/generated/google/apis/resourceviews_v1beta2/classes.rb +5 -5
- data/generated/google/apis/resourceviews_v1beta2/representations.rb +10 -10
- data/generated/google/apis/resourceviews_v1beta2/service.rb +20 -20
- data/generated/google/apis/runtimeconfig_v1.rb +4 -4
- data/generated/google/apis/runtimeconfig_v1/classes.rb +15 -15
- data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
- data/generated/google/apis/runtimeconfig_v1/service.rb +4 -4
- data/generated/google/apis/script_v1.rb +17 -17
- data/generated/google/apis/script_v1/classes.rb +27 -27
- data/generated/google/apis/script_v1/representations.rb +5 -5
- data/generated/google/apis/script_v1/service.rb +4 -4
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +53 -53
- data/generated/google/apis/searchconsole_v1/representations.rb +23 -23
- data/generated/google/apis/searchconsole_v1/service.rb +4 -4
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +1175 -1175
- data/generated/google/apis/servicecontrol_v1/representations.rb +206 -206
- data/generated/google/apis/servicecontrol_v1/service.rb +116 -116
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1186 -1125
- data/generated/google/apis/servicemanagement_v1/representations.rb +241 -223
- data/generated/google/apis/servicemanagement_v1/service.rb +201 -201
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +2645 -2641
- data/generated/google/apis/serviceuser_v1/representations.rb +234 -234
- data/generated/google/apis/serviceuser_v1/service.rb +37 -37
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +5042 -4111
- data/generated/google/apis/sheets_v4/representations.rb +994 -824
- data/generated/google/apis/sheets_v4/service.rb +80 -80
- data/generated/google/apis/site_verification_v1/classes.rb +6 -6
- data/generated/google/apis/site_verification_v1/representations.rb +8 -8
- data/generated/google/apis/site_verification_v1/service.rb +12 -12
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +2885 -2885
- data/generated/google/apis/slides_v1/representations.rb +310 -310
- data/generated/google/apis/slides_v1/service.rb +54 -54
- data/generated/google/apis/sourcerepo_v1/classes.rb +206 -206
- data/generated/google/apis/sourcerepo_v1/representations.rb +52 -52
- data/generated/google/apis/sourcerepo_v1/service.rb +5 -5
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +2142 -2141
- data/generated/google/apis/spanner_v1/representations.rb +174 -174
- data/generated/google/apis/spanner_v1/service.rb +497 -497
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +227 -227
- data/generated/google/apis/speech_v1beta1/representations.rb +50 -50
- data/generated/google/apis/speech_v1beta1/service.rb +33 -33
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +21 -21
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +29 -29
- data/generated/google/apis/sqladmin_v1beta4/service.rb +56 -56
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +40 -6
- data/generated/google/apis/storage_v1/representations.rb +20 -4
- data/generated/google/apis/storage_v1/service.rb +61 -46
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +184 -184
- data/generated/google/apis/storagetransfer_v1/representations.rb +35 -35
- data/generated/google/apis/storagetransfer_v1/service.rb +70 -70
- data/generated/google/apis/tagmanager_v1/service.rb +33 -33
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/translate_v2/classes.rb +12 -12
- data/generated/google/apis/translate_v2/representations.rb +10 -10
- data/generated/google/apis/translate_v2/service.rb +62 -62
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1267 -1267
- data/generated/google/apis/vision_v1/representations.rb +200 -200
- data/generated/google/apis/vision_v1/service.rb +10 -10
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/webmasters_v3/classes.rb +4 -4
- data/generated/google/apis/webmasters_v3/representations.rb +8 -8
- data/generated/google/apis/webmasters_v3/service.rb +21 -21
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +2 -2
- data/generated/google/apis/youtube_analytics_v1/representations.rb +4 -4
- data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
- data/generated/google/apis/youtube_v3/classes.rb +20 -20
- data/generated/google/apis/youtube_v3/representations.rb +40 -40
- data/generated/google/apis/youtube_v3/service.rb +80 -80
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +129 -129
- data/generated/google/apis/youtubereporting_v1/representations.rb +38 -38
- data/generated/google/apis/youtubereporting_v1/service.rb +97 -97
- data/lib/google/apis/generator/annotator.rb +2 -2
- data/lib/google/apis/generator/model.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
|
@@ -22,282 +22,350 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module VisionV1
|
|
24
24
|
|
|
25
|
-
class
|
|
25
|
+
class DominantColorsAnnotation
|
|
26
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
27
|
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
|
29
29
|
end
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class TextAnnotation
|
|
32
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
33
|
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
|
35
35
|
end
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class Vertex
|
|
38
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
39
39
|
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
|
41
41
|
end
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class DetectedLanguage
|
|
44
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
45
|
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
|
47
47
|
end
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class TextProperty
|
|
50
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
51
|
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
|
53
53
|
end
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class BoundingPoly
|
|
56
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
57
|
|
|
58
58
|
include Google::Apis::Core::JsonObjectSupport
|
|
59
59
|
end
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class WebEntity
|
|
62
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
63
|
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
|
65
65
|
end
|
|
66
66
|
|
|
67
|
-
class
|
|
67
|
+
class AnnotateImageResponse
|
|
68
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
69
|
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
|
71
71
|
end
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class CropHintsParams
|
|
74
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
75
|
|
|
76
76
|
include Google::Apis::Core::JsonObjectSupport
|
|
77
77
|
end
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Block
|
|
80
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
81
|
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
|
83
83
|
end
|
|
84
84
|
|
|
85
|
-
class
|
|
85
|
+
class Property
|
|
86
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
87
|
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
|
89
89
|
end
|
|
90
90
|
|
|
91
|
-
class
|
|
91
|
+
class LocationInfo
|
|
92
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
93
|
|
|
94
94
|
include Google::Apis::Core::JsonObjectSupport
|
|
95
95
|
end
|
|
96
96
|
|
|
97
|
-
class
|
|
97
|
+
class ImageSource
|
|
98
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
99
|
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
|
101
101
|
end
|
|
102
102
|
|
|
103
|
-
class
|
|
103
|
+
class BatchAnnotateImagesResponse
|
|
104
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
105
105
|
|
|
106
106
|
include Google::Apis::Core::JsonObjectSupport
|
|
107
107
|
end
|
|
108
108
|
|
|
109
|
-
class
|
|
109
|
+
class WebDetection
|
|
110
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
111
111
|
|
|
112
112
|
include Google::Apis::Core::JsonObjectSupport
|
|
113
113
|
end
|
|
114
114
|
|
|
115
|
-
class
|
|
115
|
+
class Position
|
|
116
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
117
117
|
|
|
118
118
|
include Google::Apis::Core::JsonObjectSupport
|
|
119
119
|
end
|
|
120
120
|
|
|
121
|
-
class
|
|
121
|
+
class WebPage
|
|
122
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
123
123
|
|
|
124
124
|
include Google::Apis::Core::JsonObjectSupport
|
|
125
125
|
end
|
|
126
126
|
|
|
127
|
-
class
|
|
127
|
+
class ColorInfo
|
|
128
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
129
129
|
|
|
130
130
|
include Google::Apis::Core::JsonObjectSupport
|
|
131
131
|
end
|
|
132
132
|
|
|
133
|
-
class
|
|
133
|
+
class EntityAnnotation
|
|
134
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
135
135
|
|
|
136
136
|
include Google::Apis::Core::JsonObjectSupport
|
|
137
137
|
end
|
|
138
138
|
|
|
139
|
-
class
|
|
139
|
+
class CropHint
|
|
140
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
141
141
|
|
|
142
142
|
include Google::Apis::Core::JsonObjectSupport
|
|
143
143
|
end
|
|
144
144
|
|
|
145
|
-
class
|
|
145
|
+
class Landmark
|
|
146
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
147
147
|
|
|
148
148
|
include Google::Apis::Core::JsonObjectSupport
|
|
149
149
|
end
|
|
150
150
|
|
|
151
|
-
class
|
|
151
|
+
class WebImage
|
|
152
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
153
153
|
|
|
154
154
|
include Google::Apis::Core::JsonObjectSupport
|
|
155
155
|
end
|
|
156
156
|
|
|
157
|
-
class
|
|
157
|
+
class Word
|
|
158
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
159
159
|
|
|
160
160
|
include Google::Apis::Core::JsonObjectSupport
|
|
161
161
|
end
|
|
162
162
|
|
|
163
|
-
class
|
|
163
|
+
class Paragraph
|
|
164
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
165
165
|
|
|
166
166
|
include Google::Apis::Core::JsonObjectSupport
|
|
167
167
|
end
|
|
168
168
|
|
|
169
|
-
class
|
|
169
|
+
class Image
|
|
170
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
171
171
|
|
|
172
172
|
include Google::Apis::Core::JsonObjectSupport
|
|
173
173
|
end
|
|
174
174
|
|
|
175
|
-
class
|
|
175
|
+
class FaceAnnotation
|
|
176
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
177
177
|
|
|
178
178
|
include Google::Apis::Core::JsonObjectSupport
|
|
179
179
|
end
|
|
180
180
|
|
|
181
|
-
class
|
|
181
|
+
class BatchAnnotateImagesRequest
|
|
182
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
183
183
|
|
|
184
184
|
include Google::Apis::Core::JsonObjectSupport
|
|
185
185
|
end
|
|
186
186
|
|
|
187
|
-
class
|
|
187
|
+
class DetectedBreak
|
|
188
188
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
189
189
|
|
|
190
190
|
include Google::Apis::Core::JsonObjectSupport
|
|
191
191
|
end
|
|
192
192
|
|
|
193
|
-
class
|
|
193
|
+
class ImageContext
|
|
194
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
195
195
|
|
|
196
196
|
include Google::Apis::Core::JsonObjectSupport
|
|
197
197
|
end
|
|
198
198
|
|
|
199
|
-
class
|
|
199
|
+
class Page
|
|
200
200
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
201
201
|
|
|
202
202
|
include Google::Apis::Core::JsonObjectSupport
|
|
203
203
|
end
|
|
204
204
|
|
|
205
|
-
class
|
|
205
|
+
class AnnotateImageRequest
|
|
206
206
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
207
207
|
|
|
208
208
|
include Google::Apis::Core::JsonObjectSupport
|
|
209
209
|
end
|
|
210
210
|
|
|
211
|
-
class
|
|
211
|
+
class Status
|
|
212
212
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
213
213
|
|
|
214
214
|
include Google::Apis::Core::JsonObjectSupport
|
|
215
215
|
end
|
|
216
216
|
|
|
217
|
-
class
|
|
217
|
+
class Symbol
|
|
218
218
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
219
219
|
|
|
220
220
|
include Google::Apis::Core::JsonObjectSupport
|
|
221
221
|
end
|
|
222
222
|
|
|
223
|
-
class
|
|
223
|
+
class LatLongRect
|
|
224
224
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
225
225
|
|
|
226
226
|
include Google::Apis::Core::JsonObjectSupport
|
|
227
227
|
end
|
|
228
228
|
|
|
229
|
-
class
|
|
229
|
+
class CropHintsAnnotation
|
|
230
230
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
231
231
|
|
|
232
232
|
include Google::Apis::Core::JsonObjectSupport
|
|
233
233
|
end
|
|
234
234
|
|
|
235
|
-
class
|
|
235
|
+
class LatLng
|
|
236
236
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
237
237
|
|
|
238
238
|
include Google::Apis::Core::JsonObjectSupport
|
|
239
239
|
end
|
|
240
240
|
|
|
241
|
-
class
|
|
241
|
+
class Color
|
|
242
242
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
243
243
|
|
|
244
244
|
include Google::Apis::Core::JsonObjectSupport
|
|
245
245
|
end
|
|
246
246
|
|
|
247
|
-
class
|
|
247
|
+
class ImageProperties
|
|
248
248
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
249
249
|
|
|
250
250
|
include Google::Apis::Core::JsonObjectSupport
|
|
251
251
|
end
|
|
252
252
|
|
|
253
|
-
class
|
|
253
|
+
class Feature
|
|
254
254
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
255
255
|
|
|
256
256
|
include Google::Apis::Core::JsonObjectSupport
|
|
257
257
|
end
|
|
258
258
|
|
|
259
|
-
class
|
|
259
|
+
class SafeSearchAnnotation
|
|
260
260
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
261
261
|
|
|
262
262
|
include Google::Apis::Core::JsonObjectSupport
|
|
263
263
|
end
|
|
264
264
|
|
|
265
|
-
class
|
|
265
|
+
class DominantColorsAnnotation
|
|
266
266
|
# @private
|
|
267
267
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
268
|
-
collection :
|
|
268
|
+
collection :colors, as: 'colors', class: Google::Apis::VisionV1::ColorInfo, decorator: Google::Apis::VisionV1::ColorInfo::Representation
|
|
269
269
|
|
|
270
|
-
|
|
270
|
+
end
|
|
271
|
+
end
|
|
271
272
|
|
|
272
|
-
|
|
273
|
+
class TextAnnotation
|
|
274
|
+
# @private
|
|
275
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
276
|
+
collection :pages, as: 'pages', class: Google::Apis::VisionV1::Page, decorator: Google::Apis::VisionV1::Page::Representation
|
|
273
277
|
|
|
274
|
-
|
|
278
|
+
property :text, as: 'text'
|
|
279
|
+
end
|
|
280
|
+
end
|
|
275
281
|
|
|
276
|
-
|
|
282
|
+
class Vertex
|
|
283
|
+
# @private
|
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
285
|
+
property :x, as: 'x'
|
|
286
|
+
property :y, as: 'y'
|
|
287
|
+
end
|
|
288
|
+
end
|
|
277
289
|
|
|
290
|
+
class DetectedLanguage
|
|
291
|
+
# @private
|
|
292
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
293
|
+
property :language_code, as: 'languageCode'
|
|
294
|
+
property :confidence, as: 'confidence'
|
|
278
295
|
end
|
|
279
296
|
end
|
|
280
297
|
|
|
281
|
-
class
|
|
298
|
+
class TextProperty
|
|
282
299
|
# @private
|
|
283
300
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
284
|
-
|
|
301
|
+
property :detected_break, as: 'detectedBreak', class: Google::Apis::VisionV1::DetectedBreak, decorator: Google::Apis::VisionV1::DetectedBreak::Representation
|
|
302
|
+
|
|
303
|
+
collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::VisionV1::DetectedLanguage, decorator: Google::Apis::VisionV1::DetectedLanguage::Representation
|
|
285
304
|
|
|
286
305
|
end
|
|
287
306
|
end
|
|
288
307
|
|
|
289
|
-
class
|
|
308
|
+
class BoundingPoly
|
|
290
309
|
# @private
|
|
291
310
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
292
|
-
|
|
293
|
-
|
|
311
|
+
collection :vertices, as: 'vertices', class: Google::Apis::VisionV1::Vertex, decorator: Google::Apis::VisionV1::Vertex::Representation
|
|
312
|
+
|
|
294
313
|
end
|
|
295
314
|
end
|
|
296
315
|
|
|
297
|
-
class
|
|
316
|
+
class WebEntity
|
|
298
317
|
# @private
|
|
299
318
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
300
|
-
property :
|
|
319
|
+
property :score, as: 'score'
|
|
320
|
+
property :entity_id, as: 'entityId'
|
|
321
|
+
property :description, as: 'description'
|
|
322
|
+
end
|
|
323
|
+
end
|
|
324
|
+
|
|
325
|
+
class AnnotateImageResponse
|
|
326
|
+
# @private
|
|
327
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
328
|
+
property :error, as: 'error', class: Google::Apis::VisionV1::Status, decorator: Google::Apis::VisionV1::Status::Representation
|
|
329
|
+
|
|
330
|
+
property :full_text_annotation, as: 'fullTextAnnotation', class: Google::Apis::VisionV1::TextAnnotation, decorator: Google::Apis::VisionV1::TextAnnotation::Representation
|
|
331
|
+
|
|
332
|
+
collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
|
|
333
|
+
|
|
334
|
+
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
|
|
335
|
+
|
|
336
|
+
collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VisionV1::FaceAnnotation, decorator: Google::Apis::VisionV1::FaceAnnotation::Representation
|
|
337
|
+
|
|
338
|
+
property :image_properties_annotation, as: 'imagePropertiesAnnotation', class: Google::Apis::VisionV1::ImageProperties, decorator: Google::Apis::VisionV1::ImageProperties::Representation
|
|
339
|
+
|
|
340
|
+
collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
|
|
341
|
+
|
|
342
|
+
property :crop_hints_annotation, as: 'cropHintsAnnotation', class: Google::Apis::VisionV1::CropHintsAnnotation, decorator: Google::Apis::VisionV1::CropHintsAnnotation::Representation
|
|
343
|
+
|
|
344
|
+
property :web_detection, as: 'webDetection', class: Google::Apis::VisionV1::WebDetection, decorator: Google::Apis::VisionV1::WebDetection::Representation
|
|
345
|
+
|
|
346
|
+
collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
|
|
347
|
+
|
|
348
|
+
property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1::SafeSearchAnnotation, decorator: Google::Apis::VisionV1::SafeSearchAnnotation::Representation
|
|
349
|
+
|
|
350
|
+
end
|
|
351
|
+
end
|
|
352
|
+
|
|
353
|
+
class CropHintsParams
|
|
354
|
+
# @private
|
|
355
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
356
|
+
collection :aspect_ratios, as: 'aspectRatios'
|
|
357
|
+
end
|
|
358
|
+
end
|
|
359
|
+
|
|
360
|
+
class Block
|
|
361
|
+
# @private
|
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
363
|
+
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
|
|
364
|
+
|
|
365
|
+
property :block_type, as: 'blockType'
|
|
366
|
+
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
|
367
|
+
|
|
368
|
+
collection :paragraphs, as: 'paragraphs', class: Google::Apis::VisionV1::Paragraph, decorator: Google::Apis::VisionV1::Paragraph::Representation
|
|
301
369
|
|
|
302
370
|
end
|
|
303
371
|
end
|
|
@@ -311,6 +379,46 @@ module Google
|
|
|
311
379
|
end
|
|
312
380
|
end
|
|
313
381
|
|
|
382
|
+
class LocationInfo
|
|
383
|
+
# @private
|
|
384
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
385
|
+
property :lat_lng, as: 'latLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
|
|
386
|
+
|
|
387
|
+
end
|
|
388
|
+
end
|
|
389
|
+
|
|
390
|
+
class ImageSource
|
|
391
|
+
# @private
|
|
392
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
393
|
+
property :gcs_image_uri, as: 'gcsImageUri'
|
|
394
|
+
property :image_uri, as: 'imageUri'
|
|
395
|
+
end
|
|
396
|
+
end
|
|
397
|
+
|
|
398
|
+
class BatchAnnotateImagesResponse
|
|
399
|
+
# @private
|
|
400
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
401
|
+
collection :responses, as: 'responses', class: Google::Apis::VisionV1::AnnotateImageResponse, decorator: Google::Apis::VisionV1::AnnotateImageResponse::Representation
|
|
402
|
+
|
|
403
|
+
end
|
|
404
|
+
end
|
|
405
|
+
|
|
406
|
+
class WebDetection
|
|
407
|
+
# @private
|
|
408
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
409
|
+
collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation
|
|
410
|
+
|
|
411
|
+
collection :web_entities, as: 'webEntities', class: Google::Apis::VisionV1::WebEntity, decorator: Google::Apis::VisionV1::WebEntity::Representation
|
|
412
|
+
|
|
413
|
+
collection :pages_with_matching_images, as: 'pagesWithMatchingImages', class: Google::Apis::VisionV1::WebPage, decorator: Google::Apis::VisionV1::WebPage::Representation
|
|
414
|
+
|
|
415
|
+
collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation
|
|
416
|
+
|
|
417
|
+
collection :visually_similar_images, as: 'visuallySimilarImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation
|
|
418
|
+
|
|
419
|
+
end
|
|
420
|
+
end
|
|
421
|
+
|
|
314
422
|
class Position
|
|
315
423
|
# @private
|
|
316
424
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -331,28 +439,28 @@ module Google
|
|
|
331
439
|
class ColorInfo
|
|
332
440
|
# @private
|
|
333
441
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
442
|
+
property :score, as: 'score'
|
|
334
443
|
property :pixel_fraction, as: 'pixelFraction'
|
|
335
444
|
property :color, as: 'color', class: Google::Apis::VisionV1::Color, decorator: Google::Apis::VisionV1::Color::Representation
|
|
336
445
|
|
|
337
|
-
property :score, as: 'score'
|
|
338
446
|
end
|
|
339
447
|
end
|
|
340
448
|
|
|
341
449
|
class EntityAnnotation
|
|
342
450
|
# @private
|
|
343
451
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
344
|
-
collection :properties, as: 'properties', class: Google::Apis::VisionV1::Property, decorator: Google::Apis::VisionV1::Property::Representation
|
|
345
|
-
|
|
346
|
-
property :score, as: 'score'
|
|
347
|
-
collection :locations, as: 'locations', class: Google::Apis::VisionV1::LocationInfo, decorator: Google::Apis::VisionV1::LocationInfo::Representation
|
|
348
|
-
|
|
349
452
|
property :mid, as: 'mid'
|
|
350
453
|
property :confidence, as: 'confidence'
|
|
351
454
|
property :locale, as: 'locale'
|
|
352
455
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
|
353
456
|
|
|
354
|
-
property :topicality, as: 'topicality'
|
|
355
457
|
property :description, as: 'description'
|
|
458
|
+
property :topicality, as: 'topicality'
|
|
459
|
+
collection :properties, as: 'properties', class: Google::Apis::VisionV1::Property, decorator: Google::Apis::VisionV1::Property::Representation
|
|
460
|
+
|
|
461
|
+
property :score, as: 'score'
|
|
462
|
+
collection :locations, as: 'locations', class: Google::Apis::VisionV1::LocationInfo, decorator: Google::Apis::VisionV1::LocationInfo::Representation
|
|
463
|
+
|
|
356
464
|
end
|
|
357
465
|
end
|
|
358
466
|
|
|
@@ -369,9 +477,9 @@ module Google
|
|
|
369
477
|
class Landmark
|
|
370
478
|
# @private
|
|
371
479
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
480
|
+
property :type, as: 'type'
|
|
372
481
|
property :position, as: 'position', class: Google::Apis::VisionV1::Position, decorator: Google::Apis::VisionV1::Position::Representation
|
|
373
482
|
|
|
374
|
-
property :type, as: 'type'
|
|
375
483
|
end
|
|
376
484
|
end
|
|
377
485
|
|
|
@@ -386,24 +494,24 @@ module Google
|
|
|
386
494
|
class Word
|
|
387
495
|
# @private
|
|
388
496
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
389
|
-
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
|
|
390
|
-
|
|
391
497
|
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
|
392
498
|
|
|
393
499
|
collection :symbols, as: 'symbols', class: Google::Apis::VisionV1::Symbol, decorator: Google::Apis::VisionV1::Symbol::Representation
|
|
394
500
|
|
|
501
|
+
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
|
|
502
|
+
|
|
395
503
|
end
|
|
396
504
|
end
|
|
397
505
|
|
|
398
506
|
class Paragraph
|
|
399
507
|
# @private
|
|
400
508
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
509
|
+
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
|
|
510
|
+
|
|
401
511
|
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
|
402
512
|
|
|
403
513
|
collection :words, as: 'words', class: Google::Apis::VisionV1::Word, decorator: Google::Apis::VisionV1::Word::Representation
|
|
404
514
|
|
|
405
|
-
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
|
|
406
|
-
|
|
407
515
|
end
|
|
408
516
|
end
|
|
409
517
|
|
|
@@ -419,6 +527,13 @@ module Google
|
|
|
419
527
|
class FaceAnnotation
|
|
420
528
|
# @private
|
|
421
529
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
530
|
+
property :tilt_angle, as: 'tiltAngle'
|
|
531
|
+
property :fd_bounding_poly, as: 'fdBoundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
|
532
|
+
|
|
533
|
+
property :surprise_likelihood, as: 'surpriseLikelihood'
|
|
534
|
+
collection :landmarks, as: 'landmarks', class: Google::Apis::VisionV1::Landmark, decorator: Google::Apis::VisionV1::Landmark::Representation
|
|
535
|
+
|
|
536
|
+
property :anger_likelihood, as: 'angerLikelihood'
|
|
422
537
|
property :joy_likelihood, as: 'joyLikelihood'
|
|
423
538
|
property :landmarking_confidence, as: 'landmarkingConfidence'
|
|
424
539
|
property :detection_confidence, as: 'detectionConfidence'
|
|
@@ -430,13 +545,6 @@ module Google
|
|
|
430
545
|
|
|
431
546
|
property :roll_angle, as: 'rollAngle'
|
|
432
547
|
property :sorrow_likelihood, as: 'sorrowLikelihood'
|
|
433
|
-
property :tilt_angle, as: 'tiltAngle'
|
|
434
|
-
property :fd_bounding_poly, as: 'fdBoundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
|
435
|
-
|
|
436
|
-
property :anger_likelihood, as: 'angerLikelihood'
|
|
437
|
-
collection :landmarks, as: 'landmarks', class: Google::Apis::VisionV1::Landmark, decorator: Google::Apis::VisionV1::Landmark::Representation
|
|
438
|
-
|
|
439
|
-
property :surprise_likelihood, as: 'surpriseLikelihood'
|
|
440
548
|
end
|
|
441
549
|
end
|
|
442
550
|
|
|
@@ -459,65 +567,65 @@ module Google
|
|
|
459
567
|
class ImageContext
|
|
460
568
|
# @private
|
|
461
569
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
570
|
+
collection :language_hints, as: 'languageHints'
|
|
462
571
|
property :lat_long_rect, as: 'latLongRect', class: Google::Apis::VisionV1::LatLongRect, decorator: Google::Apis::VisionV1::LatLongRect::Representation
|
|
463
572
|
|
|
464
573
|
property :crop_hints_params, as: 'cropHintsParams', class: Google::Apis::VisionV1::CropHintsParams, decorator: Google::Apis::VisionV1::CropHintsParams::Representation
|
|
465
574
|
|
|
466
|
-
collection :language_hints, as: 'languageHints'
|
|
467
575
|
end
|
|
468
576
|
end
|
|
469
577
|
|
|
470
578
|
class Page
|
|
471
579
|
# @private
|
|
472
580
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
581
|
+
property :height, as: 'height'
|
|
473
582
|
property :width, as: 'width'
|
|
474
583
|
collection :blocks, as: 'blocks', class: Google::Apis::VisionV1::Block, decorator: Google::Apis::VisionV1::Block::Representation
|
|
475
584
|
|
|
476
585
|
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
|
|
477
586
|
|
|
478
|
-
property :height, as: 'height'
|
|
479
587
|
end
|
|
480
588
|
end
|
|
481
589
|
|
|
482
590
|
class AnnotateImageRequest
|
|
483
591
|
# @private
|
|
484
592
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
485
|
-
property :image_context, as: 'imageContext', class: Google::Apis::VisionV1::ImageContext, decorator: Google::Apis::VisionV1::ImageContext::Representation
|
|
486
|
-
|
|
487
593
|
property :image, as: 'image', class: Google::Apis::VisionV1::Image, decorator: Google::Apis::VisionV1::Image::Representation
|
|
488
594
|
|
|
489
595
|
collection :features, as: 'features', class: Google::Apis::VisionV1::Feature, decorator: Google::Apis::VisionV1::Feature::Representation
|
|
490
596
|
|
|
597
|
+
property :image_context, as: 'imageContext', class: Google::Apis::VisionV1::ImageContext, decorator: Google::Apis::VisionV1::ImageContext::Representation
|
|
598
|
+
|
|
491
599
|
end
|
|
492
600
|
end
|
|
493
601
|
|
|
494
602
|
class Status
|
|
495
603
|
# @private
|
|
496
604
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
605
|
+
collection :details, as: 'details'
|
|
497
606
|
property :code, as: 'code'
|
|
498
607
|
property :message, as: 'message'
|
|
499
|
-
collection :details, as: 'details'
|
|
500
608
|
end
|
|
501
609
|
end
|
|
502
610
|
|
|
503
|
-
class
|
|
611
|
+
class Symbol
|
|
504
612
|
# @private
|
|
505
613
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
506
|
-
property :
|
|
614
|
+
property :text, as: 'text'
|
|
615
|
+
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
|
|
507
616
|
|
|
508
|
-
property :
|
|
617
|
+
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
|
509
618
|
|
|
510
619
|
end
|
|
511
620
|
end
|
|
512
621
|
|
|
513
|
-
class
|
|
622
|
+
class LatLongRect
|
|
514
623
|
# @private
|
|
515
624
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
516
|
-
property :
|
|
625
|
+
property :min_lat_lng, as: 'minLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
|
|
517
626
|
|
|
518
|
-
property :
|
|
627
|
+
property :max_lat_lng, as: 'maxLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
|
|
519
628
|
|
|
520
|
-
property :text, as: 'text'
|
|
521
629
|
end
|
|
522
630
|
end
|
|
523
631
|
|
|
@@ -540,144 +648,36 @@ module Google
|
|
|
540
648
|
class Color
|
|
541
649
|
# @private
|
|
542
650
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
543
|
-
property :red, as: 'red'
|
|
544
651
|
property :green, as: 'green'
|
|
545
652
|
property :blue, as: 'blue'
|
|
546
653
|
property :alpha, as: 'alpha'
|
|
654
|
+
property :red, as: 'red'
|
|
547
655
|
end
|
|
548
656
|
end
|
|
549
657
|
|
|
550
|
-
class
|
|
658
|
+
class ImageProperties
|
|
551
659
|
# @private
|
|
552
660
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
553
|
-
property :
|
|
554
|
-
|
|
661
|
+
property :dominant_colors, as: 'dominantColors', class: Google::Apis::VisionV1::DominantColorsAnnotation, decorator: Google::Apis::VisionV1::DominantColorsAnnotation::Representation
|
|
662
|
+
|
|
555
663
|
end
|
|
556
664
|
end
|
|
557
665
|
|
|
558
|
-
class
|
|
666
|
+
class Feature
|
|
559
667
|
# @private
|
|
560
668
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
561
|
-
property :
|
|
562
|
-
|
|
669
|
+
property :type, as: 'type'
|
|
670
|
+
property :max_results, as: 'maxResults'
|
|
563
671
|
end
|
|
564
672
|
end
|
|
565
673
|
|
|
566
674
|
class SafeSearchAnnotation
|
|
567
675
|
# @private
|
|
568
676
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
677
|
+
property :medical, as: 'medical'
|
|
569
678
|
property :violence, as: 'violence'
|
|
570
679
|
property :adult, as: 'adult'
|
|
571
680
|
property :spoof, as: 'spoof'
|
|
572
|
-
property :medical, as: 'medical'
|
|
573
|
-
end
|
|
574
|
-
end
|
|
575
|
-
|
|
576
|
-
class DominantColorsAnnotation
|
|
577
|
-
# @private
|
|
578
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
579
|
-
collection :colors, as: 'colors', class: Google::Apis::VisionV1::ColorInfo, decorator: Google::Apis::VisionV1::ColorInfo::Representation
|
|
580
|
-
|
|
581
|
-
end
|
|
582
|
-
end
|
|
583
|
-
|
|
584
|
-
class TextAnnotation
|
|
585
|
-
# @private
|
|
586
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
587
|
-
collection :pages, as: 'pages', class: Google::Apis::VisionV1::Page, decorator: Google::Apis::VisionV1::Page::Representation
|
|
588
|
-
|
|
589
|
-
property :text, as: 'text'
|
|
590
|
-
end
|
|
591
|
-
end
|
|
592
|
-
|
|
593
|
-
class DetectedLanguage
|
|
594
|
-
# @private
|
|
595
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
596
|
-
property :language_code, as: 'languageCode'
|
|
597
|
-
property :confidence, as: 'confidence'
|
|
598
|
-
end
|
|
599
|
-
end
|
|
600
|
-
|
|
601
|
-
class Vertex
|
|
602
|
-
# @private
|
|
603
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
604
|
-
property :y, as: 'y'
|
|
605
|
-
property :x, as: 'x'
|
|
606
|
-
end
|
|
607
|
-
end
|
|
608
|
-
|
|
609
|
-
class WebEntity
|
|
610
|
-
# @private
|
|
611
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
612
|
-
property :description, as: 'description'
|
|
613
|
-
property :score, as: 'score'
|
|
614
|
-
property :entity_id, as: 'entityId'
|
|
615
|
-
end
|
|
616
|
-
end
|
|
617
|
-
|
|
618
|
-
class BoundingPoly
|
|
619
|
-
# @private
|
|
620
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
621
|
-
collection :vertices, as: 'vertices', class: Google::Apis::VisionV1::Vertex, decorator: Google::Apis::VisionV1::Vertex::Representation
|
|
622
|
-
|
|
623
|
-
end
|
|
624
|
-
end
|
|
625
|
-
|
|
626
|
-
class TextProperty
|
|
627
|
-
# @private
|
|
628
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
629
|
-
collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::VisionV1::DetectedLanguage, decorator: Google::Apis::VisionV1::DetectedLanguage::Representation
|
|
630
|
-
|
|
631
|
-
property :detected_break, as: 'detectedBreak', class: Google::Apis::VisionV1::DetectedBreak, decorator: Google::Apis::VisionV1::DetectedBreak::Representation
|
|
632
|
-
|
|
633
|
-
end
|
|
634
|
-
end
|
|
635
|
-
|
|
636
|
-
class AnnotateImageResponse
|
|
637
|
-
# @private
|
|
638
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
639
|
-
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
|
|
640
|
-
|
|
641
|
-
collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VisionV1::FaceAnnotation, decorator: Google::Apis::VisionV1::FaceAnnotation::Representation
|
|
642
|
-
|
|
643
|
-
property :image_properties_annotation, as: 'imagePropertiesAnnotation', class: Google::Apis::VisionV1::ImageProperties, decorator: Google::Apis::VisionV1::ImageProperties::Representation
|
|
644
|
-
|
|
645
|
-
collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
|
|
646
|
-
|
|
647
|
-
property :web_detection, as: 'webDetection', class: Google::Apis::VisionV1::WebDetection, decorator: Google::Apis::VisionV1::WebDetection::Representation
|
|
648
|
-
|
|
649
|
-
property :crop_hints_annotation, as: 'cropHintsAnnotation', class: Google::Apis::VisionV1::CropHintsAnnotation, decorator: Google::Apis::VisionV1::CropHintsAnnotation::Representation
|
|
650
|
-
|
|
651
|
-
property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1::SafeSearchAnnotation, decorator: Google::Apis::VisionV1::SafeSearchAnnotation::Representation
|
|
652
|
-
|
|
653
|
-
collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
|
|
654
|
-
|
|
655
|
-
property :error, as: 'error', class: Google::Apis::VisionV1::Status, decorator: Google::Apis::VisionV1::Status::Representation
|
|
656
|
-
|
|
657
|
-
property :full_text_annotation, as: 'fullTextAnnotation', class: Google::Apis::VisionV1::TextAnnotation, decorator: Google::Apis::VisionV1::TextAnnotation::Representation
|
|
658
|
-
|
|
659
|
-
collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
|
|
660
|
-
|
|
661
|
-
end
|
|
662
|
-
end
|
|
663
|
-
|
|
664
|
-
class CropHintsParams
|
|
665
|
-
# @private
|
|
666
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
667
|
-
collection :aspect_ratios, as: 'aspectRatios'
|
|
668
|
-
end
|
|
669
|
-
end
|
|
670
|
-
|
|
671
|
-
class Block
|
|
672
|
-
# @private
|
|
673
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
674
|
-
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
|
|
675
|
-
|
|
676
|
-
property :block_type, as: 'blockType'
|
|
677
|
-
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
|
678
|
-
|
|
679
|
-
collection :paragraphs, as: 'paragraphs', class: Google::Apis::VisionV1::Paragraph, decorator: Google::Apis::VisionV1::Paragraph::Representation
|
|
680
|
-
|
|
681
681
|
end
|
|
682
682
|
end
|
|
683
683
|
end
|