Class FoldersResource
The "folders" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudAsset.v1beta1
Assembly: Google.Apis.CloudAsset.v1beta1.dll
Syntax
public class FoldersResource
Constructors
FoldersResource(IClientService)
Constructs a new resource.
Declaration
public FoldersResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Operations
Gets the Operations resource.
Declaration
public virtual FoldersResource.OperationsResource Operations { get; }
Property Value
Type | Description |
---|---|
FoldersResource.OperationsResource |
Methods
ExportAssets(ExportAssetsRequest, string)
Exports assets with time and resource types to a given Cloud Storage location. The output format is newline-delimited JSON. This API implements the google.longrunning.Operation API allowing you to keep track of the export. We recommend intervals of at least 2 seconds with exponential retry to poll the export operation result. For regular-size resource parent, the export operation usually finishes within 5 minutes.
Declaration
public virtual FoldersResource.ExportAssetsRequest ExportAssets(ExportAssetsRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
ExportAssetsRequest | body | The body of the request. |
string | 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"). |
Returns
Type | Description |
---|---|
FoldersResource.ExportAssetsRequest |