Reference documentation and code samples for the Memorystore V1BETA API class Google::Cloud::Memorystore::V1beta::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-08-28 UTC."],[],[],null,["# Memorystore V1BETA API - Class Google::Cloud::Memorystore::V1beta::DiscoveryEndpoint (v0.6.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.6.0 (latest)](/ruby/docs/reference/google-cloud-memorystore-v1beta/latest/Google-Cloud-Memorystore-V1beta-DiscoveryEndpoint)\n- [0.5.1](/ruby/docs/reference/google-cloud-memorystore-v1beta/0.5.1/Google-Cloud-Memorystore-V1beta-DiscoveryEndpoint)\n- [0.4.0](/ruby/docs/reference/google-cloud-memorystore-v1beta/0.4.0/Google-Cloud-Memorystore-V1beta-DiscoveryEndpoint)\n- [0.3.0](/ruby/docs/reference/google-cloud-memorystore-v1beta/0.3.0/Google-Cloud-Memorystore-V1beta-DiscoveryEndpoint)\n- [0.2.0](/ruby/docs/reference/google-cloud-memorystore-v1beta/0.2.0/Google-Cloud-Memorystore-V1beta-DiscoveryEndpoint)\n- [0.1.0](/ruby/docs/reference/google-cloud-memorystore-v1beta/0.1.0/Google-Cloud-Memorystore-V1beta-DiscoveryEndpoint) \nReference documentation and code samples for the Memorystore V1BETA API class Google::Cloud::Memorystore::V1beta::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."]]