VM Migration v1 API - Class FetchStorageInventoryRequest (2.7.0)

public sealed class FetchStorageInventoryRequest : IMessage<FetchStorageInventoryRequest>, IEquatable<FetchStorageInventoryRequest>, IDeepCloneable<FetchStorageInventoryRequest>, IBufferMessage, IMessage, IPageRequest

Reference documentation and code samples for the VM Migration v1 API class FetchStorageInventoryRequest.

Request message for [fetchStorageInventory][google.cloud.vmmigration.v1.VmMigration.FetchStorageInventory].

Inheritance

object > FetchStorageInventoryRequest

Namespace

Google.Cloud.VMMigration.V1

Assembly

Google.Cloud.VMMigration.V1.dll

Constructors

FetchStorageInventoryRequest()

public FetchStorageInventoryRequest()

FetchStorageInventoryRequest(FetchStorageInventoryRequest)

public FetchStorageInventoryRequest(FetchStorageInventoryRequest other)
Parameter
Name Description
other FetchStorageInventoryRequest

Properties

ForceRefresh

public bool ForceRefresh { get; set; }

Optional. If this flag is set to true, the source will be queried instead of using cached results. Using this flag will make the call slower.

Property Value
Type Description
bool

PageSize

public int PageSize { get; set; }

Optional. The maximum number of VMs to return. The service may return fewer than this value.

Property Value
Type Description
int

PageToken

public string PageToken { get; set; }

Optional. A page token, received from a previous FetchStorageInventory call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to FetchStorageInventory must match the call that provided the page token.

Property Value
Type Description
string

Source

public string Source { get; set; }

Required. The name of the Source.

Property Value
Type Description
string

SourceAsSourceName

public SourceName SourceAsSourceName { get; set; }

SourceName-typed view over the Source resource name property.

Property Value
Type Description
SourceName

Type

public FetchStorageInventoryRequest.Types.StorageType Type { get; set; }

Required. The type of the storage inventory to fetch.

Property Value
Type Description
FetchStorageInventoryRequestTypesStorageType