Class: Google::Cloud::Datastream::V1::BigQueryDestinationConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/datastream/v1/datastream_resources.rb

Defined Under Namespace

Classes: SingleTargetDataset, SourceHierarchyDatasets

Instance Attribute Summary collapse

Instance Attribute Details

#data_freshness::Google::Protobuf::Duration

Returns The guaranteed data freshness (in seconds) when querying tables created by the stream. Editing this field will only affect new tables created in the future, but existing tables will not be impacted. Lower values mean that queries will return fresher data, but may result in higher cost.

Returns:

  • (::Google::Protobuf::Duration)

    The guaranteed data freshness (in seconds) when querying tables created by the stream. Editing this field will only affect new tables created in the future, but existing tables will not be impacted. Lower values mean that queries will return fresher data, but may result in higher cost.



711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 711

class BigQueryDestinationConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A single target dataset to which all data will be streamed.
  # @!attribute [rw] dataset_id
  #   @return [::String]
  class SingleTargetDataset
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Destination datasets are created so that hierarchy of the destination data
  # objects matches the source hierarchy.
  # @!attribute [rw] dataset_template
  #   @return [::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::SourceHierarchyDatasets::DatasetTemplate]
  class SourceHierarchyDatasets
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Dataset template used for dynamic dataset creation.
    # @!attribute [rw] location
    #   @return [::String]
    #     Required. The geographic location where the dataset should reside. See
    #     https://cloud.google.com/bigquery/docs/locations for supported
    #     locations.
    # @!attribute [rw] dataset_id_prefix
    #   @return [::String]
    #     If supplied, every created dataset will have its name prefixed by the
    #     provided value. The prefix and name will be separated by an underscore.
    #     i.e. <prefix>_<dataset_name>.
    # @!attribute [rw] kms_key_name
    #   @return [::String]
    #     Describes the Cloud KMS encryption key that will be used to
    #     protect destination BigQuery table. The BigQuery Service Account
    #     associated with your project requires access to this encryption key.
    #     i.e.
    #     projects/\\{project}/locations/\\{location}/keyRings/\\{key_ring}/cryptoKeys/\\{cryptoKey}.
    #     See https://cloud.google.com/bigquery/docs/customer-managed-encryption
    #     for more information.
    class DatasetTemplate
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end

#single_target_dataset::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::SingleTargetDataset

Returns Single destination dataset.



711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 711

class BigQueryDestinationConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A single target dataset to which all data will be streamed.
  # @!attribute [rw] dataset_id
  #   @return [::String]
  class SingleTargetDataset
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Destination datasets are created so that hierarchy of the destination data
  # objects matches the source hierarchy.
  # @!attribute [rw] dataset_template
  #   @return [::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::SourceHierarchyDatasets::DatasetTemplate]
  class SourceHierarchyDatasets
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Dataset template used for dynamic dataset creation.
    # @!attribute [rw] location
    #   @return [::String]
    #     Required. The geographic location where the dataset should reside. See
    #     https://cloud.google.com/bigquery/docs/locations for supported
    #     locations.
    # @!attribute [rw] dataset_id_prefix
    #   @return [::String]
    #     If supplied, every created dataset will have its name prefixed by the
    #     provided value. The prefix and name will be separated by an underscore.
    #     i.e. <prefix>_<dataset_name>.
    # @!attribute [rw] kms_key_name
    #   @return [::String]
    #     Describes the Cloud KMS encryption key that will be used to
    #     protect destination BigQuery table. The BigQuery Service Account
    #     associated with your project requires access to this encryption key.
    #     i.e.
    #     projects/\\{project}/locations/\\{location}/keyRings/\\{key_ring}/cryptoKeys/\\{cryptoKey}.
    #     See https://cloud.google.com/bigquery/docs/customer-managed-encryption
    #     for more information.
    class DatasetTemplate
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end

#source_hierarchy_datasets::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::SourceHierarchyDatasets

Returns Source hierarchy datasets.



711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 711

class BigQueryDestinationConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A single target dataset to which all data will be streamed.
  # @!attribute [rw] dataset_id
  #   @return [::String]
  class SingleTargetDataset
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Destination datasets are created so that hierarchy of the destination data
  # objects matches the source hierarchy.
  # @!attribute [rw] dataset_template
  #   @return [::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::SourceHierarchyDatasets::DatasetTemplate]
  class SourceHierarchyDatasets
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Dataset template used for dynamic dataset creation.
    # @!attribute [rw] location
    #   @return [::String]
    #     Required. The geographic location where the dataset should reside. See
    #     https://cloud.google.com/bigquery/docs/locations for supported
    #     locations.
    # @!attribute [rw] dataset_id_prefix
    #   @return [::String]
    #     If supplied, every created dataset will have its name prefixed by the
    #     provided value. The prefix and name will be separated by an underscore.
    #     i.e. <prefix>_<dataset_name>.
    # @!attribute [rw] kms_key_name
    #   @return [::String]
    #     Describes the Cloud KMS encryption key that will be used to
    #     protect destination BigQuery table. The BigQuery Service Account
    #     associated with your project requires access to this encryption key.
    #     i.e.
    #     projects/\\{project}/locations/\\{location}/keyRings/\\{key_ring}/cryptoKeys/\\{cryptoKey}.
    #     See https://cloud.google.com/bigquery/docs/customer-managed-encryption
    #     for more information.
    class DatasetTemplate
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end