ServiceState constructor

const ServiceState({
  1. Input<ServiceAgentSpec?>? agentSpec,
  2. Input<String?>? createTime,
  3. Input<String?>? deletionPolicy,
  4. Input<String?>? description,
  5. Input<String?>? displayName,
  6. Input<ServiceEndpointSpec?>? endpointSpec,
  7. Input<List<ServiceInterface>?>? interfaces,
  8. Input<String?>? location,
  9. Input<ServiceMcpServerSpec?>? mcpServerSpec,
  10. Input<String?>? name,
  11. Input<String?>? project,
  12. Input<String?>? registryResource,
  13. Input<String?>? serviceId,
  14. Input<String?>? updateTime,
})

Creates a new ServiceState. agentSpec The spec of the Agent. When set, the type of the Service is Agent. createTime The timestamp when the resource was created. 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. name The resource name of the Service. project The ID of the project in which the resource belongs. registryResource The resource name of the resulting Agent, MCP Server, or Endpoint. serviceId The name of the Service. updateTime The timestamp when the resource was updated.

Implementation

const ServiceState({
  this.agentSpec,
  this.createTime,
  this.deletionPolicy,
  this.description,
  this.displayName,
  this.endpointSpec,
  this.interfaces,
  this.location,
  this.mcpServerSpec,
  this.name,
  this.project,
  this.registryResource,
  this.serviceId,
  this.updateTime,
});