public sealed class Service : IMessage<Service>, IEquatable<Service>, IDeepCloneable<Service>, IBufferMessage, IMessageReference documentation and code samples for the Agent Registry v1 API class Service.
Represents a user-defined Service.
Namespace
Google.Cloud.AgentRegistry.V1Assembly
Google.Cloud.AgentRegistry.V1.dll
Constructors
Service()
public Service()Service(Service)
public Service(Service other)| Parameter | |
|---|---|
| Name | Description |
other |
Service |
Properties
AgentSpec
public Service.Types.AgentSpec AgentSpec { get; set; }Optional. The spec of the Agent. When agent_spec is set, the type of
the service is Agent.
| Property Value | |
|---|---|
| Type | Description |
ServiceTypesAgentSpec |
|
CreateTime
public Timestamp CreateTime { get; set; }Output only. Create time.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
Description
public string Description { get; set; }Optional. User-defined description of an Service.
Can have a maximum length of 2048 characters.
| Property Value | |
|---|---|
| Type | Description |
string |
|
DisplayName
public string DisplayName { get; set; }Optional. User-defined display name for the Service.
Can have a maximum length of 63 characters.
| Property Value | |
|---|---|
| Type | Description |
string |
|
EndpointSpec
public Service.Types.EndpointSpec EndpointSpec { get; set; }Optional. The spec of the Endpoint. When endpoint_spec is set, the type
of the service is Endpoint.
| Property Value | |
|---|---|
| Type | Description |
ServiceTypesEndpointSpec |
|
Interfaces
public RepeatedField<Interface> Interfaces { get; }Optional. The connection details for the Service.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldInterface |
|
McpServerSpec
public Service.Types.McpServerSpec McpServerSpec { get; set; }Optional. The spec of the MCP Server. When mcp_server_spec is set, the
type of the service is MCP Server.
| Property Value | |
|---|---|
| Type | Description |
ServiceTypesMcpServerSpec |
|
Name
public string Name { get; set; }Identifier. The resource name of the Service.
Format: projects/{project}/locations/{location}/services/{service}.
| Property Value | |
|---|---|
| Type | Description |
string |
|
RegistryResource
public string RegistryResource { get; set; }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}
| Property Value | |
|---|---|
| Type | Description |
string |
|
ServiceName
public ServiceName ServiceName { get; set; }ServiceName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
ServiceName |
|
SpecCase
public Service.SpecOneofCase SpecCase { get; }| Property Value | |
|---|---|
| Type | Description |
ServiceSpecOneofCase |
|
UpdateTime
public Timestamp UpdateTime { get; set; }Output only. Update time.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|