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.



862
863
864
# File 'lib/google/apis/eventarc_v1/classes.rb', line 862

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)


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

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



867
868
869
# File 'lib/google/apis/eventarc_v1/classes.rb', line 867

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