Class PubsubSubscriptionBigqueryConfig.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.pubsub_subscription.PubsubSubscriptionBigqueryConfig.Jsii$Proxy
-
- All Implemented Interfaces:
PubsubSubscriptionBigqueryConfig,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- PubsubSubscriptionBigqueryConfig
@Stability(Stable) @Internal public static final class PubsubSubscriptionBigqueryConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements PubsubSubscriptionBigqueryConfig
An implementation forPubsubSubscriptionBigqueryConfig
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.providers.google.pubsub_subscription.PubsubSubscriptionBigqueryConfig
PubsubSubscriptionBigqueryConfig.Builder, PubsubSubscriptionBigqueryConfig.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(PubsubSubscriptionBigqueryConfig.Builder builder)Constructor that initializes the object based on literal property values passed by thePubsubSubscriptionBigqueryConfig.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)ObjectgetDropUnknownFields()When true and use_topic_schema or use_table_schema is true, any fields that are a part of the topic schema or message schema that are not part of the BigQuery table schema are dropped when writing to BigQuery.StringgetServiceAccountEmail()The service account to use to write to BigQuery.StringgetTable()The name of the table to which to write data, of the form {projectId}.{datasetId}.{tableId}.ObjectgetUseTableSchema()When true, use the BigQuery table's schema as the columns to write to in BigQuery.ObjectgetUseTopicSchema()When true, use the topic's schema as the columns to write to in BigQuery, if it exists.ObjectgetWriteMetadata()When true, write the subscription name, messageId, publishTime, attributes, and orderingKey to additional columns in the table.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(PubsubSubscriptionBigqueryConfig.Builder builder)
Constructor that initializes the object based on literal property values passed by thePubsubSubscriptionBigqueryConfig.Builder.
-
-
Method Detail
-
getTable
public final String getTable()
Description copied from interface:PubsubSubscriptionBigqueryConfigThe name of the table to which to write data, of the form {projectId}.{datasetId}.{tableId}.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/pubsub_subscription#table PubsubSubscription#table}
- Specified by:
getTablein interfacePubsubSubscriptionBigqueryConfig
-
getDropUnknownFields
public final Object getDropUnknownFields()
Description copied from interface:PubsubSubscriptionBigqueryConfigWhen true and use_topic_schema or use_table_schema is true, any fields that are a part of the topic schema or message schema that are not part of the BigQuery table schema are dropped when writing to BigQuery.Otherwise, the schemas must be kept in sync and any messages with extra fields are not written and remain in the subscription's backlog. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/pubsub_subscription#drop_unknown_fields PubsubSubscription#drop_unknown_fields}
- Specified by:
getDropUnknownFieldsin interfacePubsubSubscriptionBigqueryConfig
-
getServiceAccountEmail
public final String getServiceAccountEmail()
Description copied from interface:PubsubSubscriptionBigqueryConfigThe service account to use to write to BigQuery. If not specified, the Pub/Sub service agent, service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/pubsub_subscription#service_account_email PubsubSubscription#service_account_email}
- Specified by:
getServiceAccountEmailin interfacePubsubSubscriptionBigqueryConfig
-
getUseTableSchema
public final Object getUseTableSchema()
Description copied from interface:PubsubSubscriptionBigqueryConfigWhen true, use the BigQuery table's schema as the columns to write to in BigQuery.Messages must be published in JSON format. Only one of use_topic_schema and use_table_schema can be set. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/pubsub_subscription#use_table_schema PubsubSubscription#use_table_schema}
- Specified by:
getUseTableSchemain interfacePubsubSubscriptionBigqueryConfig
-
getUseTopicSchema
public final Object getUseTopicSchema()
Description copied from interface:PubsubSubscriptionBigqueryConfigWhen true, use the topic's schema as the columns to write to in BigQuery, if it exists.Only one of use_topic_schema and use_table_schema can be set. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/pubsub_subscription#use_topic_schema PubsubSubscription#use_topic_schema}
- Specified by:
getUseTopicSchemain interfacePubsubSubscriptionBigqueryConfig
-
getWriteMetadata
public final Object getWriteMetadata()
Description copied from interface:PubsubSubscriptionBigqueryConfigWhen true, write the subscription name, messageId, publishTime, attributes, and orderingKey to additional columns in the table.The subscription name, messageId, and publishTime fields are put in their own columns while all other message properties (other than data) are written to a JSON object in the attributes column. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/pubsub_subscription#write_metadata PubsubSubscription#write_metadata}
- Specified by:
getWriteMetadatain interfacePubsubSubscriptionBigqueryConfig
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-