google-apis-checks_v1alpha 0.3.0 → 0.5.0

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.
@@ -22,21 +22,759 @@ module Google
22
22
  module Apis
23
23
  module ChecksV1alpha
24
24
 
25
- # The request proto for AnalyzePrivacyPolicy method.
26
- class AnalyzePrivacyPolicyRequest
25
+ # The request message for Operations.CancelOperation.
26
+ class CancelOperationRequest
27
+ include Google::Apis::Core::Hashable
28
+
29
+ def initialize(**args)
30
+ update!(**args)
31
+ end
32
+
33
+ # Update properties of this object
34
+ def update!(**args)
35
+ end
36
+ end
37
+
38
+ # A generic empty message that you can re-use to avoid defining duplicated empty
39
+ # messages in your APIs. A typical example is to use it as the request or the
40
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
41
+ # protobuf.Empty) returns (google.protobuf.Empty); `
42
+ class Empty
43
+ include Google::Apis::Core::Hashable
44
+
45
+ def initialize(**args)
46
+ update!(**args)
47
+ end
48
+
49
+ # Update properties of this object
50
+ def update!(**args)
51
+ end
52
+ end
53
+
54
+ # Represents an app in Checks.
55
+ class GoogleChecksAccountV1alphaApp
56
+ include Google::Apis::Core::Hashable
57
+
58
+ # The resource name of the app. Example: `accounts/123/apps/456`
59
+ # Corresponds to the JSON property `name`
60
+ # @return [String]
61
+ attr_accessor :name
62
+
63
+ # The app's title.
64
+ # Corresponds to the JSON property `title`
65
+ # @return [String]
66
+ attr_accessor :title
67
+
68
+ def initialize(**args)
69
+ update!(**args)
70
+ end
71
+
72
+ # Update properties of this object
73
+ def update!(**args)
74
+ @name = args[:name] if args.key?(:name)
75
+ @title = args[:title] if args.key?(:title)
76
+ end
77
+ end
78
+
79
+ # The response message for AccountService.ListApps.
80
+ class GoogleChecksAccountV1alphaListAppsResponse
81
+ include Google::Apis::Core::Hashable
82
+
83
+ # The apps.
84
+ # Corresponds to the JSON property `apps`
85
+ # @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksAccountV1alphaApp>]
86
+ attr_accessor :apps
87
+
88
+ # A token which can be sent as `page_token` to retrieve the next page. If this
89
+ # field is omitted, there are no subsequent pages.
90
+ # Corresponds to the JSON property `nextPageToken`
91
+ # @return [String]
92
+ attr_accessor :next_page_token
93
+
94
+ def initialize(**args)
95
+ update!(**args)
96
+ end
97
+
98
+ # Update properties of this object
99
+ def update!(**args)
100
+ @apps = args[:apps] if args.key?(:apps)
101
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
102
+ end
103
+ end
104
+
105
+ # The request message for ReportService.AnalyzeUpload.
106
+ class GoogleChecksReportV1alphaAnalyzeUploadRequest
107
+ include Google::Apis::Core::Hashable
108
+
109
+ # Optional. Git commit hash or changelist number associated with the upload.
110
+ # Corresponds to the JSON property `codeReferenceId`
111
+ # @return [String]
112
+ attr_accessor :code_reference_id
113
+
114
+ def initialize(**args)
115
+ update!(**args)
116
+ end
117
+
118
+ # Update properties of this object
119
+ def update!(**args)
120
+ @code_reference_id = args[:code_reference_id] if args.key?(:code_reference_id)
121
+ end
122
+ end
123
+
124
+ # Information about the analyzed app bundle.
125
+ class GoogleChecksReportV1alphaAppBundle
126
+ include Google::Apis::Core::Hashable
127
+
128
+ # Unique id of the bundle. For example: "com.google.Gmail".
129
+ # Corresponds to the JSON property `bundleId`
130
+ # @return [String]
131
+ attr_accessor :bundle_id
132
+
133
+ # Git commit hash or changelist number associated with the release.
134
+ # Corresponds to the JSON property `codeReferenceId`
135
+ # @return [String]
136
+ attr_accessor :code_reference_id
137
+
138
+ # Identifies the type of release.
139
+ # Corresponds to the JSON property `releaseType`
140
+ # @return [String]
141
+ attr_accessor :release_type
142
+
143
+ # The user-visible version of the bundle such as the Android `versionName` or
144
+ # iOS `CFBundleShortVersionString`. For example: "7.21.1".
145
+ # Corresponds to the JSON property `version`
146
+ # @return [String]
147
+ attr_accessor :version
148
+
149
+ # The version used throughout the operating system and store to identify the
150
+ # build such as the Android `versionCode` or iOS `CFBundleVersion`.
151
+ # Corresponds to the JSON property `versionId`
152
+ # @return [String]
153
+ attr_accessor :version_id
154
+
155
+ def initialize(**args)
156
+ update!(**args)
157
+ end
158
+
159
+ # Update properties of this object
160
+ def update!(**args)
161
+ @bundle_id = args[:bundle_id] if args.key?(:bundle_id)
162
+ @code_reference_id = args[:code_reference_id] if args.key?(:code_reference_id)
163
+ @release_type = args[:release_type] if args.key?(:release_type)
164
+ @version = args[:version] if args.key?(:version)
165
+ @version_id = args[:version_id] if args.key?(:version_id)
166
+ end
167
+ end
168
+
169
+ # A check that was run on your app.
170
+ class GoogleChecksReportV1alphaCheck
171
+ include Google::Apis::Core::Hashable
172
+
173
+ # Regulations and policies that serve as the legal basis for the check.
174
+ # Corresponds to the JSON property `citations`
175
+ # @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheckCitation>]
176
+ attr_accessor :citations
177
+
178
+ # Evidence for a check.
179
+ # Corresponds to the JSON property `evidence`
180
+ # @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheckEvidence]
181
+ attr_accessor :evidence
182
+
183
+ # Regions that are impacted by the check. For more info, see https://google.aip.
184
+ # dev/143#countries-and-regions.
185
+ # Corresponds to the JSON property `regionCodes`
186
+ # @return [Array<String>]
187
+ attr_accessor :region_codes
188
+
189
+ # The urgency or risk level of the check.
190
+ # Corresponds to the JSON property `severity`
191
+ # @return [String]
192
+ attr_accessor :severity
193
+
194
+ # The result after running the check.
195
+ # Corresponds to the JSON property `state`
196
+ # @return [String]
197
+ attr_accessor :state
198
+
199
+ # Additional information about the check state in relation to past reports.
200
+ # Corresponds to the JSON property `stateMetadata`
201
+ # @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheckStateMetadata]
202
+ attr_accessor :state_metadata
203
+
204
+ # The type of check that was run. A type will only appear once in a report's
205
+ # list of checks.
206
+ # Corresponds to the JSON property `type`
207
+ # @return [String]
208
+ attr_accessor :type
209
+
210
+ def initialize(**args)
211
+ update!(**args)
212
+ end
213
+
214
+ # Update properties of this object
215
+ def update!(**args)
216
+ @citations = args[:citations] if args.key?(:citations)
217
+ @evidence = args[:evidence] if args.key?(:evidence)
218
+ @region_codes = args[:region_codes] if args.key?(:region_codes)
219
+ @severity = args[:severity] if args.key?(:severity)
220
+ @state = args[:state] if args.key?(:state)
221
+ @state_metadata = args[:state_metadata] if args.key?(:state_metadata)
222
+ @type = args[:type] if args.key?(:type)
223
+ end
224
+ end
225
+
226
+ # Regulation or policy that serves as the legal basis for the check.
227
+ class GoogleChecksReportV1alphaCheckCitation
228
+ include Google::Apis::Core::Hashable
229
+
230
+ # Citation type.
231
+ # Corresponds to the JSON property `type`
232
+ # @return [String]
233
+ attr_accessor :type
234
+
235
+ def initialize(**args)
236
+ update!(**args)
237
+ end
238
+
239
+ # Update properties of this object
240
+ def update!(**args)
241
+ @type = args[:type] if args.key?(:type)
242
+ end
243
+ end
244
+
245
+ # Evidence concerning data security.
246
+ class GoogleChecksReportV1alphaCheckDataSecurityEvidence
247
+ include Google::Apis::Core::Hashable
248
+
249
+ # Evidence related to data in transit.
250
+ # Corresponds to the JSON property `dataInTransitInfo`
251
+ # @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheckDataSecurityEvidenceDataInTransitInfo>]
252
+ attr_accessor :data_in_transit_info
253
+
254
+ def initialize(**args)
255
+ update!(**args)
256
+ end
257
+
258
+ # Update properties of this object
259
+ def update!(**args)
260
+ @data_in_transit_info = args[:data_in_transit_info] if args.key?(:data_in_transit_info)
261
+ end
262
+ end
263
+
264
+ # Evidence related to data in transit detected in your app.
265
+ class GoogleChecksReportV1alphaCheckDataSecurityEvidenceDataInTransitInfo
266
+ include Google::Apis::Core::Hashable
267
+
268
+ # The URL contacted by your app. This includes the protocol, domain, and URL
269
+ # parameters.
270
+ # Corresponds to the JSON property `uri`
271
+ # @return [String]
272
+ attr_accessor :uri
273
+
274
+ def initialize(**args)
275
+ update!(**args)
276
+ end
277
+
278
+ # Update properties of this object
279
+ def update!(**args)
280
+ @uri = args[:uri] if args.key?(:uri)
281
+ end
282
+ end
283
+
284
+ # Evidence concerning a data type that was found in your app.
285
+ class GoogleChecksReportV1alphaCheckDataTypeEvidence
286
+ include Google::Apis::Core::Hashable
287
+
288
+ # The data type that was found in your app.
289
+ # Corresponds to the JSON property `dataType`
290
+ # @return [String]
291
+ attr_accessor :data_type
292
+
293
+ # Evidence collected about a data type.
294
+ # Corresponds to the JSON property `dataTypeEvidence`
295
+ # @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataTypeEvidence]
296
+ attr_accessor :data_type_evidence
297
+
298
+ def initialize(**args)
299
+ update!(**args)
300
+ end
301
+
302
+ # Update properties of this object
303
+ def update!(**args)
304
+ @data_type = args[:data_type] if args.key?(:data_type)
305
+ @data_type_evidence = args[:data_type_evidence] if args.key?(:data_type_evidence)
306
+ end
307
+ end
308
+
309
+ # Evidence concerning an endpoint that was contacted by your app.
310
+ class GoogleChecksReportV1alphaCheckEndpointEvidence
311
+ include Google::Apis::Core::Hashable
312
+
313
+ # Information about an endpoint.
314
+ # Corresponds to the JSON property `endpoint`
315
+ # @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaEndpoint]
316
+ attr_accessor :endpoint
317
+
318
+ def initialize(**args)
319
+ update!(**args)
320
+ end
321
+
322
+ # Update properties of this object
323
+ def update!(**args)
324
+ @endpoint = args[:endpoint] if args.key?(:endpoint)
325
+ end
326
+ end
327
+
328
+ # Evidence collected from endpoint restriction violation analysis.
329
+ class GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidence
330
+ include Google::Apis::Core::Hashable
331
+
332
+ # Endpoints in violation.
333
+ # Corresponds to the JSON property `endpointDetails`
334
+ # @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidenceEndpointDetails>]
335
+ attr_accessor :endpoint_details
336
+
337
+ def initialize(**args)
338
+ update!(**args)
339
+ end
340
+
341
+ # Update properties of this object
342
+ def update!(**args)
343
+ @endpoint_details = args[:endpoint_details] if args.key?(:endpoint_details)
344
+ end
345
+ end
346
+
347
+ # Details of the endpoint in violation.
348
+ class GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidenceEndpointDetails
349
+ include Google::Apis::Core::Hashable
350
+
351
+ # Information about an endpoint.
352
+ # Corresponds to the JSON property `endpoint`
353
+ # @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaEndpoint]
354
+ attr_accessor :endpoint
355
+
356
+ def initialize(**args)
357
+ update!(**args)
358
+ end
359
+
360
+ # Update properties of this object
361
+ def update!(**args)
362
+ @endpoint = args[:endpoint] if args.key?(:endpoint)
363
+ end
364
+ end
365
+
366
+ # Evidence for a check.
367
+ class GoogleChecksReportV1alphaCheckEvidence
368
+ include Google::Apis::Core::Hashable
369
+
370
+ # Evidence concerning data security.
371
+ # Corresponds to the JSON property `dataSecurity`
372
+ # @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheckDataSecurityEvidence]
373
+ attr_accessor :data_security
374
+
375
+ # Evidence concerning data types found in your app.
376
+ # Corresponds to the JSON property `dataTypes`
377
+ # @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheckDataTypeEvidence>]
378
+ attr_accessor :data_types
379
+
380
+ # Evidence collected from endpoint restriction violation analysis.
381
+ # Corresponds to the JSON property `endpointRestrictionViolations`
382
+ # @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidence>]
383
+ attr_accessor :endpoint_restriction_violations
384
+
385
+ # Evidence concerning endpoints that were contacted by your app.
386
+ # Corresponds to the JSON property `endpoints`
387
+ # @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheckEndpointEvidence>]
388
+ attr_accessor :endpoints
389
+
390
+ # Evidence collected from permission restriction violation analysis.
391
+ # Corresponds to the JSON property `permissionRestrictionViolations`
392
+ # @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidence>]
393
+ attr_accessor :permission_restriction_violations
394
+
395
+ # Evidence concerning permissions that were found in your app.
396
+ # Corresponds to the JSON property `permissions`
397
+ # @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheckPermissionEvidence>]
398
+ attr_accessor :permissions
399
+
400
+ # Evidence collected from your privacy policy(s).
401
+ # Corresponds to the JSON property `privacyPolicyTexts`
402
+ # @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheckPrivacyPolicyTextEvidence>]
403
+ attr_accessor :privacy_policy_texts
404
+
405
+ # Evidence concerning SDK issues.
406
+ # Corresponds to the JSON property `sdkIssues`
407
+ # @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheckSdkIssueEvidence>]
408
+ attr_accessor :sdk_issues
409
+
410
+ # Evidence collected from SDK restriction violation analysis.
411
+ # Corresponds to the JSON property `sdkRestrictionViolations`
412
+ # @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheckSdkRestrictionViolationEvidence>]
413
+ attr_accessor :sdk_restriction_violations
414
+
415
+ # Evidence concerning SDKs that were found in your app.
416
+ # Corresponds to the JSON property `sdks`
417
+ # @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheckSdkEvidence>]
418
+ attr_accessor :sdks
419
+
420
+ def initialize(**args)
421
+ update!(**args)
422
+ end
423
+
424
+ # Update properties of this object
425
+ def update!(**args)
426
+ @data_security = args[:data_security] if args.key?(:data_security)
427
+ @data_types = args[:data_types] if args.key?(:data_types)
428
+ @endpoint_restriction_violations = args[:endpoint_restriction_violations] if args.key?(:endpoint_restriction_violations)
429
+ @endpoints = args[:endpoints] if args.key?(:endpoints)
430
+ @permission_restriction_violations = args[:permission_restriction_violations] if args.key?(:permission_restriction_violations)
431
+ @permissions = args[:permissions] if args.key?(:permissions)
432
+ @privacy_policy_texts = args[:privacy_policy_texts] if args.key?(:privacy_policy_texts)
433
+ @sdk_issues = args[:sdk_issues] if args.key?(:sdk_issues)
434
+ @sdk_restriction_violations = args[:sdk_restriction_violations] if args.key?(:sdk_restriction_violations)
435
+ @sdks = args[:sdks] if args.key?(:sdks)
436
+ end
437
+ end
438
+
439
+ # Evidence concerning a permission that was found in your app.
440
+ class GoogleChecksReportV1alphaCheckPermissionEvidence
441
+ include Google::Apis::Core::Hashable
442
+
443
+ # Information about a permission.
444
+ # Corresponds to the JSON property `permission`
445
+ # @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaPermission]
446
+ attr_accessor :permission
447
+
448
+ def initialize(**args)
449
+ update!(**args)
450
+ end
451
+
452
+ # Update properties of this object
453
+ def update!(**args)
454
+ @permission = args[:permission] if args.key?(:permission)
455
+ end
456
+ end
457
+
458
+ # Evidence collected from permission restriction violation analysis.
459
+ class GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidence
460
+ include Google::Apis::Core::Hashable
461
+
462
+ # Permissions in violation.
463
+ # Corresponds to the JSON property `permissionDetails`
464
+ # @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidencePermissionDetails>]
465
+ attr_accessor :permission_details
466
+
467
+ def initialize(**args)
468
+ update!(**args)
469
+ end
470
+
471
+ # Update properties of this object
472
+ def update!(**args)
473
+ @permission_details = args[:permission_details] if args.key?(:permission_details)
474
+ end
475
+ end
476
+
477
+ # Details of the permission in violation.
478
+ class GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidencePermissionDetails
479
+ include Google::Apis::Core::Hashable
480
+
481
+ # Information about a permission.
482
+ # Corresponds to the JSON property `permission`
483
+ # @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaPermission]
484
+ attr_accessor :permission
485
+
486
+ def initialize(**args)
487
+ update!(**args)
488
+ end
489
+
490
+ # Update properties of this object
491
+ def update!(**args)
492
+ @permission = args[:permission] if args.key?(:permission)
493
+ end
494
+ end
495
+
496
+ # Evidence collected from your privacy policy(s).
497
+ class GoogleChecksReportV1alphaCheckPrivacyPolicyTextEvidence
498
+ include Google::Apis::Core::Hashable
499
+
500
+ # Information about a policy fragment.
501
+ # Corresponds to the JSON property `policyFragment`
502
+ # @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaPolicyFragment]
503
+ attr_accessor :policy_fragment
504
+
505
+ def initialize(**args)
506
+ update!(**args)
507
+ end
508
+
509
+ # Update properties of this object
510
+ def update!(**args)
511
+ @policy_fragment = args[:policy_fragment] if args.key?(:policy_fragment)
512
+ end
513
+ end
514
+
515
+ # Evidence conerning an SDK that was found in your app.
516
+ class GoogleChecksReportV1alphaCheckSdkEvidence
517
+ include Google::Apis::Core::Hashable
518
+
519
+ # Information about an SDK.
520
+ # Corresponds to the JSON property `sdk`
521
+ # @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaSdk]
522
+ attr_accessor :sdk
523
+
524
+ def initialize(**args)
525
+ update!(**args)
526
+ end
527
+
528
+ # Update properties of this object
529
+ def update!(**args)
530
+ @sdk = args[:sdk] if args.key?(:sdk)
531
+ end
532
+ end
533
+
534
+ # Evidence concerning an SDK issue.
535
+ class GoogleChecksReportV1alphaCheckSdkIssueEvidence
536
+ include Google::Apis::Core::Hashable
537
+
538
+ # Information about an SDK.
539
+ # Corresponds to the JSON property `sdk`
540
+ # @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaSdk]
541
+ attr_accessor :sdk
542
+
543
+ # The SDK version.
544
+ # Corresponds to the JSON property `sdkVersion`
545
+ # @return [String]
546
+ attr_accessor :sdk_version
547
+
548
+ def initialize(**args)
549
+ update!(**args)
550
+ end
551
+
552
+ # Update properties of this object
553
+ def update!(**args)
554
+ @sdk = args[:sdk] if args.key?(:sdk)
555
+ @sdk_version = args[:sdk_version] if args.key?(:sdk_version)
556
+ end
557
+ end
558
+
559
+ # Evidence collected from SDK restriction violation analysis.
560
+ class GoogleChecksReportV1alphaCheckSdkRestrictionViolationEvidence
561
+ include Google::Apis::Core::Hashable
562
+
563
+ # SDKs in violation.
564
+ # Corresponds to the JSON property `sdkDetails`
565
+ # @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheckSdkRestrictionViolationEvidenceSdkDetails>]
566
+ attr_accessor :sdk_details
567
+
568
+ def initialize(**args)
569
+ update!(**args)
570
+ end
571
+
572
+ # Update properties of this object
573
+ def update!(**args)
574
+ @sdk_details = args[:sdk_details] if args.key?(:sdk_details)
575
+ end
576
+ end
577
+
578
+ # Details of the SDK in violation.
579
+ class GoogleChecksReportV1alphaCheckSdkRestrictionViolationEvidenceSdkDetails
580
+ include Google::Apis::Core::Hashable
581
+
582
+ # Information about an SDK.
583
+ # Corresponds to the JSON property `sdk`
584
+ # @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaSdk]
585
+ attr_accessor :sdk
586
+
587
+ def initialize(**args)
588
+ update!(**args)
589
+ end
590
+
591
+ # Update properties of this object
592
+ def update!(**args)
593
+ @sdk = args[:sdk] if args.key?(:sdk)
594
+ end
595
+ end
596
+
597
+ # Additional information about the check state in relation to past reports.
598
+ class GoogleChecksReportV1alphaCheckStateMetadata
599
+ include Google::Apis::Core::Hashable
600
+
601
+ # Indicators related to the check state.
602
+ # Corresponds to the JSON property `badges`
603
+ # @return [Array<String>]
604
+ attr_accessor :badges
605
+
606
+ # The time when the check first started failing.
607
+ # Corresponds to the JSON property `firstFailingTime`
608
+ # @return [String]
609
+ attr_accessor :first_failing_time
610
+
611
+ # The last time the check failed.
612
+ # Corresponds to the JSON property `lastFailingTime`
613
+ # @return [String]
614
+ attr_accessor :last_failing_time
615
+
616
+ def initialize(**args)
617
+ update!(**args)
618
+ end
619
+
620
+ # Update properties of this object
621
+ def update!(**args)
622
+ @badges = args[:badges] if args.key?(:badges)
623
+ @first_failing_time = args[:first_failing_time] if args.key?(:first_failing_time)
624
+ @last_failing_time = args[:last_failing_time] if args.key?(:last_failing_time)
625
+ end
626
+ end
627
+
628
+ # Represents the data monitoring section of the report.
629
+ class GoogleChecksReportV1alphaDataMonitoring
630
+ include Google::Apis::Core::Hashable
631
+
632
+ # Data types that your app shares or collects.
633
+ # Corresponds to the JSON property `dataTypes`
634
+ # @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataMonitoringDataTypeResult>]
635
+ attr_accessor :data_types
636
+
637
+ # Endpoints that were found by dynamic analysis of your app.
638
+ # Corresponds to the JSON property `endpoints`
639
+ # @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataMonitoringEndpointResult>]
640
+ attr_accessor :endpoints
641
+
642
+ # Permissions that your app uses.
643
+ # Corresponds to the JSON property `permissions`
644
+ # @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataMonitoringPermissionResult>]
645
+ attr_accessor :permissions
646
+
647
+ # SDKs that your app uses.
648
+ # Corresponds to the JSON property `sdks`
649
+ # @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataMonitoringSdkResult>]
650
+ attr_accessor :sdks
651
+
652
+ def initialize(**args)
653
+ update!(**args)
654
+ end
655
+
656
+ # Update properties of this object
657
+ def update!(**args)
658
+ @data_types = args[:data_types] if args.key?(:data_types)
659
+ @endpoints = args[:endpoints] if args.key?(:endpoints)
660
+ @permissions = args[:permissions] if args.key?(:permissions)
661
+ @sdks = args[:sdks] if args.key?(:sdks)
662
+ end
663
+ end
664
+
665
+ # Information about a data type that was found in your app.
666
+ class GoogleChecksReportV1alphaDataMonitoringDataTypeResult
667
+ include Google::Apis::Core::Hashable
668
+
669
+ # The data type that was shared or collected by your app.
670
+ # Corresponds to the JSON property `dataType`
671
+ # @return [String]
672
+ attr_accessor :data_type
673
+
674
+ # Evidence collected about a data type.
675
+ # Corresponds to the JSON property `dataTypeEvidence`
676
+ # @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataTypeEvidence]
677
+ attr_accessor :data_type_evidence
678
+
679
+ # Information about a data monitoring result.
680
+ # Corresponds to the JSON property `metadata`
681
+ # @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataMonitoringResultMetadata]
682
+ attr_accessor :metadata
683
+
684
+ def initialize(**args)
685
+ update!(**args)
686
+ end
687
+
688
+ # Update properties of this object
689
+ def update!(**args)
690
+ @data_type = args[:data_type] if args.key?(:data_type)
691
+ @data_type_evidence = args[:data_type_evidence] if args.key?(:data_type_evidence)
692
+ @metadata = args[:metadata] if args.key?(:metadata)
693
+ end
694
+ end
695
+
696
+ # Information about an endpoint that was contacted by your app.
697
+ class GoogleChecksReportV1alphaDataMonitoringEndpointResult
698
+ include Google::Apis::Core::Hashable
699
+
700
+ # Information about an endpoint.
701
+ # Corresponds to the JSON property `endpoint`
702
+ # @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaEndpoint]
703
+ attr_accessor :endpoint
704
+
705
+ # The number of times this endpoint was contacted by your app.
706
+ # Corresponds to the JSON property `hitCount`
707
+ # @return [Fixnum]
708
+ attr_accessor :hit_count
709
+
710
+ # Information about a data monitoring result.
711
+ # Corresponds to the JSON property `metadata`
712
+ # @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataMonitoringResultMetadata]
713
+ attr_accessor :metadata
714
+
715
+ def initialize(**args)
716
+ update!(**args)
717
+ end
718
+
719
+ # Update properties of this object
720
+ def update!(**args)
721
+ @endpoint = args[:endpoint] if args.key?(:endpoint)
722
+ @hit_count = args[:hit_count] if args.key?(:hit_count)
723
+ @metadata = args[:metadata] if args.key?(:metadata)
724
+ end
725
+ end
726
+
727
+ # Information about a permission that was found in your app.
728
+ class GoogleChecksReportV1alphaDataMonitoringPermissionResult
729
+ include Google::Apis::Core::Hashable
730
+
731
+ # Information about a data monitoring result.
732
+ # Corresponds to the JSON property `metadata`
733
+ # @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataMonitoringResultMetadata]
734
+ attr_accessor :metadata
735
+
736
+ # Information about a permission.
737
+ # Corresponds to the JSON property `permission`
738
+ # @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaPermission]
739
+ attr_accessor :permission
740
+
741
+ def initialize(**args)
742
+ update!(**args)
743
+ end
744
+
745
+ # Update properties of this object
746
+ def update!(**args)
747
+ @metadata = args[:metadata] if args.key?(:metadata)
748
+ @permission = args[:permission] if args.key?(:permission)
749
+ end
750
+ end
751
+
752
+ # Information about a data monitoring result.
753
+ class GoogleChecksReportV1alphaDataMonitoringResultMetadata
27
754
  include Google::Apis::Core::Hashable
