Class: Google::Cloud::VMMigration::V1::FetchStorageInventoryRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/vmmigration/v1/vmmigration.rb

Overview

Request message for fetchStorageInventory.

Defined Under Namespace

Modules: StorageType

Instance Attribute Summary collapse

Instance Attribute Details

#force_refresh::Boolean

Returns 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.

Returns:

  • (::Boolean)

    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.



1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1710

class FetchStorageInventoryRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of the storage inventory to fetch.
  module StorageType
    # The type is unspecified.
    STORAGE_TYPE_UNSPECIFIED = 0

    # The type is disks.
    DISKS = 1

    # The type is snapshots.
    SNAPSHOTS = 2
  end
end

#page_size::Integer

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

Returns:

  • (::Integer)

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



1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1710

class FetchStorageInventoryRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of the storage inventory to fetch.
  module StorageType
    # The type is unspecified.
    STORAGE_TYPE_UNSPECIFIED = 0

    # The type is disks.
    DISKS = 1

    # The type is snapshots.
    SNAPSHOTS = 2
  end
end

#page_token::String

Returns 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.

Returns:

  • (::String)

    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.



1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1710

class FetchStorageInventoryRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of the storage inventory to fetch.
  module StorageType
    # The type is unspecified.
    STORAGE_TYPE_UNSPECIFIED = 0

    # The type is disks.
    DISKS = 1

    # The type is snapshots.
    SNAPSHOTS = 2
  end
end

#source::String

Returns Required. The name of the Source.

Returns:

  • (::String)

    Required. The name of the Source.



1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1710

class FetchStorageInventoryRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of the storage inventory to fetch.
  module StorageType
    # The type is unspecified.
    STORAGE_TYPE_UNSPECIFIED = 0

    # The type is disks.
    DISKS = 1

    # The type is snapshots.
    SNAPSHOTS = 2
  end
end

#type::Google::Cloud::VMMigration::V1::FetchStorageInventoryRequest::StorageType

Returns Required. The type of the storage inventory to fetch.

Returns:



1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1710

class FetchStorageInventoryRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of the storage inventory to fetch.
  module StorageType
    # The type is unspecified.
    STORAGE_TYPE_UNSPECIFIED = 0

    # The type is disks.
    DISKS = 1

    # The type is snapshots.
    SNAPSHOTS = 2
  end
end