Developer Connect v1 API - Class GenericHTTPEndpointConfig (1.0.0-beta04)

public sealed class GenericHTTPEndpointConfig : IMessage<GenericHTTPEndpointConfig>, IEquatable<GenericHTTPEndpointConfig>, IDeepCloneable<GenericHTTPEndpointConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Developer Connect v1 API class GenericHTTPEndpointConfig.

Defines the configuration for connections to an HTTP service provider.

Inheritance

object > GenericHTTPEndpointConfig

Namespace

Google.Cloud.DeveloperConnect.V1

Assembly

Google.Cloud.DeveloperConnect.V1.dll

Constructors

GenericHTTPEndpointConfig()

public GenericHTTPEndpointConfig()

GenericHTTPEndpointConfig(GenericHTTPEndpointConfig)

public GenericHTTPEndpointConfig(GenericHTTPEndpointConfig other)
Parameter
Name Description
other GenericHTTPEndpointConfig

Properties

AuthenticationCase

public GenericHTTPEndpointConfig.AuthenticationOneofCase AuthenticationCase { get; }
Property Value
Type Description
GenericHTTPEndpointConfigAuthenticationOneofCase

BasicAuthentication

public GenericHTTPEndpointConfig.Types.BasicAuthentication BasicAuthentication { get; set; }

Optional. Basic authentication with username and password.

Property Value
Type Description
GenericHTTPEndpointConfigTypesBasicAuthentication

BearerTokenAuthentication

public GenericHTTPEndpointConfig.Types.BearerTokenAuthentication BearerTokenAuthentication { get; set; }

Optional. Bearer token authentication with a token.

Property Value
Type Description
GenericHTTPEndpointConfigTypesBearerTokenAuthentication

HostUri

public string HostUri { get; set; }

Required. Immutable. The service provider's https endpoint.

Property Value
Type Description
string

ServiceDirectoryConfig

public ServiceDirectoryConfig ServiceDirectoryConfig { get; set; }

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.

Property Value
Type Description
ServiceDirectoryConfig

SslCaCertificate

public string SslCaCertificate { get; set; }

Optional. The SSL certificate to use for requests to the HTTP service provider.

Property Value
Type Description
string