google-apis-androiddeviceprovisioning_v1 0.15.0 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2c499a50af56993388603057fcae626e5ddb760ca6a6e41fe05f2ab083484833
4
- data.tar.gz: f6cd31a360c1c552e47a710c7248278a8af1470568727d42e4399c8f1ad53cd1
3
+ metadata.gz: 2e314ebb296c6703ebe0ace9667882d9766364342a8807c7933f6e5dab6db9c9
4
+ data.tar.gz: 2c0ceefb9fd7d67fc008e1a65efc3c80f957d01d467cb90816d8ea99290eb967
5
5
  SHA512:
6
- metadata.gz: 3237e220aa9862d74dea7583f00740283e7c00541ebc61f75b94ed4b4a28368e303c7f1fac963b552f1c1be131fbd130f43f7022c461b4aed16ec3cb433f492f
7
- data.tar.gz: a34c635e8f3ba6ead8083de4e06ced5ac153197dc73629dd0a19319e42870d9afb7cd1bf74e4b1bfa6e6aecf96744dee5c6f0f8575e80e424b63a79a4f80c732
6
+ metadata.gz: 1c2ead42f70bc02515458936d3ba1b4325438f81a3455d8369130f328f0a6b2dd058d35528cf87c6f2bb0f1b27a40984ff7386e32bb6945d2cf3b2fde1578d22
7
+ data.tar.gz: 0ccb52f6d2d40917a81dc81f02c53168c8fb0a44f074935e4fab5cec8ebd6bf954833733eaf775cf2bcd59688d08068b118b125aa621c0a152ef7dfd2d759b69
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-androiddeviceprovisioning_v1
2
2
 
3
+ ### v0.16.0 (2022-11-04)
4
+
5
+ * Regenerated from discovery document revision 20221031
6
+
3
7
  ### v0.15.0 (2022-10-20)
4
8
 
5
9
  * Regenerated using generator version 0.11.0
@@ -26,7 +26,7 @@ module Google
26
26
  class ClaimDeviceRequest
27
27
  include Google::Apis::Core::Hashable
28
28
 
29
- # Required. The ID of the customer for whom the device is being claimed.
29
+ # The ID of the customer for whom the device is being claimed.
30
30
  # Corresponds to the JSON property `customerId`
31
31
  # @return [Fixnum]
32
32
  attr_accessor :customer_id
@@ -44,11 +44,28 @@ module Google
44
44
  # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata]
45
45
  attr_accessor :device_metadata
46
46
 
47
+ # The Google Workspace customer ID.
48
+ # Corresponds to the JSON property `googleWorkspaceCustomerId`
49
+ # @return [String]
50
+ attr_accessor :google_workspace_customer_id
51
+
52
+ # Optional. Must and can only be set for Chrome OS devices.
53
+ # Corresponds to the JSON property `preProvisioningToken`
54
+ # @return [String]
55
+ attr_accessor :pre_provisioning_token
56
+
47
57
  # Required. The section type of the device's provisioning record.
48
58
  # Corresponds to the JSON property `sectionType`
49
59
  # @return [String]
50
60
  attr_accessor :section_type
51
61
 
62
+ # Optional. Must and can only be set when DeviceProvisioningSectionType is
63
+ # SECTION_TYPE_SIM_LOCK. The unique identifier of the SimLock profile (go/
64
+ # simlock/profiles).
65
+ # Corresponds to the JSON property `simlockProfileId`
66
+ # @return [Fixnum]
67
+ attr_accessor :simlock_profile_id
68
+
52
69
  def initialize(**args)
53
70
  update!(**args)
54
71
  end
@@ -58,7 +75,10 @@ module Google
58
75
  @customer_id = args[:customer_id] if args.key?(:customer_id)
59
76
  @device_identifier = args[:device_identifier] if args.key?(:device_identifier)
60
77
  @device_metadata = args[:device_metadata] if args.key?(:device_metadata)
78
+ @google_workspace_customer_id = args[:google_workspace_customer_id] if args.key?(:google_workspace_customer_id)
79
+ @pre_provisioning_token = args[:pre_provisioning_token] if args.key?(:pre_provisioning_token)
61
80
  @section_type = args[:section_type] if args.key?(:section_type)
