Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1Partition
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1Partition
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataplex_v1/classes.rb,
lib/google/apis/dataplex_v1/representations.rb,
lib/google/apis/dataplex_v1/representations.rb
Overview
Represents partition metadata contained within entity instances.
Instance Attribute Summary collapse
-
#etag ⇒ String
Optional.
-
#location ⇒ String
Required.
-
#name ⇒ String
Output only.
-
#values ⇒ Array<String>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1Partition
constructor
A new instance of GoogleCloudDataplexV1Partition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1Partition
Returns a new instance of GoogleCloudDataplexV1Partition.
6376 6377 6378 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6376 def initialize(**args) update!(**args) end |
Instance Attribute Details
#etag ⇒ String
Optional. The etag for this partition.
Corresponds to the JSON property etag
6353 6354 6355 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6353 def etag @etag end |
#location ⇒ 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//
datasets//tables/
Corresponds to the JSON property location
6360 6361 6362 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6360 def location @location end |
#name ⇒ 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.
Corresponds to the JSON property name
6368 6369 6370 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6368 def name @name end |
#values ⇒ Array<String>
Required. Immutable. The set of values representing the partition, which
correspond to the partition schema defined in the parent entity.
Corresponds to the JSON property values
6374 6375 6376 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6374 def values @values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6381 6382 6383 6384 6385 6386 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6381 def update!(**args) @etag = args[:etag] if args.key?(:etag) @location = args[:location] if args.key?(:location) @name = args[:name] if args.key?(:name) @values = args[:values] if args.key?(:values) end |