Class FoldersResource.ExportAssetsRequest
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.
Inheritance
Inherited Members
Namespace: Google.Apis.CloudAsset.v1beta1
Assembly: Google.Apis.CloudAsset.v1beta1.dll
Syntax
public class FoldersResource.ExportAssetsRequest : CloudAssetBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
ExportAssetsRequest(IClientService, ExportAssetsRequest, string)
Constructs a new ExportAssets request.
Declaration
public ExportAssetsRequest(IClientService service, ExportAssetsRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ExportAssetsRequest | body | |
string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes ExportAssets parameter list.
Declaration
protected override void InitParameters()