toAgentEngine function

List<String> toAgentEngine(
  1. DeployCommand command
)

The gcloud alpha ai reasoning-engines deploy command from command.

Implementation

List<String> toAgentEngine(DeployCommand command) {
  validateGcloudExtraArgs(command.extraArgs);
  return <String>[
    'gcloud',
    'alpha',
    'ai',
    'reasoning-engines',
    'deploy',
    '--project',
    command.project,
    '--region',
    command.region,
    '--image',
    command.image,
    ...command.extraArgs,
  ];
}