ServiceArgs constructor

const ServiceArgs({
  1. Input<ServiceAgentSpec?>? agentSpec,
  2. Input<String?>? deletionPolicy,
  3. Input<String?>? description,
  4. Input<String?>? displayName,
  5. Input<ServiceEndpointSpec?>? endpointSpec,
  6. Input<List<ServiceInterface>?>? interfaces,
  7. required Input<String> location,
  8. Input<ServiceMcpServerSpec?>? mcpServerSpec,
  9. Input<String?>? project,
  10. required Input<String> serviceId,
})

Creates a new ServiceArgs. agentSpec The spec of the Agent. When set, the type of the Service is Agent. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. description The description of the Service. displayName User-defined display name for the Service. Can have a maximum length of 63 characters. endpointSpec The spec of the Endpoint. When set, the type of the Service is Endpoint. interfaces The connection details for the Service. location The location of the resource. mcpServerSpec The spec of the MCP Server. When set, the type of the Service is MCP Server. project The ID of the project in which the resource belongs. serviceId The name of the Service.

Implementation

const ServiceArgs({
  this.agentSpec,
  this.deletionPolicy,
  this.description,
  this.displayName,
  this.endpointSpec,
  this.interfaces,
  required this.location,
  this.mcpServerSpec,
  this.project,
  required this.serviceId,
});