code: public GuestRegValueSpec[] listRegistryValuesInGuest(VirtualMachine vm, GuestAuthentication auth, GuestRegKeyNameSpec keyName, boolean expandStrings, String matchPattern) throws GuestComponentsOutOfDate, GuestOperationsFault, GuestOperationsUnavailable, GuestPermissionDenied, GuestRegistryKeyInvalid, InvalidGuestLogin, InvalidPowerState,
          InvalidState, OperationDisabledByGuest, OperationNotSupportedByGuest, RuntimeFault, TaskInProgress, RemoteException {
          return getVimService().listRegistryValuesInGuest(getMOR(), vm.getMOR(), auth, keyName, expandStrings, matchPattern);
      }
docs: List all registry values for a given registry key.
  
  @param vm            Virtual machine to perform the operation on.
  @param auth          The guest authentication data.
  @param keyName       The path to the registry key for which all subkeys are to be listed.
  @param expandStrings If true, all values that have expandable data such as environment variable names, shall get expanded in the result.
  @param matchPattern  A filter for the value names returned, specified using perl-compatible regular expressions. If matchPattern is unset, then the pattern '.*' is used, which returns all value names found, otherwise only those value names that match the input pattern shall be returned.
  @return The list of values is returned in an array of {@link com.vmware.vim25.GuestRegValueNameSpec GuestRegValueSpec} structures.
  @throws GuestComponentsOutOfDate
  @throws GuestOperationsFault
  @throws GuestOperationsUnavailable
  @throws GuestPermissionDenied
  @throws GuestRegistryKeyInvalid
  @throws InvalidGuestLogin
  @throws InvalidPowerState
  @throws InvalidState
  @throws OperationDisabledByGuest
  @throws OperationNotSupportedByGuest
  @throws RuntimeFault
  @throws TaskInProgress
  @throws RemoteException