Package com.datadog.api.client.v2.model
Class ObservabilityPipelineGooglePubSubSource
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineGooglePubSubSource
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineGooglePubSubSource
extends Object
The
google_pubsub source ingests logs from a Google Cloud Pub/Sub subscription.
Supported pipeline types: logs
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObservabilityPipelineGooglePubSubSource(ObservabilityPipelineDecoding decoding, String id, String project, String subscription, ObservabilityPipelineGooglePubSubSourceType type) -
Method Summary
Modifier and TypeMethodDescriptiondecoding(ObservabilityPipelineDecoding decoding) booleanReturn true if this ObservabilityPipelineGooglePubSubSource 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.The decoding format used to interpret incoming logs.getId()The unique identifier for this component.The Google Cloud project ID that owns the Pub/Sub subscription.The Pub/Sub subscription name from which messages are consumed.getTls()Configuration for enabling TLS encryption between the pipeline component and external services.getType()The source type.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetDecoding(ObservabilityPipelineDecoding decoding) voidvoidsetProject(String project) voidsetSubscription(String subscription) voidvoidsubscription(String subscription) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AUTH
- See Also:
-
JSON_PROPERTY_DECODING
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_PROJECT
- See Also:
-
JSON_PROPERTY_SUBSCRIPTION
- See Also:
-
JSON_PROPERTY_TLS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineGooglePubSubSource
public ObservabilityPipelineGooglePubSubSource() -
ObservabilityPipelineGooglePubSubSource
public ObservabilityPipelineGooglePubSubSource(ObservabilityPipelineDecoding decoding, String id, String project, String subscription, ObservabilityPipelineGooglePubSubSourceType type)
-
-
Method Details
-
auth
-
getAuth
Google Cloud credentials used to authenticate with Google Cloud Storage.- Returns:
- auth
-
setAuth
-
decoding
-
getDecoding
The decoding format used to interpret incoming logs.- Returns:
- decoding
-
setDecoding
-
id
-
getId
The unique identifier for this component. Used in other parts of the pipeline to reference this component (for example, as theinputto downstream components).- Returns:
- id
-
setId
-
project
-
getProject
The Google Cloud project ID that owns the Pub/Sub subscription.- Returns:
- project
-
setProject
-
subscription
-
getSubscription
The Pub/Sub subscription name from which messages are consumed.- Returns:
- subscription
-
setSubscription
-
tls
-
getTls
Configuration for enabling TLS encryption between the pipeline component and external services.- Returns:
- tls
-
setTls
-
type
-
getType
The source 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:
- ObservabilityPipelineGooglePubSubSource
-
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 ObservabilityPipelineGooglePubSubSource object is equal to o. -
hashCode
public int hashCode() -
toString
-