Class: Google::Apis::AgentregistryV1alpha::Endpoint

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Endpoint

Returns a new instance of Endpoint.



451
452
453
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 451

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#attributesHash<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

Returns:

  • (Hash<String,Hash<String,Object>>)


413
414
415
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 413

def attributes
  @attributes
end

#create_timeString

Output only. Create time. Corresponds to the JSON property createTime

Returns:

  • (String)


418
419
420
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 418

def create_time
  @create_time
end

#descriptionString

Output only. Description of an Endpoint. Corresponds to the JSON property description

Returns:

  • (String)


423
424
425
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 423

def description
  @description
end

#display_nameString

Output only. Display name for the Endpoint. Corresponds to the JSON property displayName

Returns:

  • (String)


428
429
430
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 428

def display_name
  @display_name
end

#endpoint_idString

Output only. A stable, globally unique identifier for Endpoint. Corresponds to the JSON property endpointId

Returns:

  • (String)


433
434
435
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 433

def endpoint_id
  @endpoint_id
end

#interfacesArray<Google::Apis::AgentregistryV1alpha::Interface>

Required. The connection details for the Endpoint. Corresponds to the JSON property interfaces



438
439
440
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 438

def interfaces
  @interfaces
end

#nameString

Identifier. The resource name of the Endpoint. Format: projects/project/ locations/location/endpoints/endpoint`. Corresponds to the JSON propertyname`

Returns:

  • (String)


444
445
446
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 444

def name
  @name
end

#update_timeString

Output only. Update time. Corresponds to the JSON property updateTime

Returns:

  • (String)


449
450
451
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 449

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



456
457
458
459
460
461
462
463
464
465
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 456

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