Class: Google::Cloud::Dataplex::V1::Partition

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

Overview

Represents partition metadata contained within entity instances.

Instance Attribute Summary collapse

Instance Attribute Details

#etag::String

Deprecated.

This field is deprecated and may be removed in the next major version update.

Returns Optional. The etag for this partition.

Returns:

  • (::String)

    Optional. The etag for this partition.



402
403
404
405
# File 'proto_docs/google/cloud/dataplex/v1/metadata.rb', line 402

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

#location::String

Returns Required. Immutable. The location of the entity data within the partition, for example, gs://bucket/path/to/entity/key1=value1/key2=value2. Or projects/<project_id>/datasets/<dataset_id>/tables/<table_id>.

Returns:

  • (::String)

    Required. Immutable. The location of the entity data within the partition, for example, gs://bucket/path/to/entity/key1=value1/key2=value2. Or projects/<project_id>/datasets/<dataset_id>/tables/<table_id>



402
403
404
405
# File 'proto_docs/google/cloud/dataplex/v1/metadata.rb', line 402

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

#name::String (readonly)

Returns Output only. Partition values used in the HTTP URL must be double encoded. For example, url_encode(url_encode(value)) can be used to encode "US:CA/CA#Sunnyvale so that the request URL ends with "/partitions/US%253ACA/CA%2523Sunnyvale". The name field in the response retains the encoded format.

Returns:

  • (::String)

    Output only. Partition values used in the HTTP URL must be double encoded. For example, url_encode(url_encode(value)) can be used to encode "US:CA/CA#Sunnyvale so that the request URL ends with "/partitions/US%253ACA/CA%2523Sunnyvale". The name field in the response retains the encoded format.



402
403
404
405
# File 'proto_docs/google/cloud/dataplex/v1/metadata.rb', line 402

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

#values::Array<::String>

Returns Required. Immutable. The set of values representing the partition, which correspond to the partition schema defined in the parent entity.

Returns:

  • (::Array<::String>)

    Required. Immutable. The set of values representing the partition, which correspond to the partition schema defined in the parent entity.



402
403
404
405
# File 'proto_docs/google/cloud/dataplex/v1/metadata.rb', line 402

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