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.



1314
1315
1316
# File 'lib/google/apis/connectors_v1/classes.rb', line 1314

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

Instance Attribute Details

#endpoint_uriString

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

Returns:

  • (String)


1307
1308
1309
# File 'lib/google/apis/connectors_v1/classes.rb', line 1307

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



1312
1313
1314
# File 'lib/google/apis/connectors_v1/classes.rb', line 1312

def headers
  @headers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1319
1320
1321
1322
# File 'lib/google/apis/connectors_v1/classes.rb', line 1319

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