Class PubsubSubscriptionBigqueryConfig.Jsii$Proxy

    • 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.
    • Method Detail

      • getTable

        public final String getTable()
        Description copied from interface: PubsubSubscriptionBigqueryConfig
        The 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:
        getTable in interface PubsubSubscriptionBigqueryConfig
      • getDropUnknownFields

        public final Object getDropUnknownFields()
        Description copied from interface: PubsubSubscriptionBigqueryConfig
        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.

        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:
        getDropUnknownFields in interface PubsubSubscriptionBigqueryConfig
      • getServiceAccountEmail

        public final String getServiceAccountEmail()
        Description copied from interface: PubsubSubscriptionBigqueryConfig
        The 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:
        getServiceAccountEmail in interface PubsubSubscriptionBigqueryConfig
      • getUseTableSchema

        public final Object getUseTableSchema()
        Description copied from interface: PubsubSubscriptionBigqueryConfig
        When 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:
        getUseTableSchema in interface PubsubSubscriptionBigqueryConfig
      • getUseTopicSchema

        public final Object getUseTopicSchema()
        Description copied from interface: PubsubSubscriptionBigqueryConfig
        When 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:
        getUseTopicSchema in interface PubsubSubscriptionBigqueryConfig
      • getWriteMetadata

        public final Object getWriteMetadata()
        Description copied from interface: PubsubSubscriptionBigqueryConfig
        When 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:
        getWriteMetadata in interface PubsubSubscriptionBigqueryConfig
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object