public sealed class BatchDeleteAssetsRequest : IMessage<BatchDeleteAssetsRequest>, IEquatable<BatchDeleteAssetsRequest>, IDeepCloneable<BatchDeleteAssetsRequest>, IBufferMessage, IMessageReference documentation and code samples for the Migration Center v1 API class BatchDeleteAssetsRequest.
A request to delete a list of asset.
Implements
IMessageBatchDeleteAssetsRequest, IEquatableBatchDeleteAssetsRequest, IDeepCloneableBatchDeleteAssetsRequest, IBufferMessage, IMessageNamespace
Google.Cloud.MigrationCenter.V1Assembly
Google.Cloud.MigrationCenter.V1.dll
Constructors
BatchDeleteAssetsRequest()
public BatchDeleteAssetsRequest()BatchDeleteAssetsRequest(BatchDeleteAssetsRequest)
public BatchDeleteAssetsRequest(BatchDeleteAssetsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
BatchDeleteAssetsRequest |
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 | |
|---|---|
| Type | Description |
bool |
|
AssetNames
public ResourceNameList<AssetName> AssetNames { get; }| Property Value | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
RepeatedFieldstring |
|
Parent
public string Parent { get; set; }Required. Parent value for batch asset delete.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ParentAsLocationName
public LocationName ParentAsLocationName { get; set; }LocationName-typed view over the Parent resource name property.
| Property Value | |
|---|---|
| Type | Description |
LocationName |
|