Reference documentation and code samples for the Memorystore V1 API class Google::Cloud::Memorystore::V1::DiscoveryEndpoint.
Represents an endpoint for clients to connect to the instance.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#address
defaddress()->::String
Returns
(::String) — Output only. IP address of the exposed endpoint clients connect to.
#network
defnetwork()->::String
Returns
(::String) — Output only. The network where the IP address of the discovery endpoint
will be reserved, in the form of
projects/{network_project}/global/networks/{network_id}.
#port
defport()->::Integer
Returns
(::Integer) — Output only. The port number of the exposed endpoint.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Memorystore V1 API - Class Google::Cloud::Memorystore::V1::DiscoveryEndpoint (v1.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.0 (latest)](/ruby/docs/reference/google-cloud-memorystore-v1/latest/Google-Cloud-Memorystore-V1-DiscoveryEndpoint)\n- [1.1.1](/ruby/docs/reference/google-cloud-memorystore-v1/1.1.1/Google-Cloud-Memorystore-V1-DiscoveryEndpoint)\n- [1.0.0](/ruby/docs/reference/google-cloud-memorystore-v1/1.0.0/Google-Cloud-Memorystore-V1-DiscoveryEndpoint)\n- [0.3.0](/ruby/docs/reference/google-cloud-memorystore-v1/0.3.0/Google-Cloud-Memorystore-V1-DiscoveryEndpoint)\n- [0.2.0](/ruby/docs/reference/google-cloud-memorystore-v1/0.2.0/Google-Cloud-Memorystore-V1-DiscoveryEndpoint)\n- [0.1.0](/ruby/docs/reference/google-cloud-memorystore-v1/0.1.0/Google-Cloud-Memorystore-V1-DiscoveryEndpoint) \nReference documentation and code samples for the Memorystore V1 API class Google::Cloud::Memorystore::V1::DiscoveryEndpoint.\n\nRepresents an endpoint for clients to connect to the instance. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #address\n\n def address() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Output only. IP address of the exposed endpoint clients connect to.\n\n### #network\n\n def network() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Output only. The network where the IP address of the discovery endpoint will be reserved, in the form of projects/{network_project}/global/networks/{network_id}.\n\n### #port\n\n def port() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- Output only. The port number of the exposed endpoint."]]