Dataplex V1 API - Class Google::Cloud::Dataplex::V1::Partition (v0.2.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. The values must be HTML URL encoded two times before constructing the path. For example, if you have a value of "US:CA", encoded it two times and you get "US%253ACA". Then if you have the 2nd value is "CA#Sunnyvale", encoded two times and you get "CA%2523Sunnyvale". The partition values path is "US%253ACA/CA%2523Sunnyvale". The final URL will be "https://.../partitions/US%253ACA/CA%2523Sunnyvale". The name field in the responses will always have 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.