-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
checks-gen.go
3170 lines (2957 loc) · 138 KB
/
checks-gen.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Copyright 2024 Google LLC.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Code generated file. DO NOT EDIT.
// Package checks provides access to the Checks API.
//
// For product documentation, see: https://developers.google.com/checks
//
// # Library status
//
// These client libraries are officially supported by Google. However, this
// library is considered complete and is in maintenance mode. This means
// that we will address critical bugs and security issues but will not add
// any new features.
//
// When possible, we recommend using our newer
// [Cloud Client Libraries for Go](https://pkg.go.dev/cloud.google.com/go)
// that are still actively being worked and iterated on.
//
// # Creating a client
//
// Usage example:
//
// import "google.golang.org/api/checks/v1alpha"
// ...
// ctx := context.Background()
// checksService, err := checks.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for
// authentication. For information on how to create and obtain Application
// Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API
// keys), use [google.golang.org/api/option.WithAPIKey]:
//
// checksService, err := checks.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth
// flow, use [google.golang.org/api/option.WithTokenSource]:
//
// config := &oauth2.Config{...}
// // ...
// token, err := config.Exchange(ctx, ...)
// checksService, err := checks.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See [google.golang.org/api/option.ClientOption] for details on options.
package checks // import "google.golang.org/api/checks/v1alpha"
import (
"bytes"
"context"
"encoding/json"
"errors"
"fmt"
"io"
"net/http"
"net/url"
"strconv"
"strings"
googleapi "google.golang.org/api/googleapi"
internal "google.golang.org/api/internal"
gensupport "google.golang.org/api/internal/gensupport"
option "google.golang.org/api/option"
internaloption "google.golang.org/api/option/internaloption"
htransport "google.golang.org/api/transport/http"
)
// Always reference these packages, just in case the auto-generated code
// below doesn't.
var _ = bytes.NewBuffer
var _ = strconv.Itoa
var _ = fmt.Sprintf
var _ = json.NewDecoder
var _ = io.Copy
var _ = url.Parse
var _ = gensupport.MarshalJSON
var _ = googleapi.Version
var _ = errors.New
var _ = strings.Replace
var _ = context.Canceled
var _ = internaloption.WithDefaultEndpoint
var _ = internal.Version
const apiId = "checks:v1alpha"
const apiName = "checks"
const apiVersion = "v1alpha"
const basePath = "https://checks.googleapis.com/"
const basePathTemplate = "https://checks.UNIVERSE_DOMAIN/"
const mtlsBasePath = "https://checks.mtls.googleapis.com/"
// NewService creates a new Service.
func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) {
opts = append(opts, internaloption.WithDefaultEndpoint(basePath))
opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate))
opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath))
opts = append(opts, internaloption.EnableNewAuthLibrary())
client, endpoint, err := htransport.NewClient(ctx, opts...)
if err != nil {
return nil, err
}
s, err := New(client)
if err != nil {
return nil, err
}
if endpoint != "" {
s.BasePath = endpoint
}
return s, nil
}
// New creates a new Service. It uses the provided http.Client for requests.
//
// Deprecated: please use NewService instead.
// To provide a custom HTTP client, use option.WithHTTPClient.
// If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.
func New(client *http.Client) (*Service, error) {
if client == nil {
return nil, errors.New("client is nil")
}
s := &Service{client: client, BasePath: basePath}
s.Accounts = NewAccountsService(s)
s.Media = NewMediaService(s)
return s, nil
}
type Service struct {
client *http.Client
BasePath string // API endpoint base URL
UserAgent string // optional additional User-Agent fragment
Accounts *AccountsService
Media *MediaService
}
func (s *Service) userAgent() string {
if s.UserAgent == "" {
return googleapi.UserAgent
}
return googleapi.UserAgent + " " + s.UserAgent
}
func NewAccountsService(s *Service) *AccountsService {
rs := &AccountsService{s: s}
rs.Apps = NewAccountsAppsService(s)
return rs
}
type AccountsService struct {
s *Service
Apps *AccountsAppsService
}
func NewAccountsAppsService(s *Service) *AccountsAppsService {
rs := &AccountsAppsService{s: s}
rs.Operations = NewAccountsAppsOperationsService(s)
rs.Reports = NewAccountsAppsReportsService(s)
return rs
}
type AccountsAppsService struct {
s *Service
Operations *AccountsAppsOperationsService
Reports *AccountsAppsReportsService
}
func NewAccountsAppsOperationsService(s *Service) *AccountsAppsOperationsService {
rs := &AccountsAppsOperationsService{s: s}
return rs
}
type AccountsAppsOperationsService struct {
s *Service
}
func NewAccountsAppsReportsService(s *Service) *AccountsAppsReportsService {
rs := &AccountsAppsReportsService{s: s}
return rs
}
type AccountsAppsReportsService struct {
s *Service
}
func NewMediaService(s *Service) *MediaService {
rs := &MediaService{s: s}
return rs
}
type MediaService struct {
s *Service
}
// CancelOperationRequest: The request message for Operations.CancelOperation.
type CancelOperationRequest struct {
}
// Empty: A generic empty message that you can re-use to avoid defining
// duplicated empty messages in your APIs. A typical example is to use it as
// the request or the response type of an API method. For instance: service Foo
// { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
type Empty struct {
// ServerResponse contains the HTTP response code and headers from the server.
googleapi.ServerResponse `json:"-"`
}
// GoogleChecksAccountV1alphaApp: Represents an app in Checks.
type GoogleChecksAccountV1alphaApp struct {
// Name: The resource name of the app. Example: `accounts/123/apps/456`
Name string `json:"name,omitempty"`
// Title: The app's title.
Title string `json:"title,omitempty"`
// ServerResponse contains the HTTP response code and headers from the server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "Name") to unconditionally
// include in API requests. By default, fields with empty or default values are
// omitted from API requests. See
// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
// details.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "Name") to include in API requests
// with the JSON null value. By default, fields with empty values are omitted
// from API requests. See
// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
NullFields []string `json:"-"`
}
func (s *GoogleChecksAccountV1alphaApp) MarshalJSON() ([]byte, error) {
type NoMethod GoogleChecksAccountV1alphaApp
return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
}
// GoogleChecksAccountV1alphaListAppsResponse: The response message for
// AccountService.ListApps.
type GoogleChecksAccountV1alphaListAppsResponse struct {
// Apps: The apps.
Apps []*GoogleChecksAccountV1alphaApp `json:"apps,omitempty"`
// NextPageToken: A token which can be sent as `page_token` to retrieve the
// next page. If this field is omitted, there are no subsequent pages.
NextPageToken string `json:"nextPageToken,omitempty"`
// ServerResponse contains the HTTP response code and headers from the server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "Apps") to unconditionally
// include in API requests. By default, fields with empty or default values are
// omitted from API requests. See
// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
// details.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "Apps") to include in API requests
// with the JSON null value. By default, fields with empty values are omitted
// from API requests. See
// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
NullFields []string `json:"-"`
}
func (s *GoogleChecksAccountV1alphaListAppsResponse) MarshalJSON() ([]byte, error) {
type NoMethod GoogleChecksAccountV1alphaListAppsResponse
return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
}
// GoogleChecksReportV1alphaAnalyzeUploadRequest: The request message for
// ReportService.AnalyzeUpload.
type GoogleChecksReportV1alphaAnalyzeUploadRequest struct {
// AppBinaryFileType: Optional. The type of the uploaded app binary. If not
// provided, the server assumes APK file for Android and IPA file for iOS.
//
// Possible values:
// "APP_BINARY_FILE_TYPE_UNSPECIFIED" - Not specified.
// "ANDROID_APK" - .apk file type.
// "ANDROID_AAB" - .aab (app bundle) file type.
// "IOS_IPA" - .ipa file type.
AppBinaryFileType string `json:"appBinaryFileType,omitempty"`
// CodeReferenceId: Optional. Git commit hash or changelist number associated
// with the upload.
CodeReferenceId string `json:"codeReferenceId,omitempty"`
// ForceSendFields is a list of field names (e.g. "AppBinaryFileType") to
// unconditionally include in API requests. By default, fields with empty or
// default values are omitted from API requests. See
// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
// details.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "AppBinaryFileType") to include in
// API requests with the JSON null value. By default, fields with empty values
// are omitted from API requests. See
// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
NullFields []string `json:"-"`
}
func (s *GoogleChecksReportV1alphaAnalyzeUploadRequest) MarshalJSON() ([]byte, error) {
type NoMethod GoogleChecksReportV1alphaAnalyzeUploadRequest
return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
}
// GoogleChecksReportV1alphaAppBundle: Information about the analyzed app
// bundle.
type GoogleChecksReportV1alphaAppBundle struct {
// BundleId: Unique id of the bundle. For example: "com.google.Gmail".
BundleId string `json:"bundleId,omitempty"`
// CodeReferenceId: Git commit hash or changelist number associated with the
// release.
CodeReferenceId string `json:"codeReferenceId,omitempty"`
// ReleaseType: Identifies the type of release.
//
// Possible values:
// "APP_BUNDLE_RELEASE_TYPE_UNSPECIFIED" - Not specified.
// "PUBLIC" - Published production bundle.
// "PRE_RELEASE" - Pre-release bundle.
ReleaseType string `json:"releaseType,omitempty"`
// Version: The user-visible version of the bundle such as the Android
// `versionName` or iOS `CFBundleShortVersionString`. For example: "7.21.1".
Version string `json:"version,omitempty"`
// VersionId: The version used throughout the operating system and store to
// identify the build such as the Android `versionCode` or iOS
// `CFBundleVersion`.
VersionId string `json:"versionId,omitempty"`
// ForceSendFields is a list of field names (e.g. "BundleId") to
// unconditionally include in API requests. By default, fields with empty or
// default values are omitted from API requests. See
// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
// details.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "BundleId") to include in API
// requests with the JSON null value. By default, fields with empty values are
// omitted from API requests. See
// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
NullFields []string `json:"-"`
}
func (s *GoogleChecksReportV1alphaAppBundle) MarshalJSON() ([]byte, error) {
type NoMethod GoogleChecksReportV1alphaAppBundle
return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
}
// GoogleChecksReportV1alphaCheck: A check that was run on your app.
type GoogleChecksReportV1alphaCheck struct {
// Citations: Regulations and policies that serve as the legal basis for the
// check.
Citations []*GoogleChecksReportV1alphaCheckCitation `json:"citations,omitempty"`
// Evidence: Evidence that substantiates the check result.
Evidence *GoogleChecksReportV1alphaCheckEvidence `json:"evidence,omitempty"`
// RegionCodes: Regions that are impacted by the check. For more info, see
// https://google.aip.dev/143#countries-and-regions.
RegionCodes []string `json:"regionCodes,omitempty"`
// Severity: The urgency or risk level of the check.
//
// Possible values:
// "CHECK_SEVERITY_UNSPECIFIED" - Not specified.
// "PRIORITY" - Important privacy issue.
// "POTENTIAL" - Potential privacy issue.
// "OPPORTUNITY" - Opportunity to improve privacy coverage.
Severity string `json:"severity,omitempty"`
// State: The result after running the check.
//
// Possible values:
// "CHECK_STATE_UNSPECIFIED" - Not specified.
// "PASSED" - The check passed.
// "FAILED" - The check failed.
// "UNCHECKED" - The check was not run.
State string `json:"state,omitempty"`
// StateMetadata: Additional information about the check state in relation to
// past reports.
StateMetadata *GoogleChecksReportV1alphaCheckStateMetadata `json:"stateMetadata,omitempty"`
// Type: The type of check that was run. A type will only appear once in a
// report's list of checks.
//
// Possible values:
// "CHECK_TYPE_UNSPECIFIED" - Not specified.
// "STORE_LISTING_PRIVACY_POLICY_LINK_PRESENT" - Checks that your store
// listing includes a working link to your privacy policy.
// "PRIVACY_POLICY_UPDATE_DATE_RECENT" - Checks that your privacy policy has
// been updated recently.
// "PRIVACY_POLICY_GDPR_GENERAL_RULES" - Checks if your privacy policy
// references rights under GDPR for users in the EU.
// "PRIVACY_POLICY_CCPA_GENERAL_RULES" - Checks if your privacy policy
// references rights under the CCPA.
// "PRIVACY_POLICY_COLLECTION_CATEGORIES_DATA_NOTICE" - Checks if your
// privacy policy mentions the categories of personal data that are collected.
// "PRIVACY_POLICY_PROCESSING_PURPOSE_DATA_NOTICE" - Checks if your privacy
// policy explains why personal data is processed.
// "PRIVACY_POLICY_SHARING_CATEGORIES_DATA_NOTICE" - Checks if your privacy
// policy includes information about third-party sharing of personal data.
// "PRIVACY_POLICY_DATA_RETENTION_NOTICE" - Checks if your privacy policy
// describes your data retention practices.
// "PRIVACY_POLICY_CONTACT_DETAILS_NOTICE" - Checks if contact information is
// included in your privacy policy.
// "PRIVACY_POLICY_CHILDREN_GENERAL_RULES" - Checks if information about
// requirements related to children is included in your privacy policy.
// "PRIVACY_POLICY_DATA_TYPE_PHONE_NUMBER" - Checks if the Phone Number data
// type declaration in your privacy policy matches usage.
// "PRIVACY_POLICY_DATA_TYPE_USER_ACCOUNT_INFO" - Checks if the User Account
// Info data type declaration in your privacy policy matches usage.
// "PRIVACY_POLICY_DATA_TYPE_PRECISE_LOCATION" - Checks if the Precise
// Location data type declaration in your privacy policy matches usage.
// "PRIVACY_POLICY_DATA_TYPE_DEVICE_ID" - Checks if the Device ID data type
// declaration in your privacy policy matches usage.
// "PRIVACY_POLICY_DATA_TYPE_APPS_ON_DEVICE" - Checks if the Apps on Device
// data type declaration in your privacy policy matches usage.
// "PRIVACY_POLICY_DATA_TYPE_CONTACTS" - Checks if the Contacts data type
// declaration in your privacy policy matches usage.
// "PRIVACY_POLICY_DATA_TYPE_TEXT_MESSAGES" - Checks if the Text Messages
// data type declaration in your privacy policy matches usage.
// "PRIVACY_POLICY_DATA_TYPE_PII" - Checks if the PII data type declaration
// in your privacy policy matches usage.
// "PRIVACY_POLICY_DATA_TYPE_PII_CATEGORIES" - Checks if the PII Categories
// data type declaration in your privacy policy matches usage.
// "PRIVACY_POLICY_DATA_TYPE_HEALTH_AND_BIOMETRIC" - Checks if the Health and
// Biometric data type declaration in your privacy policy matches usage.
// "PRIVACY_POLICY_BRAZIL_LGPD_GENERAL_RULES" - Checks if your privacy policy
// references rights under LGPD for users in Brazil.
// "PRIVACY_POLICY_VIRGINIA_VCDPA_GENERAL_RULES" - Checks if your privacy
// policy references rights under VCDPA for users in Virginia.
// "PRIVACY_POLICY_AFFILIATION_MENTION" - Checks if your privacy policy
// identifies your company or app name(s).
// "PRIVACY_POLICY_RIGHT_TO_DELETE_NOTICE" - Checks if your privacy policy
// mentions your users' right to delete their data.
// "PRIVACY_POLICY_RIGHT_TO_ACCESS_NOTICE" - Checks if your privacy policy
// mentions your users' right to access the data held about them.
// "PRIVACY_POLICY_RIGHT_TO_RECTIFICATION_NOTICE" - Checks if your privacy
// policy mentions your users' right to correct inaccuracies within their data.
// "PRIVACY_POLICY_RIGHT_TO_KNOW_ABOUT_SELLING_NOTICE" - Checks if your
// privacy policy mentions your users' right to know about information selling.
// "PRIVACY_POLICY_RIGHT_TO_KNOW_ABOUT_SHARING_NOTICE" - Checks if your
// privacy policy mentions your users' right to know about information sharing.
// "PRIVACY_POLICY_RIGHT_TO_OPT_OUT_FROM_SELLING_NOTICE" - Checks if your
// privacy policy mentions your users' right to opt out from information
// selling.
// "PRIVACY_POLICY_METHOD_TO_OPT_OUT_FROM_SELLING_OR_SHARING_NOTICE" - Checks
// if your privacy policy explains how your users opt out from the selling or
// sharing of their data.
// "PRIVACY_POLICY_DATA_CONTROLLER_IDENTITY" - Checks if your privacy policy
// provides the name and contact information for your data controller.
// "PRIVACY_POLICY_DPO_CONTACT_DETAILS" - Checks if your privacy policy
// provides the name and contact information for your Data Protection Officer.
// "PRIVACY_POLICY_RIGHT_TO_LODGE_A_COMPLAINT" - Checks if your privacy
// policy mentions your users' right to lodge a complaint with a supervisory
// authority.
// "PRIVACY_POLICY_LEGAL_BASIS" - Checks if your privacy policy mentions the
// legal basis you rely on for processing your users' data.
// "PRIVACY_POLICY_CHILDREN_INFO_COLLECTION" - Checks if your privacy policy
// mentions what personal information is collected from children.
// "PRIVACY_POLICY_CHILDREN_INFO_USAGE_PURPOSES" - Checks if your privacy
// policy mentions why you collect personal information from children.
// "PRIVACY_POLICY_CHILDREN_INFO_DISCLOSURE_PRACTICES" - Checks if your
// privacy policy mentions what personal information from children is shared
// with third parties.
// "PRIVACY_POLICY_CHILDREN_INFO_PUBLICITY" - Checks if your privacy policy
// mentions whether your app allows children to make their personal information
// publicly available.
// "PRIVACY_POLICY_PARENTS_METHOD_OF_INFO_DELETION" - Checks if your privacy
// policy mentions how parents/caregivers/guardians can request the deletion of
// their child's personal information.
// "PRIVACY_POLICY_PARENTS_METHOD_TO_INFO_REVIEW" - Checks if your privacy
// policy mentions how parents/caregivers/guardians can review their child's
// personal information.
// "PRIVACY_POLICY_PARENTS_METHOD_TO_STOP_FURTHER_INFO_COLLECTION_USE" -
// Checks if your privacy policy explains how a parent/caregiver/guardian can
// stop the collection/use from their child's personal information.
// "PRIVACY_POLICY_PARENTS_RIGHT_TO_INFO_DELETION" - Checks if your privacy
// policy mentions the right of a parent/caregiver/guardian to request the
// deletion of their child's personal information.
// "PRIVACY_POLICY_PARENTS_RIGHT_TO_INFO_REVIEW" - Checks if your privacy
// policy mentions the right of a parent/caregiver/guardian to review their
// child's personal information.
// "PRIVACY_POLICY_PARENTS_RIGHT_TO_STOP_FURTHER_INFO_COLLECTION_USE" -
// Checks if your privacy policy mentions the right of a
// parent/caregiver/guardian to stop collection/use from their child's personal
// information.
// "PRIVACY_POLICY_PSL_APPROXIMATE_LOCATION" - Checks if your privacy policy
// mentions collection of your users' approximate location if this data type is
// declared in your Play Data Safety Section.
// "PRIVACY_POLICY_PSL_PRECISE_LOCATION" - Checks if your privacy policy
// mentions collection of your users' precise location if this data type is
// declared in your Play Data Safety Section.
// "PRIVACY_POLICY_PSL_NAME" - Checks if your privacy policy mentions
// collection of your users' personal names if this data type is declared in
// your Play Data Safety Section.
// "PRIVACY_POLICY_PSL_EMAIL_ADDRESS" - Checks if your privacy policy
// mentions collection of your users' email addresses if this data type is
// declared in your Play Data Safety Section.
// "PRIVACY_POLICY_PSL_USER_IDENTIFIERS" - Checks if your privacy policy
// mentions collection of your users' user IDs if this data type is declared in
// your Play Data Safety Section.
// "PRIVACY_POLICY_PSL_ADDRESS" - Checks if your privacy policy mentions
// collection of your users' physical addresses if this data type is declared
// in your Play Data Safety Section.
// "PRIVACY_POLICY_PSL_PHONE_NUMBER" - Checks if your privacy policy mentions
// collection of your users' phone numbers if this data type is declared in
// your Play Data Safety Section.
// "PRIVACY_POLICY_PSL_RACE_AND_ETHNICITY" - Checks if your privacy policy
// mentions collection of your users' race or ethnicity if this data type is
// declared in your Play Data Safety Section.
// "PRIVACY_POLICY_PSL_CREDIT_SCORE" - Checks if your privacy policy mentions
// collection of your users' credit score if this data type is declared in your
// Play Data Safety Section.
// "PRIVACY_POLICY_PSL_PURCHASE_HISTORY" - Checks if your privacy policy
// mentions collection of your users' purchase history if this data type is
// declared in your Play Data Safety Section.
// "PRIVACY_POLICY_PSL_HEALTH_INFO" - Checks if your privacy policy mentions
// collection of your users' health info if this data type is declared in your
// Play Data Safety Section.
// "PRIVACY_POLICY_PSL_FITNESS_INFO" - Checks if your privacy policy mentions
// collection of your users' fitness info if this data type is declared in your
// Play Data Safety Section.
// "PRIVACY_POLICY_PSL_EMAIL_MESSAGES" - Checks if your privacy policy
// mentions collection of your users' emails if this data type is declared in
// your Play Data Safety Section.
// "PRIVACY_POLICY_PSL_TEXT_MESSAGES" - Checks if your privacy policy
// mentions collection of your users' text messages if this data type is
// declared in your Play Data Safety Section.
// "PRIVACY_POLICY_PSL_PHOTOS" - Checks if your privacy policy mentions
// collection of your users' photos if this data type is declared in your Play
// Data Safety Section.
// "PRIVACY_POLICY_PSL_VIDEOS" - Checks if your privacy policy mentions
// collection of your users' videos if this data type is declared in your Play
// Data Safety Section.
// "PRIVACY_POLICY_PSL_MUSIC_FILES" - Checks if your privacy policy mentions
// collection of your users' music files if this data type is declared in your
// Play Data Safety Section.
// "PRIVACY_POLICY_PSL_VOICE_OR_SOUND_RECORDINGS" - Checks if your privacy
// policy mentions collection of your users' voice or sound recordings if this
// data type is declared in your Play Data Safety Section.
// "PRIVACY_POLICY_PSL_FILES_AND_DOCS" - Checks if your privacy policy
// mentions collection of your users' files or documents if this data type is
// declared in your Play Data Safety Section.
// "PRIVACY_POLICY_PSL_CALENDAR_EVENTS" - Checks if your privacy policy
// mentions collection of your users' calendar events if this data type is
// declared in your Play Data Safety Section.
// "PRIVACY_POLICY_PSL_CONTACTS" - Checks if your privacy policy mentions
// collection of your users' contacts if this data type is declared in your
// Play Data Safety Section.
// "PRIVACY_POLICY_PSL_APP_INTERACTIONS" - Checks if your privacy policy
// mentions collection of your users' app interactions if this data type is
// declared in your Play Data Safety Section.
// "PRIVACY_POLICY_PSL_IN_APP_SEARCH_HISTORY" - Checks if your privacy policy
// mentions collection of your users' in-app search history if this data type
// is declared in your Play Data Safety Section.
// "PRIVACY_POLICY_PSL_WEB_BROWSING_HISTORY" - Checks if your privacy policy
// mentions collection of your users' web browsing history if this data type is
// declared in your Play Data Safety Section.
// "PRIVACY_POLICY_PSL_INSTALLED_APPS" - Checks if your privacy policy
// mentions collection of your users' installed apps if this data type is
// declared in your Play Data Safety Section.
// "PRIVACY_POLICY_PSL_CRASH_LOGS" - Checks if your privacy policy mentions
// collection of your users' crash logs if this data type is declared in your
// Play Data Safety Section.
// "PRIVACY_POLICY_PSL_DIAGNOSTICS" - Checks if your privacy policy mentions
// collection of your users' performance diagnostics if this data type is
// declared in your Play Data Safety Section.
// "PRIVACY_POLICY_PSL_DEVICE_OR_OTHER_IDS" - Checks if your privacy policy
// mentions collection of your users' device or other IDs if this data type is
// declared in your Play Data Safety Section.
// "DATA_MONITORING_NEW_ENDPOINT" - Checks if there is a new endpoint we've
// recently detected. Because this check accounts for flakiness, it may fail
// for several weeks even if the endpoint is not detected in the current
// report.
// "DATA_MONITORING_NEW_PERMISSION" - Checks if there is a new permission
// we've recently detected. Because this check accounts for flakiness, it may
// fail for several weeks even if the permission is not detected in the current
// report.
// "DATA_MONITORING_NEW_DATA_TYPE" - Checks if there is a new data type we've
// recently detected. Because this check accounts for flakiness, it may fail
// for several weeks even if the data type is not detected in the current
// report.
// "DATA_MONITORING_NEW_SDK" - Checks if there is a new SDK we've recently
// detected. Because this check accounts for flakiness, it may fail for several
// weeks even if the SDK is not detected in the current report.
// "DATA_MONITORING_ENCRYPTION" - Checks if there is any endpoint contacted
// using HTTP protocol instead of HTTPS. If no protocol is found in the URL,
// the endpoint is not considered for analysis.
// "DATA_MONITORING_NEW_DATA_TYPE_VERSION_DIFF" - Checks if new data types
// have been detected since a specific app version.
// "DATA_MONITORING_NEW_ENDPOINT_VERSION_DIFF" - Checks if new endpoints have
// been detected since a specific app version.
// "DATA_MONITORING_NEW_PERMISSION_VERSION_DIFF" - Checks if new permissions
// have been detected since a specific app version.
// "DATA_MONITORING_NEW_SDK_VERSION_DIFF" - Checks if new SDKs have been
// detected since a specific app version.
// "DATA_MONITORING_SDKS_DENYLIST_VIOLATION" - Checks if any SDKs were
// detected that are specified in the denylist.
// "DATA_MONITORING_PERMISSIONS_DENYLIST_VIOLATION" - Checks if any
// permissions were detected that are specified in the denylist.
// "DATA_MONITORING_ENDPOINTS_DENYLIST_VIOLATION" - Checks if any endpoints
// were detected that are specified in the denylist.
// "DATA_MONITORING_OUTDATED_SDK_VERSION" - Checks if there are any outdated
// SDKs.
// "DATA_MONITORING_CRITICAL_SDK_ISSUE" - Checks if there are any SDKs with
// critical issues.
// "PRIVACY_POLICY_DATA_TYPE_SENSITIVE_INFO" - Checks if the Sensitive
// Information data type declaration matches usage.
Type string `json:"type,omitempty"`
// ForceSendFields is a list of field names (e.g. "Citations") to
// unconditionally include in API requests. By default, fields with empty or
// default values are omitted from API requests. See
// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
// details.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "Citations") to include in API
// requests with the JSON null value. By default, fields with empty values are
// omitted from API requests. See
// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
NullFields []string `json:"-"`
}
func (s *GoogleChecksReportV1alphaCheck) MarshalJSON() ([]byte, error) {
type NoMethod GoogleChecksReportV1alphaCheck
return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
}
// GoogleChecksReportV1alphaCheckCitation: Regulation or policy that serves as
// the legal basis for the check.
type GoogleChecksReportV1alphaCheckCitation struct {
// Type: Citation type.
//
// Possible values:
// "CITATION_TYPE_UNSPECIFIED" - Not specified.
// "COPPA" - Children's Online Privacy Protection Act.
// "GDPR" - General Data Protection Regulation.
// "FERPA" - Family Educational Rights and Privacy Act.
// "CAL_OPPA" - The California Online Privacy Protection Act.
// "CCPA" - California Consumer Privacy Act.
// "SOPIPA" - Student Online Personal Information Protection Act.
// "LGPD" - Lei Geral de Proteção de Dados.
// "CPRA" - California Consumer Privacy Act.
// "VCDPA" - Virginia Consumer Data Protection Act.
// "GOOGLE_PLAY_POLICY" - Google Play Policy.
// "APP_STORE_POLICY" - App Store Policy.
// "CPA" - Colorado Privacy Act.
// "CTDPA" - Connecticut Data Privacy Act.
// "UCPA" - Utah Consumer Privacy Act.
// "PIPEDA" - Personal Information Protection and Electronic Documents Act.
// "ALBERTA_PIPA" - Alberta (Canada) Personal Information Protection Act.
// "QUEBEC_ACT" - Quebec: Act Respecting the Protection of Personal
// Information in the Private Sector.
// "QUEBEC_BILL_64" - Quebec Bill 64: An Act to Modernize Legislative
// Provisions as Regards the Protection of Personal Information.
// "CHINA_PIPL" - China Personal Information Protection Law.
// "SOUTH_KOREA_PIPA" - South Korea Personal Information Protection Act.
// "SOUTH_AFRICA_POPIA" - South Africa Protection of Personal Information
// Act.
// "JAPAN_APPI" - Japan Act on the Protection of Personal Information.
// "INDIA_DPDPA" - India: The Digital Personal Data Protection Act, 2023.
// "OCPA" - Oregon Consumer Privacy Act.
// "TDPSA" - Texas Data Privacy and Security Act.
// "MCDPA" - Montana Consumer Data Privacy Act.
Type string `json:"type,omitempty"`
// ForceSendFields is a list of field names (e.g. "Type") to unconditionally
// include in API requests. By default, fields with empty or default values are
// omitted from API requests. See
// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
// details.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "Type") to include in API requests
// with the JSON null value. By default, fields with empty values are omitted
// from API requests. See
// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
NullFields []string `json:"-"`
}
func (s *GoogleChecksReportV1alphaCheckCitation) MarshalJSON() ([]byte, error) {
type NoMethod GoogleChecksReportV1alphaCheckCitation
return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
}
// GoogleChecksReportV1alphaCheckDataSecurityEvidence: Evidence concerning data
// security.
type GoogleChecksReportV1alphaCheckDataSecurityEvidence struct {
// DataInTransitInfo: Evidence related to data in transit.
DataInTransitInfo []*GoogleChecksReportV1alphaCheckDataSecurityEvidenceDataInTransitInfo `json:"dataInTransitInfo,omitempty"`
// ForceSendFields is a list of field names (e.g. "DataInTransitInfo") to
// unconditionally include in API requests. By default, fields with empty or
// default values are omitted from API requests. See
// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
// details.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "DataInTransitInfo") to include in
// API requests with the JSON null value. By default, fields with empty values
// are omitted from API requests. See
// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
NullFields []string `json:"-"`
}
func (s *GoogleChecksReportV1alphaCheckDataSecurityEvidence) MarshalJSON() ([]byte, error) {
type NoMethod GoogleChecksReportV1alphaCheckDataSecurityEvidence
return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
}
// GoogleChecksReportV1alphaCheckDataSecurityEvidenceDataInTransitInfo:
// Evidence related to data in transit detected in your app.
type GoogleChecksReportV1alphaCheckDataSecurityEvidenceDataInTransitInfo struct {
// Uri: The URL contacted by your app. This includes the protocol, domain, and
// URL parameters.
Uri string `json:"uri,omitempty"`
// ForceSendFields is a list of field names (e.g. "Uri") to unconditionally
// include in API requests. By default, fields with empty or default values are
// omitted from API requests. See
// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
// details.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "Uri") to include in API requests
// with the JSON null value. By default, fields with empty values are omitted
// from API requests. See
// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
NullFields []string `json:"-"`
}
func (s *GoogleChecksReportV1alphaCheckDataSecurityEvidenceDataInTransitInfo) MarshalJSON() ([]byte, error) {
type NoMethod GoogleChecksReportV1alphaCheckDataSecurityEvidenceDataInTransitInfo
return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
}
// GoogleChecksReportV1alphaCheckDataTypeEvidence: Evidence concerning a data
// type that was found in your app.
type GoogleChecksReportV1alphaCheckDataTypeEvidence struct {
// DataType: The data type that was found in your app.
//
// Possible values:
// "DATA_TYPE_UNSPECIFIED" - Not specified.
// "DATA_TYPE_APPROXIMATE_LOCATION" - User or device physical location to an
// area greater than or equal to 3 square kilometers, such as the city a user
// is in, or location provided by Android's ACCESS_COARSE_LOCATION permission.
// "DATA_TYPE_PRECISE_LOCATION" - User or device physical location within an
// area less than 3 square kilometers, such as location provided by Android's
// ACCESS_FINE_LOCATION permission.
// "DATA_TYPE_PERSONAL_NAME" - How a user refers to themselves, such as their
// first or last name, or nickname.
// "DATA_TYPE_EMAIL_ADDRESS" - A user's email address.
// "DATA_TYPE_USER_IDS" - Identifiers that relate to an identifiable person.
// For example, an account ID, account number, or account name.
// "DATA_TYPE_PHYSICAL_ADDRESS" - A user's address, such as a mailing or home
// address.
// "DATA_TYPE_PHONE_NUMBER" - A user's phone number.
// "DATA_TYPE_RACE_AND_ETHNICITY" - Information about a user's race or
// ethnicity.
// "DATA_TYPE_POLITICAL_OR_RELIGIOUS_BELIEFS" - Information about a user's
// political or religious beliefs.
// "DATA_TYPE_SEXUAL_ORIENTATION" - Information about a user's sexual
// orientation.
// "DATA_TYPE_OTHER_PERSONAL_INFO" - Any other personal information such as
// date of birth, gender identity, veteran status, etc.
// "DATA_TYPE_PAYMENT_INFO" - Information about a user's financial accounts
// such as credit card number.
// "DATA_TYPE_PURCHASE_HISTORY" - Information about purchases or transactions
// a user has made.
// "DATA_TYPE_CREDIT_SCORE" - Information about a user's credit score.
// "DATA_TYPE_OTHER_FINANCIAL_INFO" - Any other financial information such as
// user salary or debts.
// "DATA_TYPE_HEALTH_INFO" - Information about a user's health, such as
// medical records or symptoms.
// "DATA_TYPE_FITNESS_INFO" - Information about a user's fitness, such as
// exercise or other physical activity.
// "DATA_TYPE_EMAILS" - A user's emails including the email subject line,
// sender, recipients, and the content of the email.
// "DATA_TYPE_TEXT_MESSAGES" - A user's text messages including the sender,
// recipients, and the content of the message.
// "DATA_TYPE_PHOTOS" - A user's photos.
// "DATA_TYPE_VIDEOS" - A user's videos.
// "DATA_TYPE_VOICE_OR_SOUND_RECORDINGS" - A user's voice such as a voicemail
// or a sound recording.
// "DATA_TYPE_MUSIC_FILES" - A user's music files.
// "DATA_TYPE_OTHER_AUDIO_FILES" - Any other user-created or user-provided
// audio files.
// "DATA_TYPE_FILES_AND_DOCS" - A user's files or documents, or information
// about their files or documents such as file names.
// "DATA_TYPE_CALENDAR_EVENTS" - Information from a user's calendar such as
// events, event notes, and attendees.
// "DATA_TYPE_CONTACTS" - Information about the user’s contacts such as
// contact names, message history, and social graph information like usernames,
// contact recency, contact frequency, interaction duration and call history.
// "DATA_TYPE_APP_INTERACTIONS" - Information about how a user interacts with
// your app, such as the number of page views or taps.
// "DATA_TYPE_IN_APP_SEARCH_HISTORY" - Information about what a user has
// searched for in your app.
// "DATA_TYPE_INSTALLED_APPS" - Inventory of apps or packages installed on
// the user’s device.
// "DATA_TYPE_OTHER_USER_GENERATED_CONTENT" - Any other user-generated
// content not listed here, or in any other section. For example, user bios,
// notes, or open-ended responses.
// "DATA_TYPE_OTHER_ACTIONS" - Any other user activity or actions in-app not
// listed here such as gameplay, likes, and dialog options.
// "DATA_TYPE_WEB_BROWSING_HISTORY" - Information about the websites a user
// has visited.
// "DATA_TYPE_CRASH_LOGS" - Crash log data from your app. For example, the
// number of times your app has crashed, stack traces, or other information
// directly related to a crash.
// "DATA_TYPE_PERFORMANCE_DIAGNOSTICS" - Information about the performance of
// your app. For example battery life, loading time, latency, framerate, or any
// technical diagnostics.
// "DATA_TYPE_OTHER_APP_PERFORMANCE_DATA" - Any other app performance data
// not listed here.
// "DATA_TYPE_DEVICE_OR_OTHER_IDS" - Identifiers that relate to an individual
// device, browser or app. For example, an IMEI number, MAC address, Widevine
// Device ID, Firebase installation ID, or advertising identifier.
DataType string `json:"dataType,omitempty"`
// DataTypeEvidence: Evidence collected about the data type.
DataTypeEvidence *GoogleChecksReportV1alphaDataTypeEvidence `json:"dataTypeEvidence,omitempty"`
// ForceSendFields is a list of field names (e.g. "DataType") to
// unconditionally include in API requests. By default, fields with empty or
// default values are omitted from API requests. See
// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
// details.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "DataType") to include in API
// requests with the JSON null value. By default, fields with empty values are
// omitted from API requests. See
// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
NullFields []string `json:"-"`
}
func (s *GoogleChecksReportV1alphaCheckDataTypeEvidence) MarshalJSON() ([]byte, error) {
type NoMethod GoogleChecksReportV1alphaCheckDataTypeEvidence
return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
}
// GoogleChecksReportV1alphaCheckEndpointEvidence: Evidence concerning an
// endpoint that was contacted by your app.
type GoogleChecksReportV1alphaCheckEndpointEvidence struct {
// Endpoint: The endpoint that was contacted by your app.
Endpoint *GoogleChecksReportV1alphaEndpoint `json:"endpoint,omitempty"`
// ForceSendFields is a list of field names (e.g. "Endpoint") to
// unconditionally include in API requests. By default, fields with empty or
// default values are omitted from API requests. See
// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
// details.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "Endpoint") to include in API
// requests with the JSON null value. By default, fields with empty values are
// omitted from API requests. See
// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
NullFields []string `json:"-"`
}
func (s *GoogleChecksReportV1alphaCheckEndpointEvidence) MarshalJSON() ([]byte, error) {
type NoMethod GoogleChecksReportV1alphaCheckEndpointEvidence
return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
}
// GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidence: Evidence
// collected from endpoint restriction violation analysis.
type GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidence struct {
// EndpointDetails: Endpoints in violation.
EndpointDetails []*GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidenceEndpointDetails `json:"endpointDetails,omitempty"`
// ForceSendFields is a list of field names (e.g. "EndpointDetails") to
// unconditionally include in API requests. By default, fields with empty or
// default values are omitted from API requests. See
// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
// details.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "EndpointDetails") to include in
// API requests with the JSON null value. By default, fields with empty values
// are omitted from API requests. See
// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
NullFields []string `json:"-"`
}
func (s *GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidence) MarshalJSON() ([]byte, error) {
type NoMethod GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidence
return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
}
// GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidenceEndpointDet
// ails: Details of the endpoint in violation.
type GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidenceEndpointDetails struct {
// Endpoint: The endpoint in violation.
Endpoint *GoogleChecksReportV1alphaEndpoint `json:"endpoint,omitempty"`
// ForceSendFields is a list of field names (e.g. "Endpoint") to
// unconditionally include in API requests. By default, fields with empty or
// default values are omitted from API requests. See
// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
// details.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "Endpoint") to include in API
// requests with the JSON null value. By default, fields with empty values are
// omitted from API requests. See
// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
NullFields []string `json:"-"`
}
func (s *GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidenceEndpointDetails) MarshalJSON() ([]byte, error) {
type NoMethod GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidenceEndpointDetails
return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
}
// GoogleChecksReportV1alphaCheckEvidence: Evidence for a check.
type GoogleChecksReportV1alphaCheckEvidence struct {
// DataSecurity: Evidence concerning data security.
DataSecurity *GoogleChecksReportV1alphaCheckDataSecurityEvidence `json:"dataSecurity,omitempty"`
// DataTypes: Evidence concerning data types found in your app.
DataTypes []*GoogleChecksReportV1alphaCheckDataTypeEvidence `json:"dataTypes,omitempty"`
// EndpointRestrictionViolations: Evidence collected from endpoint restriction
// violation analysis.
EndpointRestrictionViolations []*GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidence `json:"endpointRestrictionViolations,omitempty"`
// Endpoints: Evidence concerning endpoints that were contacted by your app.
Endpoints []*GoogleChecksReportV1alphaCheckEndpointEvidence `json:"endpoints,omitempty"`
// PermissionRestrictionViolations: Evidence collected from permission
// restriction violation analysis.
PermissionRestrictionViolations []*GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidence `json:"permissionRestrictionViolations,omitempty"`
// Permissions: Evidence concerning permissions that were found in your app.
Permissions []*GoogleChecksReportV1alphaCheckPermissionEvidence `json:"permissions,omitempty"`
// PrivacyPolicyTexts: Evidence collected from your privacy policy(s).
PrivacyPolicyTexts []*GoogleChecksReportV1alphaCheckPrivacyPolicyTextEvidence `json:"privacyPolicyTexts,omitempty"`
// SdkIssues: Evidence concerning SDK issues.
SdkIssues []*GoogleChecksReportV1alphaCheckSdkIssueEvidence `json:"sdkIssues,omitempty"`
// SdkRestrictionViolations: Evidence collected from SDK restriction violation
// analysis.
SdkRestrictionViolations []*GoogleChecksReportV1alphaCheckSdkRestrictionViolationEvidence `json:"sdkRestrictionViolations,omitempty"`
// Sdks: Evidence concerning SDKs that were found in your app.
Sdks []*GoogleChecksReportV1alphaCheckSdkEvidence `json:"sdks,omitempty"`
// ForceSendFields is a list of field names (e.g. "DataSecurity") to
// unconditionally include in API requests. By default, fields with empty or
// default values are omitted from API requests. See
// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
// details.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "DataSecurity") to include in API
// requests with the JSON null value. By default, fields with empty values are
// omitted from API requests. See
// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
NullFields []string `json:"-"`
}
func (s *GoogleChecksReportV1alphaCheckEvidence) MarshalJSON() ([]byte, error) {
type NoMethod GoogleChecksReportV1alphaCheckEvidence
return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
}
// GoogleChecksReportV1alphaCheckPermissionEvidence: Evidence concerning a
// permission that was found in your app.
type GoogleChecksReportV1alphaCheckPermissionEvidence struct {
// Permission: The permission that was found in your app.
Permission *GoogleChecksReportV1alphaPermission `json:"permission,omitempty"`
// ForceSendFields is a list of field names (e.g. "Permission") to
// unconditionally include in API requests. By default, fields with empty or
// default values are omitted from API requests. See
// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
// details.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "Permission") to include in API
// requests with the JSON null value. By default, fields with empty values are
// omitted from API requests. See
// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
NullFields []string `json:"-"`
}
func (s *GoogleChecksReportV1alphaCheckPermissionEvidence) MarshalJSON() ([]byte, error) {
type NoMethod GoogleChecksReportV1alphaCheckPermissionEvidence
return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
}
// GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidence:
// Evidence collected from permission restriction violation analysis.
type GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidence struct {
// PermissionDetails: Permissions in violation.
PermissionDetails []*GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidencePermissionDetails `json:"permissionDetails,omitempty"`
// ForceSendFields is a list of field names (e.g. "PermissionDetails") to
// unconditionally include in API requests. By default, fields with empty or
// default values are omitted from API requests. See
// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
// details.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "PermissionDetails") to include in
// API requests with the JSON null value. By default, fields with empty values
// are omitted from API requests. See
// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
NullFields []string `json:"-"`
}
func (s *GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidence) MarshalJSON() ([]byte, error) {
type NoMethod GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidence
return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
}
// GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidencePermissio
// nDetails: Details of the permission in violation.
type GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidencePermissionDetails struct {
// Permission: The permission in violation.
Permission *GoogleChecksReportV1alphaPermission `json:"permission,omitempty"`
// ForceSendFields is a list of field names (e.g. "Permission") to
// unconditionally include in API requests. By default, fields with empty or
// default values are omitted from API requests. See
// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
// details.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "Permission") to include in API
// requests with the JSON null value. By default, fields with empty values are
// omitted from API requests. See
// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
NullFields []string `json:"-"`
}
func (s *GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidencePermissionDetails) MarshalJSON() ([]byte, error) {