81
+ @simlock_profile_id = args[:simlock_profile_id] if args.key?(:simlock_profile_id)
62
82
  end
63
83
  end
64
84
 
@@ -130,6 +150,11 @@ module Google
130
150
  # @return [String]
131
151
  attr_accessor :company_name
132
152
 
153
+ # A Google Workspace customer.
154
+ # Corresponds to the JSON property `googleWorkspaceAccount`
155
+ # @return [Google::Apis::AndroiddeviceprovisioningV1::GoogleWorkspaceAccount]
156
+ attr_accessor :google_workspace_account
157
+
133
158
  # Input only. The preferred locale of the customer represented as a BCP47
134
159
  # language code. This field is validated on input and requests containing
135
160
  # unsupported language codes will be rejected. Supported language codes: Arabic (
@@ -185,6 +210,7 @@ module Google
185
210
  @admin_emails = args[:admin_emails] if args.key?(:admin_emails)
186
211
  @company_id = args[:company_id] if args.key?(:company_id)
187
212
  @company_name = args[:company_name] if args.key?(:company_name)
213
+ @google_workspace_account = args[:google_workspace_account] if args.key?(:google_workspace_account)
188
214
  @language_code = args[:language_code] if args.key?(:language_code)
189
215
  @name = args[:name] if args.key?(:name)
190
216
  @owner_emails = args[:owner_emails] if args.key?(:owner_emails)
@@ -480,7 +506,7 @@ module Google
480
506
  end
481
507
  end
482
508
 
483
- # An Android device registered for zero-touch enrollment.
509
+ # An Android or Chrome OS device registered for zero-touch enrollment.
484
510
  class Device
485
511
  include Google::Apis::Core::Hashable
486
512
 
@@ -548,7 +574,12 @@ module Google
548
574
  # @return [String]
549
575
  attr_accessor :additional_service
550
576
 
551
- # The ID of the Customer that purchased the device.
577
+ # The ID of the Google Workspace account that owns the Chrome OS device.
578
+ # Corresponds to the JSON property `googleWorkspaceCustomerId`
579
+ # @return [String]
580
+ attr_accessor :google_workspace_customer_id
581
+
582
+ # The ID of the Customer that purchased the Android device.
552
583
  # Corresponds to the JSON property `ownerCompanyId`
553
584
  # @return [Fixnum]
554
585
  attr_accessor :owner_company_id
@@ -582,6 +613,7 @@ module Google
582
613
  # Update properties of this object
583
614
  def update!(**args)
584
615
  @additional_service = args[:additional_service] if args.key?(:additional_service)
616
+ @google_workspace_customer_id = args[:google_workspace_customer_id] if args.key?(:google_workspace_customer_id)
585
617
  @owner_company_id = args[:owner_company_id] if args.key?(:owner_company_id)
586
618
  @reseller_id = args[:reseller_id] if args.key?(:reseller_id)
587
619
  @section_type = args[:section_type] if args.key?(:section_type)
@@ -596,13 +628,24 @@ module Google
596
628
  class DeviceIdentifier
597
629
  include Google::Apis::Core::Hashable
598
630
 
631
+ # An identifier provided by OEMs, carried through the production and sales
632
+ # process. Only applicable to Chrome OS devices.
633
+ # Corresponds to the JSON property `chromeOsAttestedDeviceId`
634
+ # @return [String]
635
+ attr_accessor :chrome_os_attested_device_id
636
+
637
+ # The type of the device
638
+ # Corresponds to the JSON property `deviceType`
639
+ # @return [String]
640
+ attr_accessor :device_type
641
+
599
642
  # The device’s IMEI number. Validated on input.
600
643
  # Corresponds to the JSON property `imei`
601
644
  # @return [String]
602
645
  attr_accessor :imei
603
646
 
604
647
  # The device manufacturer’s name. Matches the device's built-in value returned
605
- # from `android.os.Build.MANUFACTURER`. Allowed values are listed in [
648
+ # from `android.os.Build.MANUFACTURER`. Allowed values are listed in [Android
606
649
  # manufacturers](/zero-touch/resources/manufacturer-names#manufacturers-names).
607
650
  # Corresponds to the JSON property `manufacturer`
