Class: Google::Cloud::DataCatalog::V1beta1::BigQueryDateShardedSpec

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/datacatalog/v1beta1/table_spec.rb

Overview

Spec for a group of BigQuery tables with name pattern [prefix]YYYYMMDD. Context: https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding

Instance Attribute Summary collapse

Instance Attribute Details

#dataset::String (readonly)

Returns Output only. The Data Catalog resource name of the dataset entry the current table belongs to, for example, projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}.

Returns:

  • (::String)

    Output only. The Data Catalog resource name of the dataset entry the current table belongs to, for example, projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}.



84
85
86
87
# File 'proto_docs/google/cloud/datacatalog/v1beta1/table_spec.rb', line 84

class BigQueryDateShardedSpec
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#shard_count::Integer (readonly)

Returns Output only. Total number of shards.

Returns:

  • (::Integer)

    Output only. Total number of shards.



84
85
86
87
# File 'proto_docs/google/cloud/datacatalog/v1beta1/table_spec.rb', line 84

class BigQueryDateShardedSpec
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#table_prefix::String (readonly)

Returns Output only. The table name prefix of the shards. The name of any given shard is [table_prefix]YYYYMMDD, for example, for shard MyTable20180101, the table_prefix is MyTable.

Returns:

  • (::String)

    Output only. The table name prefix of the shards. The name of any given shard is [table_prefix]YYYYMMDD, for example, for shard MyTable20180101, the table_prefix is MyTable.



84
85
86
87
# File 'proto_docs/google/cloud/datacatalog/v1beta1/table_spec.rb', line 84

class BigQueryDateShardedSpec
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end