28
755
 
29
- # Web page raw HTML content for the privacy policy page to be analyzed. Useful
30
- # when the client wants to analyze a privacy policy already fetched.
31
- # Corresponds to the JSON property `privacyPolicyPageContent`
756
+ # Badges that apply to this result.
757
+ # Corresponds to the JSON property `badges`
758
+ # @return [Array<String>]
759
+ attr_accessor :badges
760
+
761
+ # The timestamp when this result was first detected within the last 8 weeks. If
762
+ # not set, it wasn't detected within the last 8 weeks.
763
+ # Corresponds to the JSON property `firstDetectedTime`
764
+ # @return [String]
765
+ attr_accessor :first_detected_time
766
+
767
+ # Your app's version name when this result was last detected within the last 8
768
+ # weeks. If not set, it wasn't detected within the last 8 weeks.
769
+ # Corresponds to the JSON property `lastDetectedAppVersion`
32
770
  # @return [String]
33
- attr_accessor :privacy_policy_page_content
771
+ attr_accessor :last_detected_app_version
34
772
 
35
- # URL for the privacy policy page to be analyzed. https://linter.aip.dev/140/uri
36
- # (Use `uri` instead of `url` in field name)
37
- # Corresponds to the JSON property `privacyPolicyUri`
773
+ # The timestamp when this result was last detected within the last 8 weeks. If
774
+ # not set, it wasn't detected within the last 8 weeks.
775
+ # Corresponds to the JSON property `lastDetectedTime`
38
776
  # @return [String]
