Migration Center V1 API - Class Google::Cloud::MigrationCenter::V1::BatchDeleteAssetsRequest (v0.2.2)

Reference documentation and code samples for the Migration Center V1 API class Google::Cloud::MigrationCenter::V1::BatchDeleteAssetsRequest.

A request to delete a list of asset.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#allow_missing

def allow_missing() -> ::Boolean
Returns
  • (::Boolean) — 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.

#allow_missing=

def allow_missing=(value) -> ::Boolean
Parameter
  • value (::Boolean) — 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.
Returns
  • (::Boolean) — 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.

#names

def names() -> ::Array<::String>
Returns
  • (::Array<::String>) — 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}.

#names=

def names=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — 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}.
Returns
  • (::Array<::String>) — 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}.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. Parent value for batch asset delete.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. Parent value for batch asset delete.
Returns
  • (::String) — Required. Parent value for batch asset delete.