Class: Google::Apis::EventarcV1::HttpEndpoint

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/eventarc_v1/classes.rb,
lib/google/apis/eventarc_v1/representations.rb,
lib/google/apis/eventarc_v1/representations.rb

Overview

Represents a HTTP endpoint destination.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ HttpEndpoint

Returns a new instance of HttpEndpoint.



855
856
857
# File 'lib/google/apis/eventarc_v1/classes.rb', line 855

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#uriString

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. Corresponds to the JSON property uri

Returns:

  • (String)


853
854
855
# File 'lib/google/apis/eventarc_v1/classes.rb', line 853

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



860
861
862
# File 'lib/google/apis/eventarc_v1/classes.rb', line 860

def update!(**args)
  @uri = args[:uri] if args.key?(:uri)
end