Class: Google::Apis::CloudassetV1p7beta1::GoogleCloudAssetV1p7beta1PartitionSpec
- Inherits:
-
Object
- Object
- Google::Apis::CloudassetV1p7beta1::GoogleCloudAssetV1p7beta1PartitionSpec
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudasset_v1p7beta1/classes.rb,
lib/google/apis/cloudasset_v1p7beta1/representations.rb,
lib/google/apis/cloudasset_v1p7beta1/representations.rb
Overview
Specifications of BigQuery partitioned table as export destination.
Instance Attribute Summary collapse
-
#partition_key ⇒ String
The partition key for BigQuery partitioned table.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAssetV1p7beta1PartitionSpec
constructor
A new instance of GoogleCloudAssetV1p7beta1PartitionSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAssetV1p7beta1PartitionSpec
Returns a new instance of GoogleCloudAssetV1p7beta1PartitionSpec.
629 630 631 |
# File 'lib/google/apis/cloudasset_v1p7beta1/classes.rb', line 629 def initialize(**args) update!(**args) end |
Instance Attribute Details
#partition_key ⇒ String
The partition key for BigQuery partitioned table.
Corresponds to the JSON property partitionKey
627 628 629 |
# File 'lib/google/apis/cloudasset_v1p7beta1/classes.rb', line 627 def partition_key @partition_key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
634 635 636 |
# File 'lib/google/apis/cloudasset_v1p7beta1/classes.rb', line 634 def update!(**args) @partition_key = args[:partition_key] if args.key?(:partition_key) end |