Autogenerated update (2017-11-21)
Update: - androiddeviceprovisioning_v1
This commit is contained in:
		
							parent
							
								
									fe715c6740
								
							
						
					
					
						commit
						e8270e7cfd
					
				|  | @ -26,7 +26,7 @@ module Google | ||||||
|     # @see https://developers.google.com/zero-touch/ |     # @see https://developers.google.com/zero-touch/ | ||||||
|     module AndroiddeviceprovisioningV1 |     module AndroiddeviceprovisioningV1 | ||||||
|       VERSION = 'V1' |       VERSION = 'V1' | ||||||
|       REVISION = '20170916' |       REVISION = '20171118' | ||||||
|     end |     end | ||||||
|   end |   end | ||||||
| end | end | ||||||
|  |  | ||||||
|  | @ -31,7 +31,8 @@ module Google | ||||||
|         # @return [Fixnum] |         # @return [Fixnum] | ||||||
|         attr_accessor :customer_id |         attr_accessor :customer_id | ||||||
|        |        | ||||||
|         # Identifies a unique device. |         # Encapsulates hardware and product IDs to identify a manufactured device. To | ||||||
|  |         # learn more, read [Identifiers](/zero-touch/guides/identifiers). | ||||||
|         # Corresponds to the JSON property `deviceIdentifier` |         # Corresponds to the JSON property `deviceIdentifier` | ||||||
|         # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier] |         # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier] | ||||||
|         attr_accessor :device_identifier |         attr_accessor :device_identifier | ||||||
|  | @ -167,37 +168,45 @@ module Google | ||||||
|         end |         end | ||||||
|       end |       end | ||||||
|        |        | ||||||
|       # An Android device. |       # An Android device registered for zero-touch enrollment. | ||||||
|       class Device |       class Device | ||||||
|         include Google::Apis::Core::Hashable |         include Google::Apis::Core::Hashable | ||||||
|        |        | ||||||
|         # Claims. |         # Output only. The provisioning claims for a device. Devices claimed for | ||||||
|  |         # zero-touch enrollment have a claim with the type `SECTION_TYPE_ZERO_TOUCH`. | ||||||
|  |         # Call | ||||||
|  |         # `partners.devices.unclaim` | ||||||
|  |         # or | ||||||
|  |         # `partners.devices.unclaimAsync` | ||||||
|  |         # to remove the device from zero-touch enrollment. | ||||||
|         # Corresponds to the JSON property `claims` |         # Corresponds to the JSON property `claims` | ||||||
|         # @return [Array<Google::Apis::AndroiddeviceprovisioningV1::DeviceClaim>] |         # @return [Array<Google::Apis::AndroiddeviceprovisioningV1::DeviceClaim>] | ||||||
|         attr_accessor :claims |         attr_accessor :claims | ||||||
|        |        | ||||||
|         # The resource name of the configuration. |         # Not available to resellers. | ||||||
|         # Only set for customers. |  | ||||||
|         # Corresponds to the JSON property `configuration` |         # Corresponds to the JSON property `configuration` | ||||||
|         # @return [String] |         # @return [String] | ||||||
|         attr_accessor :configuration |         attr_accessor :configuration | ||||||
|        |        | ||||||
|         # Device ID. |         # Output only. The ID of the device. Assigned by the server. | ||||||
|         # Corresponds to the JSON property `deviceId` |         # Corresponds to the JSON property `deviceId` | ||||||
|         # @return [Fixnum] |         # @return [Fixnum] | ||||||
|         attr_accessor :device_id |         attr_accessor :device_id | ||||||
|        |        | ||||||
|         # Identifies a unique device. |         # Encapsulates hardware and product IDs to identify a manufactured device. To | ||||||
|  |         # learn more, read [Identifiers](/zero-touch/guides/identifiers). | ||||||
|         # Corresponds to the JSON property `deviceIdentifier` |         # Corresponds to the JSON property `deviceIdentifier` | ||||||
|         # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier] |         # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier] | ||||||
|         attr_accessor :device_identifier |         attr_accessor :device_identifier | ||||||
|        |        | ||||||
|         # A key-value pair of the device metadata. |         # Metadata entries that can be attached to a `Device`. To learn more, read | ||||||
|  |         # [Device metadata](/zero-touch/guides/metadata). | ||||||
|         # Corresponds to the JSON property `deviceMetadata` |         # Corresponds to the JSON property `deviceMetadata` | ||||||
|         # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata] |         # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata] | ||||||
|         attr_accessor :device_metadata |         attr_accessor :device_metadata | ||||||
|        |        | ||||||
|         # Resource name in `partners/[PARTNER_ID]/devices/[DEVICE_ID]`. |         # Output only. The API resource name in the format | ||||||
|  |         # `partners/[PARTNER_ID]/devices/[DEVICE_ID]`. Assigned by the server. | ||||||
|         # Corresponds to the JSON property `name` |         # Corresponds to the JSON property `name` | ||||||
|         # @return [String] |         # @return [String] | ||||||
|         attr_accessor :name |         attr_accessor :name | ||||||
|  | @ -217,16 +226,19 @@ module Google | ||||||
|         end |         end | ||||||
|       end |       end | ||||||
|        |        | ||||||
|       # Information about a device claimed for a partner. |       # A record of a device claimed by a reseller for a customer. Devices claimed | ||||||
|  |       # for zero-touch enrollment have a claim with the type | ||||||
|  |       # `SECTION_TYPE_ZERO_TOUCH`. To learn more, read | ||||||
|  |       # [Claim devices for customers](/zero-touch/guides/how-it-works#claim). | ||||||
|       class DeviceClaim |       class DeviceClaim | ||||||
|         include Google::Apis::Core::Hashable |         include Google::Apis::Core::Hashable | ||||||
|        |        | ||||||
|         # Owner ID. |         # The ID of the Customer that purchased the device. | ||||||
|         # Corresponds to the JSON property `ownerCompanyId` |         # Corresponds to the JSON property `ownerCompanyId` | ||||||
|         # @return [Fixnum] |         # @return [Fixnum] | ||||||
|         attr_accessor :owner_company_id |         attr_accessor :owner_company_id | ||||||
|        |        | ||||||
|         # Section type of the device claim. |         # Output only. The type of claim made on the device. | ||||||
|         # Corresponds to the JSON property `sectionType` |         # Corresponds to the JSON property `sectionType` | ||||||
|         # @return [String] |         # @return [String] | ||||||
|         attr_accessor :section_type |         attr_accessor :section_type | ||||||
|  | @ -242,28 +254,30 @@ module Google | ||||||
|         end |         end | ||||||
|       end |       end | ||||||
|        |        | ||||||
|       # Identifies a unique device. |       # Encapsulates hardware and product IDs to identify a manufactured device. To | ||||||
|  |       # learn more, read [Identifiers](/zero-touch/guides/identifiers). | ||||||
|       class DeviceIdentifier |       class DeviceIdentifier | ||||||
|         include Google::Apis::Core::Hashable |         include Google::Apis::Core::Hashable | ||||||
|        |        | ||||||
|         # IMEI number. |         # The device’s IMEI number. Validated on input. | ||||||
|         # Corresponds to the JSON property `imei` |         # Corresponds to the JSON property `imei` | ||||||
|         # @return [String] |         # @return [String] | ||||||
|         attr_accessor :imei |         attr_accessor :imei | ||||||
|        |        | ||||||
|         # Manufacturer name to match `android.os.Build.MANUFACTURER` (required). |         # Required. The device manufacturer’s name. Matches the device's built-in | ||||||
|         # Allowed values listed in |         # value returned from `android.os.Build.MANUFACTURER`. Allowed values are | ||||||
|         # [manufacturer names](/zero-touch/resources/manufacturer-names). |         # listed in [manufacturer names](/zero-touch/resources/manufacturer-names). | ||||||
|         # Corresponds to the JSON property `manufacturer` |         # Corresponds to the JSON property `manufacturer` | ||||||
|         # @return [String] |         # @return [String] | ||||||
|         attr_accessor :manufacturer |         attr_accessor :manufacturer | ||||||
|        |        | ||||||
|         # MEID number. |         # The device’s MEID number. | ||||||
|         # Corresponds to the JSON property `meid` |         # Corresponds to the JSON property `meid` | ||||||
|         # @return [String] |         # @return [String] | ||||||
|         attr_accessor :meid |         attr_accessor :meid | ||||||
|        |        | ||||||
|         # Serial number (optional). |         # The manufacturer's serial number for the device. This value might not be | ||||||
|  |         # unique. | ||||||
|         # Corresponds to the JSON property `serialNumber` |         # Corresponds to the JSON property `serialNumber` | ||||||
|         # @return [String] |         # @return [String] | ||||||
|         attr_accessor :serial_number |         attr_accessor :serial_number | ||||||
|  | @ -281,11 +295,12 @@ module Google | ||||||
|         end |         end | ||||||
|       end |       end | ||||||
|        |        | ||||||
|       # A key-value pair of the device metadata. |       # Metadata entries that can be attached to a `Device`. To learn more, read | ||||||
|  |       # [Device metadata](/zero-touch/guides/metadata). | ||||||
|       class DeviceMetadata |       class DeviceMetadata | ||||||
|         include Google::Apis::Core::Hashable |         include Google::Apis::Core::Hashable | ||||||
|        |        | ||||||
|         # Metadata entries |         # Metadata entries recorded as key-value pairs. | ||||||
|         # Corresponds to the JSON property `entries` |         # Corresponds to the JSON property `entries` | ||||||
|         # @return [Hash<String,String>] |         # @return [Hash<String,String>] | ||||||
|         attr_accessor :entries |         attr_accessor :entries | ||||||
|  | @ -380,7 +395,8 @@ module Google | ||||||
|       class FindDevicesByDeviceIdentifierRequest |       class FindDevicesByDeviceIdentifierRequest | ||||||
|         include Google::Apis::Core::Hashable |         include Google::Apis::Core::Hashable | ||||||
|        |        | ||||||
|         # Identifies a unique device. |         # Encapsulates hardware and product IDs to identify a manufactured device. To | ||||||
|  |         # learn more, read [Identifiers](/zero-touch/guides/identifiers). | ||||||
|         # Corresponds to the JSON property `deviceIdentifier` |         # Corresponds to the JSON property `deviceIdentifier` | ||||||
|         # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier] |         # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier] | ||||||
|         attr_accessor :device_identifier |         attr_accessor :device_identifier | ||||||
|  | @ -648,12 +664,14 @@ module Google | ||||||
|         # @return [Fixnum] |         # @return [Fixnum] | ||||||
|         attr_accessor :customer_id |         attr_accessor :customer_id | ||||||
|        |        | ||||||
|         # Identifies a unique device. |         # Encapsulates hardware and product IDs to identify a manufactured device. To | ||||||
|  |         # learn more, read [Identifiers](/zero-touch/guides/identifiers). | ||||||
|         # Corresponds to the JSON property `deviceIdentifier` |         # Corresponds to the JSON property `deviceIdentifier` | ||||||
|         # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier] |         # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier] | ||||||
|         attr_accessor :device_identifier |         attr_accessor :device_identifier | ||||||
|        |        | ||||||
|         # A key-value pair of the device metadata. |         # Metadata entries that can be attached to a `Device`. To learn more, read | ||||||
|  |         # [Device metadata](/zero-touch/guides/metadata). | ||||||
|         # Corresponds to the JSON property `deviceMetadata` |         # Corresponds to the JSON property `deviceMetadata` | ||||||
|         # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata] |         # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata] | ||||||
|         attr_accessor :device_metadata |         attr_accessor :device_metadata | ||||||
|  | @ -685,7 +703,8 @@ module Google | ||||||
|         # @return [Fixnum] |         # @return [Fixnum] | ||||||
|         attr_accessor :device_id |         attr_accessor :device_id | ||||||
|        |        | ||||||
|         # Identifies a unique device. |         # Encapsulates hardware and product IDs to identify a manufactured device. To | ||||||
|  |         # learn more, read [Identifiers](/zero-touch/guides/identifiers). | ||||||
|         # Corresponds to the JSON property `deviceIdentifier` |         # Corresponds to the JSON property `deviceIdentifier` | ||||||
|         # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier] |         # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier] | ||||||
|         attr_accessor :device_identifier |         attr_accessor :device_identifier | ||||||
|  | @ -825,7 +844,8 @@ module Google | ||||||
|         # @return [Fixnum] |         # @return [Fixnum] | ||||||
|         attr_accessor :device_id |         attr_accessor :device_id | ||||||
|        |        | ||||||
|         # Identifies a unique device. |         # Encapsulates hardware and product IDs to identify a manufactured device. To | ||||||
|  |         # learn more, read [Identifiers](/zero-touch/guides/identifiers). | ||||||
|         # Corresponds to the JSON property `deviceIdentifier` |         # Corresponds to the JSON property `deviceIdentifier` | ||||||
|         # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier] |         # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier] | ||||||
|         attr_accessor :device_identifier |         attr_accessor :device_identifier | ||||||
|  | @ -889,7 +909,8 @@ module Google | ||||||
|       class UpdateDeviceMetadataRequest |       class UpdateDeviceMetadataRequest | ||||||
|         include Google::Apis::Core::Hashable |         include Google::Apis::Core::Hashable | ||||||
|        |        | ||||||
|         # A key-value pair of the device metadata. |         # Metadata entries that can be attached to a `Device`. To learn more, read | ||||||
|  |         # [Device metadata](/zero-touch/guides/metadata). | ||||||
|         # Corresponds to the JSON property `deviceMetadata` |         # Corresponds to the JSON property `deviceMetadata` | ||||||
|         # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata] |         # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata] | ||||||
|         attr_accessor :device_metadata |         attr_accessor :device_metadata | ||||||
|  | @ -913,12 +934,14 @@ module Google | ||||||
|         # @return [Fixnum] |         # @return [Fixnum] | ||||||
|         attr_accessor :device_id |         attr_accessor :device_id | ||||||
|        |        | ||||||
|         # Identifies a unique device. |         # Encapsulates hardware and product IDs to identify a manufactured device. To | ||||||
|  |         # learn more, read [Identifiers](/zero-touch/guides/identifiers). | ||||||
|         # Corresponds to the JSON property `deviceIdentifier` |         # Corresponds to the JSON property `deviceIdentifier` | ||||||
|         # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier] |         # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier] | ||||||
|         attr_accessor :device_identifier |         attr_accessor :device_identifier | ||||||
|        |        | ||||||
|         # A key-value pair of the device metadata. |         # Metadata entries that can be attached to a `Device`. To learn more, read | ||||||
|  |         # [Device metadata](/zero-touch/guides/metadata). | ||||||
|         # Corresponds to the JSON property `deviceMetadata` |         # Corresponds to the JSON property `deviceMetadata` | ||||||
|         # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata] |         # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata] | ||||||
|         attr_accessor :device_metadata |         attr_accessor :device_metadata | ||||||
|  |  | ||||||
|  | @ -85,7 +85,7 @@ module Google | ||||||
|         # by calling API methods or using their zero-touch enrollment portal. The API |         # by calling API methods or using their zero-touch enrollment portal. The API | ||||||
|         # doesn't notify the customer that they have access. |         # doesn't notify the customer that they have access. | ||||||
|         # @param [String] parent |         # @param [String] parent | ||||||
|         #   Required. The parent resource ID in format `partners/[PARTNER_ID]` that |         #   Required. The parent resource ID in the format `partners/[PARTNER_ID]` that | ||||||
|         #   identifies the reseller. |         #   identifies the reseller. | ||||||
|         # @param [Google::Apis::AndroiddeviceprovisioningV1::CreateCustomerRequest] create_customer_request_object |         # @param [Google::Apis::AndroiddeviceprovisioningV1::CreateCustomerRequest] create_customer_request_object | ||||||
|         # @param [String] fields |         # @param [String] fields | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue