Class Service
Represents a user-defined Service.
Implements
Inherited Members
Namespace: Google.Apis.AgentRegistry.v1alpha.Data
Assembly: Google.Apis.AgentRegistry.v1alpha.dll
Syntax
public class Service : IDirectResponseSchema
Properties
AgentSpec
Optional. The spec of the Agent. When agent_spec is set, the type of the service is Agent.
Declaration
[JsonProperty("agentSpec")]
public virtual AgentSpec AgentSpec { get; set; }
Property Value
| Type | Description |
|---|---|
| AgentSpec |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
CreateTimeRaw
Output only. Create time.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Description
Optional. User-defined description of an Service. Can have a maximum length of 2048 characters.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DisplayName
Optional. User-defined display name for the Service. Can have a maximum length of 63 characters.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EndpointSpec
Optional. The spec of the Endpoint. When endpoint_spec is set, the type of the service is Endpoint.
Declaration
[JsonProperty("endpointSpec")]
public virtual EndpointSpec EndpointSpec { get; set; }
Property Value
| Type | Description |
|---|---|
| EndpointSpec |
Interfaces
Optional. The connection details for the Service.
Declaration
[JsonProperty("interfaces")]
public virtual IList<Interface> Interfaces { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<Interface> |
McpServerSpec
Optional. The spec of the MCP Server. When mcp_server_spec is set, the type of the service is MCP Server.
Declaration
[JsonProperty("mcpServerSpec")]
public virtual McpServerSpec McpServerSpec { get; set; }
Property Value
| Type | Description |
|---|---|
| McpServerSpec |
Name
Identifier. The resource name of the Service. Format:
projects/{project}/locations/{location}/services/{service}.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RegistryResource
Output only. The resource name of the resulting Agent, MCP Server, or Endpoint. Format: *
projects/{project}/locations/{location}/mcpServers/{mcp_server} *
projects/{project}/locations/{location}/agents/{agent} *
projects/{project}/locations/{location}/endpoints/{endpoint}
Declaration
[JsonProperty("registryResource")]
public virtual string RegistryResource { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
UpdateTimeRaw
Output only. Update time.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |