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.



2279
2280
2281
# File 'lib/google/apis/connectors_v1/classes.rb', line 2279

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

Instance Attribute Details

#endpoint_uriString

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

Returns:

  • (String)


2272
2273
2274
# File 'lib/google/apis/connectors_v1/classes.rb', line 2272

def endpoint_uri
  @endpoint_uri
end

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

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



2277
2278
2279
# File 'lib/google/apis/connectors_v1/classes.rb', line 2277

def headers
  @headers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2284
2285
2286
2287
# File 'lib/google/apis/connectors_v1/classes.rb', line 2284

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