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.



408
409
410
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 408

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


370
371
372
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 370

def attributes
  @attributes
end

#create_timeString

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

Returns:

  • (String)


375
376
377
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 375

def create_time
  @create_time
end

#descriptionString

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

Returns:

  • (String)


380
381
382
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 380

def description
  @description
end

#display_nameString

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

Returns:

  • (String)


385
386
387
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 385

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)


390
391
392
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 390

def endpoint_id
  @endpoint_id
end

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

#nameString

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

Returns:

  • (String)


401
402
403
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 401

def name
  @name
end

#update_timeString

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

Returns:

  • (String)


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