class Google::Apis::CloudassetV1beta1::ExportAssetsRequest

Export asset request.

Attributes

asset_types[RW]

A list of asset types of which to take a snapshot for. For example: “google. compute.Disk”. If specified, only matching assets will be returned. See [ Introduction to Cloud Asset Inventory](cloud.google.com/resource- manager/docs/cloud-asset-inventory/overview) for all supported asset types. Corresponds to the JSON property `assetTypes` @return [Array<String>]

content_type[RW]

Asset content type. If not specified, no content but the asset name will be returned. Corresponds to the JSON property `contentType` @return [String]

output_config[RW]

Output configuration for export assets destination. Corresponds to the JSON property `outputConfig` @return [Google::Apis::CloudassetV1beta1::OutputConfig]

read_time[RW]

Timestamp to take an asset snapshot. This can only be set to a timestamp between 2018-10-02 UTC (inclusive) and the current time. If not specified, the current time will be used. Due to delays in resource data collection and indexing, there is a volatile window during which running the same query may get different results. Corresponds to the JSON property `readTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudasset_v1beta1/classes.rb, line 365
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudasset_v1beta1/classes.rb, line 370
def update!(**args)
  @asset_types = args[:asset_types] if args.key?(:asset_types)
  @content_type = args[:content_type] if args.key?(:content_type)
  @output_config = args[:output_config] if args.key?(:output_config)
  @read_time = args[:read_time] if args.key?(:read_time)
end