608
651
  # @return [String]
@@ -613,9 +656,9 @@ module Google
613
656
  # @return [String]
614
657
  attr_accessor :meid
615
658
 
616
- # The device model's name. Matches the device's built-in value returned from `
617
- # android.os.Build.MODEL`. Allowed values are listed in [models](/zero-touch/
618
- # resources/manufacturer-names#model-names).
659
+ # The device model's name. Allowed values are listed in [Android models](/zero-
660
+ # touch/resources/manufacturer-names#model-names) and [Chrome OS models](https://
661
+ # support.google.com/chrome/a/answer/10130175?hl=en#identify_compatible).
619
662
  # Corresponds to the JSON property `model`
620
663
  # @return [String]
621
664
  attr_accessor :model
@@ -632,6 +675,8 @@ module Google
632
675
 
633
676
  # Update properties of this object
634
677
  def update!(**args)
678
+ @chrome_os_attested_device_id = args[:chrome_os_attested_device_id] if args.key?(:chrome_os_attested_device_id)
679
+ @device_type = args[:device_type] if args.key?(:device_type)
635
680
  @imei = args[:imei] if args.key?(:imei)
636
681
  @manufacturer = args[:manufacturer] if args.key?(:manufacturer)
637
682
  @meid = args[:meid] if args.key?(:meid)
@@ -712,7 +757,7 @@ module Google
712
757
  attr_accessor :processing_status
713
758
 
714
759
  # The processing progress of the operation. Measured as a number from 0 to 100.
715
- # A value of 10O doesnt always mean the operation completed—check for the
760
+ # A value of 10O doesn't always mean the operation completed—check for the
716
761
  # inclusion of a `done` field.
717
762
  # Corresponds to the JSON property `progress`
718
763
  # @return [Fixnum]
@@ -885,11 +930,16 @@ module Google
885
930
  class FindDevicesByOwnerRequest
886
931
  include Google::Apis::Core::Hashable
887
932
 
888
- # Required. The list of customer IDs to search for.
933
+ # The list of customer IDs to search for.
889
934
  # Corresponds to the JSON property `customerId`
890
935
  # @return [Array<Fixnum>]
891
936
  attr_accessor :customer_id
892
937
 
938
+ # The list of IDs of Google Workspace accounts to search for.
939
+ # Corresponds to the JSON property `googleWorkspaceCustomerId`
940
+ # @return [Array<String>]
941
+ attr_accessor :google_workspace_customer_id
942
+
893
943
  # Required. The maximum number of devices to show in a page of results. Must be
894
944
  # between 1 and 100 inclusive.
895
945
  # Corresponds to the JSON property `limit`
@@ -913,6 +963,7 @@ module Google
913
963
  # Update properties of this object
914
964
  def update!(**args)
915
965
  @customer_id = args[:customer_id] if args.key?(:customer_id)
966
+ @google_workspace_customer_id = args[:google_workspace_customer_id] if args.key?(:google_workspace_customer_id)
916
967
  @limit = args[:limit] if args.key?(:limit)
917
968
  @page_token = args[:page_token] if args.key?(:page_token)
918
969
  @section_type = args[:section_type] if args.key?(:section_type)
@@ -951,6 +1002,31 @@ module Google
951
1002
  end
952
1003
  end
953
1004
 
1005
+ # A Google Workspace customer.
1006
+ class GoogleWorkspaceAccount
1007
+ include Google::Apis::Core::Hashable
1008
+
1009
+ # Required. The customer ID.
1010
+ # Corresponds to the JSON property `customerId`
1011
+ # @return [String]
1012
+ attr_accessor :customer_id
1013
+
1014
+ # Output only. The pre-provisioning tokens previously used to claim devices.
1015
+ # Corresponds to the JSON property `preProvisioningTokens`
1016
+ # @return [Array<String>]
1017
+ attr_accessor :pre_provisioning_tokens
1018
+
1019
+ def initialize(**args)
1020
+ update!(**args)
1021
+ end
1022
+
1023
+ # Update properties of this object
1024
+ def update!(**args)
1025
+ @customer_id = args[:customer_id] if args.key?(:customer_id)
1026
+ @pre_provisioning_tokens = args[:pre_provisioning_tokens] if args.key?(:pre_provisioning_tokens)
1027
+ end
1028
+ end
1029
+
954
1030
  # Response message of all customers related to this partner.
