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.



472
473
474
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 472

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>>)


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

def attributes
  @attributes
end

#create_timeString

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

Returns:

  • (String)


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

def create_time
  @create_time
end

#descriptionString

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

Returns:

  • (String)


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

def description
  @description
end

#display_nameString

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

Returns:

  • (String)


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

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)


454
455
456
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 454

def endpoint_id
  @endpoint_id
end

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

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



459
460
461
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 459

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)


465
466
467
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 465

def name
  @name
end

#update_timeString

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

Returns:

  • (String)


470
471
472
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 470

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



477
478
479
480
481
482
483
484
485
486
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 477

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