google-apis-androidmanagement_v1 0.99.0 → 0.100.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f018ddeb371350522c86e22def4cb15eff566b6168d47e1bc3e0ffb5a25f2e67
4
- data.tar.gz: 7407120fc08b719a38c67bce949ef23f5a569d5af4cb499d08add812bbcfeaf6
3
+ metadata.gz: 6912728b8a769c1eb2c9381e01b60a2c14370a8d6d849155c9b7a4fe7b70f321
4
+ data.tar.gz: 169b2d55bc03636e2e832cb7c56be162d648532c1e7284aa06219d643a1e4310
5
5
  SHA512:
6
- metadata.gz: eb07cdcef0decd1d704ebc471b0245575dd0b070a4e1418b981a36bfb5f7d466e854e7a7ee97bdc6177d54a038054f6e7bdbc2cf176ca09f14d1a4a9cbcf3ba1
7
- data.tar.gz: 142ce7b08096ade3bff93dbeca404c9339625292e4bbd37d0a83ab0e7b867fd41b3433b2a80a5119eed7f96d0ca2210d10564550287eb9cb9cdf8c41feb98d2f
6
+ metadata.gz: 429dd1ce108167e30f44c85140251d118cfa7f2b63dfccc34c07d3667617024a6f195cc1c1f4f61f51cb5bb10be98991c901828bb027f609d4113e56107b4381
7
+ data.tar.gz: 35f11f860feba4fb49540bd3c1389c479dc9e0afc474f9bbecd23abee6148bdd19150c659568ade8ec65489cd657d8963c0efeda5ec705feca0ecd71446ab85c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-androidmanagement_v1
2
2
 
3
+ ### v0.100.0 (2025-09-21)
4
+
5
+ * Regenerated from discovery document revision 20250916
6
+
3
7
  ### v0.99.0 (2025-09-14)
4
8
 
5
9
  * Regenerated from discovery document revision 20250909
@@ -927,17 +927,41 @@ module Google
927
927
  # @return [String]
928
928
  attr_accessor :preferential_network_id
929
929
 
930
+ # Optional. Roles the app has.Apps having certain roles can be exempted from
931
+ # power and background execution restrictions, suspension and hibernation on
932
+ # Android 14 and above. The user control can also be disallowed for apps with
933
+ # certain roles on Android 11 and above. Refer to the documentation of each
934
+ # RoleType for more details.The app is notified about the roles that are set for
935
+ # it if the app has a notification receiver service with . The app is notified
936
+ # whenever its roles are updated or after the app is installed when it has
937
+ # nonempty list of roles. The app can use this notification to bootstrap itself
938
+ # after the installation. See Integrate with the AMAPI SDK (https://developers.
939
+ # google.com/android/management/sdk-integration) and Manage app roles (https://
940
+ # developers.google.com/android/management/app-roles) guides for more details on
941
+ # the requirements for the service.For the exemptions to be applied and the app
942
+ # to be notified about the roles, the signing key certificate fingerprint of the
943
+ # app on the device must match one of the signing key certificate fingerprints
944
+ # obtained from Play Store or one of the entries in ApplicationPolicy.
945
+ # signingKeyCerts. Otherwise, a NonComplianceDetail with
946
+ # APP_SIGNING_CERT_MISMATCH is reported.There must not be duplicate roles with
947
+ # the same roleType. Multiple apps cannot hold a role with the same roleType. A
948
+ # role with type ROLE_TYPE_UNSPECIFIED is not allowed.
949
+ # Corresponds to the JSON property `roles`
950
+ # @return [Array<Google::Apis::AndroidmanagementV1::Role>]
951
+ attr_accessor :roles
952
+
930
953
  # Optional. Signing key certificates of the app.This field is required in the
931
954
  # following cases: The app has installType set to CUSTOM (i.e. a custom app).
932
- # The app has extensionConfig set (i.e. an extension app) but ExtensionConfig.
933
- # signingKeyFingerprintsSha256 (deprecated) is not set and the app does not
934
- # exist on the Play Store.If this field is not set for a custom app, the policy
935
- # is rejected. If it is not set when required for a non-custom app, a
936
- # NonComplianceDetail with INVALID_VALUE is reported.For other cases, this field
937
- # is optional and the signing key certificates obtained from Play Store are used.
938
- # See following policy settings to see how this field is used:
955
+ # The app has roles set to a nonempty list and the app does not exist on the
956
+ # Play Store. The app has extensionConfig set (i.e. an extension app) but
957
+ # ExtensionConfig.signingKeyFingerprintsSha256 (deprecated) is not set and the
958
+ # app does not exist on the Play Store.If this field is not set for a custom app,
959
+ # the policy is rejected. If it is not set when required for a non-custom app,
960
+ # a NonComplianceDetail with INVALID_VALUE is reported.For other cases, this
961
+ # field is optional and the signing key certificates obtained from Play Store
962
+ # are used.See following policy settings to see how this field is used:
939
963
  # choosePrivateKeyRules ApplicationPolicy.InstallType.CUSTOM ApplicationPolicy.
