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
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/vision/
|
28
28
|
module VisionV1p2beta1
|
29
29
|
VERSION = 'V1p2beta1'
|
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'
|
@@ -4525,12 +4525,12 @@ module Google
|
|
4525
4525
|
attr_accessor :filter
|
4526
4526
|
|
4527
4527
|
# The list of product categories to search in. Currently, we only consider
|
4528
|
-
# the first category, and either "homegoods-v2", "apparel-v2",
|
4529
|
-
# should be specified. The legacy
|
4530
|
-
# "toys" are still supported but will
|
4531
|
-
# use "homegoods-v2", "apparel-v2",
|
4532
|
-
# accuracy. It is recommended to
|
4533
|
-
# categories as well.
|
4528
|
+
# the first category, and either "homegoods-v2", "apparel-v2", "toys-v2",
|
4529
|
+
# "packagedgoods-v1", or "general-v1" should be specified. The legacy
|
4530
|
+
# categories "homegoods", "apparel", and "toys" are still supported but will
|
4531
|
+
# be deprecated. For new products, please use "homegoods-v2", "apparel-v2",
|
4532
|
+
# or "toys-v2" for better product search accuracy. It is recommended to
|
4533
|
+
# migrate existing products to these categories as well.
|
4534
4534
|
# Corresponds to the JSON property `productCategories`
|
4535
4535
|
# @return [Array<String>]
|
4536
4536
|
attr_accessor :product_categories
|
@@ -7196,11 +7196,6 @@ module Google
|
|
7196
7196
|
# @return [Google::Apis::VisionV1p2beta1::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::VisionV1p2beta1::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::VisionV1p2beta1::GoogleCloudVisionV1p4beta1EntityAnnotation>]
|
@@ -7227,11 +7222,6 @@ module Google
|
|
7227
7222
|
# @return [Google::Apis::VisionV1p2beta1::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::VisionV1p2beta1::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::VisionV1p2beta1::GoogleCloudVisionV1p4beta1ImageProperties, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1ImageProperties::Representation
|
3582
3570
|
|
3583
|
-
property :image_quality_annotation, as: 'imageQualityAnnotation', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1ImageQuality, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1ImageQuality::Representation
|
3584
|
-
|
3585
3571
|
collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1EntityAnnotation, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1EntityAnnotation::Representation
|
3586
3572
|
|
3587
3573
|
collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1EntityAnnotation, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1EntityAnnotation::Representation
|
@@ -3592,8 +3578,6 @@ module Google
|
|
3592
3578
|
|
3593
3579
|
property :product_search_results, as: 'productSearchResults', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1ProductSearchResults, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1ProductSearchResults::Representation
|
3594
3580
|
|
3595
|
-
property :quality_optimization_result, as: 'qualityOptimizationResult', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1QualityOptimizationResult, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1QualityOptimizationResult::Representation
|
3596
|
-
|
3597
3581
|
property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1SafeSearchAnnotation, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1SafeSearchAnnotation::Representation
|
3598
3582
|
|
3599
3583
|
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1EntityAnnotation, decorator: Google::Apis::VisionV1p2beta1::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
|
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/security-scanner/
|
26
26
|
module WebsecurityscannerV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190919'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/security-scanner/
|
26
26
|
module WebsecurityscannerV1alpha
|
27
27
|
VERSION = 'V1alpha'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190919'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -138,49 +138,45 @@ module Google
|
|
138
138
|
class Finding
|
139
139
|
include Google::Apis::Core::Hashable
|
140
140
|
|
141
|
-
#
|
141
|
+
# The body of the request that triggered the vulnerability.
|
142
142
|
# Corresponds to the JSON property `body`
|
143
143
|
# @return [String]
|
144
144
|
attr_accessor :body
|
145
145
|
|
146
|
-
#
|
146
|
+
# The description of the vulnerability.
|
147
147
|
# Corresponds to the JSON property `description`
|
148
148
|
# @return [String]
|
149
149
|
attr_accessor :description
|
150
150
|
|
151
|
-
#
|
152
|
-
# detected.
|
151
|
+
# The URL where the browser lands when the vulnerability is detected.
|
153
152
|
# Corresponds to the JSON property `finalUrl`
|
154
153
|
# @return [String]
|
155
154
|
attr_accessor :final_url
|
156
155
|
|
157
|
-
#
|
156
|
+
# The type of the Finding.
|
158
157
|
# Corresponds to the JSON property `findingType`
|
159
158
|
# @return [String]
|
160
159
|
attr_accessor :finding_type
|
161
160
|
|
162
|
-
#
|
163
|
-
# immediate
|
161
|
+
# If the vulnerability was originated from nested IFrame, the immediate
|
164
162
|
# parent IFrame is reported.
|
165
163
|
# Corresponds to the JSON property `frameUrl`
|
166
164
|
# @return [String]
|
167
165
|
attr_accessor :frame_url
|
168
166
|
|
169
|
-
#
|
170
|
-
# request that
|
167
|
+
# The URL produced by the server-side fuzzer and used in the request that
|
171
168
|
# triggered the vulnerability.
|
172
169
|
# Corresponds to the JSON property `fuzzedUrl`
|
173
170
|
# @return [String]
|
174
171
|
attr_accessor :fuzzed_url
|
175
172
|
|
176
|
-
#
|
177
|
-
# in
|
173
|
+
# The http method of the request that triggered the vulnerability, in
|
178
174
|
# uppercase.
|
179
175
|
# Corresponds to the JSON property `httpMethod`
|
180
176
|
# @return [String]
|
181
177
|
attr_accessor :http_method
|
182
178
|
|
183
|
-
#
|
179
|
+
# The resource name of the Finding. The name follows the format of
|
184
180
|
# 'projects/`projectId`/scanConfigs/`scanConfigId`/scanruns/`scanRunId`/findings/
|
185
181
|
# `findingId`'.
|
186
182
|
# The finding IDs are generated by the system.
|
@@ -193,15 +189,13 @@ module Google
|
|
193
189
|
# @return [Google::Apis::WebsecurityscannerV1alpha::OutdatedLibrary]
|
194
190
|
attr_accessor :outdated_library
|
195
191
|
|
196
|
-
#
|
197
|
-
# to
|
192
|
+
# The URL containing human-readable payload that user can leverage to
|
198
193
|
# reproduce the vulnerability.
|
199
194
|
# Corresponds to the JSON property `reproductionUrl`
|
200
195
|
# @return [String]
|
201
196
|
attr_accessor :reproduction_url
|
202
197
|
|
203
|
-
#
|
204
|
-
# across
|
198
|
+
# The tracking ID uniquely identifies a vulnerability instance across
|
205
199
|
# multiple ScanRuns.
|
206
200
|
# Corresponds to the JSON property `trackingId`
|
207
201
|
# @return [String]
|
@@ -257,12 +251,12 @@ module Google
|
|
257
251
|
class FindingTypeStats
|
258
252
|
include Google::Apis::Core::Hashable
|
259
253
|
|
260
|
-
#
|
254
|
+
# The count of findings belonging to this finding type.
|
261
255
|
# Corresponds to the JSON property `findingCount`
|
262
256
|
# @return [Fixnum]
|
263
257
|
attr_accessor :finding_count
|
264
258
|
|
265
|
-
#
|
259
|
+
# The finding type associated with the stats.
|
266
260
|
# Corresponds to the JSON property `findingType`
|
267
261
|
# @return [String]
|
268
262
|
attr_accessor :finding_type
|
@@ -569,32 +563,31 @@ module Google
|
|
569
563
|
class ScanRun
|
570
564
|
include Google::Apis::Core::Hashable
|
571
565
|
|
572
|
-
#
|
573
|
-
# the ScanRun
|
566
|
+
# The time at which the ScanRun reached termination state - that the ScanRun
|
574
567
|
# is either finished or stopped by user.
|
575
568
|
# Corresponds to the JSON property `endTime`
|
576
569
|
# @return [String]
|
577
570
|
attr_accessor :end_time
|
578
571
|
|
579
|
-
#
|
572
|
+
# The execution state of the ScanRun.
|
580
573
|
# Corresponds to the JSON property `executionState`
|
581
574
|
# @return [String]
|
582
575
|
attr_accessor :execution_state
|
583
576
|
|
584
|
-
#
|
577
|
+
# Whether the scan run has found any vulnerabilities.
|
585
578
|
# Corresponds to the JSON property `hasVulnerabilities`
|
586
579
|
# @return [Boolean]
|
587
580
|
attr_accessor :has_vulnerabilities
|
588
581
|
alias_method :has_vulnerabilities?, :has_vulnerabilities
|
589
582
|
|
590
|
-
#
|
583
|
+
# The resource name of the ScanRun. The name follows the format of
|
591
584
|
# 'projects/`projectId`/scanConfigs/`scanConfigId`/scanRuns/`scanRunId`'.
|
592
585
|
# The ScanRun IDs are generated by the system.
|
593
586
|
# Corresponds to the JSON property `name`
|
594
587
|
# @return [String]
|
595
588
|
attr_accessor :name
|
596
589
|
|
597
|
-
#
|
590
|
+
# The percentage of total completion ranging from 0 to 100.
|
598
591
|
# If the scan is in queue, the value is 0.
|
599
592
|
# If the scan is running, the value ranges from 0 to 100.
|
600
593
|
# If the scan is finished, the value is 100.
|
@@ -602,27 +595,24 @@ module Google
|
|
602
595
|
# @return [Fixnum]
|
603
596
|
attr_accessor :progress_percent
|
604
597
|
|
605
|
-
#
|
606
|
-
# after the
|
598
|
+
# The result state of the ScanRun. This field is only available after the
|
607
599
|
# execution state reaches "FINISHED".
|
608
600
|
# Corresponds to the JSON property `resultState`
|
609
601
|
# @return [String]
|
610
602
|
attr_accessor :result_state
|
611
603
|
|
612
|
-
#
|
604
|
+
# The time at which the ScanRun started.
|
613
605
|
# Corresponds to the JSON property `startTime`
|
614
606
|
# @return [String]
|
615
607
|
attr_accessor :start_time
|
616
608
|
|
617
|
-
#
|
618
|
-
# progress,
|
609
|
+
# The number of URLs crawled during this ScanRun. If the scan is in progress,
|
619
610
|
# the value represents the number of URLs crawled up to now.
|
620
611
|
# Corresponds to the JSON property `urlsCrawledCount`
|
621
612
|
# @return [Fixnum]
|
622
613
|
attr_accessor :urls_crawled_count
|
623
614
|
|
624
|
-
#
|
625
|
-
# progress,
|
615
|
+
# The number of URLs tested during this ScanRun. If the scan is in progress,
|
626
616
|
# the value represents the number of URLs tested up to now. The number of
|
627
617
|
# URLs tested is usually larger than the number URLS crawled because
|
628
618
|
# typically a crawled URL is tested with multiple test payloads.
|