39
- attr_accessor :privacy_policy_uri
777
+ attr_accessor :last_detected_time
40
778
 
41
779
  def initialize(**args)
42
780
  update!(**args)
@@ -44,39 +782,77 @@ module Google
44
782
 
45
783
  # Update properties of this object
46
784
  def update!(**args)
47
- @privacy_policy_page_content = args[:privacy_policy_page_content] if args.key?(:privacy_policy_page_content)
48
- @privacy_policy_uri = args[:privacy_policy_uri] if args.key?(:privacy_policy_uri)
785
+ @badges = args[:badges] if args.key?(:badges)
786
+ @first_detected_time = args[:first_detected_time] if args.key?(:first_detected_time)
787
+ @last_detected_app_version = args[:last_detected_app_version] if args.key?(:last_detected_app_version)
788
+ @last_detected_time = args[:last_detected_time] if args.key?(:last_detected_time)
49
789
  end
50
790
  end
51
791
 
52
- # The response proto for AnalyzePrivacyPolicy method.
53
- class AnalyzePrivacyPolicyResponse
792
+ # Information about an SDK that was found in your app.
793
+ class GoogleChecksReportV1alphaDataMonitoringSdkResult
54
794
  include Google::Apis::Core::Hashable
55
795
 
56
- # List of all data types in the privacy policy.
57
- # Corresponds to the JSON property `dataPurposeAnnotations`
58
- # @return [Array<Google::Apis::ChecksV1alpha::PolicyPurposeOfUseAnnotation>]
59
- attr_accessor :data_purpose_annotations
796
+ # Information about a data monitoring result.
797
+ # Corresponds to the JSON property `metadata`
798
+ # @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataMonitoringResultMetadata]
799
+ attr_accessor :metadata
60
800
 
