Class Google::Cloud::Dataplex::V1::Partition (v0.1.0)

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. Required for update requests. It must match the server's etag.

#etag=

def etag=(value) -> ::String
Parameter
  • value (::String) — Optional. The etag for this partition. Required for update requests. It must match the server's etag.
Returns
  • (::String) — Optional. The etag for this partition. Required for update requests. It must match the server's etag.

#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.

#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.
Returns
  • (::String) — Required. Immutable. The location of the entity data within the partition, for example, gs://bucket/path/to/entity/key1=value1/key2=value2.

#name

def name() -> ::String
Returns
  • (::String) — Output only. The resource name of the partition, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}/partitions/{partition_id}. {partition_id} is a generated unique ID.

#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.