Google Cloud Agent Registry V1 Client - Class EndpointSpec (0.2.0)

Reference documentation and code samples for the Google Cloud Agent Registry V1 Client class EndpointSpec.

The spec of the endpoint.

Generated from protobuf message google.cloud.agentregistry.v1.Service.EndpointSpec

Namespace

Google \ Cloud \ AgentRegistry \ V1 \ Service

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ type int

Required. The type of the endpoint spec content.

↳ content Google\Protobuf\Struct

Optional. The content of the endpoint spec. Reserved for future use.

getType

Required. The type of the endpoint spec content.

Returns
Type Description
int Enum of type Type.

setType

Required. The type of the endpoint spec content.

Parameter
Name Description
var int

Enum of type Type.

Returns
Type Description
$this

getContent

Optional. The content of the endpoint spec.

Reserved for future use.

Returns
Type Description
Google\Protobuf\Struct|null

hasContent

clearContent

setContent

Optional. The content of the endpoint spec.

Reserved for future use.

Parameter
Name Description
var Google\Protobuf\Struct
Returns
Type Description
$this