61
- # List of all data types in the privacy policy.
62
- # Corresponds to the JSON property `dataTypeAnnotations`
63
- # @return [Array<Google::Apis::ChecksV1alpha::PolicyDataTypeAnnotation>]
64
- attr_accessor :data_type_annotations
801
+ # Information about an SDK.
802
+ # Corresponds to the JSON property `sdk`
803
+ # @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaSdk]
804
+ attr_accessor :sdk
65
805
 
66
- # HTML content for the privacy policy page.
67
- # Corresponds to the JSON property `htmlContent`
806
+ def initialize(**args)
807
+ update!(**args)
808
+ end
809
+
810
+ # Update properties of this object
811
+ def update!(**args)
812
+ @metadata = args[:metadata] if args.key?(:metadata)
813
+ @sdk = args[:sdk] if args.key?(:sdk)
814
+ end
815
+ end
816
+
817
+ # Evidence based on an endpoint that data was sent to.
818
+ class GoogleChecksReportV1alphaDataTypeEndpointEvidence
819
+ include Google::Apis::Core::Hashable
820
+
821
+ # Set of SDKs that are attributed to the exfiltration.
822
+ # Corresponds to the JSON property `attributedSdks`
823
+ # @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataTypeEndpointEvidenceAttributedSdk>]
824
+ attr_accessor :attributed_sdks
825
+
826
+ # Endpoints the data type was sent to.
827
+ # Corresponds to the JSON property `endpointDetails`
828
+ # @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataTypeEndpointEvidenceEndpointDetails>]
829
+ attr_accessor :endpoint_details
830
+
831
+ # Type of data that was exfiltrated.
832
+ # Corresponds to the JSON property `exfiltratedDataType`
68
833
  # @return [String]
