Reference documentation and code samples for the Agent Registry V1 API class Google::Cloud::AgentRegistry::V1::Service::AgentSpec.
The spec of the agent.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#content
def content() -> ::Google::Protobuf::Struct
Returns
-
(::Google::Protobuf::Struct) — Optional. The content of the Agent spec in the JSON format.
This payload is validated against the schema for the specified type.
The content size is limited to
10KB.
#content=
def content=(value) -> ::Google::Protobuf::Struct
Parameter
-
value (::Google::Protobuf::Struct) — Optional. The content of the Agent spec in the JSON format.
This payload is validated against the schema for the specified type.
The content size is limited to
10KB.
Returns
-
(::Google::Protobuf::Struct) — Optional. The content of the Agent spec in the JSON format.
This payload is validated against the schema for the specified type.
The content size is limited to
10KB.
#type
def type() -> ::Google::Cloud::AgentRegistry::V1::Service::AgentSpec::Type
Returns
- (::Google::Cloud::AgentRegistry::V1::Service::AgentSpec::Type) — Required. The type of the agent spec content.
#type=
def type=(value) -> ::Google::Cloud::AgentRegistry::V1::Service::AgentSpec::Type
Parameter
- value (::Google::Cloud::AgentRegistry::V1::Service::AgentSpec::Type) — Required. The type of the agent spec content.
Returns
- (::Google::Cloud::AgentRegistry::V1::Service::AgentSpec::Type) — Required. The type of the agent spec content.