def MakeSpecificSKUAllocationMessage(
    messages, vm_count, accelerators, local_ssds, machine_type,
    min_cpu_platform):
  """Constructs a single specific sku allocation message object."""
  prop_msgs = (
      messages.AllocationSpecificSKUAllocationAllocatedInstanceProperties)
  return messages.AllocationSpecificSKUAllocation(
      count=vm_count,
      instanceProperties=prop_msgs(
          guestAccelerators=accelerators,
          localSsds=local_ssds,
          machineType=machine_type,
          minCpuPlatform=min_cpu_platform))