69
- attr_accessor :html_content
834
+ attr_accessor :exfiltrated_data_type
835
+
836
+ def initialize(**args)
837
+ update!(**args)
838
+ end
839
+
840
+ # Update properties of this object
841
+ def update!(**args)
842
+ @attributed_sdks = args[:attributed_sdks] if args.key?(:attributed_sdks)
843
+ @endpoint_details = args[:endpoint_details] if args.key?(:endpoint_details)
844
+ @exfiltrated_data_type = args[:exfiltrated_data_type] if args.key?(:exfiltrated_data_type)
845
+ end
846
+ end
70
847
 
71
- # Information about the date when the privacy policy was last updated.
72
- # Corresponds to the JSON property `lastUpdatedDateInfo`
73
- # @return [Google::Apis::ChecksV1alpha::LastUpdatedDate]
74
- attr_accessor :last_updated_date_info
848
+ # Details of SDK that is attributed to the exfiltration.
849
+ class GoogleChecksReportV1alphaDataTypeEndpointEvidenceAttributedSdk
850
+ include Google::Apis::Core::Hashable
75
851
 
76
- # List of all sections in the privacy policy.
77
- # Corresponds to the JSON property `sectionAnnotations`
78
- # @return [Array<Google::Apis::ChecksV1alpha::PolicySectionAnnotation>]
79
- attr_accessor :section_annotations
852
+ # Information about an SDK.
853
+ # Corresponds to the JSON property `sdk`
854
+ # @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaSdk]
855
+ attr_accessor :sdk
80
856
 
