Dataplex V1 API - Class Google::Cloud::Dataplex::V1::Partition (v0.6.1)

Reference documentation and code samples for the Dataplex V1 API class Google::Cloud::Dataplex::V1::Partition.

Represents partition metadata contained within entity instances.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#etag

def etag() -> ::String
Returns
  • (::String) — Optional. The etag for this partition.

#etag=

def etag=(value) -> ::String
Parameter
  • value (::String) — Optional. The etag for this partition.
Returns
  • (::String) — Optional. The etag for this partition.

#location

def location() -> ::String
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>

#location=

def location=(value) -> ::String
Parameter
  • value (::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>
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>

#name

def name() -> ::String
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.

#values

def values() -> ::Array<::String>
Returns
  • (::Array<::String>) — Required. Immutable. The set of values representing the partition, which correspond to the partition schema defined in the parent entity.

#values=

def values=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — 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.