Reference documentation and code samples for the Eventarc V1 API class Google::Cloud::Eventarc::V1::HttpEndpoint.
Represents a HTTP endpoint destination.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#uri
defuri()->::String
Returns
(::String) — Required. The URI of the HTTP enpdoint.
The value must be a RFC2396 URI string.
Examples: http://10.10.10.8:80/route,
http://svc.us-central1.p.local:8080/.
Only HTTP and HTTPS protocols are supported. The host can be either a
static IP addressable from the VPC specified by the network config, or
an internal DNS hostname of the service resolvable via Cloud DNS.
#uri=
defuri=(value)->::String
Parameter
value (::String) — Required. The URI of the HTTP enpdoint.
The value must be a RFC2396 URI string.
Examples: http://10.10.10.8:80/route,
http://svc.us-central1.p.local:8080/.
Only HTTP and HTTPS protocols are supported. The host can be either a
static IP addressable from the VPC specified by the network config, or
an internal DNS hostname of the service resolvable via Cloud DNS.
Returns
(::String) — Required. The URI of the HTTP enpdoint.
The value must be a RFC2396 URI string.
Examples: http://10.10.10.8:80/route,
http://svc.us-central1.p.local:8080/.
Only HTTP and HTTPS protocols are supported. The host can be either a
static IP addressable from the VPC specified by the network config, or
an internal DNS hostname of the service resolvable via Cloud DNS.
[[["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-09 UTC."],[],[],null,["# Eventarc V1 API - Class Google::Cloud::Eventarc::V1::HttpEndpoint (v2.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.0 (latest)](/ruby/docs/reference/google-cloud-eventarc-v1/latest/Google-Cloud-Eventarc-V1-HttpEndpoint)\n- [2.0.1](/ruby/docs/reference/google-cloud-eventarc-v1/2.0.1/Google-Cloud-Eventarc-V1-HttpEndpoint)\n- [1.3.0](/ruby/docs/reference/google-cloud-eventarc-v1/1.3.0/Google-Cloud-Eventarc-V1-HttpEndpoint)\n- [1.2.0](/ruby/docs/reference/google-cloud-eventarc-v1/1.2.0/Google-Cloud-Eventarc-V1-HttpEndpoint)\n- [1.1.0](/ruby/docs/reference/google-cloud-eventarc-v1/1.1.0/Google-Cloud-Eventarc-V1-HttpEndpoint)\n- [1.0.1](/ruby/docs/reference/google-cloud-eventarc-v1/1.0.1/Google-Cloud-Eventarc-V1-HttpEndpoint)\n- [0.10.0](/ruby/docs/reference/google-cloud-eventarc-v1/0.10.0/Google-Cloud-Eventarc-V1-HttpEndpoint)\n- [0.9.2](/ruby/docs/reference/google-cloud-eventarc-v1/0.9.2/Google-Cloud-Eventarc-V1-HttpEndpoint)\n- [0.8.0](/ruby/docs/reference/google-cloud-eventarc-v1/0.8.0/Google-Cloud-Eventarc-V1-HttpEndpoint)\n- [0.7.0](/ruby/docs/reference/google-cloud-eventarc-v1/0.7.0/Google-Cloud-Eventarc-V1-HttpEndpoint)\n- [0.6.0](/ruby/docs/reference/google-cloud-eventarc-v1/0.6.0/Google-Cloud-Eventarc-V1-HttpEndpoint)\n- [0.5.0](/ruby/docs/reference/google-cloud-eventarc-v1/0.5.0/Google-Cloud-Eventarc-V1-HttpEndpoint)\n- [0.4.0](/ruby/docs/reference/google-cloud-eventarc-v1/0.4.0/Google-Cloud-Eventarc-V1-HttpEndpoint)\n- [0.3.0](/ruby/docs/reference/google-cloud-eventarc-v1/0.3.0/Google-Cloud-Eventarc-V1-HttpEndpoint)\n- [0.2.1](/ruby/docs/reference/google-cloud-eventarc-v1/0.2.1/Google-Cloud-Eventarc-V1-HttpEndpoint)\n- [0.1.4](/ruby/docs/reference/google-cloud-eventarc-v1/0.1.4/Google-Cloud-Eventarc-V1-HttpEndpoint) \nReference documentation and code samples for the Eventarc V1 API class Google::Cloud::Eventarc::V1::HttpEndpoint.\n\nRepresents a HTTP endpoint destination. \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### #uri\n\n def uri() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The URI of the HTTP enpdoint.\n\n The value must be a RFC2396 URI string.\n Examples: `http://10.10.10.8:80/route`,\n `http://svc.us-central1.p.local:8080/`.\n Only HTTP and HTTPS protocols are supported. The host can be either a\n static IP addressable from the VPC specified by the network config, or\n an internal DNS hostname of the service resolvable via Cloud DNS.\n\n### #uri=\n\n def uri=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The URI of the HTTP enpdoint.\n\n\n The value must be a RFC2396 URI string.\n Examples: `http://10.10.10.8:80/route`,\n `http://svc.us-central1.p.local:8080/`.\n Only HTTP and HTTPS protocols are supported. The host can be either a\n static IP addressable from the VPC specified by the network config, or\nan internal DNS hostname of the service resolvable via Cloud DNS. \n**Returns**\n\n- (::String) --- Required. The URI of the HTTP enpdoint.\n\n The value must be a RFC2396 URI string.\n Examples: `http://10.10.10.8:80/route`,\n `http://svc.us-central1.p.local:8080/`.\n Only HTTP and HTTPS protocols are supported. The host can be either a\n static IP addressable from the VPC specified by the network config, or\n an internal DNS hostname of the service resolvable via Cloud DNS."]]