81
857
  def initialize(**args)
82
858
  update!(**args)
@@ -84,55 +860,47 @@ module Google
84
860
 
85
861
  # Update properties of this object
86
862
  def update!(**args)
87
- @data_purpose_annotations = args[:data_purpose_annotations] if args.key?(:data_purpose_annotations)
88
- @data_type_annotations = args[:data_type_annotations] if args.key?(:data_type_annotations)
89
- @html_content = args[:html_content] if args.key?(:html_content)
90
- @last_updated_date_info = args[:last_updated_date_info] if args.key?(:last_updated_date_info)
91
- @section_annotations = args[:section_annotations] if args.key?(:section_annotations)
863
+ @sdk = args[:sdk] if args.key?(:sdk)
92
864
  end
93
865
  end
94
866
 
95
- # The request message for Operations.CancelOperation.
96
- class CancelOperationRequest
867
+ # Details of the endpoint the data type was sent to.
868
+ class GoogleChecksReportV1alphaDataTypeEndpointEvidenceEndpointDetails
97
869
  include Google::Apis::Core::Hashable
98
870
 
871
+ # Information about an endpoint.
872
+ # Corresponds to the JSON property `endpoint`
873
+ # @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaEndpoint]
874
+ attr_accessor :endpoint
875
+
99
876
  def initialize(**args)
100
877
  update!(**args)
101
878
  end
102
879
 
103
880
  # Update properties of this object
104
881
  def update!(**args)
882
+ @endpoint = args[:endpoint] if args.key?(:endpoint)
105
883
  end
106
884
  end
107
885
 
108
- # Represents a whole or partial calendar date, such as a birthday. The time of
109
- # day and time zone are either specified elsewhere or are insignificant. The
110
- # date is relative to the Gregorian Calendar. This can represent one of the
111
- # following: * A full date, with non-zero year, month, and day values. * A month
112
- # and day, with a zero year (for example, an anniversary). * A year on its own,
113
- # with a zero month and a zero day. * A year and month, with a zero day (for
114
- # example, a credit card expiration date). Related types: * google.type.
115
- # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
116
- class Date
886
+ # Evidence collected about a data type.
887
+ class GoogleChecksReportV1alphaDataTypeEvidence
117
888
  include Google::Apis::Core::Hashable
118
889
 
119
- # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
120
- # specify a year by itself or a year and month where the day isn't significant.
121
- # Corresponds to the JSON property `day`
122
- # @return [Fixnum]
123
- attr_accessor :day
890
+ # List of endpoints the data type was sent to.
891
+ # Corresponds to the JSON property `endpoints`
892
+ # @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataTypeEndpointEvidence>]
893
+ attr_accessor :endpoints
124
894
 
125
- # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
126
- # and day.
127
- # Corresponds to the JSON property `month`
128
- # @return [Fixnum]
129
- attr_accessor :month
895
+ # List of included permissions that imply collection of the data type.
896
+ # Corresponds to the JSON property `permissions`
897
+ # @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataTypePermissionEvidence>]
898
+ attr_accessor :permissions
130
899
 
131
- # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
132
- # year.
133
- # Corresponds to the JSON property `year`
134
- # @return [Fixnum]
135
- attr_accessor :year
900
+ # List of privacy policy texts that imply collection of the data type.
901
+ # Corresponds to the JSON property `privacyPolicyTexts`
902
+ # @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataTypePrivacyPolicyTextEvidence>]
903
+ attr_accessor :privacy_policy_texts
136
904
 
137
905
  def initialize(**args)
138
906
  update!(**args)
@@ -140,36 +908,58 @@ module Google
140
908
 
141
909
  # Update properties of this object
142
910
  def update!(**args)
143
- @day = args[:day] if args.key?(:day)
144
- @month = args[:month] if args.key?(:month)
145
- @year = args[:year] if args.key?(:year)
911
+ @endpoints = args[:endpoints] if args.key?(:endpoints)
912
+ @permissions = args[:permissions] if args.key?(:permissions)
913
+ @privacy_policy_texts = args[:privacy_policy_texts] if args.key?(:privacy_policy_texts)
146
914
  end
147
915
  end
148
916
 
149
- # A generic empty message that you can re-use to avoid defining duplicated empty
150
- # messages in your APIs. A typical example is to use it as the request or the
151
- # response type of an API method. For instance: service Foo ` rpc Bar(google.
152
- # protobuf.Empty) returns (google.protobuf.Empty); `
153
- class Empty
917
+ # Evidence based on the inclusion of a permission.
918
+ class GoogleChecksReportV1alphaDataTypePermissionEvidence
919
+ include Google::Apis::Core::Hashable
920
+
921
+ # Information about a permission.
922
+ # Corresponds to the JSON property `permission`
923
+ # @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaPermission]
924
+ attr_accessor :permission
925
+
926
+ def initialize(**args)
927
+ update!(**args)
928
+ end
929
+
930
+ # Update properties of this object
931
+ def update!(**args)
932
+ @permission = args[:permission] if args.key?(:permission)
933
+ end
934
+ end
935
+
936
+ # Evidence based on information from the privacy policy.
937
+ class GoogleChecksReportV1alphaDataTypePrivacyPolicyTextEvidence
154
938
  include Google::Apis::Core::Hashable
155
939
 
940
+ # Information about a policy fragment.
941
+ # Corresponds to the JSON property `policyFragment`
942
+ # @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaPolicyFragment]
943
+ attr_accessor :policy_fragment
944
+
156
945
  def initialize(**args)
157
946
  update!(**args)
158
947
  end
159
948
 
160
949
  # Update properties of this object
161
950
  def update!(**args)
951
+ @policy_fragment = args[:policy_fragment] if args.key?(:policy_fragment)
162
952
  end
163
953
  end
164
954
 
165
- # Operation response for `FindPrivacyPolicy`.
166
- class FindPrivacyPolicyResponse
955
+ # Information about an endpoint.
956
+ class GoogleChecksReportV1alphaEndpoint
167
957
  include Google::Apis::Core::Hashable
