Show / Hide Table of Contents

Class ExportAssetsRequest

Export asset request.

Inheritance
System.Object
ExportAssetsRequest
Implements
IMessage<ExportAssetsRequest>
IMessage
System.IEquatable<ExportAssetsRequest>
IDeepCloneable<ExportAssetsRequest>
Inherited Members
System.Object.ToString()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Cloud.Asset.V1Beta1
Assembly: Google.Cloud.Asset.V1Beta1.dll
Syntax
public sealed class ExportAssetsRequest : IMessage<ExportAssetsRequest>, IMessage, IEquatable<ExportAssetsRequest>, IDeepCloneable<ExportAssetsRequest>

Constructors

ExportAssetsRequest()

Declaration
public ExportAssetsRequest()

ExportAssetsRequest(ExportAssetsRequest)

Declaration
public ExportAssetsRequest(ExportAssetsRequest other)
Parameters
Type Name Description
ExportAssetsRequest other

Properties

AssetTypes

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 for all supported asset types.

Declaration
public RepeatedField<string> AssetTypes { get; }
Property Value
Type Description
RepeatedField<System.String>

ContentType

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

Declaration
public ContentType ContentType { get; set; }
Property Value
Type Description
ContentType

OutputConfig

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

Declaration
public OutputConfig OutputConfig { get; set; }
Property Value
Type Description
OutputConfig

Parent

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"), a project number (such as "projects/12345"), or a folder number (such as "folders/123").

Declaration
public string Parent { get; set; }
Property Value
Type Description
System.String

ParentAsProjectName

ProjectName-typed view over the Parent resource name property.

Declaration
public ProjectName ParentAsProjectName { get; set; }
Property Value
Type Description
ProjectName

ReadTime

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.

Declaration
public Timestamp ReadTime { get; set; }
Property Value
Type Description
Timestamp
Back to top