955
1031
  class ListCustomersResponse
956
1032
  include Google::Apis::Core::Hashable
@@ -1145,7 +1221,7 @@ module Google
1145
1221
  class PartnerClaim
1146
1222
  include Google::Apis::Core::Hashable
1147
1223
 
1148
- # Required. The ID of the customer for whom the device is being claimed.
1224
+ # The ID of the customer for whom the device is being claimed.
1149
1225
  # Corresponds to the JSON property `customerId`
1150
1226
  # @return [Fixnum]
1151
1227
  attr_accessor :customer_id
@@ -1163,6 +1239,16 @@ module Google
1163
1239
  # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata]
1164
1240
  attr_accessor :device_metadata
1165
1241
 
1242
+ # The Google Workspace customer ID.
1243
+ # Corresponds to the JSON property `googleWorkspaceCustomerId`
1244
+ # @return [String]
1245
+ attr_accessor :google_workspace_customer_id
1246
+
1247
+ # Optional. Must and can only be set for Chrome OS devices.
1248
+ # Corresponds to the JSON property `preProvisioningToken`
1249
+ # @return [String]
1250
+ attr_accessor :pre_provisioning_token
1251
+
1166
1252
  # Required. The section type of the device's provisioning record.
1167
1253
  # Corresponds to the JSON property `sectionType`
1168
1254
  # @return [String]
@@ -1177,6 +1263,8 @@ module Google
1177
1263
  @customer_id = args[:customer_id] if args.key?(:customer_id)
1178
1264
  @device_identifier = args[:device_identifier] if args.key?(:device_identifier)
1179
1265
  @device_metadata = args[:device_metadata] if args.key?(:device_metadata)
1266
+ @google_workspace_customer_id = args[:google_workspace_customer_id] if args.key?(:google_workspace_customer_id)
1267
+ @pre_provisioning_token = args[:pre_provisioning_token] if args.key?(:pre_provisioning_token)
1180
1268
  @section_type = args[:section_type] if args.key?(:section_type)
1181
1269
  end
1182
1270
  end
@@ -1231,7 +1319,7 @@ module Google
1231
1319
  class PerDeviceStatusInBatch
1232
1320
  include Google::Apis::Core::Hashable
1233
1321
 
1234
- # If processing succeeds, the device ID of the device.
1322
+ # If processing succeeds, the device ID of the Android device.
1235
1323
  # Corresponds to the JSON property `deviceId`
1236
1324
  # @return [Fixnum]
1237
1325
  attr_accessor :device_id
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AndroiddeviceprovisioningV1
18
18
  # Version of the google-apis-androiddeviceprovisioning_v1 gem
19
- GEM_VERSION = "0.15.0"
19
+ GEM_VERSION = "0.16.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220319"
25
+ REVISION = "20221031"
26
26
  end
27
27
  end
28
28
  end
@@ -178,6 +178,12 @@ module Google
178
178
  include Google::Apis::Core::JsonObjectSupport
179
179
  end
180
180
 
181
+ class GoogleWorkspaceAccount
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
181
187
  class ListCustomersResponse
182
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
189
 
@@ -270,7 +276,10 @@ module Google
270
276
 
271
277
  property :device_metadata, as: 'deviceMetadata', class: Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata, decorator: Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata::Representation
272
278
 
279
+ property :google_workspace_customer_id, as: 'googleWorkspaceCustomerId'
280
+ property :pre_provisioning_token, as: 'preProvisioningToken'
273
281
  property :section_type, as: 'sectionType'
282
+ property :simlock_profile_id, :numeric_string => true, as: 'simlockProfileId'
274
283
  end
275
284
  end
276
285
 
@@ -296,6 +305,8 @@ module Google
296
305
  collection :admin_emails, as: 'adminEmails'
297
306
  property :company_id, :numeric_string => true, as: 'companyId'
298
307
  property :company_name, as: 'companyName'
