Class: Google::Apis::CloudassetV1p7beta1::OutputConfig

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

Output configuration for export assets destination.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OutputConfig

Returns a new instance of OutputConfig.



2004
2005
2006
# File 'lib/google/apis/cloudasset_v1p7beta1/classes.rb', line 2004

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

Instance Attribute Details

#bigquery_destinationGoogle::Apis::CloudassetV1p7beta1::BigQueryDestination

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



1997
1998
1999
# File 'lib/google/apis/cloudasset_v1p7beta1/classes.rb', line 1997

def bigquery_destination
  @bigquery_destination
end

#gcs_destinationGoogle::Apis::CloudassetV1p7beta1::GcsDestination

A Cloud Storage location. Corresponds to the JSON property gcsDestination



2002
2003
2004
# File 'lib/google/apis/cloudasset_v1p7beta1/classes.rb', line 2002

def gcs_destination
  @gcs_destination
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2009
2010
2011
2012
# File 'lib/google/apis/cloudasset_v1p7beta1/classes.rb', line 2009

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