Class: Google::Cloud::Asset::V1beta1::ExportAssetsRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/asset/v1beta1/doc/google/cloud/asset/v1beta1/asset_service.rb

Overview

Export asset request.

Instance Attribute Summary collapse

Instance Attribute Details

#asset_typesArray<String>

Returns 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.

Returns:

  • (Array<String>)

    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.



45
# File 'lib/google/cloud/asset/v1beta1/doc/google/cloud/asset/v1beta1/asset_service.rb', line 45

class ExportAssetsRequest; end

#content_typeGoogle::Cloud::Asset::V1beta1::ContentType

Asset content type. If not specified, no content but the asset name will be returned.

Returns:



45
# File 'lib/google/cloud/asset/v1beta1/doc/google/cloud/asset/v1beta1/asset_service.rb', line 45

class ExportAssetsRequest; end

#output_configGoogle::Cloud::Asset::V1beta1::OutputConfig

Returns Required. Output configuration indicating where the results will be output to. All results will be in newline delimited JSON format.

Returns:



45
# File 'lib/google/cloud/asset/v1beta1/doc/google/cloud/asset/v1beta1/asset_service.rb', line 45

class ExportAssetsRequest; end

#parentString

Returns Required. The relative name of the root asset. This can only be an organization number (such as "organizations/123"), a project ID (such as "projects/my-project-id"), or a project number (such as "projects/12345").

Returns:

  • (String)

    Required. The relative name of the root asset. This can only be an organization number (such as "organizations/123"), a project ID (such as "projects/my-project-id"), or a project number (such as "projects/12345").



45
# File 'lib/google/cloud/asset/v1beta1/doc/google/cloud/asset/v1beta1/asset_service.rb', line 45

class ExportAssetsRequest; end

#read_timeGoogle::Protobuf::Timestamp

Returns Timestamp to take an asset snapshot. This can only be set to a timestamp in the past or of 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.

Returns:

  • (Google::Protobuf::Timestamp)

    Timestamp to take an asset snapshot. This can only be set to a timestamp in the past or of 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.



45
# File 'lib/google/cloud/asset/v1beta1/doc/google/cloud/asset/v1beta1/asset_service.rb', line 45

class ExportAssetsRequest; end