Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::AgentResource.
Defines the identity of an agent being monitored.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#agent
def agent() -> ::String-
(::String) —
Required. The resource name or identifier of the agent to monitor. The format depends on
agent_type:REASONING_ENGINE://aiplatform.googleapis.com/projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}CLOUD_RUN_SERVICE: the full resource name of the Cloud Run service,//run.googleapis.com/projects/{project}/locations/{location}/services/{service}GKE_WORKLOAD: the full resource name of the Google Kubernetes Engine cluster followed by the agent's OpenTelemetryservice.name,//container.googleapis.com/projects/{project}/locations/{location}/clusters/{cluster}/{service}. For a zonal cluster,zones/{zone}replaceslocations/{location}. Some names end ink8s/namespaces/{namespace}/apps/deployments/{deployment}instead of{service}.GCE_INSTANCE: the full resource name of the Compute Engine instance followed by the agent's OpenTelemetryservice.name,//compute.googleapis.com/projects/{project}/zones/{zone}/instances/{instance}/{service}, where{instance}is the numeric instance ID.AWSandAZURE: an identifier built from the agent's OpenTelemetry resource attributes, usually{platform}:{account}:{region}:{name}.{platform}is thecloud.platformvalue.{account}iscloud.account.id, or the ID of the Google Cloud project that receives the telemetry ifcloud.account.idisn't set.{region}iscloud.region.{name}isfaas.name, or the Kubernetes cluster name followed by/k8s/namespaces/{namespace}/apps/deployments/{deployment}or/{service}. For example,aws_lambda:123456789012:us-east-2:inventory-agent.AGENT_TYPE_OTHER: a stable identifier for the agent, such as the full resource name of its runtime or its OpenTelemetryservice.name.
#agent=
def agent=(value) -> ::String-
value (::String) —
Required. The resource name or identifier of the agent to monitor. The format depends on
agent_type:REASONING_ENGINE://aiplatform.googleapis.com/projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}CLOUD_RUN_SERVICE: the full resource name of the Cloud Run service,//run.googleapis.com/projects/{project}/locations/{location}/services/{service}GKE_WORKLOAD: the full resource name of the Google Kubernetes Engine cluster followed by the agent's OpenTelemetryservice.name,//container.googleapis.com/projects/{project}/locations/{location}/clusters/{cluster}/{service}. For a zonal cluster,zones/{zone}replaceslocations/{location}. Some names end ink8s/namespaces/{namespace}/apps/deployments/{deployment}instead of{service}.GCE_INSTANCE: the full resource name of the Compute Engine instance followed by the agent's OpenTelemetryservice.name,//compute.googleapis.com/projects/{project}/zones/{zone}/instances/{instance}/{service}, where{instance}is the numeric instance ID.AWSandAZURE: an identifier built from the agent's OpenTelemetry resource attributes, usually{platform}:{account}:{region}:{name}.{platform}is thecloud.platformvalue.{account}iscloud.account.id, or the ID of the Google Cloud project that receives the telemetry ifcloud.account.idisn't set.{region}iscloud.region.{name}isfaas.name, or the Kubernetes cluster name followed by/k8s/namespaces/{namespace}/apps/deployments/{deployment}or/{service}. For example,aws_lambda:123456789012:us-east-2:inventory-agent.AGENT_TYPE_OTHER: a stable identifier for the agent, such as the full resource name of its runtime or its OpenTelemetryservice.name.
-
(::String) —
Required. The resource name or identifier of the agent to monitor. The format depends on
agent_type:REASONING_ENGINE://aiplatform.googleapis.com/projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}CLOUD_RUN_SERVICE: the full resource name of the Cloud Run service,//run.googleapis.com/projects/{project}/locations/{location}/services/{service}GKE_WORKLOAD: the full resource name of the Google Kubernetes Engine cluster followed by the agent's OpenTelemetryservice.name,//container.googleapis.com/projects/{project}/locations/{location}/clusters/{cluster}/{service}. For a zonal cluster,zones/{zone}replaceslocations/{location}. Some names end ink8s/namespaces/{namespace}/apps/deployments/{deployment}instead of{service}.GCE_INSTANCE: the full resource name of the Compute Engine instance followed by the agent's OpenTelemetryservice.name,//compute.googleapis.com/projects/{project}/zones/{zone}/instances/{instance}/{service}, where{instance}is the numeric instance ID.AWSandAZURE: an identifier built from the agent's OpenTelemetry resource attributes, usually{platform}:{account}:{region}:{name}.{platform}is thecloud.platformvalue.{account}iscloud.account.id, or the ID of the Google Cloud project that receives the telemetry ifcloud.account.idisn't set.{region}iscloud.region.{name}isfaas.name, or the Kubernetes cluster name followed by/k8s/namespaces/{namespace}/apps/deployments/{deployment}or/{service}. For example,aws_lambda:123456789012:us-east-2:inventory-agent.AGENT_TYPE_OTHER: a stable identifier for the agent, such as the full resource name of its runtime or its OpenTelemetryservice.name.
#agent_framework
def agent_framework() -> ::Google::Cloud::AIPlatform::V1::AgentResource::AgentFramework-
(::Google::Cloud::AIPlatform::V1::AgentResource::AgentFramework) — Optional. The framework used to build the agent, orthogonal to the runtime
agent_type.
#agent_framework=
def agent_framework=(value) -> ::Google::Cloud::AIPlatform::V1::AgentResource::AgentFramework-
value (::Google::Cloud::AIPlatform::V1::AgentResource::AgentFramework) — Optional. The framework used to build the agent, orthogonal to the runtime
agent_type.
-
(::Google::Cloud::AIPlatform::V1::AgentResource::AgentFramework) — Optional. The framework used to build the agent, orthogonal to the runtime
agent_type.
#agent_type
def agent_type() -> ::Google::Cloud::AIPlatform::V1::AgentResource::AgentType- (::Google::Cloud::AIPlatform::V1::AgentResource::AgentType) — Required. The runtime type of the agent.
#agent_type=
def agent_type=(value) -> ::Google::Cloud::AIPlatform::V1::AgentResource::AgentType- value (::Google::Cloud::AIPlatform::V1::AgentResource::AgentType) — Required. The runtime type of the agent.
- (::Google::Cloud::AIPlatform::V1::AgentResource::AgentType) — Required. The runtime type of the agent.
#location
def location() -> ::String-
(::String) — Output only. The region of the agent resource: a Google Cloud location
(for example,
us-central1), or for anAWSorAZUREagent, the region in that cloud (for example,us-east-2).