Package com.datadog.api.client.v2.model
Class ObservabilityPipelineGooglePubSubDestination
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineGooglePubSubDestination
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineGooglePubSubDestination
extends Object
The
google_pubsub destination publishes logs to a Google Cloud Pub/Sub topic.
Supported pipeline types: logs
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObservabilityPipelineGooglePubSubDestination(ObservabilityPipelineGooglePubSubDestinationEncoding encoding, String id, List<String> inputs, String project, String topic, ObservabilityPipelineGooglePubSubDestinationType type) -
Method Summary
Modifier and TypeMethodDescriptionaddInputsItem(String inputsItem) endpointUrlKey(String endpointUrlKey) booleanReturn true if this ObservabilityPipelineGooglePubSubDestination object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getAuth()Google Cloud credentials used to authenticate with Google Cloud Storage.Configuration for buffer settings on destination components.Encoding format for log events.Name of the environment variable or secret that holds the Google Cloud Pub/Sub endpoint URL.getId()The unique identifier for this component.A list of component IDs whose output is used as theinputfor this component.The Google Cloud project ID that owns the Pub/Sub topic.getTls()Configuration for enabling TLS encryption between the pipeline component and external services.getTopic()The Pub/Sub topic name to publish logs to.getType()The destination type.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidvoidsetEndpointUrlKey(String endpointUrlKey) voidvoidvoidsetProject(String project) voidvoidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AUTH
- See Also:
-
JSON_PROPERTY_BUFFER
- See Also:
-
JSON_PROPERTY_ENCODING
- See Also:
-
JSON_PROPERTY_ENDPOINT_URL_KEY
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_INPUTS
- See Also:
-
JSON_PROPERTY_PROJECT
- See Also:
-
JSON_PROPERTY_TLS
- See Also:
-
JSON_PROPERTY_TOPIC
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineGooglePubSubDestination
public ObservabilityPipelineGooglePubSubDestination() -
ObservabilityPipelineGooglePubSubDestination
public ObservabilityPipelineGooglePubSubDestination(ObservabilityPipelineGooglePubSubDestinationEncoding encoding, String id, List<String> inputs, String project, String topic, ObservabilityPipelineGooglePubSubDestinationType type)
-
-
Method Details
-
auth
-
getAuth
Google Cloud credentials used to authenticate with Google Cloud Storage.- Returns:
- auth
-
setAuth
-
buffer
public ObservabilityPipelineGooglePubSubDestination buffer(ObservabilityPipelineBufferOptions buffer) -
getBuffer
Configuration for buffer settings on destination components.- Returns:
- buffer
-
setBuffer
-
encoding
public ObservabilityPipelineGooglePubSubDestination encoding(ObservabilityPipelineGooglePubSubDestinationEncoding encoding) -
getEncoding
Encoding format for log events.- Returns:
- encoding
-
setEncoding
-
endpointUrlKey
-
getEndpointUrlKey
Name of the environment variable or secret that holds the Google Cloud Pub/Sub endpoint URL.- Returns:
- endpointUrlKey
-
setEndpointUrlKey
-
id
-
getId
The unique identifier for this component.- Returns:
- id
-
setId
-
inputs
-
addInputsItem
-
getInputs
A list of component IDs whose output is used as theinputfor this component.- Returns:
- inputs
-
setInputs
-
project
-
getProject
The Google Cloud project ID that owns the Pub/Sub topic.- Returns:
- project
-
setProject
-
tls
-
getTls
Configuration for enabling TLS encryption between the pipeline component and external services.- Returns:
- tls
-
setTls
-
topic
-
getTopic
The Pub/Sub topic name to publish logs to.- Returns:
- topic
-
setTopic
-
type
-
getType
The destination type. The value should always begoogle_pubsub.- Returns:
- type
-
setType
-
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:
- ObservabilityPipelineGooglePubSubDestination
-
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 ObservabilityPipelineGooglePubSubDestination object is equal to o. -
hashCode
public int hashCode() -
toString
-