google-api-client 0.30.4 → 0.30.5
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 +44 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +50 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +18 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/service.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +22 -85
- data/generated/google/apis/bigtableadmin_v2/service.rb +6 -105
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +14 -2
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +5 -2
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +28 -0
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +15 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +28 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +15 -0
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +28 -0
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +15 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +28 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +15 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +41 -2
- data/generated/google/apis/content_v2/representations.rb +18 -0
- data/generated/google/apis/content_v2/service.rb +4 -5
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +41 -2
- data/generated/google/apis/content_v2_1/representations.rb +18 -0
- data/generated/google/apis/content_v2_1/service.rb +12 -7
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +23 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dfareporting_v3_1.rb +1 -1
- data/generated/google/apis/dfareporting_v3_2.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +20 -9
- data/generated/google/apis/dfareporting_v3_3/representations.rb +1 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +402 -0
- data/generated/google/apis/dialogflow_v2/representations.rb +173 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +402 -0
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +173 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +44 -0
- data/generated/google/apis/dlp_v2/representations.rb +15 -0
- data/generated/google/apis/dlp_v2/service.rb +43 -0
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +17 -16
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +11 -10
- data/generated/google/apis/file_v1/representations.rb +1 -0
- data/generated/google/apis/file_v1/service.rb +1 -2
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +11 -10
- data/generated/google/apis/file_v1beta1/representations.rb +1 -0
- data/generated/google/apis/file_v1beta1/service.rb +1 -2
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +4 -1
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +1 -3
- data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +107 -0
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +46 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +1 -1
- data/generated/google/apis/iam_v1/service.rb +306 -51
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +28 -0
- data/generated/google/apis/iap_v1/representations.rb +15 -0
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +28 -0
- data/generated/google/apis/iap_v1beta1/representations.rb +15 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +8 -0
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/ml_v1/service.rb +0 -33
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +28 -0
- data/generated/google/apis/securitycenter_v1/representations.rb +15 -0
- data/generated/google/apis/securitycenter_v1/service.rb +4 -4
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +28 -0
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +15 -0
- data/generated/google/apis/securitycenter_v1beta1/service.rb +4 -4
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +28 -0
- data/generated/google/apis/servicemanagement_v1/representations.rb +15 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +2 -8
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +2 -8
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +4 -1
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +4 -4
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +4 -4
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +8 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +44 -66
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +24 -26
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +52 -78
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +24 -26
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/service-management/
|
|
28
28
|
module ServicemanagementV1
|
|
29
29
|
VERSION = 'V1'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20190628'
|
|
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'
|
|
@@ -1621,12 +1621,40 @@ module Google
|
|
|
1621
1621
|
class GetIamPolicyRequest
|
|
1622
1622
|
include Google::Apis::Core::Hashable
|
|
1623
1623
|
|
|
1624
|
+
# Encapsulates settings provided to GetIamPolicy.
|
|
1625
|
+
# Corresponds to the JSON property `options`
|
|
1626
|
+
# @return [Google::Apis::ServicemanagementV1::GetPolicyOptions]
|
|
1627
|
+
attr_accessor :options
|
|
1628
|
+
|
|
1629
|
+
def initialize(**args)
|
|
1630
|
+
update!(**args)
|
|
1631
|
+
end
|
|
1632
|
+
|
|
1633
|
+
# Update properties of this object
|
|
1634
|
+
def update!(**args)
|
|
1635
|
+
@options = args[:options] if args.key?(:options)
|
|
1636
|
+
end
|
|
1637
|
+
end
|
|
1638
|
+
|
|
1639
|
+
# Encapsulates settings provided to GetIamPolicy.
|
|
1640
|
+
class GetPolicyOptions
|
|
1641
|
+
include Google::Apis::Core::Hashable
|
|
1642
|
+
|
|
1643
|
+
# Optional. The policy format version to be returned.
|
|
1644
|
+
# Acceptable values are 0 and 1.
|
|
1645
|
+
# If the value is 0, or the field is omitted, policy format version 1 will be
|
|
1646
|
+
# returned.
|
|
1647
|
+
# Corresponds to the JSON property `requestedPolicyVersion`
|
|
1648
|
+
# @return [Fixnum]
|
|
1649
|
+
attr_accessor :requested_policy_version
|
|
1650
|
+
|
|
1624
1651
|
def initialize(**args)
|
|
1625
1652
|
update!(**args)
|
|
1626
1653
|
end
|
|
1627
1654
|
|
|
1628
1655
|
# Update properties of this object
|
|
1629
1656
|
def update!(**args)
|
|
1657
|
+
@requested_policy_version = args[:requested_policy_version] if args.key?(:requested_policy_version)
|
|
1630
1658
|
end
|
|
1631
1659
|
end
|
|
1632
1660
|
|
|
@@ -256,6 +256,12 @@ module Google
|
|
|
256
256
|
include Google::Apis::Core::JsonObjectSupport
|
|
257
257
|
end
|
|
258
258
|
|
|
259
|
+
class GetPolicyOptions
|
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
261
|
+
|
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
263
|
+
end
|
|
264
|
+
|
|
259
265
|
class Http
|
|
260
266
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
261
267
|
|
|
@@ -901,6 +907,15 @@ module Google
|
|
|
901
907
|
class GetIamPolicyRequest
|
|
902
908
|
# @private
|
|
903
909
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
910
|
+
property :options, as: 'options', class: Google::Apis::ServicemanagementV1::GetPolicyOptions, decorator: Google::Apis::ServicemanagementV1::GetPolicyOptions::Representation
|
|
911
|
+
|
|
912
|
+
end
|
|
913
|
+
end
|
|
914
|
+
|
|
915
|
+
class GetPolicyOptions
|
|
916
|
+
# @private
|
|
917
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
918
|
+
property :requested_policy_version, as: 'requestedPolicyVersion'
|
|
904
919
|
end
|
|
905
920
|
end
|
|
906
921
|
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/slides/
|
|
26
26
|
module SlidesV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190625'
|
|
29
29
|
|
|
30
30
|
# See, edit, create, and delete all of your Google Drive files
|
|
31
31
|
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
|
|
26
26
|
module SpeechV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190627'
|
|
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'
|
|
@@ -382,17 +382,11 @@ module Google
|
|
|
382
382
|
|
|
383
383
|
# *Optional* Set to true to use an enhanced model for speech recognition.
|
|
384
384
|
# If `use_enhanced` is set to true and the `model` field is not set, then
|
|
385
|
-
# an appropriate enhanced model is chosen if
|
|
386
|
-
#
|
|
387
|
-
# 2. an enhanced model exists for the audio
|
|
385
|
+
# an appropriate enhanced model is chosen if an enhanced model exists for
|
|
386
|
+
# the audio.
|
|
388
387
|
# If `use_enhanced` is true and an enhanced version of the specified model
|
|
389
388
|
# does not exist, then the speech is recognized using the standard version
|
|
390
389
|
# of the specified model.
|
|
391
|
-
# Enhanced speech models require that you opt-in to data logging using
|
|
392
|
-
# instructions in the
|
|
393
|
-
# [documentation](/speech-to-text/docs/enable-data-logging). If you set
|
|
394
|
-
# `use_enhanced` to true and you have not enabled audio logging, then you
|
|
395
|
-
# will receive an error.
|
|
396
390
|
# Corresponds to the JSON property `useEnhanced`
|
|
397
391
|
# @return [Boolean]
|
|
398
392
|
attr_accessor :use_enhanced
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
|
|
26
26
|
module SpeechV1p1beta1
|
|
27
27
|
VERSION = 'V1p1beta1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190627'
|
|
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'
|
|
@@ -436,17 +436,11 @@ module Google
|
|
|
436
436
|
|
|
437
437
|
# *Optional* Set to true to use an enhanced model for speech recognition.
|
|
438
438
|
# If `use_enhanced` is set to true and the `model` field is not set, then
|
|
439
|
-
# an appropriate enhanced model is chosen if
|
|
440
|
-
#
|
|
441
|
-
# 2. an enhanced model exists for the audio
|
|
439
|
+
# an appropriate enhanced model is chosen if an enhanced model exists for
|
|
440
|
+
# the audio.
|
|
442
441
|
# If `use_enhanced` is true and an enhanced version of the specified model
|
|
443
442
|
# does not exist, then the speech is recognized using the standard version
|
|
444
443
|
# of the specified model.
|
|
445
|
-
# Enhanced speech models require that you opt-in to data logging using
|
|
446
|
-
# instructions in the
|
|
447
|
-
# [documentation](/speech-to-text/docs/enable-data-logging). If you set
|
|
448
|
-
# `use_enhanced` to true and you have not enabled audio logging, then you
|
|
449
|
-
# will receive an error.
|
|
450
444
|
# Corresponds to the JSON property `useEnhanced`
|
|
451
445
|
# @return [Boolean]
|
|
452
446
|
attr_accessor :use_enhanced
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/google-apps/tasks/firstapp
|
|
26
26
|
module TasksV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190628'
|
|
29
29
|
|
|
30
30
|
# Create, edit, organize, and delete all your tasks
|
|
31
31
|
AUTH_TASKS = 'https://www.googleapis.com/auth/tasks'
|
|
@@ -38,7 +38,10 @@ module Google
|
|
|
38
38
|
attr_accessor :deleted
|
|
39
39
|
alias_method :deleted?, :deleted
|
|
40
40
|
|
|
41
|
-
# Due date of the task (as a RFC 3339 timestamp). Optional.
|
|
41
|
+
# Due date of the task (as a RFC 3339 timestamp). Optional. The due date only
|
|
42
|
+
# records date information; the time portion of the timestamp is discarded when
|
|
43
|
+
# setting the due date. It isn't possible to read or write the time that a task
|
|
44
|
+
# is due via the API.
|
|
42
45
|
# Corresponds to the JSON property `due`
|
|
43
46
|
# @return [DateTime]
|
|
44
47
|
attr_accessor :due
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/text-to-speech/
|
|
26
26
|
module TexttospeechV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190628'
|
|
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'
|
|
@@ -31,7 +31,7 @@ module Google
|
|
|
31
31
|
# @return [String]
|
|
32
32
|
attr_accessor :audio_encoding
|
|
33
33
|
|
|
34
|
-
# Input only.
|
|
34
|
+
# Optional. Input only. An identifier which selects 'audio effects' profiles
|
|
35
35
|
# that are applied on (post synthesized) text to speech. Effects are applied
|
|
36
36
|
# on top of each other in the order they are given. See
|
|
37
37
|
# [audio
|
|
@@ -41,7 +41,7 @@ module Google
|
|
|
41
41
|
# @return [Array<String>]
|
|
42
42
|
attr_accessor :effects_profile_id
|
|
43
43
|
|
|
44
|
-
# Input only.
|
|
44
|
+
# Optional. Input only. Speaking pitch, in the range [-20.0, 20.0]. 20 means
|
|
45
45
|
# increase 20 semitones from the original pitch. -20 means decrease 20
|
|
46
46
|
# semitones from the original pitch.
|
|
47
47
|
# Corresponds to the JSON property `pitch`
|
|
@@ -59,7 +59,7 @@ module Google
|
|
|
59
59
|
# @return [Fixnum]
|
|
60
60
|
attr_accessor :sample_rate_hertz
|
|
61
61
|
|
|
62
|
-
# Input only.
|
|
62
|
+
# Optional. Input only. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is
|
|
63
63
|
# the normal native speed supported by the specific voice. 2.0 is twice as
|
|
64
64
|
# fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0
|
|
65
65
|
# speed. Any other values < 0.25 or > 4.0 will return an error.
|
|
@@ -67,7 +67,7 @@ module Google
|
|
|
67
67
|
# @return [Float]
|
|
68
68
|
attr_accessor :speaking_rate
|
|
69
69
|
|
|
70
|
-
# Input only.
|
|
70
|
+
# Optional. Input only. Volume gain (in dB) of the normal native volume
|
|
71
71
|
# supported by the specific voice, in the range [-96.0, 16.0]. If unset, or
|
|
72
72
|
# set to a value of 0.0 (dB), will play at normal native signal amplitude. A
|
|
73
73
|
# value of -6.0 (dB) will play at approximately half the amplitude of the
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/text-to-speech/
|
|
26
26
|
module TexttospeechV1beta1
|
|
27
27
|
VERSION = 'V1beta1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190628'
|
|
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'
|
|
@@ -31,7 +31,7 @@ module Google
|
|
|
31
31
|
# @return [String]
|
|
32
32
|
attr_accessor :audio_encoding
|
|
33
33
|
|
|
34
|
-
# Input only.
|
|
34
|
+
# Optional. Input only. An identifier which selects 'audio effects' profiles
|
|
35
35
|
# that are applied on (post synthesized) text to speech. Effects are applied
|
|
36
36
|
# on top of each other in the order they are given. See
|
|
37
37
|
# [audio
|
|
@@ -41,7 +41,7 @@ module Google
|
|
|
41
41
|
# @return [Array<String>]
|
|
42
42
|
attr_accessor :effects_profile_id
|
|
43
43
|
|
|
44
|
-
# Input only.
|
|
44
|
+
# Optional. Input only. Speaking pitch, in the range [-20.0, 20.0]. 20 means
|
|
45
45
|
# increase 20 semitones from the original pitch. -20 means decrease 20
|
|
46
46
|
# semitones from the original pitch.
|
|
47
47
|
# Corresponds to the JSON property `pitch`
|
|
@@ -59,7 +59,7 @@ module Google
|
|
|
59
59
|
# @return [Fixnum]
|
|
60
60
|
attr_accessor :sample_rate_hertz
|
|
61
61
|
|
|
62
|
-
# Input only.
|
|
62
|
+
# Optional. Input only. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is
|
|
63
63
|
# the normal native speed supported by the specific voice. 2.0 is twice as
|
|
64
64
|
# fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0
|
|
65
65
|
# speed. Any other values < 0.25 or > 4.0 will return an error.
|
|
@@ -67,7 +67,7 @@ module Google
|
|
|
67
67
|
# @return [Float]
|
|
68
68
|
attr_accessor :speaking_rate
|
|
69
69
|
|
|
70
|
-
# Input only.
|
|
70
|
+
# Optional. Input only. Volume gain (in dB) of the normal native volume
|
|
71
71
|
# supported by the specific voice, in the range [-96.0, 16.0]. If unset, or
|
|
72
72
|
# set to a value of 0.0 (dB), will play at normal native signal amplitude. A
|
|
73
73
|
# value of -6.0 (dB) will play at approximately half the amplitude of the
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://firebase.google.com/docs/test-lab/
|
|
26
26
|
module ToolresultsV1beta3
|
|
27
27
|
VERSION = 'V1beta3'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190702'
|
|
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'
|
|
@@ -994,6 +994,13 @@ module Google
|
|
|
994
994
|
attr_accessor :aborted_by_user
|
|
995
995
|
alias_method :aborted_by_user?, :aborted_by_user
|
|
996
996
|
|
|
997
|
+
# If results are being provided to the user in certain cases of infrastructure
|
|
998
|
+
# failures
|
|
999
|
+
# Corresponds to the JSON property `hasErrorLogs`
|
|
1000
|
+
# @return [Boolean]
|
|
1001
|
+
attr_accessor :has_error_logs
|
|
1002
|
+
alias_method :has_error_logs?, :has_error_logs
|
|
1003
|
+
|
|
997
1004
|
# If the test runner could not determine success or failure because the test
|
|
998
1005
|
# depends on a component other than the system under test which failed.
|
|
999
1006
|
# For example, a mobile test requires provisioning a device where the test
|
|
@@ -1010,6 +1017,7 @@ module Google
|
|
|
1010
1017
|
# Update properties of this object
|
|
1011
1018
|
def update!(**args)
|
|
1012
1019
|
@aborted_by_user = args[:aborted_by_user] if args.key?(:aborted_by_user)
|
|
1020
|
+
@has_error_logs = args[:has_error_logs] if args.key?(:has_error_logs)
|
|
1013
1021
|
@infrastructure_failure = args[:infrastructure_failure] if args.key?(:infrastructure_failure)
|
|
1014
1022
|
end
|
|
1015
1023
|
end
|
|
@@ -575,6 +575,7 @@ module Google
|
|
|
575
575
|
# @private
|
|
576
576
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
577
577
|
property :aborted_by_user, as: 'abortedByUser'
|
|
578
|
+
property :has_error_logs, as: 'hasErrorLogs'
|
|
578
579
|
property :infrastructure_failure, as: 'infrastructureFailure'
|
|
579
580
|
end
|
|
580
581
|
end
|
|
@@ -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 = '20190629'
|
|
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'
|
|
@@ -53,21 +53,18 @@ module Google
|
|
|
53
53
|
class CrawledUrl
|
|
54
54
|
include Google::Apis::Core::Hashable
|
|
55
55
|
|
|
56
|
-
# Output only.
|
|
57
|
-
# The body of the request that was used to visit the URL.
|
|
56
|
+
# Output only. The body of the request that was used to visit the URL.
|
|
58
57
|
# Corresponds to the JSON property `body`
|
|
59
58
|
# @return [String]
|
|
60
59
|
attr_accessor :body
|
|
61
60
|
|
|
62
|
-
# Output only.
|
|
63
|
-
# The http method of the request that was used to visit the URL, in
|
|
61
|
+
# Output only. The http method of the request that was used to visit the URL, in
|
|
64
62
|
# uppercase.
|
|
65
63
|
# Corresponds to the JSON property `httpMethod`
|
|
66
64
|
# @return [String]
|
|
67
65
|
attr_accessor :http_method
|
|
68
66
|
|
|
69
|
-
# Output only.
|
|
70
|
-
# The URL that was crawled.
|
|
67
|
+
# Output only. The URL that was crawled.
|
|
71
68
|
# Corresponds to the JSON property `url`
|
|
72
69
|
# @return [String]
|
|
73
70
|
attr_accessor :url
|
|
@@ -88,22 +85,19 @@ module Google
|
|
|
88
85
|
class CustomAccount
|
|
89
86
|
include Google::Apis::Core::Hashable
|
|
90
87
|
|
|
91
|
-
# Required.
|
|
92
|
-
# The login form URL of the website.
|
|
88
|
+
# Required. The login form URL of the website.
|
|
93
89
|
# Corresponds to the JSON property `loginUrl`
|
|
94
90
|
# @return [String]
|
|
95
91
|
attr_accessor :login_url
|
|
96
92
|
|
|
97
|
-
# Input only.
|
|
98
|
-
#
|
|
99
|
-
# The password of the custom account. The credential is stored encrypted
|
|
93
|
+
# Required. Input only. The password of the custom account. The credential is
|
|
94
|
+
# stored encrypted
|
|
100
95
|
# and not returned in any response nor included in audit logs.
|
|
101
96
|
# Corresponds to the JSON property `password`
|
|
102
97
|
# @return [String]
|
|
103
98
|
attr_accessor :password
|
|
104
99
|
|
|
105
|
-
# Required.
|
|
106
|
-
# The user name of the custom account.
|
|
100
|
+
# Required. The user name of the custom account.
|
|
107
101
|
# Corresponds to the JSON property `username`
|
|
108
102
|
# @return [String]
|
|
109
103
|
attr_accessor :username
|
|
@@ -144,53 +138,49 @@ module Google
|
|
|
144
138
|
class Finding
|
|
145
139
|
include Google::Apis::Core::Hashable
|
|
146
140
|
|
|
147
|
-
# Output only.
|
|
148
|
-
# The body of the request that triggered the vulnerability.
|
|
141
|
+
# Output only. The body of the request that triggered the vulnerability.
|
|
149
142
|
# Corresponds to the JSON property `body`
|
|
150
143
|
# @return [String]
|
|
151
144
|
attr_accessor :body
|
|
152
145
|
|
|
153
|
-
# Output only.
|
|
154
|
-
# The description of the vulnerability.
|
|
146
|
+
# Output only. The description of the vulnerability.
|
|
155
147
|
# Corresponds to the JSON property `description`
|
|
156
148
|
# @return [String]
|
|
157
149
|
attr_accessor :description
|
|
158
150
|
|
|
159
|
-
# Output only.
|
|
160
|
-
#
|
|
151
|
+
# Output only. The URL where the browser lands when the vulnerability is
|
|
152
|
+
# detected.
|
|
161
153
|
# Corresponds to the JSON property `finalUrl`
|
|
162
154
|
# @return [String]
|
|
163
155
|
attr_accessor :final_url
|
|
164
156
|
|
|
165
|
-
# Output only.
|
|
166
|
-
# The type of the Finding.
|
|
157
|
+
# Output only. The type of the Finding.
|
|
167
158
|
# Corresponds to the JSON property `findingType`
|
|
168
159
|
# @return [String]
|
|
169
160
|
attr_accessor :finding_type
|
|
170
161
|
|
|
171
|
-
# Output only.
|
|
172
|
-
#
|
|
162
|
+
# Output only. If the vulnerability was originated from nested IFrame, the
|
|
163
|
+
# immediate
|
|
173
164
|
# parent IFrame is reported.
|
|
174
165
|
# Corresponds to the JSON property `frameUrl`
|
|
175
166
|
# @return [String]
|
|
176
167
|
attr_accessor :frame_url
|
|
177
168
|
|
|
178
|
-
# Output only.
|
|
179
|
-
#
|
|
169
|
+
# Output only. The URL produced by the server-side fuzzer and used in the
|
|
170
|
+
# request that
|
|
180
171
|
# triggered the vulnerability.
|
|
181
172
|
# Corresponds to the JSON property `fuzzedUrl`
|
|
182
173
|
# @return [String]
|
|
183
174
|
attr_accessor :fuzzed_url
|
|
184
175
|
|
|
185
|
-
# Output only.
|
|
186
|
-
#
|
|
176
|
+
# Output only. The http method of the request that triggered the vulnerability,
|
|
177
|
+
# in
|
|
187
178
|
# uppercase.
|
|
188
179
|
# Corresponds to the JSON property `httpMethod`
|
|
189
180
|
# @return [String]
|
|
190
181
|
attr_accessor :http_method
|
|
191
182
|
|
|
192
|
-
# Output only.
|
|
193
|
-
# The resource name of the Finding. The name follows the format of
|
|
183
|
+
# Output only. The resource name of the Finding. The name follows the format of
|
|
194
184
|
# 'projects/`projectId`/scanConfigs/`scanConfigId`/scanruns/`scanRunId`/findings/
|
|
195
185
|
# `findingId`'.
|
|
196
186
|
# The finding IDs are generated by the system.
|
|
@@ -203,15 +193,15 @@ module Google
|
|
|
203
193
|
# @return [Google::Apis::WebsecurityscannerV1alpha::OutdatedLibrary]
|
|
204
194
|
attr_accessor :outdated_library
|
|
205
195
|
|
|
206
|
-
# Output only.
|
|
207
|
-
#
|
|
196
|
+
# Output only. The URL containing human-readable payload that user can leverage
|
|
197
|
+
# to
|
|
208
198
|
# reproduce the vulnerability.
|
|
209
199
|
# Corresponds to the JSON property `reproductionUrl`
|
|
210
200
|
# @return [String]
|
|
211
201
|
attr_accessor :reproduction_url
|
|
212
202
|
|
|
213
|
-
# Output only.
|
|
214
|
-
#
|
|
203
|
+
# Output only. The tracking ID uniquely identifies a vulnerability instance
|
|
204
|
+
# across
|
|
215
205
|
# multiple ScanRuns.
|
|
216
206
|
# Corresponds to the JSON property `trackingId`
|
|
217
207
|
# @return [String]
|
|
@@ -267,14 +257,12 @@ module Google
|
|
|
267
257
|
class FindingTypeStats
|
|
268
258
|
include Google::Apis::Core::Hashable
|
|
269
259
|
|
|
270
|
-
# Output only.
|
|
271
|
-
# The count of findings belonging to this finding type.
|
|
260
|
+
# Output only. The count of findings belonging to this finding type.
|
|
272
261
|
# Corresponds to the JSON property `findingCount`
|
|
273
262
|
# @return [Fixnum]
|
|
274
263
|
attr_accessor :finding_count
|
|
275
264
|
|
|
276
|
-
# Output only.
|
|
277
|
-
# The finding type associated with the stats.
|
|
265
|
+
# Output only. The finding type associated with the stats.
|
|
278
266
|
# Corresponds to the JSON property `findingType`
|
|
279
267
|
# @return [String]
|
|
280
268
|
attr_accessor :finding_type
|
|
@@ -294,16 +282,14 @@ module Google
|
|
|
294
282
|
class GoogleAccount
|
|
295
283
|
include Google::Apis::Core::Hashable
|
|
296
284
|
|
|
297
|
-
# Input only.
|
|
298
|
-
#
|
|
299
|
-
# The password of the Google account. The credential is stored encrypted
|
|
285
|
+
# Required. Input only. The password of the Google account. The credential is
|
|
286
|
+
# stored encrypted
|
|
300
287
|
# and not returned in any response nor included in audit logs.
|
|
301
288
|
# Corresponds to the JSON property `password`
|
|
302
289
|
# @return [String]
|
|
303
290
|
attr_accessor :password
|
|
304
291
|
|
|
305
|
-
# Required.
|
|
306
|
-
# The user name of the Google account.
|
|
292
|
+
# Required. The user name of the Google account.
|
|
307
293
|
# Corresponds to the JSON property `username`
|
|
308
294
|
# @return [String]
|
|
309
295
|
attr_accessor :username
|
|
@@ -514,8 +500,7 @@ module Google
|
|
|
514
500
|
# @return [Array<String>]
|
|
515
501
|
attr_accessor :blacklist_patterns
|
|
516
502
|
|
|
517
|
-
# Required.
|
|
518
|
-
# The user provided display name of the ScanConfig.
|
|
503
|
+
# Required. The user provided display name of the ScanConfig.
|
|
519
504
|
# Corresponds to the JSON property `displayName`
|
|
520
505
|
# @return [String]
|
|
521
506
|
attr_accessor :display_name
|
|
@@ -545,8 +530,7 @@ module Google
|
|
|
545
530
|
# @return [Google::Apis::WebsecurityscannerV1alpha::Schedule]
|
|
546
531
|
attr_accessor :schedule
|
|
547
532
|
|
|
548
|
-
# Required.
|
|
549
|
-
# The starting URLs from which the scanner finds site pages.
|
|
533
|
+
# Required. The starting URLs from which the scanner finds site pages.
|
|
550
534
|
# Corresponds to the JSON property `startingUrls`
|
|
551
535
|
# @return [Array<String>]
|
|
552
536
|
attr_accessor :starting_urls
|
|
@@ -585,36 +569,32 @@ module Google
|
|
|
585
569
|
class ScanRun
|
|
586
570
|
include Google::Apis::Core::Hashable
|
|
587
571
|
|
|
588
|
-
# Output only.
|
|
589
|
-
#
|
|
572
|
+
# Output only. The time at which the ScanRun reached termination state - that
|
|
573
|
+
# the ScanRun
|
|
590
574
|
# is either finished or stopped by user.
|
|
591
575
|
# Corresponds to the JSON property `endTime`
|
|
592
576
|
# @return [String]
|
|
593
577
|
attr_accessor :end_time
|
|
594
578
|
|
|
595
|
-
# Output only.
|
|
596
|
-
# The execution state of the ScanRun.
|
|
579
|
+
# Output only. The execution state of the ScanRun.
|
|
597
580
|
# Corresponds to the JSON property `executionState`
|
|
598
581
|
# @return [String]
|
|
599
582
|
attr_accessor :execution_state
|
|
600
583
|
|
|
601
|
-
# Output only.
|
|
602
|
-
# Whether the scan run has found any vulnerabilities.
|
|
584
|
+
# Output only. Whether the scan run has found any vulnerabilities.
|
|
603
585
|
# Corresponds to the JSON property `hasVulnerabilities`
|
|
604
586
|
# @return [Boolean]
|
|
605
587
|
attr_accessor :has_vulnerabilities
|
|
606
588
|
alias_method :has_vulnerabilities?, :has_vulnerabilities
|
|
607
589
|
|
|
608
|
-
# Output only.
|
|
609
|
-
# The resource name of the ScanRun. The name follows the format of
|
|
590
|
+
# Output only. The resource name of the ScanRun. The name follows the format of
|
|
610
591
|
# 'projects/`projectId`/scanConfigs/`scanConfigId`/scanRuns/`scanRunId`'.
|
|
611
592
|
# The ScanRun IDs are generated by the system.
|
|
612
593
|
# Corresponds to the JSON property `name`
|
|
613
594
|
# @return [String]
|
|
614
595
|
attr_accessor :name
|
|
615
596
|
|
|
616
|
-
# Output only.
|
|
617
|
-
# The percentage of total completion ranging from 0 to 100.
|
|
597
|
+
# Output only. The percentage of total completion ranging from 0 to 100.
|
|
618
598
|
# If the scan is in queue, the value is 0.
|
|
619
599
|
# If the scan is running, the value ranges from 0 to 100.
|
|
620
600
|
# If the scan is finished, the value is 100.
|
|
@@ -622,28 +602,27 @@ module Google
|
|
|
622
602
|
# @return [Fixnum]
|
|
623
603
|
attr_accessor :progress_percent
|
|
624
604
|
|
|
625
|
-
# Output only.
|
|
626
|
-
#
|
|
605
|
+
# Output only. The result state of the ScanRun. This field is only available
|
|
606
|
+
# after the
|
|
627
607
|
# execution state reaches "FINISHED".
|
|
628
608
|
# Corresponds to the JSON property `resultState`
|
|
629
609
|
# @return [String]
|
|
630
610
|
attr_accessor :result_state
|
|
631
611
|
|
|
632
|
-
# Output only.
|
|
633
|
-
# The time at which the ScanRun started.
|
|
612
|
+
# Output only. The time at which the ScanRun started.
|
|
634
613
|
# Corresponds to the JSON property `startTime`
|
|
635
614
|
# @return [String]
|
|
636
615
|
attr_accessor :start_time
|
|
637
616
|
|
|
638
|
-
# Output only.
|
|
639
|
-
#
|
|
617
|
+
# Output only. The number of URLs crawled during this ScanRun. If the scan is in
|
|
618
|
+
# progress,
|
|
640
619
|
# the value represents the number of URLs crawled up to now.
|
|
641
620
|
# Corresponds to the JSON property `urlsCrawledCount`
|
|
642
621
|
# @return [Fixnum]
|
|
643
622
|
attr_accessor :urls_crawled_count
|
|
644
623
|
|
|
645
|
-
# Output only.
|
|
646
|
-
#
|
|
624
|
+
# Output only. The number of URLs tested during this ScanRun. If the scan is in
|
|
625
|
+
# progress,
|
|
647
626
|
# the value represents the number of URLs tested up to now. The number of
|
|
648
627
|
# URLs tested is usually larger than the number URLS crawled because
|
|
649
628
|
# typically a crawled URL is tested with multiple test payloads.
|
|
@@ -673,8 +652,7 @@ module Google
|
|
|
673
652
|
class Schedule
|
|
674
653
|
include Google::Apis::Core::Hashable
|
|
675
654
|
|
|
676
|
-
# Required.
|
|
677
|
-
# The duration of time between executions in days.
|
|
655
|
+
# Required. The duration of time between executions in days.
|
|
678
656
|
# Corresponds to the JSON property `intervalDurationDays`
|
|
679
657
|
# @return [Fixnum]
|
|
680
658
|
attr_accessor :interval_duration_days
|