940
- # extensionConfig
964
+ # extensionConfig ApplicationPolicy.roles
941
965
  # Corresponds to the JSON property `signingKeyCerts`
942
966
  # @return [Array<Google::Apis::AndroidmanagementV1::ApplicationSigningKeyCert>]
943
967
  attr_accessor :signing_key_certs
@@ -982,6 +1006,7 @@ module Google
982
1006
  @package_name = args[:package_name] if args.key?(:package_name)
983
1007
  @permission_grants = args[:permission_grants] if args.key?(:permission_grants)
984
1008
  @preferential_network_id = args[:preferential_network_id] if args.key?(:preferential_network_id)
1009
+ @roles = args[:roles] if args.key?(:roles)
985
1010
  @signing_key_certs = args[:signing_key_certs] if args.key?(:signing_key_certs)
986
1011
  @user_control_settings = args[:user_control_settings] if args.key?(:user_control_settings)
987
1012
  @work_profile_widgets = args[:work_profile_widgets] if args.key?(:work_profile_widgets)
@@ -6229,6 +6254,25 @@ module Google
6229
6254
  end
6230
6255
  end
6231
6256
 
6257
+ # Role an app can have.
6258
+ class Role
6259
+ include Google::Apis::Core::Hashable
6260
+
6261
+ # Required. The type of the role an app can have.
6262
+ # Corresponds to the JSON property `roleType`
6263
+ # @return [String]
6264
+ attr_accessor :role_type
6265
+
6266
+ def initialize(**args)
6267
+ update!(**args)
6268
+ end
6269
+
6270
+ # Update properties of this object
6271
+ def update!(**args)
6272
+ @role_type = args[:role_type] if args.key?(:role_type)
6273
+ end
6274
+ end
6275
+
6232
6276
  # Controls for the screen brightness settings.
6233
6277
  class ScreenBrightnessSettings
6234
6278
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AndroidmanagementV1
18
18
  # Version of the google-apis-androidmanagement_v1 gem
19
- GEM_VERSION = "0.99.0"
19
+ GEM_VERSION = "0.100.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250909"
25
+ REVISION = "20250916"
26
26
  end
27
27
  end
28
28
  end
@@ -820,6 +820,12 @@ module Google
820
820
  include Google::Apis::Core::JsonObjectSupport
821
821
  end
822
822
 
823
+ class Role
824
+ class Representation < Google::Apis::Core::JsonRepresentation; end
825
+
826
+ include Google::Apis::Core::JsonObjectSupport
827
+ end
828
+
823
829
  class ScreenBrightnessSettings
824
830
  class Representation < Google::Apis::Core::JsonRepresentation; end
825
831
 
@@ -1224,6 +1230,8 @@ module Google
1224
1230
  collection :permission_grants, as: 'permissionGrants', class: Google::Apis::AndroidmanagementV1::PermissionGrant, decorator: Google::Apis::AndroidmanagementV1::PermissionGrant::Representation
1225
1231
 
1226
1232
  property :preferential_network_id, as: 'preferentialNetworkId'
1233
+ collection :roles, as: 'roles', class: Google::Apis::AndroidmanagementV1::Role, decorator: Google::Apis::AndroidmanagementV1::Role::Representation
1234
+
1227
1235
  collection :signing_key_certs, as: 'signingKeyCerts', class: Google::Apis::AndroidmanagementV1::ApplicationSigningKeyCert, decorator: Google::Apis::AndroidmanagementV1::ApplicationSigningKeyCert::Representation
1228
1236
 
1229
1237
  property :user_control_settings, as: 'userControlSettings'
@@ -2541,6 +2549,13 @@ module Google
2541
2549
  end
2542
2550
  end
2543
2551
 
2552
+ class Role
2553
+ # @private
2554
+ class Representation < Google::Apis::Core::JsonRepresentation
2555
+ property :role_type, as: 'roleType'
2556
+ end
2557
+ end
2558
+
2544
2559
  class ScreenBrightnessSettings
2545
2560
  # @private
2546
2561
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-androidmanagement_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.99.0
4
+ version: 0.100.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidmanagement_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-androidmanagement_v1/v0.99.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-androidmanagement_v1/v0.100.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidmanagement_v1
62
62
  rdoc_options: []
63
63
  require_paths: