Class: Google::Apis::AgentregistryV1alpha::Endpoint
- Inherits:
-
Object
- Object
- Google::Apis::AgentregistryV1alpha::Endpoint
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/agentregistry_v1alpha/classes.rb,
lib/google/apis/agentregistry_v1alpha/representations.rb,
lib/google/apis/agentregistry_v1alpha/representations.rb
Overview
Represents an Endpoint.
Instance Attribute Summary collapse
-
#attributes ⇒ Hash<String,Hash<String,Object>>
Output only.
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Output only.
-
#display_name ⇒ String
Output only.
-
#endpoint_id ⇒ String
Output only.
-
#interfaces ⇒ Array<Google::Apis::AgentregistryV1alpha::Interface>
Required.
-
#name ⇒ String
Identifier.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Endpoint
constructor
A new instance of Endpoint.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Endpoint
Returns a new instance of Endpoint.
408 409 410 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 408 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attributes ⇒ Hash<String,Hash<String,Object>>
Output only. Attributes of the Endpoint. Valid values: * agentregistry.
googleapis.com/system/RuntimeReference: "uri": "//..." - the URI of the
underlying resource hosting the Endpoint, for example, the GKE Deployment.
Corresponds to the JSON property attributes
370 371 372 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 370 def attributes @attributes end |
#create_time ⇒ String
Output only. Create time.
Corresponds to the JSON property createTime
375 376 377 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 375 def create_time @create_time end |
#description ⇒ String
Output only. Description of an Endpoint.
Corresponds to the JSON property description
380 381 382 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 380 def description @description end |
#display_name ⇒ String
Output only. Display name for the Endpoint.
Corresponds to the JSON property displayName
385 386 387 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 385 def display_name @display_name end |
#endpoint_id ⇒ String
Output only. A stable, globally unique identifier for Endpoint.
Corresponds to the JSON property endpointId
390 391 392 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 390 def endpoint_id @endpoint_id end |
#interfaces ⇒ Array<Google::Apis::AgentregistryV1alpha::Interface>
Required. The connection details for the Endpoint.
Corresponds to the JSON property interfaces
395 396 397 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 395 def interfaces @interfaces end |
#name ⇒ String
Identifier. The resource name of the Endpoint. Format: projects/project/
locations/location/endpoints/endpoint`.
Corresponds to the JSON propertyname`
401 402 403 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 401 def name @name end |
#update_time ⇒ String
Output only. Update time.
Corresponds to the JSON property updateTime
406 407 408 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 406 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
413 414 415 416 417 418 419 420 421 422 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 413 def update!(**args) @attributes = args[:attributes] if args.key?(:attributes) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @endpoint_id = args[:endpoint_id] if args.key?(:endpoint_id) @interfaces = args[:interfaces] if args.key?(:interfaces) @name = args[:name] if args.key?(:name) @update_time = args[:update_time] if args.key?(:update_time) end |