-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy pathandroidmanagement-gen.go
More file actions
13068 lines (12358 loc) · 609 KB
/
androidmanagement-gen.go
File metadata and controls
13068 lines (12358 loc) · 609 KB
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 2026 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 androidmanagement provides access to the Android Management API.
//
// For product documentation, see: https://developers.google.com/android/management
//
// # 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/androidmanagement/v1"
// ...
// ctx := context.Background()
// androidmanagementService, err := androidmanagement.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]:
//
// androidmanagementService, err := androidmanagement.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, ...)
// androidmanagementService, err := androidmanagement.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See [google.golang.org/api/option.ClientOption] for details on options.
package androidmanagement // import "google.golang.org/api/androidmanagement/v1"
import (
"bytes"
"context"
"encoding/json"
"errors"
"fmt"
"io"
"log/slog"
"net/http"
"net/url"
"strconv"
"strings"
"github.com/googleapis/gax-go/v2/internallog"
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
var _ = internallog.New
const apiId = "androidmanagement:v1"
const apiName = "androidmanagement"
const apiVersion = "v1"
const basePath = "https://androidmanagement.googleapis.com/"
const basePathTemplate = "https://androidmanagement.UNIVERSE_DOMAIN/"
const mtlsBasePath = "https://androidmanagement.mtls.googleapis.com/"
// OAuth2 scopes used by this API.
const (
// Manage Android devices and apps for your customers
AndroidmanagementScope = "https://www.googleapis.com/auth/androidmanagement"
)
// NewService creates a new Service.
func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) {
scopesOption := internaloption.WithDefaultScopes(
"https://www.googleapis.com/auth/androidmanagement",
)
// NOTE: prepend, so we don't override user-specified scopes.
opts = append([]option.ClientOption{scopesOption}, opts...)
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 := &Service{client: client, BasePath: basePath, logger: internaloption.GetLogger(opts)}
s.Enterprises = NewEnterprisesService(s)
s.ProvisioningInfo = NewProvisioningInfoService(s)
s.SignupUrls = NewSignupUrlsService(s)
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")
}
return NewService(context.TODO(), option.WithHTTPClient(client))
}
type Service struct {
client *http.Client
logger *slog.Logger
BasePath string // API endpoint base URL
UserAgent string // optional additional User-Agent fragment
Enterprises *EnterprisesService
ProvisioningInfo *ProvisioningInfoService
SignupUrls *SignupUrlsService
}
func (s *Service) userAgent() string {
if s.UserAgent == "" {
return googleapi.UserAgent
}
return googleapi.UserAgent + " " + s.UserAgent
}
func NewEnterprisesService(s *Service) *EnterprisesService {
rs := &EnterprisesService{s: s}
rs.Applications = NewEnterprisesApplicationsService(s)
rs.Devices = NewEnterprisesDevicesService(s)
rs.EnrollmentTokens = NewEnterprisesEnrollmentTokensService(s)
rs.MigrationTokens = NewEnterprisesMigrationTokensService(s)
rs.Policies = NewEnterprisesPoliciesService(s)
rs.WebApps = NewEnterprisesWebAppsService(s)
rs.WebTokens = NewEnterprisesWebTokensService(s)
return rs
}
type EnterprisesService struct {
s *Service
Applications *EnterprisesApplicationsService
Devices *EnterprisesDevicesService
EnrollmentTokens *EnterprisesEnrollmentTokensService
MigrationTokens *EnterprisesMigrationTokensService
Policies *EnterprisesPoliciesService
WebApps *EnterprisesWebAppsService
WebTokens *EnterprisesWebTokensService
}
func NewEnterprisesApplicationsService(s *Service) *EnterprisesApplicationsService {
rs := &EnterprisesApplicationsService{s: s}
return rs
}
type EnterprisesApplicationsService struct {
s *Service
}
func NewEnterprisesDevicesService(s *Service) *EnterprisesDevicesService {
rs := &EnterprisesDevicesService{s: s}
rs.Operations = NewEnterprisesDevicesOperationsService(s)
return rs
}
type EnterprisesDevicesService struct {
s *Service
Operations *EnterprisesDevicesOperationsService
}
func NewEnterprisesDevicesOperationsService(s *Service) *EnterprisesDevicesOperationsService {
rs := &EnterprisesDevicesOperationsService{s: s}
return rs
}
type EnterprisesDevicesOperationsService struct {
s *Service
}
func NewEnterprisesEnrollmentTokensService(s *Service) *EnterprisesEnrollmentTokensService {
rs := &EnterprisesEnrollmentTokensService{s: s}
return rs
}
type EnterprisesEnrollmentTokensService struct {
s *Service
}
func NewEnterprisesMigrationTokensService(s *Service) *EnterprisesMigrationTokensService {
rs := &EnterprisesMigrationTokensService{s: s}
return rs
}
type EnterprisesMigrationTokensService struct {
s *Service
}
func NewEnterprisesPoliciesService(s *Service) *EnterprisesPoliciesService {
rs := &EnterprisesPoliciesService{s: s}
return rs
}
type EnterprisesPoliciesService struct {
s *Service
}
func NewEnterprisesWebAppsService(s *Service) *EnterprisesWebAppsService {
rs := &EnterprisesWebAppsService{s: s}
return rs
}
type EnterprisesWebAppsService struct {
s *Service
}
func NewEnterprisesWebTokensService(s *Service) *EnterprisesWebTokensService {
rs := &EnterprisesWebTokensService{s: s}
return rs
}
type EnterprisesWebTokensService struct {
s *Service
}
func NewProvisioningInfoService(s *Service) *ProvisioningInfoService {
rs := &ProvisioningInfoService{s: s}
return rs
}
type ProvisioningInfoService struct {
s *Service
}
func NewSignupUrlsService(s *Service) *SignupUrlsService {
rs := &SignupUrlsService{s: s}
return rs
}
type SignupUrlsService struct {
s *Service
}
// AdbShellCommandEvent: A shell command was issued over ADB via “adb shell
// command”.
type AdbShellCommandEvent struct {
// ShellCmd: Shell command that was issued over ADB via "adb shell command".
// Redacted to empty string on organization-owned managed profile devices.
ShellCmd string `json:"shellCmd,omitempty"`
// ForceSendFields is a list of field names (e.g. "ShellCmd") 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. "ShellCmd") 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 AdbShellCommandEvent) MarshalJSON() ([]byte, error) {
type NoMethod AdbShellCommandEvent
return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields)
}
// AdbShellInteractiveEvent: An ADB interactive shell was opened via “adb
// shell”. Intentionally empty.
type AdbShellInteractiveEvent struct {
}
// AddEsimParams: Parameters associated with the ADD_ESIM command to add an
// eSIM profile to the device.
type AddEsimParams struct {
// ActivationCode: Required. The activation code for the eSIM profile.
ActivationCode string `json:"activationCode,omitempty"`
// ActivationState: Required. The activation state of the eSIM profile once it
// is downloaded.
//
// Possible values:
// "ACTIVATION_STATE_UNSPECIFIED" - eSIM activation state is not specified.
// This defaults to the eSIM profile being NOT_ACTIVATED on personally-owned
// devices and ACTIVATED on company-owned devices.
// "ACTIVATED" - The eSIM is automatically activated after downloading.
// Setting this as the activation state for personally-owned devices will
// result in the command being rejected.
// "NOT_ACTIVATED" - The eSIM profile is downloaded but not activated. In
// this case, the user will need to activate the eSIM manually on the device.
ActivationState string `json:"activationState,omitempty"`
// ForceSendFields is a list of field names (e.g. "ActivationCode") 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. "ActivationCode") 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 AddEsimParams) MarshalJSON() ([]byte, error) {
type NoMethod AddEsimParams
return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields)
}
// AdvancedSecurityOverrides: Advanced security settings. In most cases,
// setting these is not needed.
type AdvancedSecurityOverrides struct {
// CommonCriteriaMode: Controls Common Criteria Mode—security standards
// defined in the Common Criteria for Information Technology Security
// Evaluation (https://www.commoncriteriaportal.org/) (CC). Enabling Common
// Criteria Mode increases certain security components on a device, see
// CommonCriteriaMode for details.Warning: Common Criteria Mode enforces a
// strict security model typically only required for IT products used in
// national security systems and other highly sensitive organizations. Standard
// device use may be affected. Only enabled if required. If Common Criteria
// Mode is turned off after being enabled previously, all user-configured Wi-Fi
// networks may be lost and any enterprise-configured Wi-Fi networks that
// require user input may need to be reconfigured.
//
// Possible values:
// "COMMON_CRITERIA_MODE_UNSPECIFIED" - Unspecified. Defaults to
// COMMON_CRITERIA_MODE_DISABLED.
// "COMMON_CRITERIA_MODE_DISABLED" - Default. Disables Common Criteria Mode.
// "COMMON_CRITERIA_MODE_ENABLED" - Enables Common Criteria Mode.
CommonCriteriaMode string `json:"commonCriteriaMode,omitempty"`
// ContentProtectionPolicy: Optional. Controls whether content protection,
// which scans for deceptive apps, is enabled. This is supported on Android 15
// and above.
//
// Possible values:
// "CONTENT_PROTECTION_POLICY_UNSPECIFIED" - Unspecified. Defaults to
// CONTENT_PROTECTION_DISABLED.
// "CONTENT_PROTECTION_DISABLED" - Content protection is disabled and the
// user cannot change this.
// "CONTENT_PROTECTION_ENFORCED" - Content protection is enabled and the user
// cannot change this.Supported on Android 15 and above. A NonComplianceDetail
// with API_LEVEL is reported if the Android version is less than 15.
// "CONTENT_PROTECTION_USER_CHOICE" - Content protection is not controlled by
// the policy. The user is allowed to choose the behavior of content
// protection.Supported on Android 15 and above. A NonComplianceDetail with
// API_LEVEL is reported if the Android version is less than 15.
ContentProtectionPolicy string `json:"contentProtectionPolicy,omitempty"`
// DeveloperSettings: Controls access to developer settings: developer options
// and safe boot. Replaces safeBootDisabled (deprecated) and
// debuggingFeaturesAllowed (deprecated). On personally-owned devices with a
// work profile, setting this policy will not disable safe boot. In this case,
// a NonComplianceDetail with MANAGEMENT_MODE is reported.
//
// Possible values:
// "DEVELOPER_SETTINGS_UNSPECIFIED" - Unspecified. Defaults to
// DEVELOPER_SETTINGS_DISABLED.
// "DEVELOPER_SETTINGS_DISABLED" - Default. Disables all developer settings
// and prevents the user from accessing them.
// "DEVELOPER_SETTINGS_ALLOWED" - Allows all developer settings. The user can
// access and optionally configure the settings.
DeveloperSettings string `json:"developerSettings,omitempty"`
// GooglePlayProtectVerifyApps: Whether Google Play Protect verification
// (https://support.google.com/accounts/answer/2812853) is enforced. Replaces
// ensureVerifyAppsEnabled (deprecated).
//
// Possible values:
// "GOOGLE_PLAY_PROTECT_VERIFY_APPS_UNSPECIFIED" - Unspecified. Defaults to
// VERIFY_APPS_ENFORCED.
// "VERIFY_APPS_ENFORCED" - Default. Force-enables app verification.
// "VERIFY_APPS_USER_CHOICE" - Allows the user to choose whether to enable
// app verification.
GooglePlayProtectVerifyApps string `json:"googlePlayProtectVerifyApps,omitempty"`
// MtePolicy: Optional. Controls Memory Tagging Extension (MTE)
// (https://source.android.com/docs/security/test/memory-safety/arm-mte) on the
// device. The device needs to be rebooted to apply changes to the MTE policy.
// On Android 15 and above, a NonComplianceDetail with PENDING is reported if
// the policy change is pending a device reboot.
//
// Possible values:
// "MTE_POLICY_UNSPECIFIED" - Unspecified. Defaults to MTE_USER_CHOICE.
// "MTE_USER_CHOICE" - The user can choose to enable or disable MTE on the
// device if the device supports this.
// "MTE_ENFORCED" - MTE is enabled on the device and the user is not allowed
// to change this setting. This can be set on fully managed devices and work
// profiles on company-owned devices. A NonComplianceDetail with
// MANAGEMENT_MODE is reported for other management modes. A
// NonComplianceDetail with DEVICE_INCOMPATIBLE is reported if the device does
// not support MTE.Supported on Android 14 and above. A NonComplianceDetail
// with API_LEVEL is reported if the Android version is less than 14.
// "MTE_DISABLED" - MTE is disabled on the device and the user is not allowed
// to change this setting. This applies only on fully managed devices. In other
// cases, a NonComplianceDetail with MANAGEMENT_MODE is reported. A
// NonComplianceDetail with DEVICE_INCOMPATIBLE is reported if the device does
// not support MTE.Supported on Android 14 and above. A NonComplianceDetail
// with API_LEVEL is reported if the Android version is less than 14.
MtePolicy string `json:"mtePolicy,omitempty"`
// PersonalAppsThatCanReadWorkNotifications: Personal apps that can read work
// profile notifications using a NotificationListenerService
// (https://developer.android.com/reference/android/service/notification/NotificationListenerService).
// By default, no personal apps (aside from system apps) can read work
// notifications. Each value in the list must be a package name.
PersonalAppsThatCanReadWorkNotifications []string `json:"personalAppsThatCanReadWorkNotifications,omitempty"`
// UntrustedAppsPolicy: The policy for untrusted apps (apps from unknown
// sources) enforced on the device. Replaces install_unknown_sources_allowed
// (deprecated).
//
// Possible values:
// "UNTRUSTED_APPS_POLICY_UNSPECIFIED" - Unspecified. Defaults to
// DISALLOW_INSTALL.
// "DISALLOW_INSTALL" - Default. Disallow untrusted app installs on entire
// device.
// "ALLOW_INSTALL_IN_PERSONAL_PROFILE_ONLY" - For devices with work profiles,
// allow untrusted app installs in the device's personal profile only.
// "ALLOW_INSTALL_DEVICE_WIDE" - Allow untrusted app installs on entire
// device.
UntrustedAppsPolicy string `json:"untrustedAppsPolicy,omitempty"`
// ForceSendFields is a list of field names (e.g. "CommonCriteriaMode") 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. "CommonCriteriaMode") 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 AdvancedSecurityOverrides) MarshalJSON() ([]byte, error) {
type NoMethod AdvancedSecurityOverrides
return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields)
}
// AlwaysOnVpnPackage: Configuration for an always-on VPN connection.
type AlwaysOnVpnPackage struct {
// LockdownEnabled: Disallows networking when the VPN is not connected.
LockdownEnabled bool `json:"lockdownEnabled,omitempty"`
// PackageName: The package name of the VPN app.
PackageName string `json:"packageName,omitempty"`
// ForceSendFields is a list of field names (e.g. "LockdownEnabled") 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. "LockdownEnabled") 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 AlwaysOnVpnPackage) MarshalJSON() ([]byte, error) {
type NoMethod AlwaysOnVpnPackage
return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields)
}
// ApiLevelCondition: A compliance rule condition which is satisfied if the
// Android Framework API level on the device doesn't meet a minimum
// requirement. There can only be one rule with this type of condition per
// policy.
type ApiLevelCondition struct {
// MinApiLevel: The minimum desired Android Framework API level. If the device
// doesn't meet the minimum requirement, this condition is satisfied. Must be
// greater than zero.
MinApiLevel int64 `json:"minApiLevel,omitempty"`
// ForceSendFields is a list of field names (e.g. "MinApiLevel") 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. "MinApiLevel") 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 ApiLevelCondition) MarshalJSON() ([]byte, error) {
type NoMethod ApiLevelCondition
return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields)
}
// ApnPolicy: Access Point Name (APN) policy. Configuration for Access Point
// Names (APNs) which may override any other APNs on the device. See
// OVERRIDE_APNS_ENABLED and overrideApns for details.
type ApnPolicy struct {
// ApnSettings: Optional. APN settings for override APNs. There must not be any
// conflict between any of APN settings provided, otherwise the policy will be
// rejected. Two ApnSettings are considered to conflict when all of the
// following fields match on both: numericOperatorId, apn, proxyAddress,
// proxyPort, mmsProxyAddress, mmsProxyPort, mmsc, mvnoType, protocol,
// roamingProtocol. If some of the APN settings result in non-compliance of
// INVALID_VALUE , they will be ignored. This can be set on fully managed
// devices on Android 10 and above. This can also be set on work profiles on
// Android 13 and above and only with ApnSetting's with ENTERPRISE APN type. A
// NonComplianceDetail with API_LEVEL is reported if the Android version is
// less than 10. A NonComplianceDetail with MANAGEMENT_MODE is reported for
// work profiles on Android versions less than 13.
ApnSettings []*ApnSetting `json:"apnSettings,omitempty"`
// OverrideApns: Optional. Whether override APNs are disabled or enabled. See
// DevicePolicyManager.setOverrideApnsEnabled
// (https://developer.android.com/reference/android/app/admin/DevicePolicyManager#setOverrideApnsEnabled)
// for more details.
//
// Possible values:
// "OVERRIDE_APNS_UNSPECIFIED" - Unspecified. Defaults to
// OVERRIDE_APNS_DISABLED.
// "OVERRIDE_APNS_DISABLED" - Override APNs disabled. Any configured
// apnSettings are saved on the device, but are disabled and have no effect.
// Any other APNs on the device remain in use.
// "OVERRIDE_APNS_ENABLED" - Override APNs enabled. Only override APNs are in
// use, any other APNs are ignored. This can only be set on fully managed
// devices on Android 10 and above. For work profiles override APNs are enabled
// via preferentialNetworkServiceSettings and this value cannot be set. A
// NonComplianceDetail with API_LEVEL is reported if the Android version is
// less than 10. A NonComplianceDetail with MANAGEMENT_MODE is reported for
// work profiles.
OverrideApns string `json:"overrideApns,omitempty"`
// ForceSendFields is a list of field names (e.g. "ApnSettings") 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. "ApnSettings") 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 ApnPolicy) MarshalJSON() ([]byte, error) {
type NoMethod ApnPolicy
return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields)
}
// ApnSetting: An Access Point Name (APN) configuration for a carrier data
// connection. The APN provides configuration to connect a cellular network
// device to an IP data network. A carrier uses this setting to decide which IP
// address to assign, any security methods to apply, and how the device might
// be connected to private networks.
type ApnSetting struct {
// AlwaysOnSetting: Optional. Whether User Plane resources have to be activated
// during every transition from CM-IDLE mode to CM-CONNECTED state for this
// APN. See 3GPP TS 23.501 section 5.6.13.
//
// Possible values:
// "ALWAYS_ON_SETTING_UNSPECIFIED" - Unspecified. Defaults to NOT_ALWAYS_ON.
// "NOT_ALWAYS_ON" - The PDU session brought up by this APN should not be
// always on.
// "ALWAYS_ON" - The PDU session brought up by this APN should always be on.
// Supported on Android 15 and above. A NonComplianceDetail with API_LEVEL is
// reported if the Android version is less than 15.
AlwaysOnSetting string `json:"alwaysOnSetting,omitempty"`
// Apn: Required. Name of the APN. Policy will be rejected if this field is
// empty.
Apn string `json:"apn,omitempty"`
// ApnTypes: Required. Usage categories for the APN. Policy will be rejected if
// this field is empty or contains APN_TYPE_UNSPECIFIED or duplicates. Multiple
// APN types can be set on fully managed devices. ENTERPRISE is the only
// allowed APN type on work profiles. A NonComplianceDetail with
// MANAGEMENT_MODE is reported for any other value on work profiles. APN types
// that are not supported on the device or management mode will be ignored. If
// this results in the empty list, the APN setting will be ignored, because
// apnTypes is a required field. A NonComplianceDetail with INVALID_VALUE is
// reported if none of the APN types are supported on the device or management
// mode.
//
// Possible values:
// "APN_TYPE_UNSPECIFIED" - Unspecified. This value is not used.
// "ENTERPRISE" - APN type for enterprise traffic. Supported on Android 13
// and above. A NonComplianceDetail with API_LEVEL is reported if the Android
// version is less than 13.
// "BIP" - APN type for BIP (Bearer Independent Protocol). This can only be
// set on fully managed devices on Android 12 and above. A NonComplianceDetail
// with API_LEVEL is reported if the Android version is less than 12. A
// NonComplianceDetail with MANAGEMENT_MODE is reported for work profiles.
// "CBS" - APN type for CBS (Carrier Branded Services). This can only be set
// on fully managed devices. A NonComplianceDetail with MANAGEMENT_MODE is
// reported for work profiles.
// "DEFAULT" - APN type for default data traffic. This can only be set on
// fully managed devices. A NonComplianceDetail with MANAGEMENT_MODE is
// reported for work profiles.
// "DUN" - APN type for DUN (Dial-up networking) traffic. This can only be
// set on fully managed devices. A NonComplianceDetail with MANAGEMENT_MODE is
// reported for work profiles.
// "EMERGENCY" - APN type for Emergency PDN. This is not an IA apn, but is
// used for access to carrier services in an emergency call situation. This can
// only be set on fully managed devices. A NonComplianceDetail with
// MANAGEMENT_MODE is reported for work profiles.
// "FOTA" - APN type for accessing the carrier's FOTA (Firmware Over-the-Air)
// portal, used for over the air updates. This can only be set on fully managed
// devices. A NonComplianceDetail with MANAGEMENT_MODE is reported for work
// profiles.
// "HIPRI" - APN type for HiPri (high-priority) traffic. This can only be set
// on fully managed devices. A NonComplianceDetail with MANAGEMENT_MODE is
// reported for work profiles.
// "IA" - APN type for IA (Initial Attach) APN. This can only be set on fully
// managed devices. A NonComplianceDetail with MANAGEMENT_MODE is reported for
// work profiles.
// "IMS" - APN type for IMS (IP Multimedia Subsystem) traffic. This can only
// be set on fully managed devices. A NonComplianceDetail with MANAGEMENT_MODE
// is reported for work profiles.
// "MCX" - APN type for MCX (Mission Critical Service) where X can be
// PTT/Video/Data. This can only be set on fully managed devices. A
// NonComplianceDetail with MANAGEMENT_MODE is reported for work profiles.
// "MMS" - APN type for MMS (Multimedia Messaging Service) traffic. This can
// only be set on fully managed devices. A NonComplianceDetail with
// MANAGEMENT_MODE is reported for work profiles.
// "RCS" - APN type for RCS (Rich Communication Services). This can only be
// set on fully managed devices on Android 15 and above. A NonComplianceDetail
// with API_LEVEL is reported if the Android version is less than 15. A
// NonComplianceDetail with MANAGEMENT_MODE is reported for work profiles.
// "SUPL" - APN type for SUPL (Secure User Plane Location) assisted GPS. This
// can only be set on fully managed devices. A NonComplianceDetail with
// MANAGEMENT_MODE is reported for work profiles.
// "VSIM" - APN type for VSIM (Virtual SIM) service. This can only be set on
// fully managed devices on Android 12 and above. A NonComplianceDetail with
// API_LEVEL is reported if the Android version is less than 12. A
// NonComplianceDetail with MANAGEMENT_MODE is reported for work profiles.
// "XCAP" - APN type for XCAP (XML Configuration Access Protocol) traffic.
// This can only be set on fully managed devices on Android 11 and above. A
// NonComplianceDetail with API_LEVEL is reported if the Android version is
// less than 11. A NonComplianceDetail with MANAGEMENT_MODE is reported for
// work profiles.
ApnTypes []string `json:"apnTypes,omitempty"`
// AuthType: Optional. Authentication type of the APN.
//
// Possible values:
// "AUTH_TYPE_UNSPECIFIED" - Unspecified. If username is empty, defaults to
// NONE. Otherwise, defaults to PAP_OR_CHAP.
// "NONE" - Authentication is not required.
// "PAP" - Authentication type for PAP.
// "CHAP" - Authentication type for CHAP.
// "PAP_OR_CHAP" - Authentication type for PAP or CHAP.
AuthType string `json:"authType,omitempty"`
// CarrierId: Optional. Carrier ID for the APN. A value of 0 (default) means
// not set and negative values are rejected.
CarrierId int64 `json:"carrierId,omitempty"`
// DisplayName: Required. Human-readable name that describes the APN. Policy
// will be rejected if this field is empty.
DisplayName string `json:"displayName,omitempty"`
// MmsProxyAddress: Optional. MMS (Multimedia Messaging Service) proxy address
// of the APN which can be an IP address or hostname (not a URL).
MmsProxyAddress string `json:"mmsProxyAddress,omitempty"`
// MmsProxyPort: Optional. MMS (Multimedia Messaging Service) proxy port of the
// APN. A value of 0 (default) means not set and negative values are rejected.
MmsProxyPort int64 `json:"mmsProxyPort,omitempty"`
// Mmsc: Optional. MMSC (Multimedia Messaging Service Center) URI of the APN.
Mmsc string `json:"mmsc,omitempty"`
// MtuV4: Optional. The default MTU (Maximum Transmission Unit) size in bytes
// of the IPv4 routes brought up by this APN setting. A value of 0 (default)
// means not set and negative values are rejected. Supported on Android 13 and
// above. A NonComplianceDetail with API_LEVEL is reported if the Android
// version is less than 13.
MtuV4 int64 `json:"mtuV4,omitempty"`
// MtuV6: Optional. The MTU (Maximum Transmission Unit) size of the IPv6 mobile
// interface to which the APN connected. A value of 0 (default) means not set
// and negative values are rejected. Supported on Android 13 and above. A
// NonComplianceDetail with API_LEVEL is reported if the Android version is
// less than 13.
MtuV6 int64 `json:"mtuV6,omitempty"`
// MvnoType: Optional. MVNO match type for the APN.
//
// Possible values:
// "MVNO_TYPE_UNSPECIFIED" - The MVNO type is not specified.
// "GID" - MVNO type for group identifier level 1.
// "ICCID" - MVNO type for ICCID.
// "IMSI" - MVNO type for IMSI.
// "SPN" - MVNO type for SPN (service provider name).
MvnoType string `json:"mvnoType,omitempty"`
// NetworkTypes: Optional. Radio technologies (network types) the APN may use.
// Policy will be rejected if this field contains NETWORK_TYPE_UNSPECIFIED or
// duplicates.
//
// Possible values:
// "NETWORK_TYPE_UNSPECIFIED" - Unspecified. This value must not be used.
// "EDGE" - Radio technology EDGE.
// "GPRS" - Radio technology GPRS.
// "GSM" - Radio technology GSM.
// "HSDPA" - Radio technology HSDPA.
// "HSPA" - Radio technology HSPA.
// "HSPAP" - Radio technology HSPAP.
// "HSUPA" - Radio technology HSUPA.
// "IWLAN" - Radio technology IWLAN.
// "LTE" - Radio technology LTE.
// "NR" - Radio technology NR (New Radio) 5G.
// "TD_SCDMA" - Radio technology TD_SCDMA.
// "UMTS" - Radio technology UMTS.
NetworkTypes []string `json:"networkTypes,omitempty"`
// NumericOperatorId: Optional. The numeric operator ID of the APN. Numeric
// operator ID is defined as MCC (Mobile Country Code) + MNC (Mobile Network
// Code).
NumericOperatorId string `json:"numericOperatorId,omitempty"`
// Password: Optional. APN password of the APN.
Password string `json:"password,omitempty"`
// Protocol: Optional. The protocol to use to connect to this APN.
//
// Possible values:
// "PROTOCOL_UNSPECIFIED" - The protocol is not specified.
// "IP" - Internet protocol.
// "IPV4V6" - Virtual PDP type introduced to handle dual IP stack UE
// capability.
// "IPV6" - Internet protocol, version 6.
// "NON_IP" - Transfer of Non-IP data to external packet data network.
// "PPP" - Point to point protocol.
// "UNSTRUCTURED" - Transfer of Unstructured data to the Data Network via N6.
Protocol string `json:"protocol,omitempty"`
// ProxyAddress: Optional. The proxy address of the APN.
ProxyAddress string `json:"proxyAddress,omitempty"`
// ProxyPort: Optional. The proxy port of the APN. A value of 0 (default) means
// not set and negative values are rejected.
ProxyPort int64 `json:"proxyPort,omitempty"`
// RoamingProtocol: Optional. The protocol to use to connect to this APN while
// the device is roaming.
//
// Possible values:
// "PROTOCOL_UNSPECIFIED" - The protocol is not specified.
// "IP" - Internet protocol.
// "IPV4V6" - Virtual PDP type introduced to handle dual IP stack UE
// capability.
// "IPV6" - Internet protocol, version 6.
// "NON_IP" - Transfer of Non-IP data to external packet data network.
// "PPP" - Point to point protocol.
// "UNSTRUCTURED" - Transfer of Unstructured data to the Data Network via N6.
RoamingProtocol string `json:"roamingProtocol,omitempty"`
// Username: Optional. APN username of the APN.
Username string `json:"username,omitempty"`
// ForceSendFields is a list of field names (e.g. "AlwaysOnSetting") 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. "AlwaysOnSetting") 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 ApnSetting) MarshalJSON() ([]byte, error) {
type NoMethod ApnSetting
return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields)
}
// AppProcessInfo: Information about a process. It contains process name, start
// time, app Uid, app Pid, seinfo tag, hash of the base APK.
type AppProcessInfo struct {
// ApkSha256Hash: SHA-256 hash of the base APK, in hexadecimal format.
ApkSha256Hash string `json:"apkSha256Hash,omitempty"`
// PackageNames: Package names of all packages that are associated with the
// particular user ID. In most cases, this will be a single package name, the
// package that has been assigned that user ID. If multiple application share a
// UID then all packages sharing UID will be included.
PackageNames []string `json:"packageNames,omitempty"`
// Pid: Process ID.
Pid int64 `json:"pid,omitempty"`
// ProcessName: Process name.
ProcessName string `json:"processName,omitempty"`
// Seinfo: SELinux policy info.
Seinfo string `json:"seinfo,omitempty"`
// StartTime: Process start time.
StartTime string `json:"startTime,omitempty"`
// Uid: UID of the package.
Uid int64 `json:"uid,omitempty"`
// ForceSendFields is a list of field names (e.g. "ApkSha256Hash") 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. "ApkSha256Hash") 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 AppProcessInfo) MarshalJSON() ([]byte, error) {
type NoMethod AppProcessInfo
return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields)
}
// AppProcessStartEvent: An app process was started. This is available
// device-wide on fully managed devices and within the work profile on
// organization-owned devices with a work profile.
type AppProcessStartEvent struct {
// ProcessInfo: Information about a process.
ProcessInfo *AppProcessInfo `json:"processInfo,omitempty"`
// ForceSendFields is a list of field names (e.g. "ProcessInfo") 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. "ProcessInfo") 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 AppProcessStartEvent) MarshalJSON() ([]byte, error) {
type NoMethod AppProcessStartEvent
return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields)
}
// AppTrackInfo: Id to name association of a app track.
type AppTrackInfo struct {
// TrackAlias: The track name associated with the trackId, set in the Play
// Console. The name is modifiable from Play Console.
TrackAlias string `json:"trackAlias,omitempty"`
// TrackId: The unmodifiable unique track identifier, taken from the
// releaseTrackId in the URL of the Play Console page that displays the app’s
// track information.
TrackId string `json:"trackId,omitempty"`
// ForceSendFields is a list of field names (e.g. "TrackAlias") 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. "TrackAlias") 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 AppTrackInfo) MarshalJSON() ([]byte, error) {
type NoMethod AppTrackInfo
return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields)
}
// AppVersion: This represents a single version of the app.
type AppVersion struct {
// Production: If the value is True, it indicates that this version is a
// production track.
Production bool `json:"production,omitempty"`
// TrackIds: Track identifiers that the app version is published in. This does
// not include the production track (see production instead).
TrackIds []string `json:"trackIds,omitempty"`
// VersionCode: Unique increasing identifier for the app version.
VersionCode int64 `json:"versionCode,omitempty"`
// VersionString: The string used in the Play store by the app developer to
// identify the version. The string is not necessarily unique or localized (for
// example, the string could be "1.4").
VersionString string `json:"versionString,omitempty"`
// ForceSendFields is a list of field names (e.g. "Production") 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. "Production") 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 AppVersion) MarshalJSON() ([]byte, error) {
type NoMethod AppVersion
return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields)
}
// Application: Information about an app.
type Application struct {
// AppPricing: Whether this app is free, free with in-app purchases, or paid.
// If the pricing is unspecified, this means the app is not generally available
// anymore (even though it might still be available to people who own it).
//
// Possible values:
// "APP_PRICING_UNSPECIFIED" - Unknown pricing, used to denote an approved
// app that is not generally available.
// "FREE" - The app is free.
// "FREE_WITH_IN_APP_PURCHASE" - The app is free, but offers in-app
// purchases.
// "PAID" - The app is paid.
AppPricing string `json:"appPricing,omitempty"`
// AppTracks: Application tracks visible to the enterprise.
AppTracks []*AppTrackInfo `json:"appTracks,omitempty"`
// AppVersions: Versions currently available for this app.
AppVersions []*AppVersion `json:"appVersions,omitempty"`
// Author: The name of the author of the apps (for example, the app developer).
Author string `json:"author,omitempty"`
// AvailableCountries: The countries which this app is available in as per ISO
// 3166-1 alpha-2.
AvailableCountries []string `json:"availableCountries,omitempty"`
// Category: The app category (e.g. RACING, SOCIAL, etc.)
Category string `json:"category,omitempty"`
// ContentRating: The content rating for this app.
//
// Possible values:
// "CONTENT_RATING_UNSPECIFIED" - Unspecified.
// "THREE_YEARS" - Content suitable for ages 3 and above only.
// "SEVEN_YEARS" - Content suitable for ages 7 and above only.
// "TWELVE_YEARS" - Content suitable for ages 12 and above only.
// "SIXTEEN_YEARS" - Content suitable for ages 16 and above only.
// "EIGHTEEN_YEARS" - Content suitable for ages 18 and above only.
ContentRating string `json:"contentRating,omitempty"`
// Description: The localized promotional description, if available.
Description string `json:"description,omitempty"`
// DistributionChannel: How and to whom the package is made available.
//
// Possible values:
// "DISTRIBUTION_CHANNEL_UNSPECIFIED" - Unspecified.
// "PUBLIC_GOOGLE_HOSTED" - Package is available through the Play store and
// not restricted to a specific enterprise.
// "PRIVATE_GOOGLE_HOSTED" - Package is a private app (restricted to an
// enterprise) but hosted by Google.
// "PRIVATE_SELF_HOSTED" - Private app (restricted to an enterprise) and is
// privately hosted.
DistributionChannel string `json:"distributionChannel,omitempty"`
// Features: Noteworthy features (if any) of this app.
//
// Possible values:
// "APP_FEATURE_UNSPECIFIED" - Unspecified.
// "VPN_APP" - The app is a VPN.
Features []string `json:"features,omitempty"`
// FullDescription: Full app description, if available.
FullDescription string `json:"fullDescription,omitempty"`
// IconUrl: A link to an image that can be used as an icon for the app. This
// image is suitable for use up to a pixel size of 512 x 512.
IconUrl string `json:"iconUrl,omitempty"`
// ManagedProperties: The set of managed properties available to be
// pre-configured for the app.
ManagedProperties []*ManagedProperty `json:"managedProperties,omitempty"`
// MinAndroidSdkVersion: The minimum Android SDK necessary to run the app.
MinAndroidSdkVersion int64 `json:"minAndroidSdkVersion,omitempty"`
// Name: The name of the app in the form
// enterprises/{enterprise}/applications/{package_name}.
Name string `json:"name,omitempty"`
// Permissions: The permissions required by the app.
Permissions []*ApplicationPermission `json:"permissions,omitempty"`
// PlayStoreUrl: A link to the (consumer) Google Play details page for the app.
PlayStoreUrl string `json:"playStoreUrl,omitempty"`
// RecentChanges: A localised description of the recent changes made to the
// app.
RecentChanges string `json:"recentChanges,omitempty"`
// ScreenshotUrls: A list of screenshot links representing the app.
ScreenshotUrls []string `json:"screenshotUrls,omitempty"`
// SmallIconUrl: A link to a smaller image that can be used as an icon for the
// app. This image is suitable for use up to a pixel size of 128 x 128.
SmallIconUrl string `json:"smallIconUrl,omitempty"`
// Title: The title of the app. Localized.
Title string `json:"title,omitempty"`
// UpdateTime: Output only. The approximate time (within 7 days) the app was
// last published.
UpdateTime string `json:"updateTime,omitempty"`
// ServerResponse contains the HTTP response code and headers from the server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "AppPricing") to
// unconditionally include in API requests. By default, fields with empty or
// default values are omitted from API requests. See