Package com.datadog.api.client.v2.model
Class GCPMetricNamespaceConfig
java.lang.Object
com.datadog.api.client.v2.model.GCPMetricNamespaceConfig
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class GCPMetricNamespaceConfig
extends Object
Configuration for a GCP metric namespace.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddFiltersItem(String filtersItem) booleanReturn true if this GCPMetricNamespaceConfig object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.When disabled, Datadog does not collect metrics that are related to this GCP metric namespace.When enabled, Datadog applies these additional filters to limit metric collection.getId()The id of the GCP metric namespace.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDisabled(Boolean disabled) voidsetFilters(List<String> filters) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DISABLED
- See Also:
-
JSON_PROPERTY_FILTERS
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
-
Constructor Details
-
GCPMetricNamespaceConfig
public GCPMetricNamespaceConfig()
-
-
Method Details
-
disabled
-
getDisabled
When disabled, Datadog does not collect metrics that are related to this GCP metric namespace.- Returns:
- disabled
-
setDisabled
-
filters
-
addFiltersItem
-
getFilters
When enabled, Datadog applies these additional filters to limit metric collection. A metric is collected only if it does not match all exclusion filters and matches at least one allow filter.- Returns:
- filters
-
setFilters
-
id
-
getId
The id of the GCP metric namespace.- Returns:
- id
-
setId
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- GCPMetricNamespaceConfig
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this GCPMetricNamespaceConfig object is equal to o. -
hashCode
public int hashCode() -
toString
-