168
958
 
169
- # Resource name of the PrivacyPolicy that was found.
170
- # Corresponds to the JSON property `privacyPolicy`
959
+ # Domain name (e.g. ads.google.com).
960
+ # Corresponds to the JSON property `domain`
171
961
  # @return [String]
172
- attr_accessor :privacy_policy
962
+ attr_accessor :domain
173
963
 
174
964
  def initialize(**args)
175
965
  update!(**args)
@@ -177,42 +967,138 @@ module Google
177
967
 
178
968
  # Update properties of this object
179
969
  def update!(**args)
180
- @privacy_policy = args[:privacy_policy] if args.key?(:privacy_policy)
970
+ @domain = args[:domain] if args.key?(:domain)
181
971
  end
182
972
  end
183
973
 
184
- # Information about the date when the privacy policy was last updated.
185
- class LastUpdatedDate
974
+ # The response message for ReportService.ListReports.
975
+ class GoogleChecksReportV1alphaListReportsResponse
186
976
  include Google::Apis::Core::Hashable
187
977
 
188
- # Byte offsets for the end of the date text inside the full text.
189
- # Corresponds to the JSON property `endOffset`
190
- # @return [Fixnum]
191
- attr_accessor :end_offset
192
-
193
- # Represents a whole or partial calendar date, such as a birthday. The time of
194
- # day and time zone are either specified elsewhere or are insignificant. The
195
- # date is relative to the Gregorian Calendar. This can represent one of the
196
- # following: * A full date, with non-zero year, month, and day values. * A month
197
- # and day, with a zero year (for example, an anniversary). * A year on its own,
198
- # with a zero month and a zero day. * A year and month, with a zero day (for
199
- # example, a credit card expiration date). Related types: * google.type.
200
- # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
201
- # Corresponds to the JSON property `lastUpdatedDate`
202
- # @return [Google::Apis::ChecksV1alpha::Date]
203
- attr_accessor :last_updated_date
204
-
205
- # Byte offsets for the start of the date text inside the full text.
206
- # Corresponds to the JSON property `startOffset`
207
- # @return [Fixnum]
208
- attr_accessor :start_offset
978
+ # A token which can be sent as `page_token` to retrieve the next page. If this
979
+ # field is omitted, there are no subsequent pages.
980
+ # Corresponds to the JSON property `nextPageToken`
981
+ # @return [String]
982
+ attr_accessor :next_page_token
983
+
984
+ # The reports for the specified app.
985
+ # Corresponds to the JSON property `reports`
986
+ # @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaReport>]
987
+ attr_accessor :reports
988
+
989
+ def initialize(**args)
990
+ update!(**args)
991
+ end
992
+
993
+ # Update properties of this object
994
+ def update!(**args)
995
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
996
+ @reports = args[:reports] if args.key?(:reports)
997
+ end
998
+ end
999
+
1000
+ # Information about a permission.
1001
+ class GoogleChecksReportV1alphaPermission
1002
+ include Google::Apis::Core::Hashable
1003
+
1004
+ # Permission identifier.
1005
+ # Corresponds to the JSON property `id`
1006
+ # @return [String]
1007
+ attr_accessor :id
1008
+
1009
+ def initialize(**args)
1010
+ update!(**args)
1011
+ end
1012
+
1013
+ # Update properties of this object
1014
+ def update!(**args)
1015
+ @id = args[:id] if args.key?(:id)
1016
+ end
1017
+ end
1018
+
1019
+ # Information about a policy fragment.
1020
+ class GoogleChecksReportV1alphaPolicyFragment
1021
+ include Google::Apis::Core::Hashable
1022
+
1023
+ # HTML content.
1024
+ # Corresponds to the JSON property `htmlContent`
1025
+ # @return [String]
1026
+ attr_accessor :html_content
1027
+
1028
+ # Policy URL.
1029
+ # Corresponds to the JSON property `sourceUri`
1030
+ # @return [String]
1031
+ attr_accessor :source_uri
1032
+
1033
+ def initialize(**args)
1034
+ update!(**args)
1035
+ end
1036
+
1037
+ # Update properties of this object
1038
+ def update!(**args)
1039
+ @html_content = args[:html_content] if args.key?(:html_content)
1040
+ @source_uri = args[:source_uri] if args.key?(:source_uri)
1041
+ end
1042
+ end
1043
+
1044
+ # Privacy report.
1045
+ class GoogleChecksReportV1alphaReport
1046
+ include Google::Apis::Core::Hashable
1047
+
1048
+ # Information about the analyzed app bundle.
1049
+ # Corresponds to the JSON property `appBundle`
1050
+ # @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaAppBundle]
1051
+ attr_accessor :app_bundle
1052
+
1053
+ # Resource name of the base report used for comparison. May be absent if this is
1054
+ # the first report generated for the app.
1055
+ # Corresponds to the JSON property `baseReport`
1056
+ # @return [String]
1057
+ attr_accessor :base_report
1058
+
1059
+ # List of checks that were run on the app bundle.
1060
+ # Corresponds to the JSON property `checks`
1061
+ # @return [Array<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheck>]
1062
+ attr_accessor :checks
1063
+
1064
+ # Represents the data monitoring section of the report.
1065
+ # Corresponds to the JSON property `dataMonitoring`
1066
+ # @return [Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataMonitoring]
1067
+ attr_accessor :data_monitoring
1068
+
1069
+ # Resource name of the report.
1070
+ # Corresponds to the JSON property `name`
1071
+ # @return [String]
1072
+ attr_accessor :name
1073
+
1074
+ # A URL to view results.
1075
+ # Corresponds to the JSON property `resultsUri`
1076
+ # @return [String]
1077
+ attr_accessor :results_uri
1078
+
1079
+ def initialize(**args)
1080
+ update!(**args)
1081
+ end
1082
+
1083
+ # Update properties of this object
1084
+ def update!(**args)
1085
+ @app_bundle = args[:app_bundle] if args.key?(:app_bundle)
1086
+ @base_report = args[:base_report] if args.key?(:base_report)
1087
+ @checks = args[:checks] if args.key?(:checks)
1088
+ @data_monitoring = args[:data_monitoring] if args.key?(:data_monitoring)
1089
+ @name = args[:name] if args.key?(:name)
1090
+ @results_uri = args[:results_uri] if args.key?(:results_uri)
1091
+ end
1092
+ end
1093
+
1094
+ # Information about an SDK.
1095
+ class GoogleChecksReportV1alphaSdk
1096
+ include Google::Apis::Core::Hashable
209
1097
 
