google-apis-androidmanagement_v1 0.55.0 → 0.56.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/androidmanagement_v1/classes.rb +62 -0
- data/lib/google/apis/androidmanagement_v1/gem_version.rb +2 -2
- data/lib/google/apis/androidmanagement_v1/representations.rb +20 -0
- data/lib/google/apis/androidmanagement_v1/service.rb +32 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9a05fbb9b86f3de7e618144fa3262572b5c62ee5724eff55c63f5e809be7410
|
4
|
+
data.tar.gz: 07e8a126ef9474d6f7a4b99e244b589f17c9b7b74d86553cc526211b2486ac5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a4dc5368d0c65aad56da0acb14eee33797f6c4304a87b839b758becd5d5f93eac393a99964504681f33e85347cfe6034aa892a81589641ca9e8ddb982db3447
|
7
|
+
data.tar.gz: 7f278269107407aa624db6f8c8cb16e9dea5792090d949044fe7b9abacefa74cfa0ff8d9e2db023f7107bd9b5d7e367f972701ca3a0e277e18342a1d588f49cc
|
data/CHANGELOG.md
CHANGED
@@ -4581,6 +4581,68 @@ module Google
|
|
4581
4581
|
end
|
4582
4582
|
end
|
4583
4583
|
|
4584
|
+
# Information about a device that is available during setup.
|
4585
|
+
class ProvisioningInfo
|
4586
|
+
include Google::Apis::Core::Hashable
|
4587
|
+
|
4588
|
+
# The API level of the Android platform version running on the device.
|
4589
|
+
# Corresponds to the JSON property `apiLevel`
|
4590
|
+
# @return [Fixnum]
|
4591
|
+
attr_accessor :api_level
|
4592
|
+
|
4593
|
+
# The email address of the authenticated user (only present for Google Account
|
4594
|
+
# provisioning method).
|
4595
|
+
# Corresponds to the JSON property `authenticatedUserEmail`
|
4596
|
+
# @return [String]
|
4597
|
+
attr_accessor :authenticated_user_email
|
4598
|
+
|
4599
|
+
# Brand of the device. For example, Google.
|
4600
|
+
# Corresponds to the JSON property `brand`
|
4601
|
+
# @return [String]
|
4602
|
+
attr_accessor :brand
|
4603
|
+
|
4604
|
+
# The name of the enterprise in the form enterprises/`enterprise`.
|
4605
|
+
# Corresponds to the JSON property `enterprise`
|
4606
|
+
# @return [String]
|
4607
|
+
attr_accessor :enterprise
|
4608
|
+
|
4609
|
+
# The management mode of the device or profile.
|
4610
|
+
# Corresponds to the JSON property `managementMode`
|
4611
|
+
# @return [String]
|
4612
|
+
attr_accessor :management_mode
|
4613
|
+
|
4614
|
+
# The model of the device. For example, Asus Nexus 7.
|
4615
|
+
# Corresponds to the JSON property `model`
|
4616
|
+
# @return [String]
|
4617
|
+
attr_accessor :model
|
4618
|
+
|
4619
|
+
# The name of this resource in the form provisioningInfo/`provisioning_info`.
|
4620
|
+
# Corresponds to the JSON property `name`
|
4621
|
+
# @return [String]
|
4622
|
+
attr_accessor :name
|
4623
|
+
|
4624
|
+
# Ownership of the managed device.
|
4625
|
+
# Corresponds to the JSON property `ownership`
|
4626
|
+
# @return [String]
|
4627
|
+
attr_accessor :ownership
|
4628
|
+
|
4629
|
+
def initialize(**args)
|
4630
|
+
update!(**args)
|
4631
|
+
end
|
4632
|
+
|
4633
|
+
# Update properties of this object
|
4634
|
+
def update!(**args)
|
4635
|
+
@api_level = args[:api_level] if args.key?(:api_level)
|
4636
|
+
@authenticated_user_email = args[:authenticated_user_email] if args.key?(:authenticated_user_email)
|
4637
|
+
@brand = args[:brand] if args.key?(:brand)
|
4638
|
+
@enterprise = args[:enterprise] if args.key?(:enterprise)
|
4639
|
+
@management_mode = args[:management_mode] if args.key?(:management_mode)
|
4640
|
+
@model = args[:model] if args.key?(:model)
|
4641
|
+
@name = args[:name] if args.key?(:name)
|
4642
|
+
@ownership = args[:ownership] if args.key?(:ownership)
|
4643
|
+
end
|
4644
|
+
end
|
4645
|
+
|
4584
4646
|
# Configuration info for an HTTP proxy. For a direct proxy, set the host, port,
|
4585
4647
|
# and excluded_hosts fields. For a PAC script proxy, set the pac_uri field.
|
4586
4648
|
class ProxyInfo
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.56.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230705"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -592,6 +592,12 @@ module Google
|
|
592
592
|
include Google::Apis::Core::JsonObjectSupport
|
593
593
|
end
|
594
594
|
|
595
|
+
class ProvisioningInfo
|
596
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
597
|
+
|
598
|
+
include Google::Apis::Core::JsonObjectSupport
|
599
|
+
end
|
600
|
+
|
595
601
|
class ProxyInfo
|
596
602
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
597
603
|
|
@@ -1832,6 +1838,20 @@ module Google
|
|
1832
1838
|
end
|
1833
1839
|
end
|
1834
1840
|
|
1841
|
+
class ProvisioningInfo
|
1842
|
+
# @private
|
1843
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1844
|
+
property :api_level, as: 'apiLevel'
|
1845
|
+
property :authenticated_user_email, as: 'authenticatedUserEmail'
|
1846
|
+
property :brand, as: 'brand'
|
1847
|
+
property :enterprise, as: 'enterprise'
|
1848
|
+
property :management_mode, as: 'managementMode'
|
1849
|
+
property :model, as: 'model'
|
1850
|
+
property :name, as: 'name'
|
1851
|
+
property :ownership, as: 'ownership'
|
1852
|
+
end
|
1853
|
+
end
|
1854
|
+
|
1835
1855
|
class ProxyInfo
|
1836
1856
|
# @private
|
1837
1857
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1093,6 +1093,38 @@ module Google
|
|
1093
1093
|
execute_or_queue_command(command, &block)
|
1094
1094
|
end
|
1095
1095
|
|
1096
|
+
# Get the device provisioning info by the identifier provided via the sign-in
|
1097
|
+
# url.
|
1098
|
+
# @param [String] name
|
1099
|
+
# Required. The identifier that Android Device Policy passes to the 3P sign-in
|
1100
|
+
# page in the form of provisioningInfo/`provisioning_info`.
|
1101
|
+
# @param [String] fields
|
1102
|
+
# Selector specifying which fields to include in a partial response.
|
1103
|
+
# @param [String] quota_user
|
1104
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1105
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1106
|
+
# @param [Google::Apis::RequestOptions] options
|
1107
|
+
# Request-specific options
|
1108
|
+
#
|
1109
|
+
# @yield [result, err] Result & error if block supplied
|
1110
|
+
# @yieldparam result [Google::Apis::AndroidmanagementV1::ProvisioningInfo] parsed result object
|
1111
|
+
# @yieldparam err [StandardError] error object if request failed
|
1112
|
+
#
|
1113
|
+
# @return [Google::Apis::AndroidmanagementV1::ProvisioningInfo]
|
1114
|
+
#
|
1115
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1116
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1117
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1118
|
+
def get_provisioning_info(name, fields: nil, quota_user: nil, options: nil, &block)
|
1119
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1120
|
+
command.response_representation = Google::Apis::AndroidmanagementV1::ProvisioningInfo::Representation
|
1121
|
+
command.response_class = Google::Apis::AndroidmanagementV1::ProvisioningInfo
|
1122
|
+
command.params['name'] = name unless name.nil?
|
1123
|
+
command.query['fields'] = fields unless fields.nil?
|
1124
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1125
|
+
execute_or_queue_command(command, &block)
|
1126
|
+
end
|
1127
|
+
|
1096
1128
|
# Creates an enterprise signup URL.
|
1097
1129
|
# @param [String] callback_url
|
1098
1130
|
# The callback URL that the admin will be redirected to after successfully
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-androidmanagement_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.56.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-07-
|
11
|
+
date: 2023-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidmanagement_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-androidmanagement_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-androidmanagement_v1/v0.56.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidmanagement_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|