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.



1808
1809
1810
# File 'lib/google/apis/connectors_v1/classes.rb', line 1808

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

Instance Attribute Details

#endpoint_uriString

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

Returns:

  • (String)


1801
1802
1803
# File 'lib/google/apis/connectors_v1/classes.rb', line 1801

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



1806
1807
1808
# File 'lib/google/apis/connectors_v1/classes.rb', line 1806

def headers
  @headers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1813
1814
1815
1816
# File 'lib/google/apis/connectors_v1/classes.rb', line 1813

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