Class: DatadogAPIClient::V2::CustomDestinationUpdateRequestAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::CustomDestinationUpdateRequestAttributes
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/custom_destination_update_request_attributes.rb
Overview
The attributes associated with the custom destination.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#enabled ⇒ Object
Whether logs matching this custom destination should be forwarded or not.
-
#forward_tags ⇒ Object
Whether tags from the forwarded logs should be forwarded or not.
-
#forward_tags_restriction_list ⇒ Object
readonly
List of [keys of tags](docs.datadoghq.com/getting_started/tagging/#define-tags) to be restricted from being forwarded.
-
#forward_tags_restriction_list_type ⇒ Object
How ‘forward_tags_restriction_list` parameter should be interpreted.
-
#forwarder_destination ⇒ Object
A custom destination’s location to forward logs.
-
#name ⇒ Object
The custom destination name.
-
#query ⇒ Object
The custom destination query and filter.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
50 51 52 |
# File 'lib/datadog_api_client/v2/models/custom_destination_update_request_attributes.rb', line 50 def additional_properties @additional_properties end |
#enabled ⇒ Object
Whether logs matching this custom destination should be forwarded or not.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/custom_destination_update_request_attributes.rb', line 25 def enabled @enabled end |
#forward_tags ⇒ Object
Whether tags from the forwarded logs should be forwarded or not.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/custom_destination_update_request_attributes.rb', line 28 def @forward_tags end |
#forward_tags_restriction_list ⇒ Object
List of [keys of tags](docs.datadoghq.com/getting_started/tagging/#define-tags) to be restricted from being forwarded. An empty list represents no restriction is in place and either all or no tags will be forwarded depending on ‘forward_tags_restriction_list_type` parameter.
32 33 34 |
# File 'lib/datadog_api_client/v2/models/custom_destination_update_request_attributes.rb', line 32 def @forward_tags_restriction_list end |
#forward_tags_restriction_list_type ⇒ Object
How ‘forward_tags_restriction_list` parameter should be interpreted. If `ALLOW_LIST`, then only tags whose keys on the forwarded logs match the ones on the restriction list are forwarded.
‘BLOCK_LIST` works the opposite way. It does not forward the tags matching the ones on the list.
39 40 41 |
# File 'lib/datadog_api_client/v2/models/custom_destination_update_request_attributes.rb', line 39 def @forward_tags_restriction_list_type end |
#forwarder_destination ⇒ Object
A custom destination’s location to forward logs.
42 43 44 |
# File 'lib/datadog_api_client/v2/models/custom_destination_update_request_attributes.rb', line 42 def forwarder_destination @forwarder_destination end |
#name ⇒ Object
The custom destination name.
45 46 47 |
# File 'lib/datadog_api_client/v2/models/custom_destination_update_request_attributes.rb', line 45 def name @name end |
#query ⇒ Object
The custom destination query and filter. Logs matching this query are forwarded to the destination.
48 49 50 |
# File 'lib/datadog_api_client/v2/models/custom_destination_update_request_attributes.rb', line 48 def query @query end |