google-api-client 0.30.4 → 0.30.5
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -49,8 +49,8 @@ module Google
|
|
49
49
|
|
50
50
|
# Creates a new ScanConfig.
|
51
51
|
# @param [String] parent
|
52
|
-
# Required.
|
53
|
-
#
|
52
|
+
# Required. The parent resource name where the scan is created, which should be
|
53
|
+
# a
|
54
54
|
# project resource name in the format 'projects/`projectId`'.
|
55
55
|
# @param [Google::Apis::WebsecurityscannerV1alpha::ScanConfig] scan_config_object
|
56
56
|
# @param [String] fields
|
@@ -84,8 +84,8 @@ module Google
|
|
84
84
|
|
85
85
|
# Deletes an existing ScanConfig and its child resources.
|
86
86
|
# @param [String] name
|
87
|
-
# Required.
|
88
|
-
#
|
87
|
+
# Required. The resource name of the ScanConfig to be deleted. The name follows
|
88
|
+
# the
|
89
89
|
# format of 'projects/`projectId`/scanConfigs/`scanConfigId`'.
|
90
90
|
# @param [String] fields
|
91
91
|
# Selector specifying which fields to include in a partial response.
|
@@ -116,8 +116,8 @@ module Google
|
|
116
116
|
|
117
117
|
# Gets a ScanConfig.
|
118
118
|
# @param [String] name
|
119
|
-
# Required.
|
120
|
-
#
|
119
|
+
# Required. The resource name of the ScanConfig to be returned. The name follows
|
120
|
+
# the
|
121
121
|
# format of 'projects/`projectId`/scanConfigs/`scanConfigId`'.
|
122
122
|
# @param [String] fields
|
123
123
|
# Selector specifying which fields to include in a partial response.
|
@@ -148,8 +148,8 @@ module Google
|
|
148
148
|
|
149
149
|
# Lists ScanConfigs under a given project.
|
150
150
|
# @param [String] parent
|
151
|
-
# Required.
|
152
|
-
#
|
151
|
+
# Required. The parent resource name, which should be a project resource name in
|
152
|
+
# the
|
153
153
|
# format 'projects/`projectId`'.
|
154
154
|
# @param [Fixnum] page_size
|
155
155
|
# The maximum number of ScanConfigs to return, can be limited by server.
|
@@ -195,8 +195,8 @@ module Google
|
|
195
195
|
# generated by the system.
|
196
196
|
# @param [Google::Apis::WebsecurityscannerV1alpha::ScanConfig] scan_config_object
|
197
197
|
# @param [String] update_mask
|
198
|
-
# Required.
|
199
|
-
#
|
198
|
+
# Required. The update mask applies to the resource. For the `FieldMask`
|
199
|
+
# definition,
|
200
200
|
# see
|
201
201
|
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
202
202
|
# fieldmask
|
@@ -232,8 +232,7 @@ module Google
|
|
232
232
|
|
233
233
|
# Start a ScanRun according to the given ScanConfig.
|
234
234
|
# @param [String] name
|
235
|
-
# Required.
|
236
|
-
# The resource name of the ScanConfig to be used. The name follows the
|
235
|
+
# Required. The resource name of the ScanConfig to be used. The name follows the
|
237
236
|
# format of 'projects/`projectId`/scanConfigs/`scanConfigId`'.
|
238
237
|
# @param [Google::Apis::WebsecurityscannerV1alpha::StartScanRunRequest] start_scan_run_request_object
|
239
238
|
# @param [String] fields
|
@@ -267,8 +266,8 @@ module Google
|
|
267
266
|
|
268
267
|
# Gets a ScanRun.
|
269
268
|
# @param [String] name
|
270
|
-
# Required.
|
271
|
-
#
|
269
|
+
# Required. The resource name of the ScanRun to be returned. The name follows
|
270
|
+
# the
|
272
271
|
# format of
|
273
272
|
# 'projects/`projectId`/scanConfigs/`scanConfigId`/scanRuns/`scanRunId`'.
|
274
273
|
# @param [String] fields
|
@@ -301,8 +300,8 @@ module Google
|
|
301
300
|
# Lists ScanRuns under a given ScanConfig, in descending order of ScanRun
|
302
301
|
# stop time.
|
303
302
|
# @param [String] parent
|
304
|
-
# Required.
|
305
|
-
#
|
303
|
+
# Required. The parent resource name, which should be a scan resource name in
|
304
|
+
# the
|
306
305
|
# format 'projects/`projectId`/scanConfigs/`scanConfigId`'.
|
307
306
|
# @param [Fixnum] page_size
|
308
307
|
# The maximum number of ScanRuns to return, can be limited by server.
|
@@ -343,8 +342,7 @@ module Google
|
|
343
342
|
|
344
343
|
# Stops a ScanRun. The stopped ScanRun is returned.
|
345
344
|
# @param [String] name
|
346
|
-
# Required.
|
347
|
-
# The resource name of the ScanRun to be stopped. The name follows the
|
345
|
+
# Required. The resource name of the ScanRun to be stopped. The name follows the
|
348
346
|
# format of
|
349
347
|
# 'projects/`projectId`/scanConfigs/`scanConfigId`/scanRuns/`scanRunId`'.
|
350
348
|
# @param [Google::Apis::WebsecurityscannerV1alpha::StopScanRunRequest] stop_scan_run_request_object
|
@@ -379,8 +377,8 @@ module Google
|
|
379
377
|
|
380
378
|
# List CrawledUrls under a given ScanRun.
|
381
379
|
# @param [String] parent
|
382
|
-
# Required.
|
383
|
-
#
|
380
|
+
# Required. The parent resource name, which should be a scan run resource name
|
381
|
+
# in the
|
384
382
|
# format
|
385
383
|
# 'projects/`projectId`/scanConfigs/`scanConfigId`/scanRuns/`scanRunId`'.
|
386
384
|
# @param [Fixnum] page_size
|
@@ -422,8 +420,8 @@ module Google
|
|
422
420
|
|
423
421
|
# List all FindingTypeStats under a given ScanRun.
|
424
422
|
# @param [String] parent
|
425
|
-
# Required.
|
426
|
-
#
|
423
|
+
# Required. The parent resource name, which should be a scan run resource name
|
424
|
+
# in the
|
427
425
|
# format
|
428
426
|
# 'projects/`projectId`/scanConfigs/`scanConfigId`/scanRuns/`scanRunId`'.
|
429
427
|
# @param [String] fields
|
@@ -455,8 +453,8 @@ module Google
|
|
455
453
|
|
456
454
|
# Gets a Finding.
|
457
455
|
# @param [String] name
|
458
|
-
# Required.
|
459
|
-
#
|
456
|
+
# Required. The resource name of the Finding to be returned. The name follows
|
457
|
+
# the
|
460
458
|
# format of
|
461
459
|
# 'projects/`projectId`/scanConfigs/`scanConfigId`/scanRuns/`scanRunId`/findings/
|
462
460
|
# `findingId`'.
|
@@ -489,8 +487,8 @@ module Google
|
|
489
487
|
|
490
488
|
# List Findings under a given ScanRun.
|
491
489
|
# @param [String] parent
|
492
|
-
# Required.
|
493
|
-
#
|
490
|
+
# Required. The parent resource name, which should be a scan run resource name
|
491
|
+
# in the
|
494
492
|
# format
|
495
493
|
# 'projects/`projectId`/scanConfigs/`scanConfigId`/scanRuns/`scanRunId`'.
|
496
494
|
# @param [String] filter
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/security-scanner/
|
26
26
|
module WebsecurityscannerV1beta
|
27
27
|
VERSION = 'V1beta'
|
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,26 +138,23 @@ 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
|
# Detailed and up-to-date information on findings can be found here:
|
168
159
|
# https://cloud.google.com/security-scanner/docs/scan-result-details
|
169
160
|
# Corresponds to the JSON property `findingType`
|
@@ -175,29 +166,28 @@ module Google
|
|
175
166
|
# @return [Google::Apis::WebsecurityscannerV1beta::Form]
|
176
167
|
attr_accessor :form
|
177
168
|
|
178
|
-
# Output only.
|
179
|
-
#
|
169
|
+
# Output only. If the vulnerability was originated from nested IFrame, the
|
170
|
+
# immediate
|
180
171
|
# parent IFrame is reported.
|
181
172
|
# Corresponds to the JSON property `frameUrl`
|
182
173
|
# @return [String]
|
183
174
|
attr_accessor :frame_url
|
184
175
|
|
185
|
-
# Output only.
|
186
|
-
#
|
176
|
+
# Output only. The URL produced by the server-side fuzzer and used in the
|
177
|
+
# request that
|
187
178
|
# triggered the vulnerability.
|
188
179
|
# Corresponds to the JSON property `fuzzedUrl`
|
189
180
|
# @return [String]
|
190
181
|
attr_accessor :fuzzed_url
|
191
182
|
|
192
|
-
# Output only.
|
193
|
-
#
|
183
|
+
# Output only. The http method of the request that triggered the vulnerability,
|
184
|
+
# in
|
194
185
|
# uppercase.
|
195
186
|
# Corresponds to the JSON property `httpMethod`
|
196
187
|
# @return [String]
|
197
188
|
attr_accessor :http_method
|
198
189
|
|
199
|
-
# Output only.
|
200
|
-
# The resource name of the Finding. The name follows the format of
|
190
|
+
# Output only. The resource name of the Finding. The name follows the format of
|
201
191
|
# 'projects/`projectId`/scanConfigs/`scanConfigId`/scanruns/`scanRunId`/findings/
|
202
192
|
# `findingId`'.
|
203
193
|
# The finding IDs are generated by the system.
|
@@ -210,15 +200,15 @@ module Google
|
|
210
200
|
# @return [Google::Apis::WebsecurityscannerV1beta::OutdatedLibrary]
|
211
201
|
attr_accessor :outdated_library
|
212
202
|
|
213
|
-
# Output only.
|
214
|
-
#
|
203
|
+
# Output only. The URL containing human-readable payload that user can leverage
|
204
|
+
# to
|
215
205
|
# reproduce the vulnerability.
|
216
206
|
# Corresponds to the JSON property `reproductionUrl`
|
217
207
|
# @return [String]
|
218
208
|
attr_accessor :reproduction_url
|
219
209
|
|
220
|
-
# Output only.
|
221
|
-
#
|
210
|
+
# Output only. The tracking ID uniquely identifies a vulnerability instance
|
211
|
+
# across
|
222
212
|
# multiple ScanRuns.
|
223
213
|
# Corresponds to the JSON property `trackingId`
|
224
214
|
# @return [String]
|
@@ -275,14 +265,12 @@ module Google
|
|
275
265
|
class FindingTypeStats
|
276
266
|
include Google::Apis::Core::Hashable
|
277
267
|
|
278
|
-
# Output only.
|
279
|
-
# The count of findings belonging to this finding type.
|
268
|
+
# Output only. The count of findings belonging to this finding type.
|
280
269
|
# Corresponds to the JSON property `findingCount`
|
281
270
|
# @return [Fixnum]
|
282
271
|
attr_accessor :finding_count
|
283
272
|
|
284
|
-
# Output only.
|
285
|
-
# The finding type associated with the stats.
|
273
|
+
# Output only. The finding type associated with the stats.
|
286
274
|
# Corresponds to the JSON property `findingType`
|
287
275
|
# @return [String]
|
288
276
|
attr_accessor :finding_type
|
@@ -327,16 +315,14 @@ module Google
|
|
327
315
|
class GoogleAccount
|
328
316
|
include Google::Apis::Core::Hashable
|
329
317
|
|
330
|
-
# Input only.
|
331
|
-
#
|
332
|
-
# The password of the Google account. The credential is stored encrypted
|
318
|
+
# Required. Input only. The password of the Google account. The credential is
|
319
|
+
# stored encrypted
|
333
320
|
# and not returned in any response nor included in audit logs.
|
334
321
|
# Corresponds to the JSON property `password`
|
335
322
|
# @return [String]
|
336
323
|
attr_accessor :password
|
337
324
|
|
338
|
-
# Required.
|
339
|
-
# The user name of the Google account.
|
325
|
+
# Required. The user name of the Google account.
|
340
326
|
# Corresponds to the JSON property `username`
|
341
327
|
# @return [String]
|
342
328
|
attr_accessor :username
|
@@ -546,8 +532,7 @@ module Google
|
|
546
532
|
# @return [Array<String>]
|
547
533
|
attr_accessor :blacklist_patterns
|
548
534
|
|
549
|
-
# Required.
|
550
|
-
# The user provided display name of the ScanConfig.
|
535
|
+
# Required. The user provided display name of the ScanConfig.
|
551
536
|
# Corresponds to the JSON property `displayName`
|
552
537
|
# @return [String]
|
553
538
|
attr_accessor :display_name
|
@@ -589,8 +574,7 @@ module Google
|
|
589
574
|
# @return [Google::Apis::WebsecurityscannerV1beta::Schedule]
|
590
575
|
attr_accessor :schedule
|
591
576
|
|
592
|
-
# Required.
|
593
|
-
# The starting URLs from which the scanner finds site pages.
|
577
|
+
# Required. The starting URLs from which the scanner finds site pages.
|
594
578
|
# Corresponds to the JSON property `startingUrls`
|
595
579
|
# @return [Array<String>]
|
596
580
|
attr_accessor :starting_urls
|
@@ -634,14 +618,13 @@ module Google
|
|
634
618
|
class ScanConfigError
|
635
619
|
include Google::Apis::Core::Hashable
|
636
620
|
|
637
|
-
# Output only.
|
638
|
-
# Indicates the reason code for a configuration failure.
|
621
|
+
# Output only. Indicates the reason code for a configuration failure.
|
639
622
|
# Corresponds to the JSON property `code`
|
640
623
|
# @return [String]
|
641
624
|
attr_accessor :code
|
642
625
|
|
643
|
-
# Output only.
|
644
|
-
#
|
626
|
+
# Output only. Indicates the full name of the ScanConfig field that triggers
|
627
|
+
# this error,
|
645
628
|
# for example "scan_config.max_qps". This field is provided for
|
646
629
|
# troubleshooting purposes only and its actual value can change in the
|
647
630
|
# future.
|
@@ -665,8 +648,8 @@ module Google
|
|
665
648
|
class ScanRun
|
666
649
|
include Google::Apis::Core::Hashable
|
667
650
|
|
668
|
-
# Output only.
|
669
|
-
#
|
651
|
+
# Output only. The time at which the ScanRun reached termination state - that
|
652
|
+
# the ScanRun
|
670
653
|
# is either finished or stopped by user.
|
671
654
|
# Corresponds to the JSON property `endTime`
|
672
655
|
# @return [String]
|
@@ -678,29 +661,25 @@ module Google
|
|
678
661
|
# @return [Google::Apis::WebsecurityscannerV1beta::ScanRunErrorTrace]
|
679
662
|
attr_accessor :error_trace
|
680
663
|
|
681
|
-
# Output only.
|
682
|
-
# The execution state of the ScanRun.
|
664
|
+
# Output only. The execution state of the ScanRun.
|
683
665
|
# Corresponds to the JSON property `executionState`
|
684
666
|
# @return [String]
|
685
667
|
attr_accessor :execution_state
|
686
668
|
|
687
|
-
# Output only.
|
688
|
-
# Whether the scan run has found any vulnerabilities.
|
669
|
+
# Output only. Whether the scan run has found any vulnerabilities.
|
689
670
|
# Corresponds to the JSON property `hasVulnerabilities`
|
690
671
|
# @return [Boolean]
|
691
672
|
attr_accessor :has_vulnerabilities
|
692
673
|
alias_method :has_vulnerabilities?, :has_vulnerabilities
|
693
674
|
|
694
|
-
# Output only.
|
695
|
-
# The resource name of the ScanRun. The name follows the format of
|
675
|
+
# Output only. The resource name of the ScanRun. The name follows the format of
|
696
676
|
# 'projects/`projectId`/scanConfigs/`scanConfigId`/scanRuns/`scanRunId`'.
|
697
677
|
# The ScanRun IDs are generated by the system.
|
698
678
|
# Corresponds to the JSON property `name`
|
699
679
|
# @return [String]
|
700
680
|
attr_accessor :name
|
701
681
|
|
702
|
-
# Output only.
|
703
|
-
# The percentage of total completion ranging from 0 to 100.
|
682
|
+
# Output only. The percentage of total completion ranging from 0 to 100.
|
704
683
|
# If the scan is in queue, the value is 0.
|
705
684
|
# If the scan is running, the value ranges from 0 to 100.
|
706
685
|
# If the scan is finished, the value is 100.
|
@@ -708,28 +687,27 @@ module Google
|
|
708
687
|
# @return [Fixnum]
|
709
688
|
attr_accessor :progress_percent
|
710
689
|
|
711
|
-
# Output only.
|
712
|
-
#
|
690
|
+
# Output only. The result state of the ScanRun. This field is only available
|
691
|
+
# after the
|
713
692
|
# execution state reaches "FINISHED".
|
714
693
|
# Corresponds to the JSON property `resultState`
|
715
694
|
# @return [String]
|
716
695
|
attr_accessor :result_state
|
717
696
|
|
718
|
-
# Output only.
|
719
|
-
# The time at which the ScanRun started.
|
697
|
+
# Output only. The time at which the ScanRun started.
|
720
698
|
# Corresponds to the JSON property `startTime`
|
721
699
|
# @return [String]
|
722
700
|
attr_accessor :start_time
|
723
701
|
|
724
|
-
# Output only.
|
725
|
-
#
|
702
|
+
# Output only. The number of URLs crawled during this ScanRun. If the scan is in
|
703
|
+
# progress,
|
726
704
|
# the value represents the number of URLs crawled up to now.
|
727
705
|
# Corresponds to the JSON property `urlsCrawledCount`
|
728
706
|
# @return [Fixnum]
|
729
707
|
attr_accessor :urls_crawled_count
|
730
708
|
|
731
|
-
# Output only.
|
732
|
-
#
|
709
|
+
# Output only. The number of URLs tested during this ScanRun. If the scan is in
|
710
|
+
# progress,
|
733
711
|
# the value represents the number of URLs tested up to now. The number of
|
734
712
|
# URLs tested is usually larger than the number URLS crawled because
|
735
713
|
# typically a crawled URL is tested with multiple test payloads.
|
@@ -737,8 +715,7 @@ module Google
|
|
737
715
|
# @return [Fixnum]
|
738
716
|
attr_accessor :urls_tested_count
|
739
717
|
|
740
|
-
# Output only.
|
741
|
-
# A list of warnings, if such are encountered during this scan run.
|
718
|
+
# Output only. A list of warnings, if such are encountered during this scan run.
|
742
719
|
# Corresponds to the JSON property `warningTraces`
|
743
720
|
# @return [Array<Google::Apis::WebsecurityscannerV1beta::ScanRunWarningTrace>]
|
744
721
|
attr_accessor :warning_traces
|
@@ -768,14 +745,13 @@ module Google
|
|
768
745
|
class ScanRunErrorTrace
|
769
746
|
include Google::Apis::Core::Hashable
|
770
747
|
|
771
|
-
# Output only.
|
772
|
-
# Indicates the error reason code.
|
748
|
+
# Output only. Indicates the error reason code.
|
773
749
|
# Corresponds to the JSON property `code`
|
774
750
|
# @return [String]
|
775
751
|
attr_accessor :code
|
776
752
|
|
777
|
-
# Output only.
|
778
|
-
#
|
753
|
+
# Output only. If the scan encounters TOO_MANY_HTTP_ERRORS, this field indicates
|
754
|
+
# the most
|
779
755
|
# common HTTP error code, if such is available. For example, if this code is
|
780
756
|
# 404, the scan has encountered too many NOT_FOUND responses.
|
781
757
|
# Corresponds to the JSON property `mostCommonHttpErrorCode`
|
@@ -808,8 +784,7 @@ module Google
|
|
808
784
|
class ScanRunWarningTrace
|
809
785
|
include Google::Apis::Core::Hashable
|
810
786
|
|
811
|
-
# Output only.
|
812
|
-
# Indicates the warning code.
|
787
|
+
# Output only. Indicates the warning code.
|
813
788
|
# Corresponds to the JSON property `code`
|
814
789
|
# @return [String]
|
815
790
|
attr_accessor :code
|
@@ -828,8 +803,7 @@ module Google
|
|
828
803
|
class Schedule
|
829
804
|
include Google::Apis::Core::Hashable
|
830
805
|
|
831
|
-
# Required.
|
832
|
-
# The duration of time between executions in days.
|
806
|
+
# Required. The duration of time between executions in days.
|
833
807
|
# Corresponds to the JSON property `intervalDurationDays`
|
834
808
|
# @return [Fixnum]
|
835
809
|
attr_accessor :interval_duration_days
|