Class: Google::Apis::CloudassetV1p7beta1::BigQuerySetting

Inherits:
Object
  • Object
show all
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

Setting for scheduled export to BigQuery.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BigQuerySetting

Returns a new instance of BigQuerySetting.



328
329
330
# File 'lib/google/apis/cloudasset_v1p7beta1/classes.rb', line 328

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

Instance Attribute Details

#destinationGoogle::Apis::CloudassetV1p7beta1::BigQueryDestination

A BigQuery destination for exporting assets to. Corresponds to the JSON property destination



320
321
322
# File 'lib/google/apis/cloudasset_v1p7beta1/classes.rb', line 320

def destination
  @destination
end

#snapshot_scheduleGoogle::Apis::CloudassetV1p7beta1::ScheduleConfig

Schedule for scheduled export. This is used to configure scheduled export for both GCS and BigQuery. Corresponds to the JSON property snapshotSchedule



326
327
328
# File 'lib/google/apis/cloudasset_v1p7beta1/classes.rb', line 326

def snapshot_schedule
  @snapshot_schedule
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



333
334
335
336
# File 'lib/google/apis/cloudasset_v1p7beta1/classes.rb', line 333

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