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.



1680
1681
1682
# File 'lib/google/apis/connectors_v1/classes.rb', line 1680

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

Instance Attribute Details

#endpoint_uriString

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

Returns:

  • (String)


1673
1674
1675
# File 'lib/google/apis/connectors_v1/classes.rb', line 1673

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



1678
1679
1680
# File 'lib/google/apis/connectors_v1/classes.rb', line 1678

def headers
  @headers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1685
1686
1687
1688
# File 'lib/google/apis/connectors_v1/classes.rb', line 1685

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