Migration Center v1 API - Class BatchDeleteAssetsRequest (1.1.0)

public sealed class BatchDeleteAssetsRequest : IMessage<BatchDeleteAssetsRequest>, IEquatable<BatchDeleteAssetsRequest>, IDeepCloneable<BatchDeleteAssetsRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Migration Center v1 API class BatchDeleteAssetsRequest.

A request to delete a list of asset.

Inheritance

object > BatchDeleteAssetsRequest

Namespace

Google.Cloud.MigrationCenter.V1

Assembly

Google.Cloud.MigrationCenter.V1.dll

Constructors

BatchDeleteAssetsRequest()

public BatchDeleteAssetsRequest()

BatchDeleteAssetsRequest(BatchDeleteAssetsRequest)

public BatchDeleteAssetsRequest(BatchDeleteAssetsRequest other)
Parameter
NameDescription
otherBatchDeleteAssetsRequest

Properties

AllowMissing

public bool AllowMissing { get; set; }

Optional. When this value is set to true the request is a no-op for non-existing assets. See https://google.aip.dev/135#delete-if-existing for additional details. Default value is false.

Property Value
TypeDescription
bool

AssetNames

public ResourceNameList<AssetName> AssetNames { get; }

AssetName-typed view over the Names resource name property.

Property Value
TypeDescription
ResourceNameListAssetName

Names

public RepeatedField<string> Names { get; }

Required. The IDs of the assets to delete. A maximum of 1000 assets can be deleted in a batch. Format: projects/{project}/locations/{location}/assets/{name}.

Property Value
TypeDescription
RepeatedFieldstring

Parent

public string Parent { get; set; }

Required. Parent value for batch asset delete.

Property Value
TypeDescription
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
LocationName