308
+ property :google_workspace_account, as: 'googleWorkspaceAccount', class: Google::Apis::AndroiddeviceprovisioningV1::GoogleWorkspaceAccount, decorator: Google::Apis::AndroiddeviceprovisioningV1::GoogleWorkspaceAccount::Representation
309
+
299
310
  property :language_code, as: 'languageCode'
300
311
  property :name, as: 'name'
301
312
  collection :owner_emails, as: 'ownerEmails'
@@ -406,6 +417,7 @@ module Google
406
417
  # @private
407
418
  class Representation < Google::Apis::Core::JsonRepresentation
408
419
  property :additional_service, as: 'additionalService'
420
+ property :google_workspace_customer_id, as: 'googleWorkspaceCustomerId'
409
421
  property :owner_company_id, :numeric_string => true, as: 'ownerCompanyId'
410
422
  property :reseller_id, :numeric_string => true, as: 'resellerId'
411
423
  property :section_type, as: 'sectionType'
@@ -417,6 +429,8 @@ module Google
417
429
  class DeviceIdentifier
418
430
  # @private
419
431
  class Representation < Google::Apis::Core::JsonRepresentation
432
+ property :chrome_os_attested_device_id, as: 'chromeOsAttestedDeviceId'
433
+ property :device_type, as: 'deviceType'
420
434
  property :imei, as: 'imei'
421
435
  property :manufacturer, as: 'manufacturer'
422
436
  property :meid, as: 'meid'
@@ -498,6 +512,7 @@ module Google
498
512
  # @private
499
513
  class Representation < Google::Apis::Core::JsonRepresentation
500
514
  collection :customer_id, as: 'customerId'
515
+ collection :google_workspace_customer_id, as: 'googleWorkspaceCustomerId'
501
516
  property :limit, :numeric_string => true, as: 'limit'
502
517
  property :page_token, as: 'pageToken'
503
518
  property :section_type, as: 'sectionType'
@@ -514,6 +529,14 @@ module Google
514
529
  end
515
530
  end
516
531
 
532
+ class GoogleWorkspaceAccount
533
+ # @private
534
+ class Representation < Google::Apis::Core::JsonRepresentation
535
+ property :customer_id, as: 'customerId'
536
+ collection :pre_provisioning_tokens, as: 'preProvisioningTokens'
537
+ end
538
+ end
539
+
517
540
  class ListCustomersResponse
518
541
  # @private
519
542
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -578,6 +601,8 @@ module Google
578
601
 
579
602
  property :device_metadata, as: 'deviceMetadata', class: Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata, decorator: Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata::Representation
580
603
 
604
+ property :google_workspace_customer_id, as: 'googleWorkspaceCustomerId'
605
+ property :pre_provisioning_token, as: 'preProvisioningToken'
581
606
  property :section_type, as: 'sectionType'
582
607
  end
583
608
  end
@@ -738,7 +738,7 @@ module Google
738
738
  execute_or_queue_command(command, &block)
739
739
  end
740
740
 
741
- # Updates reseller metadata associated with the device.
741
+ # Updates reseller metadata associated with the device. Android devices only.
742
742
  # @param [Fixnum] metadata_owner_id
743
743
  # Required. The owner of the newly set metadata. Set this to the partner ID.
744
744
  # @param [Fixnum] device_id
@@ -845,7 +845,7 @@ module Google
845
845
  # Updates the reseller metadata attached to a batch of devices. This method
846
846
  # updates devices asynchronously and returns an `Operation` that can be used to
847
847
  # track progress. Read [Long‑running batch operations](/zero-touch/guides/how-it-
848
- # works#operations).
848
+ # works#operations). Android Devices only.
849
849
  # @param [Fixnum] partner_id
850
850
  # Required. The reseller partner ID.
851
851
  # @param [Google::Apis::AndroiddeviceprovisioningV1::UpdateDeviceMetadataInBatchRequest] update_device_metadata_in_batch_request_object
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-androiddeviceprovisioning_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.16.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: 2022-10-26 00:00:00.000000000 Z
11
+ date: 2022-11-07 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-androiddeviceprovisioning_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-androiddeviceprovisioning_v1/v0.15.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-androiddeviceprovisioning_v1/v0.16.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androiddeviceprovisioning_v1
63
63
  post_install_message:
64
64
  rdoc_options: []