google-api-client 0.31.0 → 0.32.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.kokoro/continuous/linux.cfg +11 -1
- data/.kokoro/continuous/osx.cfg +5 -0
- data/.kokoro/continuous/windows.cfg +10 -0
- data/.kokoro/presubmit/linux.cfg +11 -1
- data/.kokoro/presubmit/osx.cfg +5 -0
- data/.kokoro/presubmit/windows.cfg +10 -0
- data/CHANGELOG.md +107 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +12 -1
- data/generated/google/apis/androidmanagement_v1/representations.rb +1 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +241 -0
- data/generated/google/apis/bigquery_v2/representations.rb +115 -0
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +62 -29
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +2 -2
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -26
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +7 -7
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +3 -3
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -175
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -65
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +0 -140
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +37 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +497 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +236 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +713 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +307 -0
- data/generated/google/apis/binaryauthorization_v1/representations.rb +88 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +230 -0
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +62 -29
- data/generated/google/apis/blogger_v3.rb +1 -1
- data/generated/google/apis/blogger_v3/service.rb +6 -6
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +72 -29
- data/generated/google/apis/cloudasset_v1/representations.rb +1 -0
- data/generated/google/apis/cloudasset_v1/service.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +62 -29
- data/generated/google/apis/cloudasset_v1beta1/service.rb +2 -2
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -2
- data/generated/google/apis/cloudfunctions_v1/service.rb +10 -7
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +7 -6
- data/generated/google/apis/cloudidentity_v1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +68 -35
- data/generated/google/apis/cloudiot_v1/service.rb +18 -17
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +77 -35
- data/generated/google/apis/cloudkms_v1/service.rb +33 -27
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +62 -29
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +354 -0
- data/generated/google/apis/cloudsearch_v1/representations.rb +196 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +314 -2
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +62 -29
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/service.rb +10 -10
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +3 -3
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +7 -10
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +38 -42
- data/generated/google/apis/compute_alpha/representations.rb +5 -16
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +10 -5
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1327 -4
- data/generated/google/apis/compute_v1/representations.rb +439 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +111 -0
- data/generated/google/apis/container_v1/representations.rb +51 -0
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +76 -30
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +70 -30
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/service.rb +0 -226
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +42 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +4 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +324 -38
- data/generated/google/apis/dataproc_v1/representations.rb +97 -0
- data/generated/google/apis/dataproc_v1/service.rb +613 -1
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +100 -54
- data/generated/google/apis/dataproc_v1beta2/service.rb +29 -22
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +363 -167
- data/generated/google/apis/dialogflow_v2/representations.rb +160 -49
- data/generated/google/apis/dialogflow_v2/service.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +433 -178
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +199 -59
- data/generated/google/apis/dialogflow_v2beta1/service.rb +39 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +3 -4
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +2 -2
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +2 -2
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +9 -4
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +8 -0
- data/generated/google/apis/file_v1/representations.rb +1 -0
- data/generated/google/apis/file_v1/service.rb +2 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +8 -0
- data/generated/google/apis/file_v1beta1/representations.rb +1 -0
- data/generated/google/apis/file_v1beta1/service.rb +2 -0
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +41 -4
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +22 -14
- data/generated/google/apis/fitness_v1.rb +19 -19
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +136 -100
- data/generated/google/apis/healthcare_v1beta1/representations.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +124 -119
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +87 -41
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +62 -29
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +62 -29
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +114 -49
- data/generated/google/apis/ml_v1/representations.rb +2 -0
- data/generated/google/apis/ml_v1/service.rb +12 -6
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +14 -10
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +12 -0
- data/generated/google/apis/oslogin_v1/representations.rb +2 -0
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +12 -0
- data/generated/google/apis/oslogin_v1alpha/representations.rb +2 -0
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +12 -0
- data/generated/google/apis/oslogin_v1beta/representations.rb +2 -0
- data/generated/google/apis/policytroubleshooter_v1beta.rb +34 -0
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +621 -0
- data/generated/google/apis/policytroubleshooter_v1beta/representations.rb +203 -0
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +91 -0
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +7 -4
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +60 -58
- data/generated/google/apis/recommender_v1beta1.rb +34 -0
- data/generated/google/apis/recommender_v1beta1/classes.rb +502 -0
- data/generated/google/apis/recommender_v1beta1/representations.rb +232 -0
- data/generated/google/apis/recommender_v1beta1/service.rb +262 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +49 -1100
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -276
- data/generated/google/apis/remotebuildexecution_v1/service.rb +0 -77
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +12 -990
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -245
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +12 -990
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -245
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +3553 -33
- data/generated/google/apis/run_v1/representations.rb +1186 -4
- data/generated/google/apis/run_v1/service.rb +2509 -23
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +103 -140
- data/generated/google/apis/run_v1alpha1/representations.rb +5 -43
- data/generated/google/apis/run_v1beta1.rb +35 -0
- data/generated/google/apis/run_v1beta1/classes.rb +1209 -0
- data/generated/google/apis/run_v1beta1/representations.rb +421 -0
- data/generated/google/apis/run_v1beta1/service.rb +172 -0
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +62 -29
- data/generated/google/apis/safebrowsing_v4.rb +5 -2
- data/generated/google/apis/safebrowsing_v4/service.rb +4 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +70 -35
- data/generated/google/apis/securitycenter_v1/service.rb +13 -12
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +71 -35
- data/generated/google/apis/securitycenter_v1beta1/service.rb +13 -12
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/classes.rb +62 -29
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +62 -29
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +62 -29
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +11 -2
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +63 -33
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +11 -2
- data/generated/google/apis/servicenetworking_v1/representations.rb +1 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +11 -2
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +11 -2
- data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +11 -2
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +78 -2
- data/generated/google/apis/spanner_v1/representations.rb +44 -0
- data/generated/google/apis/spanner_v1/service.rb +35 -0
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +73 -19
- data/generated/google/apis/speech_v1/representations.rb +18 -0
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +31 -35
- data/generated/google/apis/speech_v2beta.rb +1 -1
- data/generated/google/apis/speech_v2beta/classes.rb +6 -6
- data/generated/google/apis/speech_v2beta/representations.rb +2 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +1 -1
- data/generated/google/apis/storage_v1/representations.rb +2 -1
- data/generated/google/apis/storage_v1beta1.rb +1 -1
- data/generated/google/apis/storage_v1beta2.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/service.rb +9 -5
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +42 -0
- data/generated/google/apis/testing_v1/representations.rb +18 -0
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +6 -5
- data/generated/google/apis/texttospeech_v1/service.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +6 -5
- data/generated/google/apis/texttospeech_v1beta1/service.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +1 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +22 -16
- data/generated/google/apis/translate_v3beta1/service.rb +31 -31
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +45 -10
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +45 -10
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +45 -10
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +45 -10
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +45 -10
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +6 -156
- data/generated/google/apis/vision_v1/representations.rb +0 -44
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +6 -156
- data/generated/google/apis/vision_v1p1beta1/representations.rb +0 -44
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +6 -156
- data/generated/google/apis/vision_v1p2beta1/representations.rb +0 -44
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +21 -31
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +30 -42
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +0 -83
- data/generated/google/apis/youtube_partner_v1/representations.rb +0 -35
- data/generated/google/apis/youtube_partner_v1/service.rb +0 -100
- data/lib/google/apis/version.rb +1 -1
- metadata +18 -6
- data/generated/google/apis/dfareporting_v3_1.rb +0 -40
- data/generated/google/apis/dfareporting_v3_1/classes.rb +0 -11998
- data/generated/google/apis/dfareporting_v3_1/representations.rb +0 -4313
- data/generated/google/apis/dfareporting_v3_1/service.rb +0 -8688
@@ -1186,12 +1186,6 @@ module Google
|
|
1186
1186
|
include Google::Apis::Core::JsonObjectSupport
|
1187
1187
|
end
|
1188
1188
|
|
1189
|
-
class GoogleCloudVisionV1p4beta1ImageQuality
|
1190
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1191
|
-
|
1192
|
-
include Google::Apis::Core::JsonObjectSupport
|
1193
|
-
end
|
1194
|
-
|
1195
1189
|
class GoogleCloudVisionV1p4beta1ImportProductSetsResponse
|
1196
1190
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1197
1191
|
|
@@ -1294,12 +1288,6 @@ module Google
|
|
1294
1288
|
include Google::Apis::Core::JsonObjectSupport
|
1295
1289
|
end
|
1296
1290
|
|
1297
|
-
class GoogleCloudVisionV1p4beta1QualityOptimizationResult
|
1298
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1299
|
-
|
1300
|
-
include Google::Apis::Core::JsonObjectSupport
|
1301
|
-
end
|
1302
|
-
|
1303
1291
|
class GoogleCloudVisionV1p4beta1ReferenceImage
|
1304
1292
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1305
1293
|
|
@@ -3615,8 +3603,6 @@ module Google
|
|
3615
3603
|
|
3616
3604
|
property :image_properties_annotation, as: 'imagePropertiesAnnotation', class: Google::Apis::VisionV1::GoogleCloudVisionV1p4beta1ImageProperties, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p4beta1ImageProperties::Representation
|
3617
3605
|
|
3618
|
-
property :image_quality_annotation, as: 'imageQualityAnnotation', class: Google::Apis::VisionV1::GoogleCloudVisionV1p4beta1ImageQuality, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p4beta1ImageQuality::Representation
|
3619
|
-
|
3620
3606
|
collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1::GoogleCloudVisionV1p4beta1EntityAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p4beta1EntityAnnotation::Representation
|
3621
3607
|
|
3622
3608
|
collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1::GoogleCloudVisionV1p4beta1EntityAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p4beta1EntityAnnotation::Representation
|
@@ -3627,8 +3613,6 @@ module Google
|
|
3627
3613
|
|
3628
3614
|
property :product_search_results, as: 'productSearchResults', class: Google::Apis::VisionV1::GoogleCloudVisionV1p4beta1ProductSearchResults, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p4beta1ProductSearchResults::Representation
|
3629
3615
|
|
3630
|
-
property :quality_optimization_result, as: 'qualityOptimizationResult', class: Google::Apis::VisionV1::GoogleCloudVisionV1p4beta1QualityOptimizationResult, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p4beta1QualityOptimizationResult::Representation
|
3631
|
-
|
3632
3616
|
property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1::GoogleCloudVisionV1p4beta1SafeSearchAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p4beta1SafeSearchAnnotation::Representation
|
3633
3617
|
|
3634
3618
|
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1::GoogleCloudVisionV1p4beta1EntityAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p4beta1EntityAnnotation::Representation
|
@@ -3820,13 +3804,6 @@ module Google
|
|
3820
3804
|
end
|
3821
3805
|
end
|
3822
3806
|
|
3823
|
-
class GoogleCloudVisionV1p4beta1ImageQuality
|
3824
|
-
# @private
|
3825
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
3826
|
-
property :quality_score, as: 'qualityScore'
|
3827
|
-
end
|
3828
|
-
end
|
3829
|
-
|
3830
3807
|
class GoogleCloudVisionV1p4beta1ImportProductSetsResponse
|
3831
3808
|
# @private
|
3832
3809
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4000,15 +3977,6 @@ module Google
|
|
4000
3977
|
end
|
4001
3978
|
end
|
4002
3979
|
|
4003
|
-
class GoogleCloudVisionV1p4beta1QualityOptimizationResult
|
4004
|
-
# @private
|
4005
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
4006
|
-
property :image, :base64 => true, as: 'image'
|
4007
|
-
property :mime_type, as: 'mimeType'
|
4008
|
-
property :quality_optimization_type, as: 'qualityOptimizationType'
|
4009
|
-
end
|
4010
|
-
end
|
4011
|
-
|
4012
3980
|
class GoogleCloudVisionV1p4beta1ReferenceImage
|
4013
3981
|
# @private
|
4014
3982
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4023,16 +3991,10 @@ module Google
|
|
4023
3991
|
# @private
|
4024
3992
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4025
3993
|
property :adult, as: 'adult'
|
4026
|
-
property :adult_confidence, as: 'adultConfidence'
|
4027
3994
|
property :medical, as: 'medical'
|
4028
|
-
property :medical_confidence, as: 'medicalConfidence'
|
4029
|
-
property :nsfw_confidence, as: 'nsfwConfidence'
|
4030
3995
|
property :racy, as: 'racy'
|
4031
|
-
property :racy_confidence, as: 'racyConfidence'
|
4032
3996
|
property :spoof, as: 'spoof'
|
4033
|
-
property :spoof_confidence, as: 'spoofConfidence'
|
4034
3997
|
property :violence, as: 'violence'
|
4035
|
-
property :violence_confidence, as: 'violenceConfidence'
|
4036
3998
|
end
|
4037
3999
|
end
|
4038
4000
|
|
@@ -4549,16 +4511,10 @@ module Google
|
|
4549
4511
|
# @private
|
4550
4512
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4551
4513
|
property :adult, as: 'adult'
|
4552
|
-
property :adult_confidence, as: 'adultConfidence'
|
4553
4514
|
property :medical, as: 'medical'
|
4554
|
-
property :medical_confidence, as: 'medicalConfidence'
|
4555
|
-
property :nsfw_confidence, as: 'nsfwConfidence'
|
4556
4515
|
property :racy, as: 'racy'
|
4557
|
-
property :racy_confidence, as: 'racyConfidence'
|
4558
4516
|
property :spoof, as: 'spoof'
|
4559
|
-
property :spoof_confidence, as: 'spoofConfidence'
|
4560
4517
|
property :violence, as: 'violence'
|
4561
|
-
property :violence_confidence, as: 'violenceConfidence'
|
4562
4518
|
end
|
4563
4519
|
end
|
4564
4520
|
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/vision/
|
28
28
|
module VisionV1p1beta1
|
29
29
|
VERSION = 'V1p1beta1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20190927'
|
31
31
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -2721,12 +2721,12 @@ module Google
|
|
2721
2721
|
attr_accessor :filter
|
2722
2722
|
|
2723
2723
|
# The list of product categories to search in. Currently, we only consider
|
2724
|
-
# the first category, and either "homegoods-v2", "apparel-v2",
|
2725
|
-
# should be specified. The legacy
|
2726
|
-
# "toys" are still supported but will
|
2727
|
-
# use "homegoods-v2", "apparel-v2",
|
2728
|
-
# accuracy. It is recommended to
|
2729
|
-
# categories as well.
|
2724
|
+
# the first category, and either "homegoods-v2", "apparel-v2", "toys-v2",
|
2725
|
+
# "packagedgoods-v1", or "general-v1" should be specified. The legacy
|
2726
|
+
# categories "homegoods", "apparel", and "toys" are still supported but will
|
2727
|
+
# be deprecated. For new products, please use "homegoods-v2", "apparel-v2",
|
2728
|
+
# or "toys-v2" for better product search accuracy. It is recommended to
|
2729
|
+
# migrate existing products to these categories as well.
|
2730
2730
|
# Corresponds to the JSON property `productCategories`
|
2731
2731
|
# @return [Array<String>]
|
2732
2732
|
attr_accessor :product_categories
|
@@ -7196,11 +7196,6 @@ module Google
|
|
7196
7196
|
# @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ImageProperties]
|
7197
7197
|
attr_accessor :image_properties_annotation
|
7198
7198
|
|
7199
|
-
# Stores image quality scores, could be aesthetic quality or technical quality.
|
7200
|
-
# Corresponds to the JSON property `imageQualityAnnotation`
|
7201
|
-
# @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ImageQuality]
|
7202
|
-
attr_accessor :image_quality_annotation
|
7203
|
-
|
7204
7199
|
# If present, label detection has completed successfully.
|
7205
7200
|
# Corresponds to the JSON property `labelAnnotations`
|
7206
7201
|
# @return [Array<Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1EntityAnnotation>]
|
@@ -7227,11 +7222,6 @@ module Google
|
|
7227
7222
|
# @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ProductSearchResults]
|
7228
7223
|
attr_accessor :product_search_results
|
7229
7224
|
|
7230
|
-
# Stores enhanced image bytes.
|
7231
|
-
# Corresponds to the JSON property `qualityOptimizationResult`
|
7232
|
-
# @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1QualityOptimizationResult]
|
7233
|
-
attr_accessor :quality_optimization_result
|
7234
|
-
|
7235
7225
|
# Set of features pertaining to the image, computed by computer vision
|
7236
7226
|
# methods over safe-search verticals (for example, adult, spoof, medical,
|
7237
7227
|
# violence).
|
@@ -7261,13 +7251,11 @@ module Google
|
|
7261
7251
|
@face_annotations = args[:face_annotations] if args.key?(:face_annotations)
|
7262
7252
|
@full_text_annotation = args[:full_text_annotation] if args.key?(:full_text_annotation)
|
7263
7253
|
@image_properties_annotation = args[:image_properties_annotation] if args.key?(:image_properties_annotation)
|
7264
|
-
@image_quality_annotation = args[:image_quality_annotation] if args.key?(:image_quality_annotation)
|
7265
7254
|
@label_annotations = args[:label_annotations] if args.key?(:label_annotations)
|
7266
7255
|
@landmark_annotations = args[:landmark_annotations] if args.key?(:landmark_annotations)
|
7267
7256
|
@localized_object_annotations = args[:localized_object_annotations] if args.key?(:localized_object_annotations)
|
7268
7257
|
@logo_annotations = args[:logo_annotations] if args.key?(:logo_annotations)
|
7269
7258
|
@product_search_results = args[:product_search_results] if args.key?(:product_search_results)
|
7270
|
-
@quality_optimization_result = args[:quality_optimization_result] if args.key?(:quality_optimization_result)
|
7271
7259
|
@safe_search_annotation = args[:safe_search_annotation] if args.key?(:safe_search_annotation)
|
7272
7260
|
@text_annotations = args[:text_annotations] if args.key?(:text_annotations)
|
7273
7261
|
@web_detection = args[:web_detection] if args.key?(:web_detection)
|
@@ -7979,28 +7967,6 @@ module Google
|
|
7979
7967
|
end
|
7980
7968
|
end
|
7981
7969
|
|
7982
|
-
# Stores image quality scores, could be aesthetic quality or technical quality.
|
7983
|
-
class GoogleCloudVisionV1p4beta1ImageQuality
|
7984
|
-
include Google::Apis::Core::Hashable
|
7985
|
-
|
7986
|
-
# A score representing the aesthetic/technical quality of the image. The
|
7987
|
-
# score is in range [0, 1]. Higher value corresponds to more professional
|
7988
|
-
# looking photos. 0 means the image looks very bad, 1 means the image with
|
7989
|
-
# very high quality.
|
7990
|
-
# Corresponds to the JSON property `qualityScore`
|
7991
|
-
# @return [Float]
|
7992
|
-
attr_accessor :quality_score
|
7993
|
-
|
7994
|
-
def initialize(**args)
|
7995
|
-
update!(**args)
|
7996
|
-
end
|
7997
|
-
|
7998
|
-
# Update properties of this object
|
7999
|
-
def update!(**args)
|
8000
|
-
@quality_score = args[:quality_score] if args.key?(:quality_score)
|
8001
|
-
end
|
8002
|
-
end
|
8003
|
-
|
8004
7970
|
# Response message for the `ImportProductSets` method.
|
8005
7971
|
# This message is returned by the
|
8006
7972
|
# google.longrunning.Operations.GetOperation method in the returned
|
@@ -8603,38 +8569,6 @@ module Google
|
|
8603
8569
|
end
|
8604
8570
|
end
|
8605
8571
|
|
8606
|
-
# Stores enhanced image bytes.
|
8607
|
-
class GoogleCloudVisionV1p4beta1QualityOptimizationResult
|
8608
|
-
include Google::Apis::Core::Hashable
|
8609
|
-
|
8610
|
-
# Optimized image bytes.
|
8611
|
-
# Corresponds to the JSON property `image`
|
8612
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
8613
|
-
# @return [String]
|
8614
|
-
attr_accessor :image
|
8615
|
-
|
8616
|
-
# Mime type of the output image.
|
8617
|
-
# Corresponds to the JSON property `mimeType`
|
8618
|
-
# @return [String]
|
8619
|
-
attr_accessor :mime_type
|
8620
|
-
|
8621
|
-
# Required optimization type.
|
8622
|
-
# Corresponds to the JSON property `qualityOptimizationType`
|
8623
|
-
# @return [String]
|
8624
|
-
attr_accessor :quality_optimization_type
|
8625
|
-
|
8626
|
-
def initialize(**args)
|
8627
|
-
update!(**args)
|
8628
|
-
end
|
8629
|
-
|
8630
|
-
# Update properties of this object
|
8631
|
-
def update!(**args)
|
8632
|
-
@image = args[:image] if args.key?(:image)
|
8633
|
-
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
8634
|
-
@quality_optimization_type = args[:quality_optimization_type] if args.key?(:quality_optimization_type)
|
8635
|
-
end
|
8636
|
-
end
|
8637
|
-
|
8638
8572
|
# A `ReferenceImage` represents a product image and its associated metadata,
|
8639
8573
|
# such as bounding boxes.
|
8640
8574
|
class GoogleCloudVisionV1p4beta1ReferenceImage
|
@@ -8692,29 +8626,11 @@ module Google
|
|
8692
8626
|
# @return [String]
|
8693
8627
|
attr_accessor :adult
|
8694
8628
|
|
8695
|
-
# Confidence of adult_score. Range [0, 1]. 0 means not confident, 1 means
|
8696
|
-
# very confident.
|
8697
|
-
# Corresponds to the JSON property `adultConfidence`
|
8698
|
-
# @return [Float]
|
8699
|
-
attr_accessor :adult_confidence
|
8700
|
-
|
8701
8629
|
# Likelihood that this is a medical image.
|
8702
8630
|
# Corresponds to the JSON property `medical`
|
8703
8631
|
# @return [String]
|
8704
8632
|
attr_accessor :medical
|
8705
8633
|
|
8706
|
-
# Confidence of medical_score. Range [0, 1]. 0 means not confident, 1 means
|
8707
|
-
# very confident.
|
8708
|
-
# Corresponds to the JSON property `medicalConfidence`
|
8709
|
-
# @return [Float]
|
8710
|
-
attr_accessor :medical_confidence
|
8711
|
-
|
8712
|
-
# Confidence of nsfw_score. Range [0, 1]. 0 means not confident, 1 means very
|
8713
|
-
# confident.
|
8714
|
-
# Corresponds to the JSON property `nsfwConfidence`
|
8715
|
-
# @return [Float]
|
8716
|
-
attr_accessor :nsfw_confidence
|
8717
|
-
|
8718
8634
|
# Likelihood that the request image contains racy content. Racy content may
|
8719
8635
|
# include (but is not limited to) skimpy or sheer clothing, strategically
|
8720
8636
|
# covered nudity, lewd or provocative poses, or close-ups of sensitive
|
@@ -8723,12 +8639,6 @@ module Google
|
|
8723
8639
|
# @return [String]
|
8724
8640
|
attr_accessor :racy
|
8725
8641
|
|
8726
|
-
# Confidence of racy_score. Range [0, 1]. 0 means not confident, 1 means very
|
8727
|
-
# confident.
|
8728
|
-
# Corresponds to the JSON property `racyConfidence`
|
8729
|
-
# @return [Float]
|
8730
|
-
attr_accessor :racy_confidence
|
8731
|
-
|
8732
8642
|
# Spoof likelihood. The likelihood that an modification
|
8733
8643
|
# was made to the image's canonical version to make it appear
|
8734
8644
|
# funny or offensive.
|
@@ -8736,23 +8646,11 @@ module Google
|
|
8736
8646
|
# @return [String]
|
8737
8647
|
attr_accessor :spoof
|
8738
8648
|
|
8739
|
-
# Confidence of spoof_score. Range [0, 1]. 0 means not confident, 1 means
|
8740
|
-
# very confident.
|
8741
|
-
# Corresponds to the JSON property `spoofConfidence`
|
8742
|
-
# @return [Float]
|
8743
|
-
attr_accessor :spoof_confidence
|
8744
|
-
|
8745
8649
|
# Likelihood that this image contains violent content.
|
8746
8650
|
# Corresponds to the JSON property `violence`
|
8747
8651
|
# @return [String]
|
8748
8652
|
attr_accessor :violence
|
8749
8653
|
|
8750
|
-
# Confidence of violence_score. Range [0, 1]. 0 means not confident, 1 means
|
8751
|
-
# very confident.
|
8752
|
-
# Corresponds to the JSON property `violenceConfidence`
|
8753
|
-
# @return [Float]
|
8754
|
-
attr_accessor :violence_confidence
|
8755
|
-
|
8756
8654
|
def initialize(**args)
|
8757
8655
|
update!(**args)
|
8758
8656
|
end
|
@@ -8760,16 +8658,10 @@ module Google
|
|
8760
8658
|
# Update properties of this object
|
8761
8659
|
def update!(**args)
|
8762
8660
|
@adult = args[:adult] if args.key?(:adult)
|
8763
|
-
@adult_confidence = args[:adult_confidence] if args.key?(:adult_confidence)
|
8764
8661
|
@medical = args[:medical] if args.key?(:medical)
|
8765
|
-
@medical_confidence = args[:medical_confidence] if args.key?(:medical_confidence)
|
8766
|
-
@nsfw_confidence = args[:nsfw_confidence] if args.key?(:nsfw_confidence)
|
8767
8662
|
@racy = args[:racy] if args.key?(:racy)
|
8768
|
-
@racy_confidence = args[:racy_confidence] if args.key?(:racy_confidence)
|
8769
8663
|
@spoof = args[:spoof] if args.key?(:spoof)
|
8770
|
-
@spoof_confidence = args[:spoof_confidence] if args.key?(:spoof_confidence)
|
8771
8664
|
@violence = args[:violence] if args.key?(:violence)
|
8772
|
-
@violence_confidence = args[:violence_confidence] if args.key?(:violence_confidence)
|
8773
8665
|
end
|
8774
8666
|
end
|
8775
8667
|
|
@@ -9992,29 +9884,11 @@ module Google
|
|
9992
9884
|
# @return [String]
|
9993
9885
|
attr_accessor :adult
|
9994
9886
|
|
9995
|
-
# Confidence of adult_score. Range [0, 1]. 0 means not confident, 1 means
|
9996
|
-
# very confident.
|
9997
|
-
# Corresponds to the JSON property `adultConfidence`
|
9998
|
-
# @return [Float]
|
9999
|
-
attr_accessor :adult_confidence
|
10000
|
-
|
10001
9887
|
# Likelihood that this is a medical image.
|
10002
9888
|
# Corresponds to the JSON property `medical`
|
10003
9889
|
# @return [String]
|
10004
9890
|
attr_accessor :medical
|
10005
9891
|
|
10006
|
-
# Confidence of medical_score. Range [0, 1]. 0 means not confident, 1 means
|
10007
|
-
# very confident.
|
10008
|
-
# Corresponds to the JSON property `medicalConfidence`
|
10009
|
-
# @return [Float]
|
10010
|
-
attr_accessor :medical_confidence
|
10011
|
-
|
10012
|
-
# Confidence of nsfw_score. Range [0, 1]. 0 means not confident, 1 means very
|
10013
|
-
# confident.
|
10014
|
-
# Corresponds to the JSON property `nsfwConfidence`
|
10015
|
-
# @return [Float]
|
10016
|
-
attr_accessor :nsfw_confidence
|
10017
|
-
|
10018
9892
|
# Likelihood that the request image contains racy content. Racy content may
|
10019
9893
|
# include (but is not limited to) skimpy or sheer clothing, strategically
|
10020
9894
|
# covered nudity, lewd or provocative poses, or close-ups of sensitive
|
@@ -10023,12 +9897,6 @@ module Google
|
|
10023
9897
|
# @return [String]
|
10024
9898
|
attr_accessor :racy
|
10025
9899
|
|
10026
|
-
# Confidence of racy_score. Range [0, 1]. 0 means not confident, 1 means very
|
10027
|
-
# confident.
|
10028
|
-
# Corresponds to the JSON property `racyConfidence`
|
10029
|
-
# @return [Float]
|
10030
|
-
attr_accessor :racy_confidence
|
10031
|
-
|
10032
9900
|
# Spoof likelihood. The likelihood that an modification
|
10033
9901
|
# was made to the image's canonical version to make it appear
|
10034
9902
|
# funny or offensive.
|
@@ -10036,23 +9904,11 @@ module Google
|
|
10036
9904
|
# @return [String]
|
10037
9905
|
attr_accessor :spoof
|
10038
9906
|
|
10039
|
-
# Confidence of spoof_score. Range [0, 1]. 0 means not confident, 1 means
|
10040
|
-
# very confident.
|
10041
|
-
# Corresponds to the JSON property `spoofConfidence`
|
10042
|
-
# @return [Float]
|
10043
|
-
attr_accessor :spoof_confidence
|
10044
|
-
|
10045
9907
|
# Likelihood that this image contains violent content.
|
10046
9908
|
# Corresponds to the JSON property `violence`
|
10047
9909
|
# @return [String]
|
10048
9910
|
attr_accessor :violence
|
10049
9911
|
|
10050
|
-
# Confidence of violence_score. Range [0, 1]. 0 means not confident, 1 means
|
10051
|
-
# very confident.
|
10052
|
-
# Corresponds to the JSON property `violenceConfidence`
|
10053
|
-
# @return [Float]
|
10054
|
-
attr_accessor :violence_confidence
|
10055
|
-
|
10056
9912
|
def initialize(**args)
|
10057
9913
|
update!(**args)
|
10058
9914
|
end
|
@@ -10060,16 +9916,10 @@ module Google
|
|
10060
9916
|
# Update properties of this object
|
10061
9917
|
def update!(**args)
|
10062
9918
|
@adult = args[:adult] if args.key?(:adult)
|
10063
|
-
@adult_confidence = args[:adult_confidence] if args.key?(:adult_confidence)
|
10064
9919
|
@medical = args[:medical] if args.key?(:medical)
|
10065
|
-
@medical_confidence = args[:medical_confidence] if args.key?(:medical_confidence)
|
10066
|
-
@nsfw_confidence = args[:nsfw_confidence] if args.key?(:nsfw_confidence)
|
10067
9920
|
@racy = args[:racy] if args.key?(:racy)
|
10068
|
-
@racy_confidence = args[:racy_confidence] if args.key?(:racy_confidence)
|
10069
9921
|
@spoof = args[:spoof] if args.key?(:spoof)
|
10070
|
-
@spoof_confidence = args[:spoof_confidence] if args.key?(:spoof_confidence)
|
10071
9922
|
@violence = args[:violence] if args.key?(:violence)
|
10072
|
-
@violence_confidence = args[:violence_confidence] if args.key?(:violence_confidence)
|
10073
9923
|
end
|
10074
9924
|
end
|
10075
9925
|
|
@@ -1210,12 +1210,6 @@ module Google
|
|
1210
1210
|
include Google::Apis::Core::JsonObjectSupport
|
1211
1211
|
end
|
1212
1212
|
|
1213
|
-
class GoogleCloudVisionV1p4beta1ImageQuality
|
1214
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1215
|
-
|
1216
|
-
include Google::Apis::Core::JsonObjectSupport
|
1217
|
-
end
|
1218
|
-
|
1219
1213
|
class GoogleCloudVisionV1p4beta1ImportProductSetsResponse
|
1220
1214
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1221
1215
|
|
@@ -1318,12 +1312,6 @@ module Google
|
|
1318
1312
|
include Google::Apis::Core::JsonObjectSupport
|
1319
1313
|
end
|
1320
1314
|
|
1321
|
-
class GoogleCloudVisionV1p4beta1QualityOptimizationResult
|
1322
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1323
|
-
|
1324
|
-
include Google::Apis::Core::JsonObjectSupport
|
1325
|
-
end
|
1326
|
-
|
1327
1315
|
class GoogleCloudVisionV1p4beta1ReferenceImage
|
1328
1316
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1329
1317
|
|
@@ -3580,8 +3568,6 @@ module Google
|
|
3580
3568
|
|
3581
3569
|
property :image_properties_annotation, as: 'imagePropertiesAnnotation', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ImageProperties, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ImageProperties::Representation
|
3582
3570
|
|
3583
|
-
property :image_quality_annotation, as: 'imageQualityAnnotation', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ImageQuality, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ImageQuality::Representation
|
3584
|
-
|
3585
3571
|
collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1EntityAnnotation::Representation
|
3586
3572
|
|
3587
3573
|
collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1EntityAnnotation::Representation
|
@@ -3592,8 +3578,6 @@ module Google
|
|
3592
3578
|
|
3593
3579
|
property :product_search_results, as: 'productSearchResults', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ProductSearchResults, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ProductSearchResults::Representation
|
3594
3580
|
|
3595
|
-
property :quality_optimization_result, as: 'qualityOptimizationResult', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1QualityOptimizationResult, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1QualityOptimizationResult::Representation
|
3596
|
-
|
3597
3581
|
property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1SafeSearchAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1SafeSearchAnnotation::Representation
|
3598
3582
|
|
3599
3583
|
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1EntityAnnotation::Representation
|
@@ -3785,13 +3769,6 @@ module Google
|
|
3785
3769
|
end
|
3786
3770
|
end
|
3787
3771
|
|
3788
|
-
class GoogleCloudVisionV1p4beta1ImageQuality
|
3789
|
-
# @private
|
3790
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
3791
|
-
property :quality_score, as: 'qualityScore'
|
3792
|
-
end
|
3793
|
-
end
|
3794
|
-
|
3795
3772
|
class GoogleCloudVisionV1p4beta1ImportProductSetsResponse
|
3796
3773
|
# @private
|
3797
3774
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3965,15 +3942,6 @@ module Google
|
|
3965
3942
|
end
|
3966
3943
|
end
|
3967
3944
|
|
3968
|
-
class GoogleCloudVisionV1p4beta1QualityOptimizationResult
|
3969
|
-
# @private
|
3970
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
3971
|
-
property :image, :base64 => true, as: 'image'
|
3972
|
-
property :mime_type, as: 'mimeType'
|
3973
|
-
property :quality_optimization_type, as: 'qualityOptimizationType'
|
3974
|
-
end
|
3975
|
-
end
|
3976
|
-
|
3977
3945
|
class GoogleCloudVisionV1p4beta1ReferenceImage
|
3978
3946
|
# @private
|
3979
3947
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3988,16 +3956,10 @@ module Google
|
|
3988
3956
|
# @private
|
3989
3957
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3990
3958
|
property :adult, as: 'adult'
|
3991
|
-
property :adult_confidence, as: 'adultConfidence'
|
3992
3959
|
property :medical, as: 'medical'
|
3993
|
-
property :medical_confidence, as: 'medicalConfidence'
|
3994
|
-
property :nsfw_confidence, as: 'nsfwConfidence'
|
3995
3960
|
property :racy, as: 'racy'
|
3996
|
-
property :racy_confidence, as: 'racyConfidence'
|
3997
3961
|
property :spoof, as: 'spoof'
|
3998
|
-
property :spoof_confidence, as: 'spoofConfidence'
|
3999
3962
|
property :violence, as: 'violence'
|
4000
|
-
property :violence_confidence, as: 'violenceConfidence'
|
4001
3963
|
end
|
4002
3964
|
end
|
4003
3965
|
|
@@ -4357,16 +4319,10 @@ module Google
|
|
4357
4319
|
# @private
|
4358
4320
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4359
4321
|
property :adult, as: 'adult'
|
4360
|
-
property :adult_confidence, as: 'adultConfidence'
|
4361
4322
|
property :medical, as: 'medical'
|
4362
|
-
property :medical_confidence, as: 'medicalConfidence'
|
4363
|
-
property :nsfw_confidence, as: 'nsfwConfidence'
|
4364
4323
|
property :racy, as: 'racy'
|
4365
|
-
property :racy_confidence, as: 'racyConfidence'
|
4366
4324
|
property :spoof, as: 'spoof'
|
4367
|
-
property :spoof_confidence, as: 'spoofConfidence'
|
4368
4325
|
property :violence, as: 'violence'
|
4369
|
-
property :violence_confidence, as: 'violenceConfidence'
|
4370
4326
|
end
|
4371
4327
|
end
|
4372
4328
|
|