google-apis-androidmanagement_v1 0.99.0 → 0.101.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: 741b6509c387f9f086c220b35f0f6a4ec389c1a89d4fc12f0d40432f3d8f0e4b
4
+ data.tar.gz: e455638e3c361cf69ad2cb0faf574c45a9e206c77e6bd9da7bc64e3cda07bde3
5
5
  SHA512:
6
- metadata.gz: eb07cdcef0decd1d704ebc471b0245575dd0b070a4e1418b981a36bfb5f7d466e854e7a7ee97bdc6177d54a038054f6e7bdbc2cf176ca09f14d1a4a9cbcf3ba1
7
- data.tar.gz: 142ce7b08096ade3bff93dbeca404c9339625292e4bbd37d0a83ab0e7b867fd41b3433b2a80a5119eed7f96d0ca2210d10564550287eb9cb9cdf8c41feb98d2f
6
+ metadata.gz: 9e90a03f1b1d555444609b621aa76f04fe7e3ab9e3e528336b2f7011d386f70b9fa51dd629dad48f77339c459f859767e784f4301e4f8f183cdc43b666e9d639
7
+ data.tar.gz: 634e59c695471b6238474bdb09ef2e9dc6e0ce6603e8a6647de7bc2fcc3a97af930c19810e17a95e71426de907430bc35d20623214bfceed1a83a24c7b2360e6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-androidmanagement_v1
2
2
 
3
+ ### v0.101.0 (2025-09-28)
4
+
5
+ * Regenerated from discovery document revision 20250924
6
+
7
+ ### v0.100.0 (2025-09-21)
8
+
9
+ * Regenerated from discovery document revision 20250916
10
+
3
11
  ### v0.99.0 (2025-09-14)
4
12
 
5
13
  * 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)
@@ -3858,6 +3883,13 @@ module Google
3858
3883
  # @return [Array<Google::Apis::AndroidmanagementV1::Operation>]
3859
3884
  attr_accessor :operations
3860
3885
 
3886
+ # Unordered list. Unreachable resources. Populated when the request sets
3887
+ # ListOperationsRequest.return_partial_success and reads across collections e.g.
3888
+ # when attempting to list all resources across all supported locations.
3889
+ # Corresponds to the JSON property `unreachable`
3890
+ # @return [Array<String>]
3891
+ attr_accessor :unreachable
3892
+
3861
3893
  def initialize(**args)
3862
3894
  update!(**args)
3863
3895
  end
@@ -3866,6 +3898,7 @@ module Google
3866
3898
  def update!(**args)
3867
3899
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3868
3900
  @operations = args[:operations] if args.key?(:operations)
3901
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
3869
3902
  end
3870
3903
  end
3871
3904
 
@@ -6229,6 +6262,25 @@ module Google
6229
6262
  end
6230
6263
  end
6231
6264
 
6265
+ # Role an app can have.
6266
+ class Role
6267
+ include Google::Apis::Core::Hashable
6268
+
6269
+ # Required. The type of the role an app can have.
6270
+ # Corresponds to the JSON property `roleType`
6271
+ # @return [String]
6272
+ attr_accessor :role_type
6273
+
6274
+ def initialize(**args)
6275
+ update!(**args)
6276
+ end
6277
+
6278
+ # Update properties of this object
6279
+ def update!(**args)
6280
+ @role_type = args[:role_type] if args.key?(:role_type)
6281
+ end
6282
+ end
6283
+
6232
6284
  # Controls for the screen brightness settings.
6233
6285
  class ScreenBrightnessSettings
6234
6286
  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.101.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 = "20250924"
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'
@@ -1970,6 +1978,7 @@ module Google
1970
1978
  property :next_page_token, as: 'nextPageToken'
1971
1979
  collection :operations, as: 'operations', class: Google::Apis::AndroidmanagementV1::Operation, decorator: Google::Apis::AndroidmanagementV1::Operation::Representation
1972
1980
 
1981
+ collection :unreachable, as: 'unreachable'
1973
1982
  end
1974
1983
  end
1975
1984
 
@@ -2541,6 +2550,13 @@ module Google
2541
2550
  end
2542
2551
  end
2543
2552
 
2553
+ class Role
2554
+ # @private
2555
+ class Representation < Google::Apis::Core::JsonRepresentation
2556
+ property :role_type, as: 'roleType'
2557
+ end
2558
+ end
2559
+
2544
2560
  class ScreenBrightnessSettings
2545
2561
  # @private
2546
2562
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -585,6 +585,13 @@ module Google
585
585
  # The standard list page size.
586
586
  # @param [String] page_token
587
587
  # The standard list page token.
588
+ # @param [Boolean] return_partial_success
589
+ # When set to true, operations that are reachable are returned as normal, and
590
+ # those that are unreachable are returned in the ListOperationsResponse.
591
+ # unreachable field.This can only be true when reading across collections e.g.
592
+ # when parent is set to "projects/example/locations/-".This field is not by
593
+ # default supported and will result in an UNIMPLEMENTED error if set unless
594
+ # explicitly documented otherwise in service or product specific documentation.
588
595
  # @param [String] fields
589
596
  # Selector specifying which fields to include in a partial response.
590
597
  # @param [String] quota_user
@@ -602,7 +609,7 @@ module Google
602
609
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
603
610
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
604
611
  # @raise [Google::Apis::AuthorizationError] Authorization is required
605
- def list_enterprise_device_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
612
+ def list_enterprise_device_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
606
613
  command = make_simple_command(:get, 'v1/{+name}', options)
607
614
  command.response_representation = Google::Apis::AndroidmanagementV1::ListOperationsResponse::Representation
608
615
  command.response_class = Google::Apis::AndroidmanagementV1::ListOperationsResponse
@@ -610,6 +617,7 @@ module Google
610
617
  command.query['filter'] = filter unless filter.nil?
611
618
  command.query['pageSize'] = page_size unless page_size.nil?
612
619
  command.query['pageToken'] = page_token unless page_token.nil?
620
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
613
621
  command.query['fields'] = fields unless fields.nil?
614
622
  command.query['quotaUser'] = quota_user unless quota_user.nil?
615
623
  execute_or_queue_command(command, &block)
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.101.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.101.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: