Reference documentation and code samples for the Developer Connect V1 API class Google::Cloud::DeveloperConnect::V1::GenericHTTPEndpointConfig.
Defines the configuration for connections to an HTTP service provider.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#basic_authentication
def basic_authentication() -> ::Google::Cloud::DeveloperConnect::V1::GenericHTTPEndpointConfig::BasicAuthentication-
(::Google::Cloud::DeveloperConnect::V1::GenericHTTPEndpointConfig::BasicAuthentication) — Optional. Basic authentication with username and password.
Note: The following fields are mutually exclusive:
basic_authentication,bearer_token_authentication. If a field in that set is populated, all other fields in the set will automatically be cleared.
#basic_authentication=
def basic_authentication=(value) -> ::Google::Cloud::DeveloperConnect::V1::GenericHTTPEndpointConfig::BasicAuthentication-
value (::Google::Cloud::DeveloperConnect::V1::GenericHTTPEndpointConfig::BasicAuthentication) — Optional. Basic authentication with username and password.
Note: The following fields are mutually exclusive:
basic_authentication,bearer_token_authentication. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::DeveloperConnect::V1::GenericHTTPEndpointConfig::BasicAuthentication) — Optional. Basic authentication with username and password.
Note: The following fields are mutually exclusive:
basic_authentication,bearer_token_authentication. If a field in that set is populated, all other fields in the set will automatically be cleared.
#bearer_token_authentication
def bearer_token_authentication() -> ::Google::Cloud::DeveloperConnect::V1::GenericHTTPEndpointConfig::BearerTokenAuthentication-
(::Google::Cloud::DeveloperConnect::V1::GenericHTTPEndpointConfig::BearerTokenAuthentication) — Optional. Bearer token authentication with a token.
Note: The following fields are mutually exclusive:
bearer_token_authentication,basic_authentication. If a field in that set is populated, all other fields in the set will automatically be cleared.
#bearer_token_authentication=
def bearer_token_authentication=(value) -> ::Google::Cloud::DeveloperConnect::V1::GenericHTTPEndpointConfig::BearerTokenAuthentication-
value (::Google::Cloud::DeveloperConnect::V1::GenericHTTPEndpointConfig::BearerTokenAuthentication) — Optional. Bearer token authentication with a token.
Note: The following fields are mutually exclusive:
bearer_token_authentication,basic_authentication. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::DeveloperConnect::V1::GenericHTTPEndpointConfig::BearerTokenAuthentication) — Optional. Bearer token authentication with a token.
Note: The following fields are mutually exclusive:
bearer_token_authentication,basic_authentication. If a field in that set is populated, all other fields in the set will automatically be cleared.
#host_uri
def host_uri() -> ::String- (::String) — Required. Immutable. The service provider's https endpoint.
#host_uri=
def host_uri=(value) -> ::String- value (::String) — Required. Immutable. The service provider's https endpoint.
- (::String) — Required. Immutable. The service provider's https endpoint.
#service_directory_config
def service_directory_config() -> ::Google::Cloud::DeveloperConnect::V1::ServiceDirectoryConfig- (::Google::Cloud::DeveloperConnect::V1::ServiceDirectoryConfig) — Optional. Configuration for using Service Directory to privately connect to a HTTP service provider. This should only be set if the Http service provider is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the HTTP service provider will be made over the public internet.
#service_directory_config=
def service_directory_config=(value) -> ::Google::Cloud::DeveloperConnect::V1::ServiceDirectoryConfig- value (::Google::Cloud::DeveloperConnect::V1::ServiceDirectoryConfig) — Optional. Configuration for using Service Directory to privately connect to a HTTP service provider. This should only be set if the Http service provider is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the HTTP service provider will be made over the public internet.
- (::Google::Cloud::DeveloperConnect::V1::ServiceDirectoryConfig) — Optional. Configuration for using Service Directory to privately connect to a HTTP service provider. This should only be set if the Http service provider is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the HTTP service provider will be made over the public internet.
#ssl_ca_certificate
def ssl_ca_certificate() -> ::String- (::String) — Optional. The SSL certificate to use for requests to the HTTP service provider.
#ssl_ca_certificate=
def ssl_ca_certificate=(value) -> ::String- value (::String) — Optional. The SSL certificate to use for requests to the HTTP service provider.
- (::String) — Optional. The SSL certificate to use for requests to the HTTP service provider.