Reference documentation and code samples for the Dataplex V1 API class Google::Cloud::Dataplex::V1::Schema::PartitionField.
Represents a key field within the entity's partition structure. You could have up to 20 partition fields, but only the first 10 partitions have the filtering ability due to performance consideration. Note: Partition fields are immutable.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#name
def name() -> ::String
Returns
- (::String) — Required. Partition field name must consist of letters, numbers, and underscores only, with a maximum of length of 256 characters, and must begin with a letter or underscore..
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Required. Partition field name must consist of letters, numbers, and underscores only, with a maximum of length of 256 characters, and must begin with a letter or underscore..
Returns
- (::String) — Required. Partition field name must consist of letters, numbers, and underscores only, with a maximum of length of 256 characters, and must begin with a letter or underscore..
#type
def type() -> ::Google::Cloud::Dataplex::V1::Schema::Type
Returns
- (::Google::Cloud::Dataplex::V1::Schema::Type) — Required. Immutable. The type of field.
#type=
def type=(value) -> ::Google::Cloud::Dataplex::V1::Schema::Type
Parameter
- value (::Google::Cloud::Dataplex::V1::Schema::Type) — Required. Immutable. The type of field.
Returns
- (::Google::Cloud::Dataplex::V1::Schema::Type) — Required. Immutable. The type of field.