google-apis-checks_v1alpha 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -22,18 +22,17 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module ChecksV1alpha
|
24
24
|
|
25
|
-
#
|
25
|
+
# Request for the AnalyzePrivacyPolicy method.
|
26
26
|
class AnalyzePrivacyPolicyRequest
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
|
-
#
|
30
|
-
#
|
29
|
+
# The HTML content of the privacy policy. This is useful if you'd like to manage
|
30
|
+
# the crawling and rendering of the privacy policy.
|
31
31
|
# Corresponds to the JSON property `privacyPolicyPageContent`
|
32
32
|
# @return [String]
|
33
33
|
attr_accessor :privacy_policy_page_content
|
34
34
|
|
35
|
-
#
|
36
|
-
# (Use `uri` instead of `url` in field name)
|
35
|
+
# The URI that points to the web page for the privacy policy.
|
37
36
|
# Corresponds to the JSON property `privacyPolicyUri`
|
38
37
|
# @return [String]
|
39
38
|
attr_accessor :privacy_policy_uri
|
@@ -49,21 +48,23 @@ module Google
|
|
49
48
|
end
|
50
49
|
end
|
51
50
|
|
52
|
-
#
|
51
|
+
# Response containing the analyzed privacy policy for the AnalyzePrivacyPolicy
|
52
|
+
# method.
|
53
53
|
class AnalyzePrivacyPolicyResponse
|
54
54
|
include Google::Apis::Core::Hashable
|
55
55
|
|
56
|
-
#
|
56
|
+
# A list of detected purposes in the privacy policy.
|
57
57
|
# Corresponds to the JSON property `dataPurposeAnnotations`
|
58
58
|
# @return [Array<Google::Apis::ChecksV1alpha::PolicyPurposeOfUseAnnotation>]
|
59
59
|
attr_accessor :data_purpose_annotations
|
60
60
|
|
61
|
-
#
|
61
|
+
# A list of detected data types in the privacy policy.
|
62
62
|
# Corresponds to the JSON property `dataTypeAnnotations`
|
63
63
|
# @return [Array<Google::Apis::ChecksV1alpha::PolicyDataTypeAnnotation>]
|
64
64
|
attr_accessor :data_type_annotations
|
65
65
|
|
66
|
-
# HTML content for the privacy policy page.
|
66
|
+
# HTML content for the privacy policy page. The byte offsets in each annotated
|
67
|
+
# section will match this content.
|
67
68
|
# Corresponds to the JSON property `htmlContent`
|
68
69
|
# @return [String]
|
69
70
|
attr_accessor :html_content
|
@@ -73,7 +74,7 @@ module Google
|
|
73
74
|
# @return [Google::Apis::ChecksV1alpha::LastUpdatedDate]
|
74
75
|
attr_accessor :last_updated_date_info
|
75
76
|
|
76
|
-
#
|
77
|
+
# A list of detected topics in the privacy policy.
|
77
78
|
# Corresponds to the JSON property `sectionAnnotations`
|
78
79
|
# @return [Array<Google::Apis::ChecksV1alpha::PolicySectionAnnotation>]
|
79
80
|
attr_accessor :section_annotations
|
@@ -162,7 +163,8 @@ module Google
|
|
162
163
|
end
|
163
164
|
end
|
164
165
|
|
165
|
-
#
|
166
|
+
# Response containing the analyzed privacy policy for the FindPrivacyPolicy
|
167
|
+
# method.
|
166
168
|
class FindPrivacyPolicyResponse
|
167
169
|
include Google::Apis::Core::Hashable
|
168
170
|
|
@@ -181,6 +183,1065 @@ module Google
|
|
181
183
|
end
|
182
184
|
end
|
183
185
|
|
186
|
+
# Represents an app in Checks.
|
187
|
+
class GoogleChecksAccountV1alphaApp
|
188
|
+
include Google::Apis::Core::Hashable
|
189
|
+
|
190
|
+
# The resource name of the app. Example: `accounts/123/apps/456`
|
191
|
+
# Corresponds to the JSON property `name`
|
192
|
+
# @return [String]
|
193
|
+
attr_accessor :name
|
194
|
+
|
195
|
+
# The app's title.
|
196
|
+
# Corresponds to the JSON property `title`
|
197
|
+
# @return [String]
|
198
|
+
attr_accessor :title
|
199
|
+
|
200
|
+
def initialize(**args)
|
201
|
+
update!(**args)
|
202
|
+
end
|
203
|
+
|
204
|
+
# Update properties of this object
|
205
|
+
def update!(**args)
|
206
|
+
@name = args[:name] if args.key?(:name)
|
207
|
+
@title = args[:title] if args.key?(:title)
|
208
|
+
end
|
209
|
+
end
|
210
|
+
|
211
|
+
# The response message for AccountService.ListApps.
|
212
|
+
class GoogleChecksAccountV1alphaListAppsResponse
|
213
|
+
include Google::Apis::Core::Hashable
|
214
|
+
|
215
|
+
# The apps.
|
216
|
+
# Corresponds to the JSON property `apps`
|
217
|
+
# @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksAccountV1alphaApp>]
|
218
|
+
attr_accessor :apps
|
219
|
+
|
220
|
+
# A token which can be sent as `page_token` to retrieve the next page. If this
|
221
|
+
# field is omitted, there are no subsequent pages.
|
222
|
+
# Corresponds to the JSON property `nextPageToken`
|
223
|
+
# @return [String]
|
224
|
+
attr_accessor :next_page_token
|
225
|
+
|
226
|
+
def initialize(**args)
|
227
|
+
update!(**args)
|
228
|
+
end
|
229
|
+
|
230
|
+
# Update properties of this object
|
231
|
+
def update!(**args)
|
232
|
+
@apps = args[:apps] if args.key?(:apps)
|
233
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
234
|
+
end
|
235
|
+
end
|
236
|
+
|
237
|
+
# The request message for ReportService.AnalyzeUpload.
|
238
|
+
class GoogleChecksReportV1alphaAnalyzeUploadRequest
|
239
|
+
include Google::Apis::Core::Hashable
|
240
|
+
|
241
|
+
# Optional. Git commit hash or changelist number associated with the upload.
|
242
|
+
# Corresponds to the JSON property `codeReferenceId`
|
243
|
+
# @return [String]
|
244
|
+
attr_accessor :code_reference_id
|
245
|
+
|
246
|
+
def initialize(**args)
|
247
|
+
update!(**args)
|
248
|
+
end
|
249
|
+
|
250
|
+
# Update properties of this object
|
251
|
+
def update!(**args)
|
252
|
+
@code_reference_id = args[:code_reference_id] if args.key?(:code_reference_id)
|
253
|
+
end
|
254
|
+
end
|
255
|
+
|
256
|
+
# Information about the analyzed app bundle.
|
257
|
+
class GoogleChecksReportV1alphaAppBundle
|
258
|
+
include Google::Apis::Core::Hashable
|
259
|
+
|
260
|
+
# Unique id of the bundle. For example: "com.google.Gmail".
|
261
|
+
# Corresponds to the JSON property `bundleId`
|
262
|
+
# @return [String]
|
263
|
+
attr_accessor :bundle_id
|
264
|
+
|
265
|
+
# Git commit hash or changelist number associated with the release.
|
266
|
+
# Corresponds to the JSON property `codeReferenceId`
|
267
|
+
# @return [String]
|
268
|
+
attr_accessor :code_reference_id
|
269
|
+
|
270
|
+
# Identifies the type of release.
|
271
|
+
# Corresponds to the JSON property `releaseType`
|
272
|
+
# @return [String]
|
273
|
+
attr_accessor :release_type
|
274
|
+
|
275
|
+
# The user-visible version of the bundle such as the Android `versionName` or
|
276
|
+
# iOS `CFBundleShortVersionString`. For example: "7.21.1".
|
277
|
+
# Corresponds to the JSON property `version`
|
278
|
+
# @return [String]
|
279
|
+
attr_accessor :version
|
280
|
+
|
281
|
+
# The version used throughout the operating system and store to identify the
|
282
|
+
# build such as the Android `versionCode` or iOS `CFBundleVersion`.
|
283
|
+
# Corresponds to the JSON property `versionId`
|
284
|
+
# @return [String]
|
285
|
+
attr_accessor :version_id
|
286
|
+
|
287
|
+
def initialize(**args)
|
288
|
+
update!(**args)
|
289
|
+
end
|
290
|
+
|
291
|
+
# Update properties of this object
|
292
|
+
def update!(**args)
|
293
|
+
@bundle_id = args[:bundle_id] if args.key?(:bundle_id)
|
294
|
+
@code_reference_id = args[:code_reference_id] if args.key?(:code_reference_id)
|
295
|
+
@release_type = args[:release_type] if args.key?(:release_type)
|
296
|
+
@version = args[:version] if args.key?(:version)
|
297
|
+
@version_id = args[:version_id] if args.key?(:version_id)
|
298
|
+
end
|
299
|
+
end
|
300
|
+
|
301
|
+
# A check that was run on your app.
|
302
|
+
class GoogleChecksReportV1alphaCheck
|
303
|
+
include Google::Apis::Core::Hashable
|
304
|
+
|
305
|
+
# Regulations and policies that serve as the legal basis for the check.
|
306
|
+
# Corresponds to the JSON property `citations`
|
307
|
+
# @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheckCitation>]
|
308
|
+
attr_accessor :citations
|
309
|
+
|
310
|
+
# Evidence for a check.
|
311
|
+
# Corresponds to the JSON property `evidence`
|
312
|
+
# @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheckEvidence]
|
313
|
+
attr_accessor :evidence
|
314
|
+
|
315
|
+
# Regions that are impacted by the check. For more info, see https://google.aip.
|
316
|
+
# dev/143#countries-and-regions.
|
317
|
+
# Corresponds to the JSON property `regionCodes`
|
318
|
+
# @return [Array<String>]
|
319
|
+
attr_accessor :region_codes
|
320
|
+
|
321
|
+
# The urgency or risk level of the check.
|
322
|
+
# Corresponds to the JSON property `severity`
|
323
|
+
# @return [String]
|
324
|
+
attr_accessor :severity
|
325
|
+
|
326
|
+
# The result after running the check.
|
327
|
+
# Corresponds to the JSON property `state`
|
328
|
+
# @return [String]
|
329
|
+
attr_accessor :state
|
330
|
+
|
331
|
+
# Additional information about the check state in relation to past reports.
|
332
|
+
# Corresponds to the JSON property `stateMetadata`
|
333
|
+
# @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheckStateMetadata]
|
334
|
+
attr_accessor :state_metadata
|
335
|
+
|
336
|
+
# The type of check that was run. A type will only appear once in a report's
|
337
|
+
# list of checks.
|
338
|
+
# Corresponds to the JSON property `type`
|
339
|
+
# @return [String]
|
340
|
+
attr_accessor :type
|
341
|
+
|
342
|
+
def initialize(**args)
|
343
|
+
update!(**args)
|
344
|
+
end
|
345
|
+
|
346
|
+
# Update properties of this object
|
347
|
+
def update!(**args)
|
348
|
+
@citations = args[:citations] if args.key?(:citations)
|
349
|
+
@evidence = args[:evidence] if args.key?(:evidence)
|
350
|
+
@region_codes = args[:region_codes] if args.key?(:region_codes)
|
351
|
+
@severity = args[:severity] if args.key?(:severity)
|
352
|
+
@state = args[:state] if args.key?(:state)
|
353
|
+
@state_metadata = args[:state_metadata] if args.key?(:state_metadata)
|
354
|
+
@type = args[:type] if args.key?(:type)
|
355
|
+
end
|
356
|
+
end
|
357
|
+
|
358
|
+
# Regulation or policy that serves as the legal basis for the check.
|
359
|
+
class GoogleChecksReportV1alphaCheckCitation
|
360
|
+
include Google::Apis::Core::Hashable
|
361
|
+
|
362
|
+
# Citation type.
|
363
|
+
# Corresponds to the JSON property `type`
|
364
|
+
# @return [String]
|
365
|
+
attr_accessor :type
|
366
|
+
|
367
|
+
def initialize(**args)
|
368
|
+
update!(**args)
|
369
|
+
end
|
370
|
+
|
371
|
+
# Update properties of this object
|
372
|
+
def update!(**args)
|
373
|
+
@type = args[:type] if args.key?(:type)
|
374
|
+
end
|
375
|
+
end
|
376
|
+
|
377
|
+
# Evidence concerning data security.
|
378
|
+
class GoogleChecksReportV1alphaCheckDataSecurityEvidence
|
379
|
+
include Google::Apis::Core::Hashable
|
380
|
+
|
381
|
+
# Evidence related to data in transit.
|
382
|
+
# Corresponds to the JSON property `dataInTransitInfo`
|
383
|
+
# @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheckDataSecurityEvidenceDataInTransitInfo>]
|
384
|
+
attr_accessor :data_in_transit_info
|
385
|
+
|
386
|
+
def initialize(**args)
|
387
|
+
update!(**args)
|
388
|
+
end
|
389
|
+
|
390
|
+
# Update properties of this object
|
391
|
+
def update!(**args)
|
392
|
+
@data_in_transit_info = args[:data_in_transit_info] if args.key?(:data_in_transit_info)
|
393
|
+
end
|
394
|
+
end
|
395
|
+
|
396
|
+
# Evidence related to data in transit detected in your app.
|
397
|
+
class GoogleChecksReportV1alphaCheckDataSecurityEvidenceDataInTransitInfo
|
398
|
+
include Google::Apis::Core::Hashable
|
399
|
+
|
400
|
+
# The URL contacted by your app. This includes the protocol, domain, and URL
|
401
|
+
# parameters.
|
402
|
+
# Corresponds to the JSON property `uri`
|
403
|
+
# @return [String]
|
404
|
+
attr_accessor :uri
|
405
|
+
|
406
|
+
def initialize(**args)
|
407
|
+
update!(**args)
|
408
|
+
end
|
409
|
+
|
410
|
+
# Update properties of this object
|
411
|
+
def update!(**args)
|
412
|
+
@uri = args[:uri] if args.key?(:uri)
|
413
|
+
end
|
414
|
+
end
|
415
|
+
|
416
|
+
# Evidence concerning a data type that was found in your app.
|
417
|
+
class GoogleChecksReportV1alphaCheckDataTypeEvidence
|
418
|
+
include Google::Apis::Core::Hashable
|
419
|
+
|
420
|
+
# The data type that was found in your app.
|
421
|
+
# Corresponds to the JSON property `dataType`
|
422
|
+
# @return [String]
|
423
|
+
attr_accessor :data_type
|
424
|
+
|
425
|
+
# Evidence collected about a data type.
|
426
|
+
# Corresponds to the JSON property `dataTypeEvidence`
|
427
|
+
# @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataTypeEvidence]
|
428
|
+
attr_accessor :data_type_evidence
|
429
|
+
|
430
|
+
def initialize(**args)
|
431
|
+
update!(**args)
|
432
|
+
end
|
433
|
+
|
434
|
+
# Update properties of this object
|
435
|
+
def update!(**args)
|
436
|
+
@data_type = args[:data_type] if args.key?(:data_type)
|
437
|
+
@data_type_evidence = args[:data_type_evidence] if args.key?(:data_type_evidence)
|
438
|
+
end
|
439
|
+
end
|
440
|
+
|
441
|
+
# Evidence concerning an endpoint that was contacted by your app.
|
442
|
+
class GoogleChecksReportV1alphaCheckEndpointEvidence
|
443
|
+
include Google::Apis::Core::Hashable
|
444
|
+
|
445
|
+
# Information about an endpoint.
|
446
|
+
# Corresponds to the JSON property `endpoint`
|
447
|
+
# @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaEndpoint]
|
448
|
+
attr_accessor :endpoint
|
449
|
+
|
450
|
+
def initialize(**args)
|
451
|
+
update!(**args)
|
452
|
+
end
|
453
|
+
|
454
|
+
# Update properties of this object
|
455
|
+
def update!(**args)
|
456
|
+
@endpoint = args[:endpoint] if args.key?(:endpoint)
|
457
|
+
end
|
458
|
+
end
|
459
|
+
|
460
|
+
# Evidence collected from endpoint restriction violation analysis.
|
461
|
+
class GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidence
|
462
|
+
include Google::Apis::Core::Hashable
|
463
|
+
|
464
|
+
# Endpoints in violation.
|
465
|
+
# Corresponds to the JSON property `endpointDetails`
|
466
|
+
# @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidenceEndpointDetails>]
|
467
|
+
attr_accessor :endpoint_details
|
468
|
+
|
469
|
+
def initialize(**args)
|
470
|
+
update!(**args)
|
471
|
+
end
|
472
|
+
|
473
|
+
# Update properties of this object
|
474
|
+
def update!(**args)
|
475
|
+
@endpoint_details = args[:endpoint_details] if args.key?(:endpoint_details)
|
476
|
+
end
|
477
|
+
end
|
478
|
+
|
479
|
+
# Details of the endpoint in violation.
|
480
|
+
class GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidenceEndpointDetails
|
481
|
+
include Google::Apis::Core::Hashable
|
482
|
+
|
483
|
+
# Information about an endpoint.
|
484
|
+
# Corresponds to the JSON property `endpoint`
|
485
|
+
# @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaEndpoint]
|
486
|
+
attr_accessor :endpoint
|
487
|
+
|
488
|
+
def initialize(**args)
|
489
|
+
update!(**args)
|
490
|
+
end
|
491
|
+
|
492
|
+
# Update properties of this object
|
493
|
+
def update!(**args)
|
494
|
+
@endpoint = args[:endpoint] if args.key?(:endpoint)
|
495
|
+
end
|
496
|
+
end
|
497
|
+
|
498
|
+
# Evidence for a check.
|
499
|
+
class GoogleChecksReportV1alphaCheckEvidence
|
500
|
+
include Google::Apis::Core::Hashable
|
501
|
+
|
502
|
+
# Evidence concerning data security.
|
503
|
+
# Corresponds to the JSON property `dataSecurity`
|
504
|
+
# @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheckDataSecurityEvidence]
|
505
|
+
attr_accessor :data_security
|
506
|
+
|
507
|
+
# Evidence concerning data types found in your app.
|
508
|
+
# Corresponds to the JSON property `dataTypes`
|
509
|
+
# @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheckDataTypeEvidence>]
|
510
|
+
attr_accessor :data_types
|
511
|
+
|
512
|
+
# Evidence collected from endpoint restriction violation analysis.
|
513
|
+
# Corresponds to the JSON property `endpointRestrictionViolations`
|
514
|
+
# @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidence>]
|
515
|
+
attr_accessor :endpoint_restriction_violations
|
516
|
+
|
517
|
+
# Evidence concerning endpoints that were contacted by your app.
|
518
|
+
# Corresponds to the JSON property `endpoints`
|
519
|
+
# @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheckEndpointEvidence>]
|
520
|
+
attr_accessor :endpoints
|
521
|
+
|
522
|
+
# Evidence collected from permission restriction violation analysis.
|
523
|
+
# Corresponds to the JSON property `permissionRestrictionViolations`
|
524
|
+
# @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidence>]
|
525
|
+
attr_accessor :permission_restriction_violations
|
526
|
+
|
527
|
+
# Evidence concerning permissions that were found in your app.
|
528
|
+
# Corresponds to the JSON property `permissions`
|
529
|
+
# @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheckPermissionEvidence>]
|
530
|
+
attr_accessor :permissions
|
531
|
+
|
532
|
+
# Evidence collected from your privacy policy(s).
|
533
|
+
# Corresponds to the JSON property `privacyPolicyTexts`
|
534
|
+
# @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheckPrivacyPolicyTextEvidence>]
|
535
|
+
attr_accessor :privacy_policy_texts
|
536
|
+
|
537
|
+
# Evidence concerning SDK issues.
|
538
|
+
# Corresponds to the JSON property `sdkIssues`
|
539
|
+
# @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheckSdkIssueEvidence>]
|
540
|
+
attr_accessor :sdk_issues
|
541
|
+
|
542
|
+
# Evidence collected from SDK restriction violation analysis.
|
543
|
+
# Corresponds to the JSON property `sdkRestrictionViolations`
|
544
|
+
# @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheckSdkRestrictionViolationEvidence>]
|
545
|
+
attr_accessor :sdk_restriction_violations
|
546
|
+
|
547
|
+
# Evidence concerning SDKs that were found in your app.
|
548
|
+
# Corresponds to the JSON property `sdks`
|
549
|
+
# @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheckSdkEvidence>]
|
550
|
+
attr_accessor :sdks
|
551
|
+
|
552
|
+
def initialize(**args)
|
553
|
+
update!(**args)
|
554
|
+
end
|
555
|
+
|
556
|
+
# Update properties of this object
|
557
|
+
def update!(**args)
|
558
|
+
@data_security = args[:data_security] if args.key?(:data_security)
|
559
|
+
@data_types = args[:data_types] if args.key?(:data_types)
|
560
|
+
@endpoint_restriction_violations = args[:endpoint_restriction_violations] if args.key?(:endpoint_restriction_violations)
|
561
|
+
@endpoints = args[:endpoints] if args.key?(:endpoints)
|
562
|
+
@permission_restriction_violations = args[:permission_restriction_violations] if args.key?(:permission_restriction_violations)
|
563
|
+
@permissions = args[:permissions] if args.key?(:permissions)
|
564
|
+
@privacy_policy_texts = args[:privacy_policy_texts] if args.key?(:privacy_policy_texts)
|
565
|
+
@sdk_issues = args[:sdk_issues] if args.key?(:sdk_issues)
|
566
|
+
@sdk_restriction_violations = args[:sdk_restriction_violations] if args.key?(:sdk_restriction_violations)
|
567
|
+
@sdks = args[:sdks] if args.key?(:sdks)
|
568
|
+
end
|
569
|
+
end
|
570
|
+
|
571
|
+
# Evidence concerning a permission that was found in your app.
|
572
|
+
class GoogleChecksReportV1alphaCheckPermissionEvidence
|
573
|
+
include Google::Apis::Core::Hashable
|
574
|
+
|
575
|
+
# Information about a permission.
|
576
|
+
# Corresponds to the JSON property `permission`
|
577
|
+
# @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaPermission]
|
578
|
+
attr_accessor :permission
|
579
|
+
|
580
|
+
def initialize(**args)
|
581
|
+
update!(**args)
|
582
|
+
end
|
583
|
+
|
584
|
+
# Update properties of this object
|
585
|
+
def update!(**args)
|
586
|
+
@permission = args[:permission] if args.key?(:permission)
|
587
|
+
end
|
588
|
+
end
|
589
|
+
|
590
|
+
# Evidence collected from permission restriction violation analysis.
|
591
|
+
class GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidence
|
592
|
+
include Google::Apis::Core::Hashable
|
593
|
+
|
594
|
+
# Permissions in violation.
|
595
|
+
# Corresponds to the JSON property `permissionDetails`
|
596
|
+
# @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidencePermissionDetails>]
|
597
|
+
attr_accessor :permission_details
|
598
|
+
|
599
|
+
def initialize(**args)
|
600
|
+
update!(**args)
|
601
|
+
end
|
602
|
+
|
603
|
+
# Update properties of this object
|
604
|
+
def update!(**args)
|
605
|
+
@permission_details = args[:permission_details] if args.key?(:permission_details)
|
606
|
+
end
|
607
|
+
end
|
608
|
+
|
609
|
+
# Details of the permission in violation.
|
610
|
+
class GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidencePermissionDetails
|
611
|
+
include Google::Apis::Core::Hashable
|
612
|
+
|
613
|
+
# Information about a permission.
|
614
|
+
# Corresponds to the JSON property `permission`
|
615
|
+
# @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaPermission]
|
616
|
+
attr_accessor :permission
|
617
|
+
|
618
|
+
def initialize(**args)
|
619
|
+
update!(**args)
|
620
|
+
end
|
621
|
+
|
622
|
+
# Update properties of this object
|
623
|
+
def update!(**args)
|
624
|
+
@permission = args[:permission] if args.key?(:permission)
|
625
|
+
end
|
626
|
+
end
|
627
|
+
|
628
|
+
# Evidence collected from your privacy policy(s).
|
629
|
+
class GoogleChecksReportV1alphaCheckPrivacyPolicyTextEvidence
|
630
|
+
include Google::Apis::Core::Hashable
|
631
|
+
|
632
|
+
# Information about a policy fragment.
|
633
|
+
# Corresponds to the JSON property `policyFragment`
|
634
|
+
# @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaPolicyFragment]
|
635
|
+
attr_accessor :policy_fragment
|
636
|
+
|
637
|
+
def initialize(**args)
|
638
|
+
update!(**args)
|
639
|
+
end
|
640
|
+
|
641
|
+
# Update properties of this object
|
642
|
+
def update!(**args)
|
643
|
+
@policy_fragment = args[:policy_fragment] if args.key?(:policy_fragment)
|
644
|
+
end
|
645
|
+
end
|
646
|
+
|
647
|
+
# Evidence conerning an SDK that was found in your app.
|
648
|
+
class GoogleChecksReportV1alphaCheckSdkEvidence
|
649
|
+
include Google::Apis::Core::Hashable
|
650
|
+
|
651
|
+
# Information about an SDK.
|
652
|
+
# Corresponds to the JSON property `sdk`
|
653
|
+
# @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaSdk]
|
654
|
+
attr_accessor :sdk
|
655
|
+
|
656
|
+
def initialize(**args)
|
657
|
+
update!(**args)
|
658
|
+
end
|
659
|
+
|
660
|
+
# Update properties of this object
|
661
|
+
def update!(**args)
|
662
|
+
@sdk = args[:sdk] if args.key?(:sdk)
|
663
|
+
end
|
664
|
+
end
|
665
|
+
|
666
|
+
# Evidence concerning an SDK issue.
|
667
|
+
class GoogleChecksReportV1alphaCheckSdkIssueEvidence
|
668
|
+
include Google::Apis::Core::Hashable
|
669
|
+
|
670
|
+
# Information about an SDK.
|
671
|
+
# Corresponds to the JSON property `sdk`
|
672
|
+
# @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaSdk]
|
673
|
+
attr_accessor :sdk
|
674
|
+
|
675
|
+
# The SDK version.
|
676
|
+
# Corresponds to the JSON property `sdkVersion`
|
677
|
+
# @return [String]
|
678
|
+
attr_accessor :sdk_version
|
679
|
+
|
680
|
+
def initialize(**args)
|
681
|
+
update!(**args)
|
682
|
+
end
|
683
|
+
|
684
|
+
# Update properties of this object
|
685
|
+
def update!(**args)
|
686
|
+
@sdk = args[:sdk] if args.key?(:sdk)
|
687
|
+
@sdk_version = args[:sdk_version] if args.key?(:sdk_version)
|
688
|
+
end
|
689
|
+
end
|
690
|
+
|
691
|
+
# Evidence collected from SDK restriction violation analysis.
|
692
|
+
class GoogleChecksReportV1alphaCheckSdkRestrictionViolationEvidence
|
693
|
+
include Google::Apis::Core::Hashable
|
694
|
+
|
695
|
+
# SDKs in violation.
|
696
|
+
# Corresponds to the JSON property `sdkDetails`
|
697
|
+
# @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheckSdkRestrictionViolationEvidenceSdkDetails>]
|
698
|
+
attr_accessor :sdk_details
|
699
|
+
|
700
|
+
def initialize(**args)
|
701
|
+
update!(**args)
|
702
|
+
end
|
703
|
+
|
704
|
+
# Update properties of this object
|
705
|
+
def update!(**args)
|
706
|
+
@sdk_details = args[:sdk_details] if args.key?(:sdk_details)
|
707
|
+
end
|
708
|
+
end
|
709
|
+
|
710
|
+
# Details of the SDK in violation.
|
711
|
+
class GoogleChecksReportV1alphaCheckSdkRestrictionViolationEvidenceSdkDetails
|
712
|
+
include Google::Apis::Core::Hashable
|
713
|
+
|
714
|
+
# Information about an SDK.
|
715
|
+
# Corresponds to the JSON property `sdk`
|
716
|
+
# @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaSdk]
|
717
|
+
attr_accessor :sdk
|
718
|
+
|
719
|
+
def initialize(**args)
|
720
|
+
update!(**args)
|
721
|
+
end
|
722
|
+
|
723
|
+
# Update properties of this object
|
724
|
+
def update!(**args)
|
725
|
+
@sdk = args[:sdk] if args.key?(:sdk)
|
726
|
+
end
|
727
|
+
end
|
728
|
+
|
729
|
+
# Additional information about the check state in relation to past reports.
|
730
|
+
class GoogleChecksReportV1alphaCheckStateMetadata
|
731
|
+
include Google::Apis::Core::Hashable
|
732
|
+
|
733
|
+
# Indicators related to the check state.
|
734
|
+
# Corresponds to the JSON property `badges`
|
735
|
+
# @return [Array<String>]
|
736
|
+
attr_accessor :badges
|
737
|
+
|
738
|
+
# The time when the check first started failing.
|
739
|
+
# Corresponds to the JSON property `firstFailingTime`
|
740
|
+
# @return [String]
|
741
|
+
attr_accessor :first_failing_time
|
742
|
+
|
743
|
+
# The last time the check failed.
|
744
|
+
# Corresponds to the JSON property `lastFailingTime`
|
745
|
+
# @return [String]
|
746
|
+
attr_accessor :last_failing_time
|
747
|
+
|
748
|
+
def initialize(**args)
|
749
|
+
update!(**args)
|
750
|
+
end
|
751
|
+
|
752
|
+
# Update properties of this object
|
753
|
+
def update!(**args)
|
754
|
+
@badges = args[:badges] if args.key?(:badges)
|
755
|
+
@first_failing_time = args[:first_failing_time] if args.key?(:first_failing_time)
|
756
|
+
@last_failing_time = args[:last_failing_time] if args.key?(:last_failing_time)
|
757
|
+
end
|
758
|
+
end
|
759
|
+
|
760
|
+
# Represents the data monitoring section of the report.
|
761
|
+
class GoogleChecksReportV1alphaDataMonitoring
|
762
|
+
include Google::Apis::Core::Hashable
|
763
|
+
|
764
|
+
# Data types that your app shares or collects.
|
765
|
+
# Corresponds to the JSON property `dataTypes`
|
766
|
+
# @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataMonitoringDataTypeResult>]
|
767
|
+
attr_accessor :data_types
|
768
|
+
|
769
|
+
# Endpoints that were found by dynamic analysis of your app.
|
770
|
+
# Corresponds to the JSON property `endpoints`
|
771
|
+
# @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataMonitoringEndpointResult>]
|
772
|
+
attr_accessor :endpoints
|
773
|
+
|
774
|
+
# Permissions that your app uses.
|
775
|
+
# Corresponds to the JSON property `permissions`
|
776
|
+
# @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataMonitoringPermissionResult>]
|
777
|
+
attr_accessor :permissions
|
778
|
+
|
779
|
+
# SDKs that your app uses.
|
780
|
+
# Corresponds to the JSON property `sdks`
|
781
|
+
# @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataMonitoringSdkResult>]
|
782
|
+
attr_accessor :sdks
|
783
|
+
|
784
|
+
def initialize(**args)
|
785
|
+
update!(**args)
|
786
|
+
end
|
787
|
+
|
788
|
+
# Update properties of this object
|
789
|
+
def update!(**args)
|
790
|
+
@data_types = args[:data_types] if args.key?(:data_types)
|
791
|
+
@endpoints = args[:endpoints] if args.key?(:endpoints)
|
792
|
+
@permissions = args[:permissions] if args.key?(:permissions)
|
793
|
+
@sdks = args[:sdks] if args.key?(:sdks)
|
794
|
+
end
|
795
|
+
end
|
796
|
+
|
797
|
+
# Information about a data type that was found in your app.
|
798
|
+
class GoogleChecksReportV1alphaDataMonitoringDataTypeResult
|
799
|
+
include Google::Apis::Core::Hashable
|
800
|
+
|
801
|
+
# The data type that was shared or collected by your app.
|
802
|
+
# Corresponds to the JSON property `dataType`
|
803
|
+
# @return [String]
|
804
|
+
attr_accessor :data_type
|
805
|
+
|
806
|
+
# Evidence collected about a data type.
|
807
|
+
# Corresponds to the JSON property `dataTypeEvidence`
|
808
|
+
# @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataTypeEvidence]
|
809
|
+
attr_accessor :data_type_evidence
|
810
|
+
|
811
|
+
# Information about a data monitoring result.
|
812
|
+
# Corresponds to the JSON property `metadata`
|
813
|
+
# @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataMonitoringResultMetadata]
|
814
|
+
attr_accessor :metadata
|
815
|
+
|
816
|
+
def initialize(**args)
|
817
|
+
update!(**args)
|
818
|
+
end
|
819
|
+
|
820
|
+
# Update properties of this object
|
821
|
+
def update!(**args)
|
822
|
+
@data_type = args[:data_type] if args.key?(:data_type)
|
823
|
+
@data_type_evidence = args[:data_type_evidence] if args.key?(:data_type_evidence)
|
824
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
825
|
+
end
|
826
|
+
end
|
827
|
+
|
828
|
+
# Information about an endpoint that was contacted by your app.
|
829
|
+
class GoogleChecksReportV1alphaDataMonitoringEndpointResult
|
830
|
+
include Google::Apis::Core::Hashable
|
831
|
+
|
832
|
+
# Information about an endpoint.
|
833
|
+
# Corresponds to the JSON property `endpoint`
|
834
|
+
# @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaEndpoint]
|
835
|
+
attr_accessor :endpoint
|
836
|
+
|
837
|
+
# The number of times this endpoint was contacted by your app.
|
838
|
+
# Corresponds to the JSON property `hitCount`
|
839
|
+
# @return [Fixnum]
|
840
|
+
attr_accessor :hit_count
|
841
|
+
|
842
|
+
# Information about a data monitoring result.
|
843
|
+
# Corresponds to the JSON property `metadata`
|
844
|
+
# @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataMonitoringResultMetadata]
|
845
|
+
attr_accessor :metadata
|
846
|
+
|
847
|
+
def initialize(**args)
|
848
|
+
update!(**args)
|
849
|
+
end
|
850
|
+
|
851
|
+
# Update properties of this object
|
852
|
+
def update!(**args)
|
853
|
+
@endpoint = args[:endpoint] if args.key?(:endpoint)
|
854
|
+
@hit_count = args[:hit_count] if args.key?(:hit_count)
|
855
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
856
|
+
end
|
857
|
+
end
|
858
|
+
|
859
|
+
# Information about a permission that was found in your app.
|
860
|
+
class GoogleChecksReportV1alphaDataMonitoringPermissionResult
|
861
|
+
include Google::Apis::Core::Hashable
|
862
|
+
|
863
|
+
# Information about a data monitoring result.
|
864
|
+
# Corresponds to the JSON property `metadata`
|
865
|
+
# @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataMonitoringResultMetadata]
|
866
|
+
attr_accessor :metadata
|
867
|
+
|
868
|
+
# Information about a permission.
|
869
|
+
# Corresponds to the JSON property `permission`
|
870
|
+
# @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaPermission]
|
871
|
+
attr_accessor :permission
|
872
|
+
|
873
|
+
def initialize(**args)
|
874
|
+
update!(**args)
|
875
|
+
end
|
876
|
+
|
877
|
+
# Update properties of this object
|
878
|
+
def update!(**args)
|
879
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
880
|
+
@permission = args[:permission] if args.key?(:permission)
|
881
|
+
end
|
882
|
+
end
|
883
|
+
|
884
|
+
# Information about a data monitoring result.
|
885
|
+
class GoogleChecksReportV1alphaDataMonitoringResultMetadata
|
886
|
+
include Google::Apis::Core::Hashable
|
887
|
+
|
888
|
+
# Badges that apply to this result.
|
889
|
+
# Corresponds to the JSON property `badges`
|
890
|
+
# @return [Array<String>]
|
891
|
+
attr_accessor :badges
|
892
|
+
|
893
|
+
# The timestamp when this result was first detected within the last 8 weeks. If
|
894
|
+
# not set, it wasn't detected within the last 8 weeks.
|
895
|
+
# Corresponds to the JSON property `firstDetectedTime`
|
896
|
+
# @return [String]
|
897
|
+
attr_accessor :first_detected_time
|
898
|
+
|
899
|
+
# Your app's version name when this result was last detected within the last 8
|
900
|
+
# weeks. If not set, it wasn't detected within the last 8 weeks.
|
901
|
+
# Corresponds to the JSON property `lastDetectedAppVersion`
|
902
|
+
# @return [String]
|
903
|
+
attr_accessor :last_detected_app_version
|
904
|
+
|
905
|
+
# The timestamp when this result was last detected within the last 8 weeks. If
|
906
|
+
# not set, it wasn't detected within the last 8 weeks.
|
907
|
+
# Corresponds to the JSON property `lastDetectedTime`
|
908
|
+
# @return [String]
|
909
|
+
attr_accessor :last_detected_time
|
910
|
+
|
911
|
+
def initialize(**args)
|
912
|
+
update!(**args)
|
913
|
+
end
|
914
|
+
|
915
|
+
# Update properties of this object
|
916
|
+
def update!(**args)
|
917
|
+
@badges = args[:badges] if args.key?(:badges)
|
918
|
+
@first_detected_time = args[:first_detected_time] if args.key?(:first_detected_time)
|
919
|
+
@last_detected_app_version = args[:last_detected_app_version] if args.key?(:last_detected_app_version)
|
920
|
+
@last_detected_time = args[:last_detected_time] if args.key?(:last_detected_time)
|
921
|
+
end
|
922
|
+
end
|
923
|
+
|
924
|
+
# Information about an SDK that was found in your app.
|
925
|
+
class GoogleChecksReportV1alphaDataMonitoringSdkResult
|
926
|
+
include Google::Apis::Core::Hashable
|
927
|
+
|
928
|
+
# Information about a data monitoring result.
|
929
|
+
# Corresponds to the JSON property `metadata`
|
930
|
+
# @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataMonitoringResultMetadata]
|
931
|
+
attr_accessor :metadata
|
932
|
+
|
933
|
+
# Information about an SDK.
|
934
|
+
# Corresponds to the JSON property `sdk`
|
935
|
+
# @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaSdk]
|
936
|
+
attr_accessor :sdk
|
937
|
+
|
938
|
+
def initialize(**args)
|
939
|
+
update!(**args)
|
940
|
+
end
|
941
|
+
|
942
|
+
# Update properties of this object
|
943
|
+
def update!(**args)
|
944
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
945
|
+
@sdk = args[:sdk] if args.key?(:sdk)
|
946
|
+
end
|
947
|
+
end
|
948
|
+
|
949
|
+
# Evidence based on an endpoint that data was sent to.
|
950
|
+
class GoogleChecksReportV1alphaDataTypeEndpointEvidence
|
951
|
+
include Google::Apis::Core::Hashable
|
952
|
+
|
953
|
+
# Set of SDKs that are attributed to the exfiltration.
|
954
|
+
# Corresponds to the JSON property `attributedSdks`
|
955
|
+
# @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataTypeEndpointEvidenceAttributedSdk>]
|
956
|
+
attr_accessor :attributed_sdks
|
957
|
+
|
958
|
+
# Endpoints the data type was sent to.
|
959
|
+
# Corresponds to the JSON property `endpointDetails`
|
960
|
+
# @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataTypeEndpointEvidenceEndpointDetails>]
|
961
|
+
attr_accessor :endpoint_details
|
962
|
+
|
963
|
+
# Type of data that was exfiltrated.
|
964
|
+
# Corresponds to the JSON property `exfiltratedDataType`
|
965
|
+
# @return [String]
|
966
|
+
attr_accessor :exfiltrated_data_type
|
967
|
+
|
968
|
+
def initialize(**args)
|
969
|
+
update!(**args)
|
970
|
+
end
|
971
|
+
|
972
|
+
# Update properties of this object
|
973
|
+
def update!(**args)
|
974
|
+
@attributed_sdks = args[:attributed_sdks] if args.key?(:attributed_sdks)
|
975
|
+
@endpoint_details = args[:endpoint_details] if args.key?(:endpoint_details)
|
976
|
+
@exfiltrated_data_type = args[:exfiltrated_data_type] if args.key?(:exfiltrated_data_type)
|
977
|
+
end
|
978
|
+
end
|
979
|
+
|
980
|
+
# Details of SDK that is attributed to the exfiltration.
|
981
|
+
class GoogleChecksReportV1alphaDataTypeEndpointEvidenceAttributedSdk
|
982
|
+
include Google::Apis::Core::Hashable
|
983
|
+
|
984
|
+
# Information about an SDK.
|
985
|
+
# Corresponds to the JSON property `sdk`
|
986
|
+
# @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaSdk]
|
987
|
+
attr_accessor :sdk
|
988
|
+
|
989
|
+
def initialize(**args)
|
990
|
+
update!(**args)
|
991
|
+
end
|
992
|
+
|
993
|
+
# Update properties of this object
|
994
|
+
def update!(**args)
|
995
|
+
@sdk = args[:sdk] if args.key?(:sdk)
|
996
|
+
end
|
997
|
+
end
|
998
|
+
|
999
|
+
# Details of the endpoint the data type was sent to.
|
1000
|
+
class GoogleChecksReportV1alphaDataTypeEndpointEvidenceEndpointDetails
|
1001
|
+
include Google::Apis::Core::Hashable
|
1002
|
+
|
1003
|
+
# Information about an endpoint.
|
1004
|
+
# Corresponds to the JSON property `endpoint`
|
1005
|
+
# @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaEndpoint]
|
1006
|
+
attr_accessor :endpoint
|
1007
|
+
|
1008
|
+
def initialize(**args)
|
1009
|
+
update!(**args)
|
1010
|
+
end
|
1011
|
+
|
1012
|
+
# Update properties of this object
|
1013
|
+
def update!(**args)
|
1014
|
+
@endpoint = args[:endpoint] if args.key?(:endpoint)
|
1015
|
+
end
|
1016
|
+
end
|
1017
|
+
|
1018
|
+
# Evidence collected about a data type.
|
1019
|
+
class GoogleChecksReportV1alphaDataTypeEvidence
|
1020
|
+
include Google::Apis::Core::Hashable
|
1021
|
+
|
1022
|
+
# List of endpoints the data type was sent to.
|
1023
|
+
# Corresponds to the JSON property `endpoints`
|
1024
|
+
# @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataTypeEndpointEvidence>]
|
1025
|
+
attr_accessor :endpoints
|
1026
|
+
|
1027
|
+
# List of included permissions that imply collection of the data type.
|
1028
|
+
# Corresponds to the JSON property `permissions`
|
1029
|
+
# @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataTypePermissionEvidence>]
|
1030
|
+
attr_accessor :permissions
|
1031
|
+
|
1032
|
+
# List of privacy policy texts that imply collection of the data type.
|
1033
|
+
# Corresponds to the JSON property `privacyPolicyTexts`
|
1034
|
+
# @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataTypePrivacyPolicyTextEvidence>]
|
1035
|
+
attr_accessor :privacy_policy_texts
|
1036
|
+
|
1037
|
+
def initialize(**args)
|
1038
|
+
update!(**args)
|
1039
|
+
end
|
1040
|
+
|
1041
|
+
# Update properties of this object
|
1042
|
+
def update!(**args)
|
1043
|
+
@endpoints = args[:endpoints] if args.key?(:endpoints)
|
1044
|
+
@permissions = args[:permissions] if args.key?(:permissions)
|
1045
|
+
@privacy_policy_texts = args[:privacy_policy_texts] if args.key?(:privacy_policy_texts)
|
1046
|
+
end
|
1047
|
+
end
|
1048
|
+
|
1049
|
+
# Evidence based on the inclusion of a permission.
|
1050
|
+
class GoogleChecksReportV1alphaDataTypePermissionEvidence
|
1051
|
+
include Google::Apis::Core::Hashable
|
1052
|
+
|
1053
|
+
# Information about a permission.
|
1054
|
+
# Corresponds to the JSON property `permission`
|
1055
|
+
# @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaPermission]
|
1056
|
+
attr_accessor :permission
|
1057
|
+
|
1058
|
+
def initialize(**args)
|
1059
|
+
update!(**args)
|
1060
|
+
end
|
1061
|
+
|
1062
|
+
# Update properties of this object
|
1063
|
+
def update!(**args)
|
1064
|
+
@permission = args[:permission] if args.key?(:permission)
|
1065
|
+
end
|
1066
|
+
end
|
1067
|
+
|
1068
|
+
# Evidence based on information from the privacy policy.
|
1069
|
+
class GoogleChecksReportV1alphaDataTypePrivacyPolicyTextEvidence
|
1070
|
+
include Google::Apis::Core::Hashable
|
1071
|
+
|
1072
|
+
# Information about a policy fragment.
|
1073
|
+
# Corresponds to the JSON property `policyFragment`
|
1074
|
+
# @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaPolicyFragment]
|
1075
|
+
attr_accessor :policy_fragment
|
1076
|
+
|
1077
|
+
def initialize(**args)
|
1078
|
+
update!(**args)
|
1079
|
+
end
|
1080
|
+
|
1081
|
+
# Update properties of this object
|
1082
|
+
def update!(**args)
|
1083
|
+
@policy_fragment = args[:policy_fragment] if args.key?(:policy_fragment)
|
1084
|
+
end
|
1085
|
+
end
|
1086
|
+
|
1087
|
+
# Information about an endpoint.
|
1088
|
+
class GoogleChecksReportV1alphaEndpoint
|
1089
|
+
include Google::Apis::Core::Hashable
|
1090
|
+
|
1091
|
+
# Domain name (e.g. ads.google.com).
|
1092
|
+
# Corresponds to the JSON property `domain`
|
1093
|
+
# @return [String]
|
1094
|
+
attr_accessor :domain
|
1095
|
+
|
1096
|
+
def initialize(**args)
|
1097
|
+
update!(**args)
|
1098
|
+
end
|
1099
|
+
|
1100
|
+
# Update properties of this object
|
1101
|
+
def update!(**args)
|
1102
|
+
@domain = args[:domain] if args.key?(:domain)
|
1103
|
+
end
|
1104
|
+
end
|
1105
|
+
|
1106
|
+
# The response message for ReportService.ListReports.
|
1107
|
+
class GoogleChecksReportV1alphaListReportsResponse
|
1108
|
+
include Google::Apis::Core::Hashable
|
1109
|
+
|
1110
|
+
# A token which can be sent as `page_token` to retrieve the next page. If this
|
1111
|
+
# field is omitted, there are no subsequent pages.
|
1112
|
+
# Corresponds to the JSON property `nextPageToken`
|
1113
|
+
# @return [String]
|
1114
|
+
attr_accessor :next_page_token
|
1115
|
+
|
1116
|
+
# The reports for the specified app.
|
1117
|
+
# Corresponds to the JSON property `reports`
|
1118
|
+
# @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaReport>]
|
1119
|
+
attr_accessor :reports
|
1120
|
+
|
1121
|
+
def initialize(**args)
|
1122
|
+
update!(**args)
|
1123
|
+
end
|
1124
|
+
|
1125
|
+
# Update properties of this object
|
1126
|
+
def update!(**args)
|
1127
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1128
|
+
@reports = args[:reports] if args.key?(:reports)
|
1129
|
+
end
|
1130
|
+
end
|
1131
|
+
|
1132
|
+
# Information about a permission.
|
1133
|
+
class GoogleChecksReportV1alphaPermission
|
1134
|
+
include Google::Apis::Core::Hashable
|
1135
|
+
|
1136
|
+
# Permission identifier.
|
1137
|
+
# Corresponds to the JSON property `id`
|
1138
|
+
# @return [String]
|
1139
|
+
attr_accessor :id
|
1140
|
+
|
1141
|
+
def initialize(**args)
|
1142
|
+
update!(**args)
|
1143
|
+
end
|
1144
|
+
|
1145
|
+
# Update properties of this object
|
1146
|
+
def update!(**args)
|
1147
|
+
@id = args[:id] if args.key?(:id)
|
1148
|
+
end
|
1149
|
+
end
|
1150
|
+
|
1151
|
+
# Information about a policy fragment.
|
1152
|
+
class GoogleChecksReportV1alphaPolicyFragment
|
1153
|
+
include Google::Apis::Core::Hashable
|
1154
|
+
|
1155
|
+
# HTML content.
|
1156
|
+
# Corresponds to the JSON property `htmlContent`
|
1157
|
+
# @return [String]
|
1158
|
+
attr_accessor :html_content
|
1159
|
+
|
1160
|
+
# Policy URL.
|
1161
|
+
# Corresponds to the JSON property `sourceUri`
|
1162
|
+
# @return [String]
|
1163
|
+
attr_accessor :source_uri
|
1164
|
+
|
1165
|
+
def initialize(**args)
|
1166
|
+
update!(**args)
|
1167
|
+
end
|
1168
|
+
|
1169
|
+
# Update properties of this object
|
1170
|
+
def update!(**args)
|
1171
|
+
@html_content = args[:html_content] if args.key?(:html_content)
|
1172
|
+
@source_uri = args[:source_uri] if args.key?(:source_uri)
|
1173
|
+
end
|
1174
|
+
end
|
1175
|
+
|
1176
|
+
# Privacy report.
|
1177
|
+
class GoogleChecksReportV1alphaReport
|
1178
|
+
include Google::Apis::Core::Hashable
|
1179
|
+
|
1180
|
+
# Information about the analyzed app bundle.
|
1181
|
+
# Corresponds to the JSON property `appBundle`
|
1182
|
+
# @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaAppBundle]
|
1183
|
+
attr_accessor :app_bundle
|
1184
|
+
|
1185
|
+
# Resource name of the base report used for comparison. May be absent if this is
|
1186
|
+
# the first report generated for the app.
|
1187
|
+
# Corresponds to the JSON property `baseReport`
|
1188
|
+
# @return [String]
|
1189
|
+
attr_accessor :base_report
|
1190
|
+
|
1191
|
+
# List of checks that were run on the app bundle.
|
1192
|
+
# Corresponds to the JSON property `checks`
|
1193
|
+
# @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheck>]
|
1194
|
+
attr_accessor :checks
|
1195
|
+
|
1196
|
+
# Represents the data monitoring section of the report.
|
1197
|
+
# Corresponds to the JSON property `dataMonitoring`
|
1198
|
+
# @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataMonitoring]
|
1199
|
+
attr_accessor :data_monitoring
|
1200
|
+
|
1201
|
+
# Resource name of the report.
|
1202
|
+
# Corresponds to the JSON property `name`
|
1203
|
+
# @return [String]
|
1204
|
+
attr_accessor :name
|
1205
|
+
|
1206
|
+
# A URL to view results.
|
1207
|
+
# Corresponds to the JSON property `resultsUri`
|
1208
|
+
# @return [String]
|
1209
|
+
attr_accessor :results_uri
|
1210
|
+
|
1211
|
+
def initialize(**args)
|
1212
|
+
update!(**args)
|
1213
|
+
end
|
1214
|
+
|
1215
|
+
# Update properties of this object
|
1216
|
+
def update!(**args)
|
1217
|
+
@app_bundle = args[:app_bundle] if args.key?(:app_bundle)
|
1218
|
+
@base_report = args[:base_report] if args.key?(:base_report)
|
1219
|
+
@checks = args[:checks] if args.key?(:checks)
|
1220
|
+
@data_monitoring = args[:data_monitoring] if args.key?(:data_monitoring)
|
1221
|
+
@name = args[:name] if args.key?(:name)
|
1222
|
+
@results_uri = args[:results_uri] if args.key?(:results_uri)
|
1223
|
+
end
|
1224
|
+
end
|
1225
|
+
|
1226
|
+
# Information about an SDK.
|
1227
|
+
class GoogleChecksReportV1alphaSdk
|
1228
|
+
include Google::Apis::Core::Hashable
|
1229
|
+
|
1230
|
+
# SDK identifier.
|
1231
|
+
# Corresponds to the JSON property `id`
|
1232
|
+
# @return [String]
|
1233
|
+
attr_accessor :id
|
1234
|
+
|
1235
|
+
def initialize(**args)
|
1236
|
+
update!(**args)
|
1237
|
+
end
|
1238
|
+
|
1239
|
+
# Update properties of this object
|
1240
|
+
def update!(**args)
|
1241
|
+
@id = args[:id] if args.key?(:id)
|
1242
|
+
end
|
1243
|
+
end
|
1244
|
+
|
184
1245
|
# Information about the date when the privacy policy was last updated.
|
185
1246
|
class LastUpdatedDate
|
186
1247
|
include Google::Apis::Core::Hashable
|
@@ -207,7 +1268,7 @@ module Google
|
|
207
1268
|
# @return [Fixnum]
|
208
1269
|
attr_accessor :start_offset
|
209
1270
|
|
210
|
-
# The bytes of actual text content in the section.
|
1271
|
+
# The bytes of actual text content in the section. Note: - This will correspond
|
211
1272
|
# to the whole sentence that includes the date. - This field might contain HTML
|
212
1273
|
# and it is not sanitized.
|
213
1274
|
# Corresponds to the JSON property `textContent`
|
@@ -386,9 +1447,7 @@ module Google
|
|
386
1447
|
attr_accessor :start_offset
|
387
1448
|
|
388
1449
|
# The bytes of actual text content in the sentence that mentions the purpose of
|
389
|
-
# use. This makes it much easier to consume the information.
|
390
|
-
# might contain HTML and does not guarantee a SafeHtml security contract go/
|
391
|
-
# safehtmltypecontracts#safehtml.
|
1450
|
+
# use. This makes it much easier to consume the information.
|
392
1451
|
# Corresponds to the JSON property `textContent`
|
393
1452
|
# @return [String]
|
394
1453
|
attr_accessor :text_content
|
@@ -422,7 +1481,7 @@ module Google
|
|
422
1481
|
# @return [Float]
|
423
1482
|
attr_accessor :score
|
424
1483
|
|
425
|
-
#
|
1484
|
+
# Detected type of the high-level topic in the policy.
|
426
1485
|
# Corresponds to the JSON property `sectionType`
|
427
1486
|
# @return [String]
|
428
1487
|
attr_accessor :section_type
|
@@ -432,9 +1491,7 @@ module Google
|
|
432
1491
|
# @return [Fixnum]
|
433
1492
|
attr_accessor :start_offset
|
434
1493
|
|
435
|
-
# Actual text content in the section.
|
436
|
-
# information. NOTE: This field might contain HTML and does not guarantee a
|
437
|
-
# SafeHtml security contract go/safehtmltypecontracts#safehtml.
|
1494
|
+
# Actual text content in the section.
|
438
1495
|
# Corresponds to the JSON property `textContent`
|
439
1496
|
# @return [String]
|
440
1497
|
attr_accessor :text_content
|