Class: Google::Apis::ConnectorsV1::EndPoint

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

Overview

Endpoint message includes details of the Destination endpoint.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EndPoint

Returns a new instance of EndPoint.



1831
1832
1833
# File 'lib/google/apis/connectors_v1/classes.rb', line 1831

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

Instance Attribute Details

#endpoint_uriString

The URI of the Endpoint. Corresponds to the JSON property endpointUri

Returns:

  • (String)


1824
1825
1826
# File 'lib/google/apis/connectors_v1/classes.rb', line 1824

def endpoint_uri
  @endpoint_uri
end

#headersArray<Google::Apis::ConnectorsV1::Header>

List of Header to be added to the Endpoint. Corresponds to the JSON property headers



1829
1830
1831
# File 'lib/google/apis/connectors_v1/classes.rb', line 1829

def headers
  @headers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1836
1837
1838
1839
# File 'lib/google/apis/connectors_v1/classes.rb', line 1836

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