Class: Google::Apis::CloudassetV1::PartitionSpec

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/cloudasset_v1/classes.rb,
generated/google/apis/cloudasset_v1/representations.rb,
generated/google/apis/cloudasset_v1/representations.rb

Overview

Specifications of BigQuery partitioned table as export destination.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PartitionSpec

Returns a new instance of PartitionSpec.



2807
2808
2809
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 2807

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#partition_keyString

The partition key for BigQuery partitioned table. Corresponds to the JSON property partitionKey

Returns:

  • (String)


2805
2806
2807
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 2805

def partition_key
  @partition_key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2812
2813
2814
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 2812

def update!(**args)
  @partition_key = args[:partition_key] if args.key?(:partition_key)
end