Class: DatadogAPIClient::V2::ObservabilityPipelineHttpServerSourceValidToken

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/observability_pipeline_http_server_source_valid_token.rb

Overview

An accepted token used to authenticate incoming HTTP server requests.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



39
40
41
# File 'lib/datadog_api_client/v2/models/observability_pipeline_http_server_source_valid_token.rb', line 39

def additional_properties
  @additional_properties
end

#enabledObject

Indicates whether this token is currently accepted. Disabled tokens are rejected without being removed from the configuration.



26
27
28
# File 'lib/datadog_api_client/v2/models/observability_pipeline_http_server_source_valid_token.rb', line 26

def enabled
  @enabled
end

#field_to_addObject

An optional metadata field that is attached to every event authenticated by the associated token. Both key and value must match ^[A-Za-z0-9_]+$.



30
31
32
# File 'lib/datadog_api_client/v2/models/observability_pipeline_http_server_source_valid_token.rb', line 30

def field_to_add
  @field_to_add
end

#path_to_tokenObject

Specifies where the worker extracts the token from in the incoming HTTP request. This can be either a built-in location (path or address) or an HTTP header object.



34
35
36
# File 'lib/datadog_api_client/v2/models/observability_pipeline_http_server_source_valid_token.rb', line 34

def path_to_token
  @path_to_token
end

#token_keyObject

Name of the environment variable or secret that holds the expected token value.



37
38
39
# File 'lib/datadog_api_client/v2/models/observability_pipeline_http_server_source_valid_token.rb', line 37

def token_key
  @token_key
end