Class ProjectsResource.LocationsResource.SourcesResource.FetchStorageInventoryRequest
List remote source's inventory of storage resources. The remote source is another cloud vendor (e.g. AWS, Azure). The inventory describes the list of existing storage resources in that source. Note that this operation lists the resources on the remote source, as opposed to listing the MigratingVms resources in the vmmigration service.
Inheritance
Inherited Members
Namespace: Google.Apis.VMMigrationService.v1
Assembly: Google.Apis.VMMigrationService.v1.dll
Syntax
public class ProjectsResource.LocationsResource.SourcesResource.FetchStorageInventoryRequest : VMMigrationServiceBaseServiceRequest<FetchStorageInventoryResponse>, IClientServiceRequest<FetchStorageInventoryResponse>, IClientServiceRequest
Constructors
FetchStorageInventoryRequest(IClientService, string)
Constructs a new FetchStorageInventory request.
Declaration
public FetchStorageInventoryRequest(IClientService service, string source)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | source |
Properties
ForceRefresh
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.
Declaration
[RequestParameter("forceRefresh", RequestParameterType.Query)]
public virtual bool? ForceRefresh { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
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
PageSize
Optional. The maximum number of VMs to return. The service may return fewer than this value.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
PageToken
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.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Source
Required. The name of the Source.
Declaration
[RequestParameter("source", RequestParameterType.Path)]
public virtual string Source { get; }
Property Value
| Type | Description |
|---|---|
| string |
Type
Required. The type of the storage inventory to fetch.
Declaration
[RequestParameter("type", RequestParameterType.Query)]
public virtual ProjectsResource.LocationsResource.SourcesResource.FetchStorageInventoryRequest.TypeEnum? Type { get; set; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.SourcesResource.FetchStorageInventoryRequest.TypeEnum? |
Methods
InitParameters()
Initializes FetchStorageInventory parameter list.
Declaration
protected override void InitParameters()