210
- # The bytes of actual text content in the section. NOTE: - This will correspond
211
- # to the whole sentence that includes the date. - This field might contain HTML
212
- # and it is not sanitized.
213
- # Corresponds to the JSON property `textContent`
1098
+ # SDK identifier.
1099
+ # Corresponds to the JSON property `id`
214
1100
  # @return [String]
215
- attr_accessor :text_content
1101
+ attr_accessor :id
216
1102
 
217
1103
  def initialize(**args)
218
1104
  update!(**args)
@@ -220,10 +1106,7 @@ module Google
220
1106
 
221
1107
  # Update properties of this object
222
1108
  def update!(**args)
223
- @end_offset = args[:end_offset] if args.key?(:end_offset)
224
- @last_updated_date = args[:last_updated_date] if args.key?(:last_updated_date)
225
- @start_offset = args[:start_offset] if args.key?(:start_offset)
226
- @text_content = args[:text_content] if args.key?(:text_content)
1109
+ @id = args[:id] if args.key?(:id)
227
1110
  end
228
1111
  end
229
1112
 
@@ -314,145 +1197,6 @@ module Google
314
1197
  end
315
1198
  end
316
1199
 
317
- #
318
- class PolicyDataTypeAnnotation
319
- include Google::Apis::Core::Hashable
320
-
321
- # Type of the data mentioned in the policy.
322
- # Corresponds to the JSON property `dataType`
323
- # @return [String]
324
- attr_accessor :data_type
325
-
326
- # Byte offsets for the end of the data type sentence inside the full text.
327
- # Corresponds to the JSON property `endOffset`
328
- # @return [Fixnum]
329
- attr_accessor :end_offset
330
-
331
- # Score given by the model representing how confident it was regarding this `
332
- # text_content` being of `data_type`.
333
- # Corresponds to the JSON property `score`
334
- # @return [Float]
335
- attr_accessor :score
336
-
337
- # Byte offsets for the start of the data type sentence inside the full text.
338
- # Corresponds to the JSON property `startOffset`
339
- # @return [Fixnum]
340
- attr_accessor :start_offset
341
-
342
- # Actual text content in the section. This makes it much easier to consume the
343
- # information. NOTE: This field might contain HTML and does not guarantee a
344
- # SafeHtml security contract go/safehtmltypecontracts#safehtml.
345
- # Corresponds to the JSON property `textContent`
346
- # @return [String]
347
- attr_accessor :text_content
348
-
349
- def initialize(**args)
350
- update!(**args)
351
- end
352
-
353
- # Update properties of this object
354
- def update!(**args)
355
- @data_type = args[:data_type] if args.key?(:data_type)
356
- @end_offset = args[:end_offset] if args.key?(:end_offset)
357
- @score = args[:score] if args.key?(:score)
358
- @start_offset = args[:start_offset] if args.key?(:start_offset)
359
- @text_content = args[:text_content] if args.key?(:text_content)
360
- end
361
- end
362
-
363
- #
364
- class PolicyPurposeOfUseAnnotation
365
- include Google::Apis::Core::Hashable
366
-
367
- # Byte offsets for the end of the purpose of use sentence inside the full text.
368
- # Corresponds to the JSON property `endOffset`
369
- # @return [Fixnum]
370
- attr_accessor :end_offset
371
-
372
- # Purpose of use mentioned in the policy.
373
- # Corresponds to the JSON property `purposeOfUse`
374
- # @return [String]
375
- attr_accessor :purpose_of_use
376
-
377
- # Score given by the model representing how confident it was regarding this `
378
- # text_content` being of `purpose_of_use`.
379
- # Corresponds to the JSON property `score`
380
- # @return [Float]
381
- attr_accessor :score
382
-
383
- # Byte offsets for the start of the purpose of use sentence inside the full text.
384
- # Corresponds to the JSON property `startOffset`
385
- # @return [Fixnum]
386
- attr_accessor :start_offset
387
-
388
- # 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. NOTE: This field
390
- # might contain HTML and does not guarantee a SafeHtml security contract go/
391
- # safehtmltypecontracts#safehtml.
392
- # Corresponds to the JSON property `textContent`
393
- # @return [String]
394
- attr_accessor :text_content
395
-
396
- def initialize(**args)
397
- update!(**args)
398
- end
399
-
400
- # Update properties of this object
401
- def update!(**args)
402
- @end_offset = args[:end_offset] if args.key?(:end_offset)
403
- @purpose_of_use = args[:purpose_of_use] if args.key?(:purpose_of_use)
404
- @score = args[:score] if args.key?(:score)
405
- @start_offset = args[:start_offset] if args.key?(:start_offset)
406
- @text_content = args[:text_content] if args.key?(:text_content)
407
- end
408
- end
409
-
410
- #
411
- class PolicySectionAnnotation
412
- include Google::Apis::Core::Hashable
413
-
414
- # Byte offsets for the end of the section inside the full text.
415
- # Corresponds to the JSON property `endOffset`
416
- # @return [Fixnum]
417
- attr_accessor :end_offset
418
-
419
- # Score given by the model representing how confident it was regarding this `
420
- # text_content` being of `section_type`.
421
- # Corresponds to the JSON property `score`
422
- # @return [Float]
423
- attr_accessor :score
424
-
425
- # Type of the high-level category in the policy.
426
- # Corresponds to the JSON property `sectionType`
427
- # @return [String]
428
- attr_accessor :section_type
429
-
430
- # Byte offsets for the start of the section inside the full text.
431
- # Corresponds to the JSON property `startOffset`
432
- # @return [Fixnum]
433
- attr_accessor :start_offset
434
-
435
- # Actual text content in the section. This makes it much easier to consume the
436
- # information. NOTE: This field might contain HTML and does not guarantee a
437
- # SafeHtml security contract go/safehtmltypecontracts#safehtml.
438
- # Corresponds to the JSON property `textContent`
439
- # @return [String]
440
- attr_accessor :text_content
441
-
442
- def initialize(**args)
443
- update!(**args)
444
- end
445
-
446
- # Update properties of this object
447
- def update!(**args)
448
- @end_offset = args[:end_offset] if args.key?(:end_offset)
449
- @score = args[:score] if args.key?(:score)
450
- @section_type = args[:section_type] if args.key?(:section_type)
451
- @start_offset = args[:start_offset] if args.key?(:start_offset)
452
- @text_content = args[:text_content] if args.key?(:text_content)
453
- end
454
- end
455
-
456
1200
  # The `Status` type defines a logical error model that is suitable for different
457
1201
  # programming environments, including REST APIs and RPC APIs. It is used by [
458
1202
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of